Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local secondpage = Instance.new("Frame")
- local _2 = Instance.new("TextLabel")
- local close = Instance.new("TextButton")
- local workspace = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- secondpage.Name = "second page"
- secondpage.Parent = ScreenGui
- secondpage.BackgroundColor3 = Color3.new(0.333333, 0.333333, 1)
- secondpage.Position = UDim2.new(0.15247108, 0, 0.257686675, 0)
- secondpage.Size = UDim2.new(0, 689, 0, 331)
- _2.Name = "2"
- _2.Parent = secondpage
- _2.BackgroundColor3 = Color3.new(1, 1, 1)
- _2.BackgroundTransparency = 1
- _2.Position = UDim2.new(0.111709967, 0, 0, 0)
- _2.Size = UDim2.new(0, 534, 0, 44)
- _2.Font = Enum.Font.SourceSans
- _2.Text = "Ultimate Gui Page 2"
- _2.TextColor3 = Color3.new(0, 0, 0)
- _2.TextScaled = true
- _2.TextSize = 14
- _2.TextStrokeColor3 = Color3.new(0.666667, 0, 0)
- _2.TextStrokeTransparency = 0
- _2.TextWrapped = true
- close.Name = "close"
- close.Parent = secondpage
- close.BackgroundColor3 = Color3.new(1, 1, 1)
- close.BackgroundTransparency = 1
- close.Position = UDim2.new(0.959361374, 0, 0, 0)
- close.Size = UDim2.new(0, 28, 0, 22)
- close.Font = Enum.Font.SourceSans
- close.Text = "X"
- close.TextColor3 = Color3.new(0, 0, 0)
- close.TextSize = 14
- workspace.Name = "workspace"
- workspace.Parent = secondpage
- workspace.BackgroundColor3 = Color3.new(1, 1, 1)
- workspace.BorderSizePixel = 10
- workspace.Position = UDim2.new(0.0159651674, 0, 0.190332428, 0)
- workspace.Size = UDim2.new(0, 145, 0, 39)
- workspace.Font = Enum.Font.SourceSans
- workspace.Text = "Delete Workspace"
- workspace.TextColor3 = Color3.new(0.027451, 0.0431373, 1)
- workspace.TextScaled = true
- workspace.TextSize = 100
- workspace.TextStrokeColor3 = Color3.new(1, 0, 0)
- workspace.TextStrokeTransparency = 0
- workspace.TextWrapped = true
- -- Scripts:
- function SCRIPT_KVAI74_FAKESCRIPT() -- close.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = close
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Visible = false
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_KVAI74_FAKESCRIPT))
- function SCRIPT_GRBQ65_FAKESCRIPT() -- secondpage.draggable
- local script = Instance.new('LocalScript')
- script.Parent = secondpage
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_GRBQ65_FAKESCRIPT))
- function SCRIPT_GFZC69_FAKESCRIPT() -- workspace.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = workspace
- script.Parent.MouseButton1Click:Connect(function()
- game.Workspace:Destroy()
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_GFZC69_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement