Advertisement
ProScripter29

Universal Script

Dec 16th, 2022 (edited)
433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.66 KB | None | 0 0
  1. local Library = loadstring(game:HttpGet("https://pastebin.com/raw/jNS157AK"))()
  2.  
  3. local Players = game:GetService("Players")
  4.  
  5. local Player = Players.LocalPlayer
  6.  
  7. -- Variables --
  8.  
  9. _G.ExploitCharacterSpeed = 16 -- Speed
  10. _G.ExploitCharacterJumpPower = 50 -- Jump Power
  11.  
  12. _G.ExploitHitboxExpansionEnabled = false
  13.  
  14. _G.ExploitInfiniteJumpsEnabled = false
  15.  
  16. -- Functions --
  17.  
  18. local function UpdateSpeed()
  19.     while task.wait() do
  20.         if (Player.Character ~= nil) then
  21.             local Humanoid = Player.Character:FindFirstChildOfClass("Humanoid")
  22.             if Humanoid then
  23.                 Humanoid.WalkSpeed = _G.ExploitCharacterSpeed
  24.             end
  25.         end
  26.     end
  27. end
  28.  
  29. local function UpdateJumpPower()
  30.     while task.wait() do
  31.         if (Player.Character ~= nil) then
  32.             local Humanoid = Player.Character:FindFirstChildOfClass("Humanoid")
  33.             if Humanoid then
  34.                 Humanoid.UseJumpPower = true
  35.                 Humanoid.JumpPower = _G.ExploitCharacterJumpPower
  36.             end
  37.         end
  38.     end
  39. end
  40.  
  41. local function HitboxExpansion()
  42.     while task.wait() do
  43.         if (_G.ExploitHitboxExpansionEnabled == true) then
  44.             for _, Target in pairs(game.Players:GetPlayers()) do
  45.                 if (Target ~= Player) and (Target.Character ~= nil) and (Target.Character:FindFirstChild("HumanoidRootPart") ~= nil) then
  46.                     local HumanoidRootPart = Target.Character:FindFirstChild("HumanoidRootPart")
  47.                     HumanoidRootPart.Size = Vector3.new(15, 15, 15)
  48.                     HumanoidRootPart.CanCollide = false
  49.                     HumanoidRootPart.Transparency = 0.85
  50.                     HumanoidRootPart.Material = Enum.Material.Neon
  51.                     HumanoidRootPart.BrickColor = Target.TeamColor
  52.                 end
  53.             end
  54.         else
  55.             for _, Target in pairs(game.Players:GetPlayers()) do
  56.                 if (Target ~= Player) and (Target.Character ~= nil) and (Target.Character:FindFirstChild("HumanoidRootPart") ~= nil) then
  57.                     local HumanoidRootPart = Target.Character:FindFirstChild("HumanoidRootPart")
  58.                     HumanoidRootPart.Size = Vector3.new(2, 2, 1)
  59.                     HumanoidRootPart.CanCollide = false
  60.                     HumanoidRootPart.Transparency = 1
  61.                 end
  62.             end
  63.         end
  64.     end
  65. end
  66.  
  67. -- Create GUI --
  68.  
  69. local Window = Library:CreateWindow("All Games Hud", "...")
  70.  
  71. local Main = Window:addPage("Main", 2, true, 7.5)
  72.  
  73. Main:addLabel("Universal", "Actions that will work for MOST games")
  74.  
  75. Main:addButton("Reset Character", function()
  76.     Player.Character:FindFirstChildOfClass("Humanoid").Health = 0
  77. end)
  78.  
  79. Main:addTextBox("Speed", "...", function(Value)
  80.     if (tonumber(Value) ~= nil) then
  81.         _G.ExploitCharacterSpeed = tonumber(Value)
  82.     end
  83. end)
  84.  
  85. Main:addTextBox("Jump Power", "...", function(Value)
  86.     if (tonumber(Value) ~= nil) then
  87.         _G.ExploitCharacterJumpPower = tonumber(Value)
  88.     end
  89. end)
  90.  
  91. Main:addToggle("Infinite Jumps", function(Toggle)
  92.     _G.ExploitInfiniteJumpsEnabled = Toggle
  93.     game:GetService("UserInputService").JumpRequest:Connect(function()
  94.         if (_G.ExploitInfiniteJumpsEnabled == true) then
  95.             Player.Character:FindFirstChildOfClass("Humanoid"):ChangeState("Jumping")
  96.         end
  97.     end)
  98. end)
  99.  
  100. Main:addToggle("Expand Hitbox", function(Toggle)
  101.     _G.ExploitHitboxExpansionEnabled = Toggle
  102. end)
  103.  
  104. local Credits = Window:addPage("Credits", 1, false, 7.5)
  105.  
  106. Credits:addLabel("Credits", "Hud created by HappyH0lidays2021")
  107.  
  108. -- Start Functions --
  109.  
  110. task.spawn(UpdateSpeed)
  111. task.spawn(UpdateJumpPower)
  112. task.spawn(HitboxExpansion)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement