peterpetper

hecks

Apr 18th, 2025
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.64 KB | Gaming | 0 0
  1. local gui = Instance.new("ScreenGui")
  2. gui.Name = "DraggableGUI"
  3. gui.ResetOnSpawn = false
  4. gui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  5.  
  6. local frame = Instance.new("Frame")
  7. frame.Name = "DraggableFrame"
  8. frame.Size = UDim2.new(0, 200, 0, 100)
  9. frame.Position = UDim2.new(0, 100, 0, 100)
  10. frame.BackgroundTransparency = 0.4
  11. frame.BackgroundColor3 = Color3.new(0, 0, 0)
  12. frame.BorderSizePixel = 0
  13. frame.Active = true
  14. frame.Draggable = true
  15. frame.Parent = gui
  16.  
  17. local button = Instance.new("TextButton")
  18. button.Name = "InfJumpButton"
  19. button.Size = UDim2.new(0.8, 0, 0, 30)
  20. button.Position = UDim2.new(0.1, 0, 0.5, -15)
  21. button.BackgroundColor3 = Color3.new(0, 0.5, 1)
  22. button.Font = Enum.Font.SourceSans
  23. button.TextColor3 = Color3.new(1, 1, 1)
  24. button.TextSize = 14
  25. button.Text = "InfJump"
  26. button.Parent = frame
  27.  
  28. local label = Instance.new("TextLabel")
  29. label.Name = "CreatorLabel"
  30. label.Size = UDim2.new(0, 200, 0, 20)
  31. label.Position = UDim2.new(0, 0, 0, -20)
  32. label.BackgroundTransparency = 1
  33. label.Font = Enum.Font.SourceSansBold
  34. label.TextColor3 = Color3.new(1, 1, 1)
  35. label.TextSize = 14
  36. label.Text = "Made by Sar_exploit"
  37. label.Parent = frame
  38.  
  39. local infiniteJumpEnabled = True
  40.  
  41. local function onButtonClick()
  42.     infiniteJumpEnabled = not infiniteJumpEnabled
  43.     button.Text = infiniteJumpEnabled and "Disable InfJump" or "Enable InfJump"
  44. end
  45.  
  46. button.MouseButton1Click:Connect(onButtonClick)
  47.  
  48. game:GetService("UserInputService").JumpRequest:Connect(function()
  49.     if infiniteJumpEnabled then
  50.         game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState("Jumping")
  51.     end
  52. end)
Tags: kk
Add Comment
Please, Sign In to add comment