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

Anyone have an auto FPS that works after death? or where it enters FPS upon clicking a GUI button?

Asked by 10 years ago

Either give link to model or the code? Thanks.

2 answers

Log in to vote
0
Answered by 10 years ago

Your title does not make sense. Please give more detail, then provide a script.

Ad
Log in to vote
0
Answered by
duckwit 1404 Moderation Voter
10 years ago

You should be able to just put this inside a LocalScript in game.StarterPack:

while not game.Players.LocalPlayer do wait() end
game.Players.LocalPlayer.CameraMode = "LockFirstPerson"

By default LocalScripts will run when the Player respawns (i.e. "after death"), so the CameraMode will be set to LockFirstPerson as soon as they spawn.

Let us know if that isn't exactly what you were looking for, though.

Answer this question