---I've Been Trying To Get This Script To Work
local seat = script.Parent
local TrainBoogy = script.Parent
local FrontLeftDrive = workspace.TrainBoogy.DriveUnit.FrontLeftAxle.FrontLeftDrive
local FrontRightDrive = workspace.TrainBoogy.DriveUnit.FrontRightAxle.FrontRightDrive
local maxspeed = 10
local function onChanged(property)
if property == "Throttle" then
FrontLeftDrive.AngularVelocity = maxspeed*seat.Throttle
FrontRightDrive.AngularVelocity = maxspeed*seat.Throttle
end
end
seat.Changed:Connect(onChanged)
---But It just Wont Work. The previous Issue Was That it was saying Drive Unit is not a vaild Memeber of Vechile Seat and the script was
local FrontLeftDrive = TrainBoogy.DriveUnit.FrontLeftAxle.FrontLeftDrive
local FrontRightDrive = TrainBoogy.DriveUnit.FrontRightAxle.FrontRightDrive
---but i solved it by doing
local FrontLeftDrive = workspace.TrainBoogy.DriveUnit.FrontLeftAxle.FrontLeftDrive
local FrontRightDrive = workspace.TrainBoogy.DriveUnit.FrontRightAxle.FrontRightDrive
But even after fixing this it still wont move Any Idea's On How to fix it?
