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

Camera Subject not working?

Asked by 10 years ago

I made a script where its supposed to make your camera lock to a different thing, I've done it before, now It doesn't work. Help?

game.Players.PlayerAdded:connect(function()
    game.Workspace.CurrentCamera.CameraSubject = Workspace.Tablet
    game.Workspace.CurrentCamera.CameraType = "Scriptable"
end)

1 answer

Log in to vote
0
Answered by
MrFlimsy 345 Moderation Voter
10 years ago

Try setting the CameraType to Scriptable before setting the CameraSubject.

0
It doesn't work. I don't know what's wrong. Grenaderade 525 — 10y
0
Huh, I'm not sure. I haven't messed with the camera for a while. Sorry mate. MrFlimsy 345 — 10y
Ad

Answer this question