Advertisement
LSJiqueue

Untitled

Jul 5th, 2022
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. --camera shake script not made by me
  2.  
  3. local StartTime = tick()
  4.                 repeat
  5.                     wait()
  6.                     local EndTime = tick()
  7.                     local xOffset = math.random(-100, 100) / 200
  8.                     local yOffset = math.random(-100, 100) / 200
  9.                     local zOffset = math.random(-100, 100) / 200
  10.                     humanoid.CameraOffset = Vector3.new(xOffset, yOffset, zOffset)
  11.                 until EndTime - StartTime >= 3
  12.                 humanoid.CameraOffset = Vector3.new(0,0,0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement