-- Made by Kason
local ScreenGui = Instance.new("ScreenGui")
local MainFrame = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local SpeedInput = Instance.new("TextBox")
local JumpInput = Instance.new("TextBox")
local ApplyButton = Instance.new("TextButton")
-- Setup the ScreenGui
ScreenGui.Name = "CheatMenu"
ScreenGui.Parent = game.CoreGui -- Places it in the hidden dev UI folder
-- Setup the Main Frame
MainFrame.Name = "MainFrame"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
MainFrame.Position = UDim2.new(0.5, -100, 0.5, -75)
MainFrame.Size = UDim2.new(0, 200, 0, 150)
MainFrame.Active = true
MainFrame.Draggable = true -- Allows you to move the menu
-- Title
Title.Parent = MainFrame
Title.Size = UDim2.new(1, 0, 0, 30)
Title.Text = "Movement Menu"
Title.TextColor3 = Color3.new(1, 1, 1)
Title.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
-- Speed TextBox
SpeedInput.Parent = MainFrame
SpeedInput.Position = UDim2.new(0.1, 0, 0.3, 0)
SpeedInput.Size = UDim2.new(0.8, 0, 0, 25)
SpeedInput.PlaceholderText = "WalkSpeed (Max 1000)"
SpeedInput.Text = ""
-- JumpPower TextBox
JumpInput.Parent = MainFrame
JumpInput.Position = UDim2.new(0.1, 0, 0.5, 0)
JumpInput.Size = UDim2.new(0.8, 0, 0, 25)
JumpInput.PlaceholderText = "JumpPower (Max 1000)"
JumpInput.Text = ""
-- Apply Button
ApplyButton.Parent = MainFrame
ApplyButton.Position = UDim2.new(0.1, 0, 0.75, 0)
ApplyButton.Size = UDim2.new(0.8, 0, 0, 30)
ApplyButton.Text = "Apply Changes"
ApplyButton.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
ApplyButton.TextColor3 = Color3.new(1, 1, 1)
-- Function to apply the stats
ApplyButton.MouseButton1Click:Connect(function()
local char = game.Players.LocalPlayer.Character
if char and char:FindFirstChild("Humanoid") then
local hum = char.Humanoid
-- Convert text to numbers
local s = tonumber(SpeedInput.Text)
local j = tonumber(JumpInput.Text)
-- Apply WalkSpeed
if s then
hum.WalkSpeed = math.clamp(s, 0, 1000)
end
-- Apply JumpPower
if j then
hum.UseJumpPower = true -- Ensures JumpPower is used instead of JumpHeight
hum.JumpPower = math.clamp(j, 0, 1000)
end
end
end)
Comments
No comments yet
Be the first to share your thoughts!