I wish to make a tornado siren do the little spinny spin thing. However, i cannot get the script that allows for the siren to rotate to pick up the value, it will only go to the “else” block line of code.
while true do
if script.Parent.Enable == true then
script.Parent.Parent.Body.Main.Anchored = false
else
script.Parent.Parent.Body.Main.Anchored = true
end
end
The hingeconstraint is always set to appropriate velocity, im using anchors to stop the rotation.
(the body is where the anchored part is, it is not by default anchored.)
Ive tried a few solutions, all just changing the hingeconstraint enabled property, the bodies anchored property, and the angularvelocity of the hinge (its a motor)
Ask me any questions if you think i wasnt descriptive enough.