Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there anything wrong with this?

Asked by 10 years ago

I am trying to make a lock on screen on some block but it won't work.

game.Players.PlayerAdded:connect(function(player)
    script.LocalScript:clone().Parent = player.CharacterAdded:wait()
end)
local cam = Workspace.CurrentCamera
cam.CameraSubject = Workspace.FixedOnCamera
cam.CameraType = "Fixed"
cam.CoordinateFrame=CFrame.new(-88.61, 64.032, 28.447)
cam.Focus=CFrame.new(-88.61, 64.032, 28.447)
0
Are you setting this with a LocalScript? Thewsomeguy 448 — 10y
0
CameraType "Scriptable" is intended for when scripts are solely controlling cameras. BlueTaslem 18071 — 10y

Answer this question