Player's Seat Moving With Them

Hello,

I need assistance with trying to figure out the best way to have a player jump out of a seat and be repositioned without moving the seat too. I believe it has something to do with the players’ internet connection, but do not know of a correct fix. Does Network Ownership fix my problem by chance? If so, how would I use it for this situation?

This is a GIF of how it should be:
dfcfcbd26d0bb0a84f6eeef0f25fd0d6

Keep note, everything works properly in studio, but not when I am with another player in-game because the chair teleports with them.

Any help is greatly appreciated as usual, thanks.

1 Like

Can you show your current code? It’s hard to tell what’s wrong without knowing what you’re doing.

Alright, here is some code (closer to the bottom is where the player jumps out of the seat):

function Main:Teleport(Players, Remotes, Queue, ServerInfo)
	local Plr = Players:FindFirstChild(ServerInfo.PlayerOnStage.Value)
	
	for i,v in pairs(Players:GetPlayers()) do
		if v ~= Plr then
			Remotes:FindFirstChild("ChangeButtonGUI"):FireClient(v, "VISIBLE")
		elseif v == Plr then
			Remotes:FindFirstChild("ChangeButtonGUI"):FireClient(v, "INVISIBLE")
		end
	end
	local Char = game.Workspace:FindFirstChild(ServerInfo.PlayerOnStage.Value)
	Char:FindFirstChild("Humanoid").Sit = false
	Char:FindFirstChild("Humanoid").JumpPower = 50
	Char:FindFirstChild("Humanoid").Jump = true
	wait(0.5)
	Char:FindFirstChild("HumanoidRootPart").CFrame = game.Workspace.StageSpawn.CFrame + Vector3.new(0,2,0)
	Char:FindFirstChild("Humanoid").JumpPower = 0
end

This thread seems to discuss the issue you are having.

tl;dr: Destroy the seat weld before teleporting the player

Thank you, much appreciated. <3

1 Like

You can also just do.

Seat.Disable = true

With this method Roblox’s internal engine will handle the destroying of the “SeatWeld” instance similarly to if you had manually left the seat.