Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Rotation gui not rotating on function?


script.Parent.TextButton.MouseButton1Down:connect(function()
script.Parent.Load.Rotation = (+24)
end

You'd think this would be the way to rotate it. Can someone fix this?

1 answer

✓ Accepted answer

Roblox needs you to give it a value to work with. So to fix this, just add a value to add onto.

script.Parent.TextButton.MouseButton1Down:connect(function()
	script.Parent.Load.Rotation = script.Parent.Load.Rotation+24
end

This discussion is preserved as it was. New answers, comments, and votes are closed.