I have been trying to make a little spinner thing that kills you when you touch it for a simple game I am making to try and test my scripting ability. I am trying to make it rotate, but I don’t know how to had specifically to the Y value. This is what I have so far, It would also help if you explain what certain things do, since I am learning scripting and trying to improve. Help would be appreciated.
local Blue = script.Parent
local BlueCFrame = CFrame.Angles(0,math.rad(90),0)
if true then
Blue.CFrame = BlueCFrame
My bad, lol i did 180 instead of 360. One thing to keep in mind however, is that if you loop it completely around 360 degrees, it will just stay in the same place and not move at all, replace it with this: