I'm making a random wheel that when the pointer (Model) is clicked, it spins the wheel for 5 seconds and lands on a choice. However when you click the pointer it doesn't spin the wheel. This is my script,
script.Parent.Parent.Model.ClickDetector.MouseClick:Connect(function() local Wheel = script.Parent local a = 0 repeat Wheel.Rotation = Vector3.new( a, 0, 0) wait(.01) a = a+3 until pigs == 10 wait (5) pigs ==1 )