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

[Closed] How to prevent a character from being able to turn in first person?

I looked everywhere, i cant find it...

Hello, everyone! Im making a game where i dont want people to zoom in to first person in character then be able to turn, because i want them to stay still for a part in the game, i set WalkSpeed and JumpPower to 0 then back to 15 and 50 but thats not the problem. I haven't started, i don't know how to do this as this is one of the hardest challenges iv faced. Please help me by explaining how to make a script and/or disable turning in first person. Thank you :)

i tried

anchoring doesnt work, minimum zoom distance doesnt work, you can but them theres another problem, seeing through walls... so this maybe, it didnt work but please help.

--constant facing script?
repeat character.Humanoid.Torso.Orientation = (orientation)
wait() until (script i wanted playing is done , some other script) do
(some way to stop? like put this disabled into a script making it so it detects when other script starts then clones this into player an disabled = false?

5 comments

0

CameraType > Scriptable

0

hmmm kk but whats the script, i can try to figure it out but just in case i fail please give me an idea :(

0

Any solution other than scripting your own custom camera handler would most likely be hacky and unreliable. Give it a shot, and if you fail, post back here and we'll help you out.

0

ok

0

ok i got it

2 answers

There is one simply answer. Player.Character.Humanoid.AutoRotate

Set it to false and the character won't follow camera's facing direction.

Wiki

I hope this still helps you.

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