Hello,
I’m trying to create a spinning disc that you can turn on/off using a GUI. To make the spinning disc I’ve started by using RotateV by having the base part, a top part, and then welding the disc to the top part. I’m having trouble scripting the disc properly. I’ve managed to make it so the disc can stop spinning using the script:
function onClick()
for i,v in pairs (game.Workspace:GetChildren()) do
spawn(function()
if v.Name == (script.Parent.Parent.Parent.name1.Value) then
v.MainLift.TopParamA = 0
v.MainLift.TopParamB = 0
end
end)
end
end
This works perfectly fine in making the disc stop spinning, but I’m trying to make it begin spinning again using the same script but changing the value and it does not seem to work. Could anyone tell me what object I should use to properly spin the disc, or what to change in the script? The disc has to be able to carry the player too.
Thanks for your help!