ADVERTISEMENTREMOVE ADS
Pogoscript
46,324 views
Description
it makes the jump look like a pogo for this! (Note:this is NOT a long jump)
Tested with
ADVERTISEMENTREMOVE ADS
31 Lines • 1.12 KiB
local function enableLongJump(player)
local character = player.Character or player.CharacterAdded:Wait()
if character and character:FindFirstChild("Humanoid") then
local humanoid = character.Humanoid
humanoid.StateChanged:Connect(function(oldState, newState)
if newState == Enum.HumanoidStateType.Jumping then
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
local force = Instance.new("BodyVelocity")
force.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
force.Velocity = humanoidRootPart.CFrame.LookVector * 20 -- Adjust this value for jump distance
force.Parent = humanoidRootPart
wait(0.5)
force:Destroy()
end
end
end)
end
end
game.Players.PlayerAdded:Connect(function(player)
enableLongJump(player)
end)
for _, player in pairs(game.Players:GetPlayers()) do
enableLongJump(player)
end
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS


Comments