
923 Views
369 Executions
Alternative Jump Button
Universal Script 📌
SpectravaxISBACKPublished 25
10 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
This is for games that doesn't allow you to jump.
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local jumping = false
RunService.Heartbeat:Connect(function()
if not jumping then return end
local character = player.Character
if not character then return end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid and humanoid.FloorMaterial ~= Enum.Material.Air then
humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
end
end)
if not UserInputService.TouchEnabled then
UserInputService.InputBegan:Connect(function(input, gp)
if gp then return end
if input.KeyCode == Enum.KeyCode.Space then
jumping = true
end
end)
UserInputService.InputEnded:Connect(function(input)
if input.KeyCode == Enum.KeyCode.Space then
jumping = false
end
end)
return
end
local gui = Instance.new("ScreenGui")
gui.Name = "ForceJumpGui"
gui.ResetOnSpawn = false
gui.Parent = game:GetService("CoreGui")
local button = Instance.new("TextButton")
button.Parent = gui









Pls give script without moving the button it gets in the way
Ai