What do you want to achieve? im trying to make a realistic walking system with three scripts, one for head bobbing, one for sprinting, and one for making it first person.
What is the issue? When all of them are enabled and i test play, i am completely unable to move.
What solutions have you tried so far? i have figured out that its something wrong with the first person script and i have tried manually turning on LockFirstPerson but it does the same thing.
If this is a LocalScript then this should work: (not sure)
local Player = game.Players.LocalPlayer
repeat wait() until Player:HasAppearanceLoaded()
Player.CameraMode = Enum.CameraMode.LockFirstPerson -- or Player.CameraMode = "LockFirstPerson"
If this is a script then; sorry, I cannot help you.
Hope this helps.
Edit: The LocalScript can be anywhere, for example: StarterPlayerScripts or StarterGui.
Second Edit: Since you’re trying to make a realistic walking system; you might aswell just put all of those 3 scripts into one and put the LocalScript into StarterPlayerScripts
All of these solutions only work the first time i test it. if i stop testing it, then later i try again, it doesnt work. Im starting to wonder if there’s something wrong with Roblox studio because I have tried so many different scripts and they all do the same thing
edit: it seems to work on roblox, but not studio. im going to have to figure out what is happening and why i cant test it. thank you all for trying!