Advertisement
DARKMODZ

notification

Mar 28th, 2023 (edited)
766
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. function Notify(titletxt, text, time)
  2. local GUI = Instance.new("ScreenGui")
  3. local Main = Instance.new("Frame", GUI)
  4. local title = Instance.new("TextLabel", Main)
  5. local message = Instance.new("TextLabel", Main)
  6. GUI.Name = "NotificationOof"
  7. GUI.Parent = game.CoreGui
  8. Main.Name = "MainFrame"
  9. Main.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  10. Main.BorderSizePixel = 0
  11. Main.Position = UDim2.new(1, 5, 0, 50)
  12. Main.Size = UDim2.new(0, 330, 0, 100)
  13.  
  14. title.BackgroundColor3 = Color3.new(0, 0, 0)
  15. title.BackgroundTransparency = 0.89999997615814
  16. title.Size = UDim2.new(1, 0, 0, 30)
  17. title.Font = Enum.Font.SourceSansSemibold
  18. title.Text = titletxt
  19. title.TextColor3 = Color3.new(1, 1, 1)
  20. title.TextSize = 17
  21.  
  22. message.BackgroundColor3 = Color3.new(0, 0, 0)
  23. message.BackgroundTransparency = 1
  24. message.Position = UDim2.new(0, 0, 0, 30)
  25. message.Size = UDim2.new(1, 0, 1, -30)
  26. message.Font = Enum.Font.SourceSans
  27. message.Text = text
  28. message.TextColor3 = Color3.new(1, 1, 1)
  29. message.TextSize = 16
  30.  
  31. wait(0.1)
  32. Main:TweenPosition(UDim2.new(1, -330, 0, 50), "Out", "Sine", 0.5)
  33. wait(time)
  34. Main:TweenPosition(UDim2.new(1, 5, 0, 50), "Out", "Sine", 0.5)
  35. wait(0.6)
  36. GUI:Destroy();
  37. end
  38.  
  39. Notify("darkModz YouTube", "Roblox FE Exploiting", 5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement