See, I make a FPS script (Or any script) And I test it out in solo mode, IT WORKS PERFECTLY! I save the game to my roblox game, and when I try to play the game... I'm not in FPS form like I was in Solo mode, Why is that? Oh, and can someone give me like a 30 second tutorial on how to make animations? Please?
COMMUNITY QUESTION
Can someone help with my FPS script problem?
1 answer
The problem is that when the ROBLOX character dies in Online mode, the CameraMode of the player resets back to Classic instead of staying LockFirstPerson, like you said. There's an easy fix to this, assuming that you are scripting inside of a LocalScript somewhere inside of a GUI or StarterPack.
game.Players.LocalPlayer.Character.Humanoid.Died:connect(function()
game.Players.LocalPlayer.CameraMode = "LockFirstPerson"
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
What exactly is the problem?
Is this script in a LocalScript located in StarterPack or StarterGui?
Yes, but I have this thing calld InFectiOn and I cn't get rid of it, I think it's screwing with my scripts.