How do i function a multiple player powered moving vehicle?

I am new in scripting and I was wondering if it is possible to make a multiple player powered vehicle, to keep it simple, I am trying to work on a Siege tower(medieval style) and i was planning on making multiple seats to its sides with built in animation where when player moves forward or backward it pushes the handle from where he is sitting at, basically if you are at left side pushing the tower will rotate to right and if 2 players at opposite side are pushing together, the tower will move forward…

I first did a solution to this by vector force and body thrust in handles that is fired by remote event to push the handle from different sides but when i do it with 2 players pushing at same time it ends up unbalanced and instead of pushing forward, it is tilted when pushing. Any other way of approaching this type of script other than body movers?

I guess you can keep on using bodymovers, but what to do is, have a bunch of if statments, and with each if statment change how the force is supposed to be applied.
If right is working, meaning true, but left is not, meaning false, go to the right; and make something like this for each case.

if right and left then
     force.Force = Vector3.new(0,0,10) --or whatever way to make it move forward
elseif right then
     force.Force = Vector3.new(10, 0, 0)
elseif left then
     force.Force = Vector3.new(-10, 0,0)
end
1 Like

Oh I see, thanks I’ll try that then! :grin:

2 Likes