Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextButton")
- local TextButton_4 = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.fromRGB(85, 85, 255)
- Frame.BorderColor3 = Color3.fromRGB(85, 85, 255)
- Frame.BorderSizePixel = 7
- Frame.Position = UDim2.new(0.297450781, 0, 0.185679615, 0)
- Frame.Size = UDim2.new(0, 361, 0, 321)
- Frame.Style = Enum.FrameStyle.RobloxRound
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(85, 85, 255)
- TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.119979985, 0, 0.0914004296, 0)
- TextButton.Size = UDim2.new(0, 99, 0, 78)
- TextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Upgrade"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 24.000
- TextButton.TextStrokeTransparency = 0.180
- TextButton.TextWrapped = true
- TextButton_2.Parent = Frame
- TextButton_2.BackgroundColor3 = Color3.fromRGB(85, 85, 255)
- TextButton_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Position = UDim2.new(0.612788558, 0, 0.0905763656, 0)
- TextButton_2.Size = UDim2.new(0, 101, 0, 78)
- TextButton_2.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = "Request"
- TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_2.TextScaled = true
- TextButton_2.TextSize = 100.000
- TextButton_2.TextStrokeTransparency = 0.000
- TextButton_2.TextWrapped = true
- TextButton_3.Parent = Frame
- TextButton_3.BackgroundColor3 = Color3.fromRGB(85, 85, 255)
- TextButton_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_3.BorderSizePixel = 0
- TextButton_3.Position = UDim2.new(0.128565237, 0, 0.575158238, 0)
- TextButton_3.Size = UDim2.new(0, 101, 0, 78)
- TextButton_3.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- TextButton_3.Font = Enum.Font.SourceSans
- TextButton_3.Text = "DisableSpeed"
- TextButton_3.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_3.TextScaled = true
- TextButton_3.TextSize = 28.000
- TextButton_3.TextStrokeTransparency = 0.000
- TextButton_3.TextWrapped = true
- TextButton_4.Parent = Frame
- TextButton_4.BackgroundColor3 = Color3.fromRGB(85, 85, 255)
- TextButton_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_4.BorderSizePixel = 0
- TextButton_4.Position = UDim2.new(0.607067406, 0, 0.592133522, 0)
- TextButton_4.Size = UDim2.new(0, 101, 0, 78)
- TextButton_4.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- TextButton_4.Font = Enum.Font.SourceSans
- TextButton_4.Text = "Coming Soon"
- TextButton_4.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_4.TextScaled = true
- TextButton_4.TextSize = 28.000
- TextButton_4.TextStrokeTransparency = 0.000
- TextButton_4.TextWrapped = true
- -- Scripts:
- local function QFGE_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- local button = script.Parent
- local Events = game:GetService("ReplicatedStorage").Events
- local function UpgradeSlot(floor, slot)
- Events.RequestSlotUpgrade:FireServer(floor, slot)
- end
- local function RunUpgradeSequence()
- -- Buy upgrades
- Events.PurchasePower:FireServer(1)
- Events.PurchaseSpeed:FireServer(1)
- -- Floor 1 upgrades
- UpgradeSlot("Floor1", "Slot10")
- UpgradeSlot("Floor1", "Slot9")
- UpgradeSlot("Floor1", "Slot8")
- UpgradeSlot("Floor1", "Slot1")
- UpgradeSlot("Floor1", "Slot2")
- UpgradeSlot("Floor1", "Slot2")
- UpgradeSlot("Floor1", "Slot3")
- UpgradeSlot("Floor1", "Slot4")
- UpgradeSlot("Floor1", "Slot5")
- UpgradeSlot("Floor1", "Slot5")
- UpgradeSlot("Floor1", "Slot6")
- UpgradeSlot("Floor1", "Slot7")
- -- Floor 2 upgrades
- UpgradeSlot("Floor2", "Slot5")
- UpgradeSlot("Floor2", "Slot4")
- UpgradeSlot("Floor2", "Slot3")
- UpgradeSlot("Floor2", "Slot2")
- UpgradeSlot("Floor2", "Slot1")
- end
- button.MouseButton1Click:Connect(function()
- RunUpgradeSequence()
- end)
- end
- coroutine.wrap(QFGE_fake_script)()
- local function OROOMMZ_fake_script() -- Frame.LocalScript
- local script = Instance.new('LocalScript', Frame)
- local frame = script.Parent
- local UserInputService = game:GetService("UserInputService")
- local dragging = false
- local dragStart
- local startPos
- local function update(input)
- 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
- frame.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)
- frame.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- local connection
- connection = UserInputService.InputChanged:Connect(function(moveInput)
- if moveInput == input and dragging then
- update(moveInput)
- end
- end)
- end
- end)
- end
- coroutine.wrap(OROOMMZ_fake_script)()
- local function UOPLHN_fake_script() -- TextButton_2.RequestRebirth
- local script = Instance.new('LocalScript', TextButton_2)
- local button = script.Parent
- local Event = game:GetService("ReplicatedStorage").Events.RequestRebirth
- button.MouseButton1Click:Connect(function()
- Event:FireServer()
- end)
- end
- coroutine.wrap(UOPLHN_fake_script)()
- local function IKMEBN_fake_script() -- TextButton_3.DisableSpeed
- local script = Instance.new('LocalScript', TextButton_3)
- local button = script.Parent
- local Event = game:GetService("ReplicatedStorage").Events.DisableSpeed
- button.MouseButton1Click:Connect(function()
- Event:FireServer()
- end)
- end
- coroutine.wrap(IKMEBN_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment