My object won't rotate fully

Hello, Right now I’m currently trying to help out another Forum post, but I can’t seem to rotate this object fully

heres the code:

local SpinObject = script.Parent

while true do
	SpinObject.Orientation += Vector3.new(5,0,0)
	task.wait(0.2)
end

Heres a video on whats happening

I slowed it down in the video so I had time to load in

Basically I just need help on it rotating infinetly instead of just stopping

2 Likes

I’m pretty sure for Vector rotation the max is 180 and -180, but I believe you can just rewrite that to

SpinObject.CFrame *= CFrame.new(5, 0, 0)
3 Likes

nope it doesnt work it drops the football of the baseplate

wait my bad :sob: I meant to do

SpinObject.CFrame *= CFrame.Angles(5, 0, 0)

This moves the rotation, whilst before moves the position

1 Like

Ok so it works now, but it was just wrong with the location of the five make it

while wait() do
	SpinObject.CFrame *= CFrame.Angles(0, 0.5, 0)
end
1 Like

It’s up to you :man_shrugging: :sob:
abcdefghijklmnopqrstuvwxyz

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.