I want to have the player's camera right above them when they move around but the CoordinateFrame part in the while statement prevents movement. Is there a workaround or am I doing it totally wrong?
1 | wait( 1 ) |
2 | Cam = game.Workspace.CurrentCamera |
3 | h = script.Parent.Parent.Character.Head |
4 | Cam.CameraType = "Follow" |
5 | Cam.CameraSubject = h |
6 | while true do |
7 | Cam.CoordinateFrame = CFrame.new(h.CFrame.x, h.CFrame.y + 20 , h.CFrame.z) |
8 | wait() |
9 | end |
i think you should set the camera to scriptable
and if im wrong then heres where i looked at https://twitter.com/TigerCaptain_/status/607026826368720896