function teleAllPlayers()
    for _,v in pairs(game.Players:GetChildren())do
        if v.Settings.AutoTele.Value then
            v.Character.Humanoid.Sit= false
v.Character.HumanoidRootPart.CFrame = game.Workspace:WaitForChild("Tele").CFrame
 
        end
    end
end

these don't seem to destroy the weld fast enough so the seat and whatever unanchored parts welded to the seat get teleported too

view source

v.Character.Humanoid.Sit = false
v.Character.Humanoid.Jump = true

If I did this

view source

v.Character.Humanoid.Sit= false
wait(.1)
v.Character.HumanoidRootPart.CFrame = game.Workspace:WaitForChild("Tele").CFrame

This is unreliable because .1sec may or may not give the weld enough time to be removed, but also during this time the player might resit onto the seat

using

view source

repeat wait() until v.Character.Humanoid.Sit == false

works most of the times but sometimes doesn't

2 comments

0

Try adding a wait(1) or WaitForChild

0

the problem with having a wait is that if they jump and wait a second before they tele they could touch the seat at any time again and resit and it'd be the same issue