I've been using a script to make an object spin: while true do script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0,-0.1) wait() end
I've been using this and I'm wondering is there anyway to make it button activated? For example I press a button, it starts spinning; if I press it again, it stops.

1 comment
Is there anyway to do this with the script i used?