The rotation that is set to 180 does not work and I don't know why. Can i get help?
local Rotate = 0
local Number = math.random(1,2)
local Block = script.Parent
if(Number == 1) then
Rotate = 0
else
Rotate = 180
end
Block.Rotation = Vector3.new(math.rad(Rotate),0,0)

1 comment
it turns but not 180