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

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

Asked by 5 years ago
Edited 5 years ago

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?
0
CameraType > Scriptable User#24403 69 — 5y
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 :( CommanderCaubunsia 126 — 5y
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. ChiefWildin 295 — 5y
0
ok CommanderCaubunsia 126 — 5y
0
ok i got it CommanderCaubunsia 126 — 5y

2 answers

Log in to vote
0
Answered by 5 years ago

i give up so this is closed

Ad
Log in to vote
0
Answered by 4 years ago

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.

Answer this question