matekaOSF2

Untitled

Jul 19th, 2020 (edited)
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. local updateLibrary = {}
  2.  
  3. function updateLibrary:CreateChecker(url)
  4. local Update = Instance.new("ScreenGui")
  5. local Head = Instance.new("Frame")
  6. local UpdateLabel = Instance.new("TextLabel")
  7. local ContinueToUpdate = Instance.new("TextButton")
  8.  
  9. Update.Name = "Update"
  10. Update.Parent = game.CoreGui
  11. Update.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  12.  
  13. Head.Name = "Head"
  14. Head.Parent = Update
  15. Head.BackgroundColor3 = Color3.new(0.219608, 0.219608, 0.219608)
  16. Head.BorderSizePixel = 0
  17. Head.Position = UDim2.new(0.377013177, 0, 0, 0)
  18. Head.Size = UDim2.new(0, 364, 0, 92)
  19.  
  20. UpdateLabel.Name = "UpdateLabel"
  21. UpdateLabel.Parent = Head
  22. UpdateLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  23. UpdateLabel.BackgroundTransparency = 1
  24. UpdateLabel.Size = UDim2.new(0, 364, 0, 41)
  25. UpdateLabel.Font = Enum.Font.SourceSansBold
  26. UpdateLabel.Text = "Checking For Updates..."
  27. UpdateLabel.TextColor3 = Color3.new(1, 1, 1)
  28. UpdateLabel.TextScaled = true
  29. UpdateLabel.TextSize = 14
  30. UpdateLabel.TextWrapped = true
  31.  
  32. ContinueToUpdate.Name = "ContinueToUpdate"
  33. ContinueToUpdate.Parent = Head
  34. ContinueToUpdate.BackgroundColor3 = Color3.new(1, 1, 1)
  35. ContinueToUpdate.BackgroundTransparency = 1
  36. ContinueToUpdate.BorderSizePixel = 0
  37. ContinueToUpdate.Position = UDim2.new(0.214285716, 0, 0.621155858, 0)
  38. ContinueToUpdate.Size = UDim2.new(0, 207, 0, 20)
  39. ContinueToUpdate.Font = Enum.Font.SourceSansBold
  40. ContinueToUpdate.Text = "Continue"
  41. ContinueToUpdate.TextColor3 = Color3.new(1, 1, 1)
  42. ContinueToUpdate.TextScaled = true
  43. ContinueToUpdate.TextSize = 30
  44. ContinueToUpdate.TextWrapped = true
  45.  
  46. ContinueToUpdate.MouseButton1Click:Connect(function()
  47. loadstring(game:HttpGet(url, true))()
  48. wait(0.05)
  49. Update:Destroy()
  50. end)
  51. end
  52.  
  53. return updateLibrary
Add Comment
Please, Sign In to add comment