
Key Required
local player = game.Players.LocalPlayer
local rs = game:GetService("ReplicatedStorage")
local eventFolder = rs:WaitForChild("Event")
-- GUI
local gui = Instance.new("ScreenGui")
gui.Parent = player:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0,200,0,160)
frame.Position = UDim2.new(0.5,-100,0.5,-80)
frame.BackgroundColor3 = Color3.fromRGB(35,35,35)
frame.Active = true
frame.Draggable = true
frame.Parent = gui
-- Title
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1,0,0,30)
title.Text = "Infinite Panel"
title.BackgroundColor3 = Color3.fromRGB(25,25,25)
title.TextColor3 = Color3.new(1,1,1)
title.Parent = frame
-- Button creator
local function makeButton(text, posY, func)
local btn = Instance.new("TextButton")
btn.Size = UDim2.new(1,-10,0,35)
btn.Position = UDim2.new(0,5,0,posY)
btn.Text = text
btn.BackgroundColor3 = Color3.fromRGB(60,60,60)
btn.TextColor3 = Color3.new(1,1,1)
btn.Parent = frame
btn.MouseButton1Click:Connect(func)
end
-- Inf Train
makeButton("Inf Train", 40, function()
eventFolder.Train:FireServer(9e9999)
end)
-- Inf Wins
makeButton("Inf Wins", 80, function()
eventFolder.WinGain:FireServer(9e99999)
end)
-- Inf Power
makeButton("Inf Power", 120, function()
eventFolder.HealthAdd:FireServer(9e99999)
end)No comments yet for this script.
