H_bot

admin script

Mar 6th, 2022
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. by creating games#5750
  2.  
  3. local AnnGUI = Instance.new("Frame")
  4. local background = Instance.new("Frame")
  5. local TextBox = Instance.new("TextLabel")
  6. local shadow = Instance.new("Frame")
  7. local PopupText = Instance.new("TextLabel")
  8. local Exit = Instance.new("ImageButton")
  9.  
  10. screenGui = Instance.new("ScreenGui",game.CoreGui)
  11.  
  12. AnnGUI.Name = 'Boomer'
  13. AnnGUI.Parent = screenGui
  14. AnnGUI.Active = true
  15. AnnGUI.BackgroundTransparency = 1
  16. AnnGUI.Position = UDim2.new(0.5, -180, 0, -400)
  17. AnnGUI.Size = UDim2.new(0, 360, 0, 20)
  18. AnnGUI.ZIndex = 4
  19.  
  20. background.Name = "background"
  21. background.Parent = AnnGUI
  22. background.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  23. background.BorderSizePixel = 0
  24. background.Position = UDim2.new(0, 0, 0, 20)
  25. background.Size = UDim2.new(0, 360, 0, 135)
  26.  
  27. TextBox.Parent = background
  28. TextBox.BackgroundTransparency = 1
  29. TextBox.Position = UDim2.new(0.017, 0, 0.06, 0)
  30. TextBox.Size = UDim2.new(0, 348, 0, 120)
  31. TextBox.Font = Enum.Font.SourceSans
  32. TextBox.TextSize = 18
  33. TextBox.TextWrapped = true
  34. TextBox.Text = 'Please use the new Infinite Yield loadstring. You can find it in the Discord.\n\ndiscord.io/infiniteyield\n\nYou will now be re-directed to the new loadstring.'
  35. TextBox.TextColor3 = Color3.new(1, 1, 1)
  36. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  37. TextBox.TextYAlignment = Enum.TextYAlignment.Top
  38.  
  39. shadow.Name = "shadow"
  40. shadow.Parent = AnnGUI
  41. shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  42. shadow.BorderSizePixel = 0
  43. shadow.Size = UDim2.new(0, 360, 0, 20)
  44. shadow.ZIndex = 4
  45.  
  46. PopupText.Name = "PopupText"
  47. PopupText.Parent = shadow
  48. PopupText.BackgroundTransparency = 1
  49. PopupText.Position = UDim2.new(0, 51, 0, 0)
  50. PopupText.Size = UDim2.new(0.76, -16, 0.95, 0)
  51. PopupText.ZIndex = 4
  52. PopupText.Font = Enum.Font.SourceSans
  53. PopupText.TextSize = 14
  54. PopupText.Text = "Server Announcement"
  55. PopupText.TextColor3 = Color3.new(1, 1, 1)
  56. PopupText.TextWrapped = true
  57.  
  58. Exit.Name = "Exit"
  59. Exit.Parent = shadow
  60. Exit.BackgroundTransparency = 1
  61. Exit.Size = UDim2.new(0, 20, 0, 20)
  62. Exit.ZIndex = 4
  63. Exit.Image = "rbxassetid://2132544126"
  64.  
  65. wait(1)
  66. AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil)
  67.  
  68. Exit.MouseButton1Click:Connect(function()
  69. AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, -400), "InOut", "Quart", 0.5, true, nil)
  70. wait(0.6)
  71. AnnGUI:Destroy()
  72. end)
  73.  
  74. wait(5)
  75. loadstring(game:HttpGet(('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'),true))()
  76.  
Advertisement
Add Comment
Please, Sign In to add comment