local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local gui = Instance.new("ScreenGui")
gui.Name = "DevUI"
gui.ResetOnSpawn = false
gui.Parent = playerGui
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 320, 0, 250)
frame.Position = UDim2.new(0.5, -160, 0.5, -125)
frame.BackgroundColor3 = Color3.fromRGB(35,35,35)
frame.BorderSizePixel = 0
frame.Parent = gui
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0,10)
corner.Parent = frame
local topBar = Instance.new("Frame")
topBar.Size = UDim2.new(1,0,0,35)
topBar.BackgroundColor3 = Color3.fromRGB(25,25,25)
topBar.BorderSizePixel = 0
topBar.Parent = frame
local topCorner = Instance.new("UICorner")
topCorner.CornerRadius = UDim.new(0,10)
topCorner.Parent = topBar
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1,-40,1,0)
title.Position = UDim2.new(0,10,0,0)
title.BackgroundTransparency = 1
title.Text = "Push a Lucky Block"
title.TextColor3 = Color3.new(1,1,1)
title.Font = Enum.Font.GothamBold
title.TextScaled = true
title.TextXAlignment = Enum.TextXAlignment.Left
title.Parent = topBar
local closeButton = Instance.new("TextButton")
closeButton.Size = UDim2.new(0,30,0,30)
closeButton.Position = UDim2.new(1,-35,0,2)
closeButton.Text = "X"
closeButton.BackgroundColor3 = Color3.fromRGB(170,50,50)
closeButton.TextColor3 = Color3.new(1,1,1)
closeButton.Font = Enum.Font.GothamBold
closeButton.TextScaled = true
closeButton.Parent = topBar
local closeCorner = Instance.new("UICorner")
closeCorner.CornerRadius = UDim.new(0,6)
closeCorner.Parent = closeButton
closeButton.MouseButton1Click:Connect(function()
gui:Destroy()
end)
local credits = Instance.new("TextLabel")
credits.Size = UDim2.new(1,0,0,25)
credits.Position = UDim2.new(0,0,1,-25)
credits.BackgroundTransparency = 1
credits.Text = "Made by Purebunny08"
credits.TextColor3 = Color3.fromRGB(180,180,180)
credits.Font = Enum.Font.Gotham
credits.TextScaled = true
credits.Parent = frame
local cashButton = Instance.new("TextButton")
cashButton.Size = UDim2.new(0,280,0,50)
cashButton.Position = UDim2.new(0,20,0,60)
cashButton.Text = "Infinite Cash: OFF"
cashButton.BackgroundColor3 = Color3.fromRGB(50,50,50)
cashButton.TextColor3 = Color3.new(1,1,1)
cashButton.Font = Enum.Font.GothamBold
cashButton.TextScaled = true
cashButton.Parent = frame
local cashCorner = Instance.new("UICorner")
cashCorner.CornerRadius = UDim.new(0,8)
cashCorner.Parent = cashButton
local rebirthButton = Instance.new("TextButton")
rebirthButton.Size = UDim2.new(0,280,0,50)
rebirthButton.Position = UDim2.new(0,20,0,130)
rebirthButton.Text = "Auto Rebirth: OFF"
rebirthButton.BackgroundColor3 = Color3.fromRGB(50,50,50)
rebirthButton.TextColor3 = Color3.new(1,1,1)
rebirthButton.Font = Enum.Font.GothamBold
rebirthButton.TextScaled = true
rebirthButton.Parent = frame
local rebirthCorner = Instance.new("UICorner")
rebirthCorner.CornerRadius = UDim.new(0,8)
rebirthCorner.Parent = rebirthButton
local cashEnabled = false
local rebirthEnabled = false
cashButton.MouseButton1Click:Connect(function()
cashEnabled = not cashEnabled
cashButton.Text = "Infinite Cash: " .. (cashEnabled and "ON" or "OFF")
if cashEnabled then
task.spawn(function()
while cashEnabled do
local args = {
1.8e+308
}
ReplicatedStorage
:WaitForChild("Remotes")
:WaitForChild("ComboReward")
:FireServer(unpack(args))
task.wait(0.1)
end
end)
end
end)
rebirthButton.MouseButton1Click:Connect(function()
rebirthEnabled = not rebirthEnabled
rebirthButton.Text = "Auto Rebirth: " .. (rebirthEnabled and "ON" or "OFF")
if rebirthEnabled then
task.spawn(function()
while rebirthEnabled do
ReplicatedStorage
:WaitForChild("Remotes")
:WaitForChild("Rebirth")
:FireServer()
task.wait(0.5)
end
end)
end
end)
local dragging = false
local dragInput
local dragStart
local startPos
topBar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
topBar.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then
dragInput = input
end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
local delta = input.Position - dragStart
frame.Position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
end
end)
Comments
No comments yet
Be the first to share your thoughts!