Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Modern Roblox Executer Notification
- local Notification = {
- Duration = 3, -- 3 saniye göster
- SoundId = "rbxassetid://9046305933", -- Modern bildirim sesi
- BackgroundColor = Color3.fromRGB(25, 25, 35), -- Koyu arkaplan
- AccentColor = Color3.fromRGB(0, 170, 255), -- Mavi aksan rengi
- TextColor = Color3.fromRGB(255, 255, 255) -- Beyaz yazı
- }
- -- Animasyon servisi
- local TweenService = game:GetService("TweenService")
- local function CreateModernNotification()
- -- PlayerGui'yi hazırla
- local player = game:GetService("Players").LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- -- Ana frame'i oluştur
- local mainFrame = Instance.new("Frame")
- mainFrame.Name = "ModernNotification"
- mainFrame.Size = UDim2.new(0, 300, 0, 80)
- mainFrame.Position = UDim2.new(0.5, 0, 0, 0)
- mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- mainFrame.BackgroundColor3 = Notification.BackgroundColor
- mainFrame.BackgroundTransparency = 1
- mainFrame.BorderSizePixel = 0
- -- Gradient efekti
- local gradient = Instance.new("UIGradient")
- gradient.Color = ColorSequence.new({
- ColorSequenceKeypoint.new(0, Notification.AccentColor),
- ColorSequenceKeypoint.new(0.1, Notification.AccentColor),
- ColorSequenceKeypoint.new(1, Notification.BackgroundColor)
- })
- gradient.Rotation = 90
- gradient.Parent = mainFrame
- -- Alt çizgi
- local underline = Instance.new("Frame")
- underline.Name = "Underline"
- underline.Size = UDim2.new(0, 0, 0, 3)
- underline.Position = UDim2.new(0, 0, 1, -3)
- underline.BackgroundColor3 = Notification.AccentColor
- underline.BorderSizePixel = 0
- underline.Parent = mainFrame
- -- İkon (isteğe bağlı)
- local icon = Instance.new("ImageLabel")
- icon.Name = "Icon"
- icon.Size = UDim2.new(0, 24, 0, 24)
- icon.Position = UDim2.new(0, 15, 0.5, 0)
- icon.AnchorPoint = Vector2.new(0, 0.5)
- icon.Image = "rbxassetid://7072718362" -- Check işareti
- icon.BackgroundTransparency = 1
- icon.Parent = mainFrame
- -- Başlık
- local title = Instance.new("TextLabel")
- title.Name = "Title"
- title.Text = "Anti Report Activated"
- title.Font = Enum.Font.GothamSemibold
- title.TextSize = 18
- title.TextColor3 = Notification.TextColor
- title.BackgroundTransparency = 1
- title.Size = UDim2.new(1, -60, 0.5, 0)
- title.Position = UDim2.new(0, 50, 0, 10)
- title.TextXAlignment = Enum.TextXAlignment.Left
- title.Parent = mainFrame
- -- Açıklama (isteğe bağlı)
- local desc = Instance.new("TextLabel")
- desc.Name = "Description"
- desc.Text = "Successfully injected and executed"
- desc.Font = Enum.Font.Gotham
- desc.TextSize = 14
- desc.TextColor3 = Notification.TextColor
- desc.TextTransparency = 0.3
- desc.BackgroundTransparency = 1
- desc.Size = UDim2.new(1, -50, 0.5, 0)
- desc.Position = UDim2.new(0, 50, 0.5, 0)
- desc.TextXAlignment = Enum.TextXAlignment.Left
- desc.Parent = mainFrame
- -- Kapatma butonu (isteğe bağlı)
- local closeBtn = Instance.new("ImageButton")
- closeBtn.Name = "CloseButton"
- closeBtn.Size = UDim2.new(0, 20, 0, 20)
- closeBtn.Position = UDim2.new(1, -25, 0, 10)
- closeBtn.AnchorPoint = Vector2.new(1, 0)
- closeBtn.Image = "rbxassetid://7072725340" -- X işareti
- closeBtn.BackgroundTransparency = 1
- closeBtn.Parent = mainFrame
- -- ScreenGui'ye ekle
- local screenGui = Instance.new("ScreenGui")
- screenGui.Name = "NotificationGui"
- screenGui.Parent = playerGui
- screenGui.ResetOnSpawn = false
- mainFrame.Parent = screenGui
- -- Ses efekti
- local sound = Instance.new("Sound")
- sound.SoundId = Notification.SoundId
- sound.Volume = 0.5
- sound.Parent = game:GetService("SoundService")
- sound:Play()
- -- Animasyonlar
- local fadeIn = TweenService:Create(
- mainFrame,
- TweenInfo.new(0.3, Enum.EasingStyle.Quint),
- {BackgroundTransparency = 0}
- )
- local lineExpand = TweenService:Create(
- underline,
- TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out),
- {Size = UDim2.new(1, 0, 0, 3)}
- )
- fadeIn:Play()
- lineExpand:Play()
- -- Kapatma işlevi
- local function CloseNotification()
- local fadeOut = TweenService:Create(
- mainFrame,
- TweenInfo.new(0.3, Enum.EasingStyle.Quint),
- {BackgroundTransparency = 1}
- )
- fadeOut:Play()
- fadeOut.Completed:Wait()
- screenGui:Destroy()
- sound:Destroy()
- end
- -- Otomatik kapanma
- delay(Notification.Duration, CloseNotification)
- -- Butonla kapatma
- closeBtn.MouseButton1Click:Connect(CloseNotification)
- end
- -- Executer'ınız bu fonksiyonu çağırmalı
- CreateModernNotification()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement