i wrote this and i don't know where to go. It doesn't change the variables that it should change so i'm lost. At first i tried calling vel in place of the 100's but that didn't work either
print("Hello world!")
local lf = script.Parent.lf
local lr = script.Parent.lr
local lr2 = script.Parent.lr2
local rf = script.Parent.rf
local rr = script.Parent.rr
local rr2 = script.Parent.rr2
local vel = script.Parent.Folder.angvel.Value
local controller = script.Parent.VehicleSeat
while true do
wait (.001)
while script.Parent.Folder.ON == true do
--checking for on status
if controller.throttle == 1 then
--setting wheels to spinning speeds
rr.HingeConstraint.AngularVelocity = 100
rr2.HingeConstraint.AngularVelocity = 100
lr.HingeConstraint.AngularVelocity = 100
lr2.HingeConstraint.AngularVelocity = 100
else
if controller.Throttle == 0 then
rr.HingeConstraint.AngularVelocity = 0
rr2.HingeConstraint.AngularVelocity = 0
lr.HingeConstraint.AngularVelocity = 0
lr2.HingeConstraint.AngularVelocity = 0
else
end
