Advertisement
AtlasLoader

goat

May 26th, 2025
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | None | 0 0
  1. -- Modern Roblox Executer Notification
  2. local Notification = {
  3. Duration = 3, -- 3 saniye göster
  4. SoundId = "rbxassetid://9046305933", -- Modern bildirim sesi
  5. BackgroundColor = Color3.fromRGB(25, 25, 35), -- Koyu arkaplan
  6. AccentColor = Color3.fromRGB(0, 170, 255), -- Mavi aksan rengi
  7. TextColor = Color3.fromRGB(255, 255, 255) -- Beyaz yazı
  8. }
  9.  
  10. -- Animasyon servisi
  11. local TweenService = game:GetService("TweenService")
  12.  
  13. local function CreateModernNotification()
  14. -- PlayerGui'yi hazırla
  15. local player = game:GetService("Players").LocalPlayer
  16. local playerGui = player:WaitForChild("PlayerGui")
  17.  
  18. -- Ana frame'i oluştur
  19. local mainFrame = Instance.new("Frame")
  20. mainFrame.Name = "ModernNotification"
  21. mainFrame.Size = UDim2.new(0, 300, 0, 80)
  22. mainFrame.Position = UDim2.new(0.5, 0, 0, 0)
  23. mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  24. mainFrame.BackgroundColor3 = Notification.BackgroundColor
  25. mainFrame.BackgroundTransparency = 1
  26. mainFrame.BorderSizePixel = 0
  27.  
  28. -- Gradient efekti
  29. local gradient = Instance.new("UIGradient")
  30. gradient.Color = ColorSequence.new({
  31. ColorSequenceKeypoint.new(0, Notification.AccentColor),
  32. ColorSequenceKeypoint.new(0.1, Notification.AccentColor),
  33. ColorSequenceKeypoint.new(1, Notification.BackgroundColor)
  34. })
  35. gradient.Rotation = 90
  36. gradient.Parent = mainFrame
  37.  
  38. -- Alt çizgi
  39. local underline = Instance.new("Frame")
  40. underline.Name = "Underline"
  41. underline.Size = UDim2.new(0, 0, 0, 3)
  42. underline.Position = UDim2.new(0, 0, 1, -3)
  43. underline.BackgroundColor3 = Notification.AccentColor
  44. underline.BorderSizePixel = 0
  45. underline.Parent = mainFrame
  46.  
  47. -- İkon (isteğe bağlı)
  48. local icon = Instance.new("ImageLabel")
  49. icon.Name = "Icon"
  50. icon.Size = UDim2.new(0, 24, 0, 24)
  51. icon.Position = UDim2.new(0, 15, 0.5, 0)
  52. icon.AnchorPoint = Vector2.new(0, 0.5)
  53. icon.Image = "rbxassetid://7072718362" -- Check işareti
  54. icon.BackgroundTransparency = 1
  55. icon.Parent = mainFrame
  56.  
  57. -- Başlık
  58. local title = Instance.new("TextLabel")
  59. title.Name = "Title"
  60. title.Text = "Anti Report Activated"
  61. title.Font = Enum.Font.GothamSemibold
  62. title.TextSize = 18
  63. title.TextColor3 = Notification.TextColor
  64. title.BackgroundTransparency = 1
  65. title.Size = UDim2.new(1, -60, 0.5, 0)
  66. title.Position = UDim2.new(0, 50, 0, 10)
  67. title.TextXAlignment = Enum.TextXAlignment.Left
  68. title.Parent = mainFrame
  69.  
  70. -- Açıklama (isteğe bağlı)
  71. local desc = Instance.new("TextLabel")
  72. desc.Name = "Description"
  73. desc.Text = "Successfully injected and executed"
  74. desc.Font = Enum.Font.Gotham
  75. desc.TextSize = 14
  76. desc.TextColor3 = Notification.TextColor
  77. desc.TextTransparency = 0.3
  78. desc.BackgroundTransparency = 1
  79. desc.Size = UDim2.new(1, -50, 0.5, 0)
  80. desc.Position = UDim2.new(0, 50, 0.5, 0)
  81. desc.TextXAlignment = Enum.TextXAlignment.Left
  82. desc.Parent = mainFrame
  83.  
  84. -- Kapatma butonu (isteğe bağlı)
  85. local closeBtn = Instance.new("ImageButton")
  86. closeBtn.Name = "CloseButton"
  87. closeBtn.Size = UDim2.new(0, 20, 0, 20)
  88. closeBtn.Position = UDim2.new(1, -25, 0, 10)
  89. closeBtn.AnchorPoint = Vector2.new(1, 0)
  90. closeBtn.Image = "rbxassetid://7072725340" -- X işareti
  91. closeBtn.BackgroundTransparency = 1
  92. closeBtn.Parent = mainFrame
  93.  
  94. -- ScreenGui'ye ekle
  95. local screenGui = Instance.new("ScreenGui")
  96. screenGui.Name = "NotificationGui"
  97. screenGui.Parent = playerGui
  98. screenGui.ResetOnSpawn = false
  99. mainFrame.Parent = screenGui
  100.  
  101. -- Ses efekti
  102. local sound = Instance.new("Sound")
  103. sound.SoundId = Notification.SoundId
  104. sound.Volume = 0.5
  105. sound.Parent = game:GetService("SoundService")
  106. sound:Play()
  107.  
  108. -- Animasyonlar
  109. local fadeIn = TweenService:Create(
  110. mainFrame,
  111. TweenInfo.new(0.3, Enum.EasingStyle.Quint),
  112. {BackgroundTransparency = 0}
  113. )
  114.  
  115. local lineExpand = TweenService:Create(
  116. underline,
  117. TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out),
  118. {Size = UDim2.new(1, 0, 0, 3)}
  119. )
  120.  
  121. fadeIn:Play()
  122. lineExpand:Play()
  123.  
  124. -- Kapatma işlevi
  125. local function CloseNotification()
  126. local fadeOut = TweenService:Create(
  127. mainFrame,
  128. TweenInfo.new(0.3, Enum.EasingStyle.Quint),
  129. {BackgroundTransparency = 1}
  130. )
  131.  
  132. fadeOut:Play()
  133. fadeOut.Completed:Wait()
  134. screenGui:Destroy()
  135. sound:Destroy()
  136. end
  137.  
  138. -- Otomatik kapanma
  139. delay(Notification.Duration, CloseNotification)
  140.  
  141. -- Butonla kapatma
  142. closeBtn.MouseButton1Click:Connect(CloseNotification)
  143. end
  144.  
  145. -- Executer'ınız bu fonksiyonu çağırmalı
  146. CreateModernNotification()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement