0% found this document useful (0 votes)
523 views1 page

Auto Jump Script with GUI for Roblox

This document describes a script for Roblox that creates a GUI for an Auto Jump feature. It includes a toggle button to enable or disable the Auto Jump functionality, which changes the button's text and color based on its state. The script also utilizes the RenderStepped event to make the character jump when running and on the ground.

Uploaded by

scv8contact
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
523 views1 page

Auto Jump Script with GUI for Roblox

This document describes a script for Roblox that creates a GUI for an Auto Jump feature. It includes a toggle button to enable or disable the Auto Jump functionality, which changes the button's text and color based on its state. The script also utilizes the RenderStepped event to make the character jump when running and on the ground.

Uploaded by

scv8contact
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

-- Script Auto Jump com GUI e state para Roblox

-- Cria a ScreenGui
local screenGui = [Link]("ScreenGui")
[Link] = "AutoJumpGUI"
[Link] = [Link]:WaitForChild("PlayerGui")

-- Cria o botão de toggle


local toggleButton = [Link]("TextButton")
[Link] = [Link](0, 120, 0, 40)
[Link] = [Link](0, 10, 0, 10)
[Link] = "Auto Jump: OFF"
toggleButton.BackgroundColor3 = [Link](60, 180, 75)
toggleButton.TextColor3 = [Link](255, 255, 255)
[Link] = [Link]
[Link] = 20
[Link] = screenGui

-- Estado do auto jump


local autoJumpEnabled = false

-- Função para alternar estado


toggleButton.MouseButton1Click:Connect(function()
autoJumpEnabled = not autoJumpEnabled
[Link] = autoJumpEnabled and "Auto Jump: ON" or "Auto Jump: OFF"
toggleButton.BackgroundColor3 = autoJumpEnabled and [Link](0, 200, 0)
or [Link](60, 180, 75)
end)

-- Função de Auto Jump


game:GetService("RunService").RenderStepped:Connect(function()
if autoJumpEnabled then
local character = [Link]
if character and character:FindFirstChildOfClass("Humanoid") then
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid:GetState() == [Link] and
[Link] ~= [Link] then
[Link] = true
end
end
end
end)

You might also like