Jumping a Player in Seat problem

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve?
    I would like to figure out a method to jump a player while in a seat, i’ve tried 3-4 methods and it just keeps the player in the seat still.

  2. What is the issue?
    https://streamable.com/hxjvln

  3. What solutions have you tried so far?

	if v.Character.Humanoid.Seated == true then
		v.Character.Humanoid.Seated = false
	end

   game.Players.LocalPlayer.Character.Humanoid.Jump = true
   wait(0.1)
   game.Players.LocalPlayer.Character.Humanoid.Jump = true

LocalScript:

for i,v in pairs(game.Players:GetPlayers()) do
	if v.Name ~= LocalPlayer.Name then
		if v.Character and v.Character.HumanoidRootPart then
			UserInputService.InputBegan:Connect(function(input)
				if (LocalPlayer.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).Magnitude <= 6 then
					show = true
					if input.KeyCode == Enum.KeyCode.X then
						print("pressed x ok")
						if rv == true then
							print("rv == true ok")
							game.ReplicatedStorage.UnCuff:FireServer(LocalPlayer, v)

Current ServerScript:

event4.OnServerEvent:Connect(function(LocalPlayer,v)
	if v.Character.Humanoid.Seated == true then
		v.Character.Humanoid.Seated = false
	end
end)

If you mean that you want to eject a player from a seat, you can try destroying the seat weld.

seat:FindFirstChild("SeatWeld"):Destroy()
1 Like

I just want to jump the player out of a seat on the server I don’t know why this is having problems jumping a player…

Did you try my recommendation?
Also, try using .Sit instead of .Seated.


v.Character.Humanoid.Sit = false

I’m currently unsure where i’m supposed to put that.

event4.OnServerEvent:Connect(function(LocalPlayer,v)
	if v.Character.Humanoid.Sit == true then
		v.Character.Humanoid.Sit = false
	end
end)

or

event4.OnServerEvent:Connect(function(LocalPlayer,v)
	if v.Character.Humanoid.Sit == true then
    seat:FindFirstChild("SeatWeld"):Destroy()
	end
end)

That was the 4th method I used, and does the same thing.

Did you try swapping .Seated for .Sit?

I did do that,
(thirty characters)

Destroying the seatweld did work thank you!

I just used

v.Character.Humanoid.SeatPart:FindFirstChild("SeatWeld"):Destroy()

Instead

1 Like