omgitspenguins
Active Member
Veteran
OmgStillAPenguin
Posts: 53
ROBLOX Username: penguins113311
|
Post by omgitspenguins on Apr 28, 2017 21:50:53 GMT
I'm making this camera script that makes a moves a part towards a location anyway when I make the part it's deleted almost instantly, I want the part to only be on the client. The game is FE.
local plr = game.Players.LocalPlayer
local char = plr.Character
local start = Instance.new('Part',workspace)
start.Name = 'Start'..plr.Name
start.CFrame = CFrame.new(-222, -0.247, 33)
start.Transparency = 1
start.CanCollide = false
local Middle = Instance.new('Part',workspace)
Middle.Name = 'Middle'..plr.Name
Middle.CFrame = CFrame.new(-57, 50.753, 33)
Middle.Transparency = 1
Middle.CanCollide = false
local End = Instance.new('Part',workspace)
End.Name = 'End'..plr.Name
End.CFrame = CFrame.new(36, 50.753, 33)
End.Transparency = 1
End.CanCollide = false
local camera = workspace.CurrentCamera
local camfol = Instance.new('Part',workspace)
camera.CameraType = Enum.CameraType.Fixed
camfol.Name = plr.Name..'Camera'
camfol.CanCollide = false
camfol.Transparency = 1
camfol.CFrame = workspace.Start.CFrame
camera.CameraSubject = camfol
|
|
|
Post by Bit on Apr 28, 2017 21:53:14 GMT
.Anchored, otherwise it falls into the void as soon as gravity lets it.
|
|
omgitspenguins
Active Member
Veteran
OmgStillAPenguin
Posts: 53
ROBLOX Username: penguins113311
|
Post by omgitspenguins on Apr 28, 2017 21:54:49 GMT
I can't believe I done this... oml xD Thanks!
|
|
|
Post by Bit on Apr 28, 2017 21:55:28 GMT
Np lol.
|
|
omgitspenguins
Active Member
Veteran
OmgStillAPenguin
Posts: 53
ROBLOX Username: penguins113311
|
Post by omgitspenguins on Apr 28, 2017 22:01:27 GMT
One more question is there a camera Enum to lock camera from moving completely eg strolling, left,right,up,down but follows or would I have to do scriptable
|
|
|
Post by Bit on Apr 28, 2017 22:06:59 GMT
Scriptable is a CameraType Enum, so uh, good luck with that if you don't use Scriptable. I'm not exactly sure one like that appart from Scriptable doesn't exist, but EH.
|
|
|
Post by Bit on Apr 28, 2017 22:08:57 GMT
|
|