Im trying to script it so a player teleports from one seat to another seat however if i do this the seat just teleports with the player. Any solutions?
You would make the Player jump using Humanoid.Jump then sit the player using Seat:Sit().
Is there a better way to do it?
Not that i know of.
I think you can try changing the seat weld part0 or part1 to swap seats.
Alr ill mess around with that and ill let you know
aofijasioj character limit
There is a method
seat:Sit() which will work.
Seat.Occupant is read only, and
Humanoid.SeatPart is also read only, leaving you to use the
Do note that
seat:Sit() will not work if the player is already sitting, so you may have to check for
Humanoid.SeatPart in order to tell if you have to use
Humanoid.Jump for the player to leave the seat.
if humanoid.SeatPart then humanoid.Sit = false --teleport player seat:Sit(humanoid) else --teleport player if not humanoid.SeatPart then seat:Sit(humanoid) --if the player didn't sit upon teleport end end
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.