local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local lp = Players.LocalPlayer
local ijConn = nil
local ijOn = false
local function startIJ()
if ijConn then ijConn:Disconnect() end
ijOn = true
ijConn = UserInputService.JumpRequest:Connect(function()
local c = lp.Character
if not c then return end
local hum = c:FindFirstChildOfClass("Humanoid")
local hrp = c:FindFirstChild("HumanoidRootPart")
if hum and hrp and hum.Health > 0 then
hrp.AssemblyLinearVelocity = Vector3.new(
hrp.AssemblyLinearVelocity.X,
50,
hrp.AssemblyLinearVelocity.Z
)
end
end)
end
local function stopIJ()
if ijConn then
ijConn:Disconnect()
ijConn = nil
end
ijOn = false
end
local gui = Instance.new("ScreenGui")
gui.Name = "IJGui"
gui.ResetOnSpawn = false
gui.Parent = lp:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0,180,0,90)
frame.Position = UDim2.new(0.4,0,0.4,0)
frame.BackgroundColor3 = Color3.fromRGB(30,30,30)
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
frame.Parent = gui
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1,0,0,35)
title.BackgroundTransparency = 1
title.Text = "Infinite Jump"
title.TextColor3 = Color3.new(1,1,1)
title.TextScaled = true
title.Font = Enum.Font.SourceSansBold
title.Parent = frame
local button = Instance.new("TextButton")
button.Size = UDim2.new(0.8,0,0,35)
button.Position = UDim2.new(0.1,0,0.5,0)
button.BackgroundColor3 = Color3.fromRGB(60,60,60)
button.TextColor3 = Color3.new(1,1,1)
button.TextScaled = true
button.Font = Enum.Font.SourceSansBold
button.Text = "Disabled"
button.Parent = frame
button.MouseButton1Click:Connect(function()
if ijOn then
stopIJ()
button.Text = "Disabled"
else
startIJ()
button.Text = "Enabled"
end
end)
Comments
⚠️ MODERATION NOTICE Your script post has incorrect or missing tags. Accurate tagging is essential for users to find scripts that match their needs. Action Required: - Please private or delete this script, and reupload with the correct tags.