LucianBlox

Message

Oct 1st, 2020 (edited)
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.21 KB | None | 0 0
  1. local AnnGUI = Instance.new("Frame")
  2. local background = Instance.new("Frame")
  3. local TextBox = Instance.new("TextLabel")
  4. local shadow = Instance.new("Frame")
  5. local PopupText = Instance.new("TextLabel")
  6. local Exit = Instance.new("ImageButton")
  7.  
  8. screenGui = Instance.new("ScreenGui",game.CoreGui)
  9.  
  10. AnnGUI.Name = 'Boomer'
  11. AnnGUI.Parent = screenGui
  12. AnnGUI.Active = true
  13. AnnGUI.BackgroundTransparency = 1
  14. AnnGUI.Position = UDim2.new(0.5, -180, 0, -400)
  15. AnnGUI.Size = UDim2.new(0, 360, 0, 20)
  16. AnnGUI.ZIndex = 4
  17.  
  18. background.Name = "background"
  19. background.Parent = AnnGUI
  20. background.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  21. background.BorderSizePixel = 0
  22. background.Position = UDim2.new(0, 0, 0, 20)
  23. background.Size = UDim2.new(0, 360, 0, 135)
  24.  
  25. TextBox.Parent = background
  26. TextBox.BackgroundTransparency = 1
  27. TextBox.Position = UDim2.new(0.017, 0, 0.06, 0)
  28. TextBox.Size = UDim2.new(0, 348, 0, 120)
  29. TextBox.Font = Enum.Font.SourceSans
  30. TextBox.TextSize = 18
  31. TextBox.TextWrapped = true
  32. TextBox.Text = 'You need all the gamepasses for ragdoll engine for this to work.'
  33. TextBox.TextColor3 = Color3.new(1, 1, 1)
  34. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  35. TextBox.TextYAlignment = Enum.TextYAlignment.Top
  36.  
  37. shadow.Name = "shadow"
  38. shadow.Parent = AnnGUI
  39. shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  40. shadow.BorderSizePixel = 0
  41. shadow.Size = UDim2.new(0, 360, 0, 20)
  42. shadow.ZIndex = 4
  43.  
  44. PopupText.Name = "PopupText"
  45. PopupText.Parent = shadow
  46. PopupText.BackgroundTransparency = 1
  47. PopupText.Position = UDim2.new(0, 51, 0, 0)
  48. PopupText.Size = UDim2.new(0.76, -16, 0.95, 0)
  49. PopupText.ZIndex = 4
  50. PopupText.Font = Enum.Font.SourceSans
  51. PopupText.TextSize = 14
  52. PopupText.Text = "Ragdoll Engine GUI"
  53. PopupText.TextColor3 = Color3.new(1, 1, 1)
  54. PopupText.TextWrapped = true
  55.  
  56. Exit.Name = "Exit"
  57. Exit.Parent = shadow
  58. Exit.BackgroundTransparency = 1
  59. Exit.Size = UDim2.new(0, 20, 0, 20)
  60. Exit.ZIndex = 4
  61. Exit.Image = "rbxassetid://2132544126"
  62.  
  63. wait(1)
  64. AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil)
  65.  
  66. Exit.MouseButton1Click:Connect(function()
  67.     AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, -400), "InOut", "Quart", 0.5, true, nil)
  68.     wait(0.6)
  69.     AnnGUI:Destroy()
  70. end)
Add Comment
Please, Sign In to add comment