SansjustSans2

lock first person script

Aug 4th, 2020
328
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- lock first person script
  2. -- i did this for no reason
  3. while true do
  4. local c = game.Players:GetChildren()
  5. for i = 1, #c do
  6.     if c[i].ClassName == "Player" then
  7.     c[i].CameraMode = "LockFirstPerson"
  8.         end
  9.     end
  10. wait(0.01)
  11. end
  12. --"Player" refers to the player that just entered.
RAW Paste Data