Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = loadstring(game:HttpGet("https://pastebin.com/raw/jNS157AK"))()
- local Players = game:GetService("Players")
- local Player = Players.LocalPlayer
- -- Variables --
- _G.LuckyBlocksBattlegroundSpeed = 16 -- Speed
- _G.LuckyBlocksBattlegroundJumpPower = 50 -- Jump Power
- _G.HitboxExpansionEnabled = false
- _G.InfiniteJumpsEnabled = false
- -- Functions --
- local function UpdateSpeed()
- while task.wait() do
- if (Player.Character ~= nil) then
- local Humanoid = Player.Character:FindFirstChildOfClass("Humanoid")
- if Humanoid then
- Humanoid.WalkSpeed = _G.LuckyBlocksBattlegroundSpeed
- end
- end
- end
- end
- local function UpdateJumpPower()
- while task.wait() do
- if (Player.Character ~= nil) then
- local Humanoid = Player.Character:FindFirstChildOfClass("Humanoid")
- if Humanoid then
- Humanoid.UseJumpPower = true
- Humanoid.JumpPower = _G.LuckyBlocksBattlegroundJumpPower
- end
- end
- end
- end
- local function HitboxExpansion()
- while task.wait() do
- if (_G.HitboxExpansionEnabled == true) then
- for _, Target in pairs(game.Players:GetPlayers()) do
- if (Target ~= Player) and (Target.Character ~= nil) and (Target.Character:FindFirstChild("HumanoidRootPart") ~= nil) then
- local HumanoidRootPart = Target.Character:FindFirstChild("HumanoidRootPart")
- HumanoidRootPart.Size = Vector3.new(50, 50, 50)
- HumanoidRootPart.CanCollide = false
- HumanoidRootPart.Transparency = 0.85
- HumanoidRootPart.Material = Enum.Material.Neon
- HumanoidRootPart.BrickColor = Target.TeamColor
- end
- end
- else
- for _, Target in pairs(game.Players:GetPlayers()) do
- if (Target ~= Player) and (Target.Character ~= nil) and (Target.Character:FindFirstChild("HumanoidRootPart") ~= nil) then
- local HumanoidRootPart = Target.Character:FindFirstChild("HumanoidRootPart")
- HumanoidRootPart.Size = Vector3.new(2, 2, 1)
- HumanoidRootPart.CanCollide = false
- HumanoidRootPart.Transparency = 1
- end
- end
- end
- end
- end
- -- Create GUI --
- local Window = Library:CreateWindow("Lucky Blocks Battlegrounds", "...")
- local Main = Window:addPage("Main", 2, true, 7.5)
- Main:addLabel("Weapons Giver", "Get OP Weapons INSTANTLY!")
- Main:addButton("Give Weapons 1x", function()
- game.ReplicatedStorage.SpawnGalaxyBlock:FireServer()
- end)
- Main:addButton("Give Weapons 3x", function()
- for Repeat = 1, 3 do
- game.ReplicatedStorage.SpawnGalaxyBlock:FireServer()
- end
- end)
- Main:addButton("Give Weapons 10x", function()
- for Repeat = 1, 10 do
- game.ReplicatedStorage.SpawnGalaxyBlock:FireServer()
- end
- end)
- Main:addLabel("Miscellaneous", "Other Actions")
- Main:addTextBox("Speed", "...", function(Value)
- if (tonumber(Value) ~= nil) then
- _G.LuckyBlocksBattlegroundSpeed = tonumber(Value)
- end
- end)
- Main:addTextBox("Jump Power", "...", function(Value)
- if (tonumber(Value) ~= nil) then
- _G.LuckyBlocksBattlegroundJumpPower = tonumber(Value)
- end
- end)
- Main:addToggle("Expand Hitbox", function(Toggle)
- _G.HitboxExpansionEnabled = Toggle
- end)
- local Credits = Window:addPage("Credits", 1, false, 7.5)
- Credits:addLabel("Credits", "Hud created by HappyH0lidays2021")
- -- Start Functions --
- task.spawn(UpdateSpeed)
- task.spawn(UpdateJumpPower)
- task.spawn(HitboxExpansion)
Advertisement
Advertisement