MaxproGlitcher

Notification Script Esp Raimbow by Max 3/3

Oct 18th, 2024 (edited)
2,289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2.  
  3. local screenGui = Instance.new("ScreenGui")
  4. screenGui.ResetOnSpawn = false
  5. screenGui.Parent = player:WaitForChild("PlayerGui")
  6.  
  7. local notificationFrame = Instance.new("Frame")
  8. notificationFrame.Size = UDim2.new(0, 250, 0, 60)
  9. notificationFrame.Position = UDim2.new(0.5, -125, 0, -70)
  10. notificationFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  11. notificationFrame.BorderSizePixel = 0
  12. notificationFrame.Parent = screenGui
  13.  
  14. local notificationCorner = Instance.new("UICorner")
  15. notificationCorner.CornerRadius = UDim.new(0, 10)
  16. notificationCorner.Parent = notificationFrame
  17.  
  18. local messageLabel = Instance.new("TextLabel")
  19. messageLabel.Size = UDim2.new(1, -20, 1, -30)
  20. messageLabel.Position = UDim2.new(0, 10, 0, 10)
  21. messageLabel.Text = "Version V6 1.4"
  22. messageLabel.Font = Enum.Font.Gotham
  23. messageLabel.TextSize = 20
  24. messageLabel.TextColor3 = Color3.fromRGB(172, 0, 0) -- pour changer la couleur des lettres du Gui..
  25. messageLabel.BackgroundTransparency = 1
  26. messageLabel.TextWrapped = true
  27. messageLabel.Parent = notificationFrame
  28.  
  29. local progressBar = Instance.new("Frame")
  30. progressBar.Size = UDim2.new(1, -20, 0, 4)
  31. progressBar.Position = UDim2.new(0, 10, 1, -14)
  32. progressBar.BackgroundColor3 = Color3.fromRGB(172, 0, 0) -- Pour changer la couleur de la ling de loading..
  33. progressBar.BorderSizePixel = 0
  34. progressBar.Parent = notificationFrame
  35.  
  36. local progressBarCorner = Instance.new("UICorner")
  37. progressBarCorner.CornerRadius = UDim.new(0, 2)
  38. progressBarCorner.Parent = progressBar
  39.  
  40. notificationFrame:TweenPosition(UDim2.new(0.5, -125, 0, 10), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.5, true)
  41.  
  42. local tweenService = game:GetService("TweenService")
  43. local tweenInfo = TweenInfo.new(5, Enum.EasingStyle.Linear)
  44. local progressBarTween = tweenService:Create(progressBar, tweenInfo, {Size = UDim2.new(0, 0, 0, 4)})
  45. progressBarTween:Play()
  46.  
  47. wait(5)
  48.  
  49. notificationFrame:TweenPosition(UDim2.new(0.5, -125, 0, -70), Enum.EasingDirection.In, Enum.EasingStyle.Quint, 0.5, true, function()
  50. screenGui:Destroy()
  51. end)
Advertisement
Add Comment
Please, Sign In to add comment