Advertisement
ERROR_CODE

Notif

Dec 24th, 2023 (edited)
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.39 KB | None | 0 0
  1. local UIGui = Instance.new("ScreenGui")
  2. local NotifFrame = Instance.new("Frame")
  3. local NotifFrameUICorner = Instance.new("UICorner")
  4. local Label1 = Instance.new("TextLabel")
  5. local Label2 = Instance.new("TextLabel")
  6. local DeveloperImage = Instance.new("ImageLabel")
  7. local DeveloperImageUICorner = Instance.new("UICorner")
  8. local NotifSound = Instance.new("Sound")
  9. local DeveloperID = 3323558881
  10.  
  11. UIGui.Parent = game.CoreGui
  12.  
  13. NotifSound.Parent = game.Workspace
  14. NotifSound.SoundId = "rbxassetid://5153734608"
  15. NotifSound.Playing = true
  16. NotifSound.Looped = false
  17. NotifSound.Volume = 1
  18. NotifSound:Stop()
  19.  
  20. DeveloperImage.Visible = false
  21. Label1.Visible = false
  22. Label2.Visible = false
  23.  
  24. NotifFrame.Name = "NotifFrame"
  25. NotifFrame.Parent = UIGui
  26. NotifFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  27. NotifFrame.BackgroundTransparency = 0.5
  28. NotifFrame.Position = UDim2.new(0.3, 0, 0.15, 0)
  29. NotifFrame.Size = UDim2.new(0, 0, 0, 0)
  30. NotifFrame.BorderSizePixel = 0
  31. NotifFrameUICorner.Parent = NotifFrame
  32.  
  33. DeveloperImage.Name = "PlayerIcon"
  34. DeveloperImage.Parent = NotifFrame
  35. DeveloperImage.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  36. DeveloperImage.BackgroundTransparency = 0.5
  37. DeveloperImage.Position = UDim2.new(0.86, 0, 0.78, 0)
  38. DeveloperImage.Size = UDim2.new(0, 50, 0, 50)
  39. DeveloperImage.BorderSizePixel = 0
  40. DeveloperImage.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=3323558881&width=999&height=999&format=png"
  41.  
  42. DeveloperImageUICorner.Parent = DeveloperImage
  43. DeveloperImageUICorner.CornerRadius = UDim.new(0.5, 0)
  44.  
  45. Label1.Name = "Label1"
  46. Label1.Parent = NotifFrame
  47. Label1.BackgroundTransparency = 1
  48. Label1.Position = UDim2.new(0.5, 0, 0.05, 0)
  49. Label1.Size = UDim2.new(0, 1, 0, 1)
  50. Label1.Font = Enum.Font.SourceSansBold
  51. Label1.Text = "!WARNING!"
  52. Label1.TextColor3 = Color3.fromRGB(255, 255, 255)
  53. Label1.TextSize = 50
  54.  
  55. Label2.Name = "Label2"
  56. Label2.Parent = NotifFrame
  57. Label2.BackgroundTransparency = 1
  58. Label2.Position = UDim2.new(0.5, 0, 0.5, 0)
  59. Label2.Size = UDim2.new(0, 1, 0, 1)
  60. Label2.Font = Enum.Font.SourceSansBold
  61. Label2.Text = "The developer \"ERROR_CODE\"\n has joined to the experience. \nDon't swear until he \ngets out of the experience and everything will be fine."
  62. Label2.TextColor3 = Color3.fromRGB(255, 255, 255)
  63. Label2.TextSize = 20
  64.  
  65. game.Players.PlayerAdded:Connect(function(player)
  66. if player.UserId == DeveloperID then
  67. NotifSound:Play()
  68. NotifFrame:TweenSize(UDim2.new(0, 400, 0, 250), 'Out', 4, true)
  69. wait(0.5)
  70. Label2.Text = "The developer \"ERROR_CODE\"\n has joined to the experience. \nDon't swear until he \ngets out of the experience and everything will be fine."
  71. DeveloperImage.Visible = true
  72. Label1.Visible = true
  73. Label2.Visible = true
  74. wait(4.5)
  75. DeveloperImage.Visible = false
  76. Label1.Visible = false
  77. Label2.Visible = false
  78. NotifFrame:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 4, true)
  79. wait(0.5)
  80. NotifFrame.Visible = false
  81. end
  82. end)
  83.  
  84. game.Players.PlayerRemoving:Connect(function(player)
  85. if player.UserId == DeveloperID then
  86. NotifSound:Play()
  87. NotifFrame:TweenSize(UDim2.new(0, 400, 0, 250), 'Out', 4, true)
  88. wait(0.5)
  89. Label2.Text = "The developer \"ERROR_CODE\"\n has leaved."
  90. DeveloperImage.Visible = true
  91. Label1.Visible = true
  92. Label2.Visible = true
  93. wait(4.5)
  94. DeveloperImage.Visible = false
  95. Label1.Visible = false
  96. Label2.Visible = false
  97. NotifFrame:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 4, true)
  98. wait(0.5)
  99. NotifFrame.Visible = false
  100. end
  101. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement