Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Roblox FPS Problem?

I have got a script i made and i put it in starter gui Script:

script.Parent.Parent.CameraMode = Enum.CameraMode.LockFirstPerson

that script works but then when i die i can zoom out again! also i thought of a loop but that crashed roblox studio.

3 answers

✓ Accepted answer
script.Parent.Parent.CameraMode = Enum.CameraMode.LockFirstPerson

script.Parent.Parent.Character.Humanoid.Died:connect(function(plr)
script.Parent.Parent.CameraMode = Enum.CameraMode.LockFirstPerson
end)

2 comments

0

Thanks that really helped :)

0

no problemoooo

What FPS Stand For?

2 comments

0

"Frames Per Second" and "First Person Shooter", im using it as First Person Shooter :)

0

Thank :D

Wait, Its not an answer its a question, Where do I put the script:

script.Parent.Parent.CameraMode = Enum.CameraMode.LockFirstPerson

script.Parent.Parent.Characer.Humanoid.Died:connect(function(plr) script.Parent.Parent.CameraMode = Enum.CameraMode.LockFirstPerson end)

Because I don't know if it's local, normal or what?

This discussion is preserved as it was. New answers, comments, and votes are closed.