как сделать другую тачку в роблокс

делаем тачку скрипт копируйте ======:;; вот копируйте его -- local fl = script.Parent.FL.HingeConstraint local fr = script.Parent.FR.HingeConstraint local br = script.Parent.BR.HingeConstraint local bl = script.Parent.BL.HingeConstraint local speed = 60 --W - thortle 1 --S - thortle -1 --D - steer -1 --A - steer -1 while true do wait(0) if script.Parent.VehicleSeat.Throttle == 1 and script.Parent.VehicleSeat.Steer == 0 then fl.AngularVelocity = speed fr.AngularVelocity = -speed bl.AngularVelocity = speed br.AngularVelocity = -speed end if script.Parent.VehicleSeat.Throttle == -1 and script.Parent.VehicleSeat.Steer == 0 then fl.AngularVelocity = -speed fr.AngularVelocity = speed bl.AngularVelocity = -speed br.AngularVelocity = speed end if script.Parent.VehicleSeat.Throttle == 0 and script.Parent.VehicleSeat.Steer == 0 then fl.AngularVelocity = 0 fr.AngularVelocity = 0 bl.AngularVelocity = 0 br.AngularVelocity = 0 end ----вперёд-назад-стоп if script.Parent.VehicleSeat.Throttle == 1 and script.Parent.VehicleSeat.Steer == -1 then fl.AngularVelocity = -speed fr.AngularVelocity = -speed bl.AngularVelocity = -speed br.AngularVelocity = -speed end if script.Parent.VehicleSeat.Throttle == 1 and script.Parent.VehicleSeat.Steer == -1 then fl.AngularVelocity = speed fr.AngularVelocity = speed bl.AngularVelocity = speed br.AngularVelocity = speed end ------ if script.Parent.VehicleSeat.Throttle == 1 and script.Parent.VehicleSeat.Steer == 1 then fl.AngularVelocity = speed fr.AngularVelocity = speed bl.AngularVelocity = speed br.AngularVelocity = speed end if script.Parent.VehicleSeat.Throttle == 1 and script.Parent.VehicleSeat.Steer == -1 then fl.AngularVelocity = -speed fr.AngularVelocity = -speed bl.AngularVelocity = -speed br.AngularVelocity = -speed end end

Смотрите также