Advertisement
jesse123sb

how to make a spinning part in roblox studio

Jul 7th, 2024
182
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | Cryptocurrency | 0 0
  1. local TurningSpeed = 10 -- if u make this "100 it goes faster" if u make it "1 it goes slower"
  2.  
  3. while true do
  4.     script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles(0, math.rad(TurningSpeed), 0)
  5.     wait(0.01)
  6. end
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement