Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local updateLibrary = {}
- function updateLibrary:CreateChecker(url)
- local Update = Instance.new("ScreenGui")
- local Head = Instance.new("Frame")
- local UpdateLabel = Instance.new("TextLabel")
- local ContinueToUpdate = Instance.new("TextButton")
- Update.Name = "Update"
- Update.Parent = game.CoreGui
- Update.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Head.Name = "Head"
- Head.Parent = Update
- Head.BackgroundColor3 = Color3.new(0.219608, 0.219608, 0.219608)
- Head.BorderSizePixel = 0
- Head.Position = UDim2.new(0.377013177, 0, 0, 0)
- Head.Size = UDim2.new(0, 364, 0, 92)
- UpdateLabel.Name = "UpdateLabel"
- UpdateLabel.Parent = Head
- UpdateLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- UpdateLabel.BackgroundTransparency = 1
- UpdateLabel.Size = UDim2.new(0, 364, 0, 41)
- UpdateLabel.Font = Enum.Font.SourceSansBold
- UpdateLabel.Text = "Checking For Updates..."
- UpdateLabel.TextColor3 = Color3.new(1, 1, 1)
- UpdateLabel.TextScaled = true
- UpdateLabel.TextSize = 14
- UpdateLabel.TextWrapped = true
- ContinueToUpdate.Name = "ContinueToUpdate"
- ContinueToUpdate.Parent = Head
- ContinueToUpdate.BackgroundColor3 = Color3.new(1, 1, 1)
- ContinueToUpdate.BackgroundTransparency = 1
- ContinueToUpdate.BorderSizePixel = 0
- ContinueToUpdate.Position = UDim2.new(0.214285716, 0, 0.621155858, 0)
- ContinueToUpdate.Size = UDim2.new(0, 207, 0, 20)
- ContinueToUpdate.Font = Enum.Font.SourceSansBold
- ContinueToUpdate.Text = "Continue"
- ContinueToUpdate.TextColor3 = Color3.new(1, 1, 1)
- ContinueToUpdate.TextScaled = true
- ContinueToUpdate.TextSize = 30
- ContinueToUpdate.TextWrapped = true
- ContinueToUpdate.MouseButton1Click:Connect(function()
- loadstring(game:HttpGet(url, true))()
- wait(0.05)
- Update:Destroy()
- end)
- end
- return updateLibrary
Add Comment
Please, Sign In to add comment