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

First person script not working properly?

Asked by 8 years ago

Not sure what went wrong, I made this a little while ago and whether it's just a typo when I was typing it again, roblox broke it, or it's just incorrect. But here's what I've got.

local player = game.Players.LocalPlayer

player.CameraMode = Enum.CameraMode.Classic
wait() 
player.CameraMode = Enum.CameraMode.LockFirstPerson

I am a beginner scripter, so sorry if I'm causing more trouble than it's worth. Just working on the basics again. Thank you.

0
try using the currentcamera located in the workspace ProfessorSev 220 — 8y

1 answer

Log in to vote
1
Answered by 8 years ago

Use a LocalScript and put it into StarterPack, your script looks fine just might have put it in your game the wrong way.

0
Thanks! OpticUniversse 50 — 8y
Ad

Answer this question