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, 310)
frame.Position = UDim2.new(0.5, -160, 0.5, -155)
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 = "+1 speed toxic factory escape"
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 winsButton = Instance.new("TextButton")
winsButton.Size = UDim2.new(0,280,0,45)
winsButton.Position = UDim2.new(0,20,0,60)
winsButton.Text = "Infinite Wins: OFF"
winsButton.BackgroundColor3 = Color3.fromRGB(50,50,50)
winsButton.TextColor3 = Color3.new(1,1,1)
winsButton.Font = Enum.Font.GothamBold
winsButton.TextScaled = true
winsButton.Parent = frame
local winsCorner = Instance.new("UICorner")
winsCorner.CornerRadius = UDim.new(0,8)
winsCorner.Parent = winsButton
local speedButton = Instance.new("TextButton")
speedButton.Size = UDim2.new(0,280,0,45)
speedButton.Position = UDim2.new(0,20,0,120)
speedButton.Text = "Infinite Speed: OFF"
speedButton.BackgroundColor3 = Color3.fromRGB(50,50,50)
speedButton.TextColor3 = Color3.new(1,1,1)
speedButton.Font = Enum.Font.GothamBold
speedButton.TextScaled = true
speedButton.Parent = frame
local speedCorner = Instance.new("UICorner")
speedCorner.CornerRadius = UDim.new(0,8)
speedCorner.Parent = speedButton
local rebirthButton = Instance.new("TextButton")
rebirthButton.Size = UDim2.new(0,280,0,45)
rebirthButton.Position = UDim2.new(0,20,0,180)
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 winsEnabled = false
local speedEnabled = false
local rebirthEnabled = false
winsButton.MouseButton1Click:Connect(function()
winsEnabled = not winsEnabled
winsButton.Text = "Infinite Wins: " .. (winsEnabled and "ON" or "OFF")
if winsEnabled then
task.spawn(function()
while winsEnabled do
local args = {
"Workspace.WinPad",
1.8e+308
}
ReplicatedStorage:WaitForChild("CollectWin"):FireServer(unpack(args))
task.wait(0.1)
end
end)
end
end)
speedButton.MouseButton1Click:Connect(function()
speedEnabled = not speedEnabled
speedButton.Text = "Infinite Speed: " .. (speedEnabled and "ON" or "OFF")
if speedEnabled then
task.spawn(function()
while speedEnabled do
local args = {
true,
1.8e+308
}
ReplicatedStorage:WaitForChild("TreadmillXP"):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("RebirthRequest"):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!