Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to force a player to jump? ( Easy SCRIPT )

Asked by
14dark14 167
4 years ago
Edited 4 years ago

Been looking for some time now how to do this, no answers. LolcalScript Inside StarterGui

local player = game.Players.LocalPlayer
wait(2)

player.Character.Humanoid:Jump() -- I tried and it didn't work.

1 answer

Log in to vote
1
Answered by
Ziffixture 6913 Moderation Voter Community Moderator
4 years ago
Edited 4 years ago

This is quite an easy task, you can simply just enable the Jump property of Humanoid:

local Player = game:GetService("Players").LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")

delay(3, function()
    Humanoid.Jump = true
end)
Ad

Answer this question