To keep a simple i want to create a script to make each player sit in a seat
1 Like
workspace.Seat:Sit(game.Players.xZylter.Character.Humanoid)
2 Likes
no i want to telport each player to a seat
Make a part up to chair then make it can collide off
then use :MoveTo()
to tp the plr there and when they touch it they will get sit.
Example code:
local seatTp = game.workspace.SeatTp -- Where you want to tp the plr
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent:MoveTo(seatTp.Position)
end
end)
Its just an example code. of the teleporter part.
3 parts are there:
1st is Seat
2nd is A part where players got teleported
3rd when player touch that part they will get tped to seat.
that code is for 3rd part.
1 Like