You can write your topic however you want, but you need to answer these questions:
-
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. -
What is the issue?
https://streamable.com/hxjvln -
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)