How do you change the TopSurfaceInput of a motor?
Asked by
6 years ago Edited 6 years ago
Me and my friend are working on a light bar, but we cannot get some motor parts to spin? Here's the on script.
01 | local car = script.Parent.Parent.Parent.Car.Value |
02 | local Lightbar = car.Lightbar |
04 | script.Parent.MouseButton 1 Click:connect( function () |
05 | Lightbar.BA.Light.Enabled = true |
06 | Lightbar.BA.Light 1. Enabled = true |
07 | Lightbar.BB.Light.Enabled = true |
08 | Lightbar.BB.Light 1. Enabled = true |
09 | Lightbar.RA.Light.Enabled = true |
10 | Lightbar.RA.Light 1. Enabled = true |
11 | Lightbar.RB.Light.Enabled = true |
12 | Lightbar.RB.Light 1. Enabled = true |
14 | Lightbar.BMotorA.TopSurfaceInput = Sin |
and a picture of the light bar itself: https://gyazo.com/cda8bb6ba4ed5de2bda1729eafaaee5d