Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setclipboard("https://discord.gg/invite/QytwTYpTEx")
- local TweenService = game:GetService("TweenService")
- local SoundService = game:GetService("SoundService")
- local screenGui = Instance.new("ScreenGui")
- screenGui.Parent = game.Players.LocalPlayer.PlayerGui
- screenGui.IgnoreGuiInset = true
- -- Background Frame
- local backgroundFrame = Instance.new("Frame")
- backgroundFrame.Parent = screenGui
- backgroundFrame.Size = UDim2.new(1, 0, 1, 0)
- backgroundFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- backgroundFrame.ZIndex = 10
- -- Particle Emitter
- local particleEmitter = Instance.new("ParticleEmitter")
- particleEmitter.Parent = backgroundFrame
- particleEmitter.Texture = "rbxassetid://1234567890"
- particleEmitter.Rate = 20
- particleEmitter.Lifetime = NumberRange.new(1, 2)
- particleEmitter.Size = NumberSequence.new(1, 5)
- particleEmitter.Speed = NumberRange.new(5, 10)
- -- Text Label
- local textLabel = Instance.new("TextLabel")
- textLabel.Parent = screenGui
- textLabel.Text = "Link Copied, paste it in your browser!"
- textLabel.Size = UDim2.new(0, 200, 0, 50)
- textLabel.Position = UDim2.new(0.5, -100, 0.5, -25)
- textLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- textLabel.BackgroundTransparency = 1
- textLabel.TextSize = 100
- textLabel.TextXAlignment = Enum.TextXAlignment.Center
- textLabel.TextYAlignment = Enum.TextYAlignment.Center
- textLabel.Font = Enum.Font.SourceSansBold
- textLabel.ZIndex = 11
- -- Sound Effect
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://8011746014"
- sound.Volume = 1
- sound.Parent = screenGui
- sound:Play()
- -- Slide-in effect for background
- backgroundFrame.Position = UDim2.new(1, 0, 0, 0)
- local slideInTween = TweenService:Create(backgroundFrame, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(0, 0, 0, 0)})
- slideInTween:Play()
- -- Slide-in effect for text
- textLabel.Position = UDim2.new(-1, 0, 0.5, -25)
- local slideInTextTween = TweenService:Create(textLabel, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(0.5, -100, 0.5, -25)})
- slideInTextTween:Play()
- -- Scaling effect for text
- local textScaleTween = TweenService:Create(textLabel, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextSize = 120})
- textScaleTween:Play()
- -- Flashing effect for text
- local flashTween = TweenService:Create(textLabel, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, -1, true), {TextColor3 = Color3.fromRGB(255, 255, 255)})
- flashTween:Play()
- -- Wait for 5 seconds before starting the fade-out
- wait(5)
- -- Fade-out effect
- local fadeOutTween = TweenService:Create(backgroundFrame, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {BackgroundTransparency = 1})
- local fadeOutTweenText = TweenService:Create(textLabel, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {TextTransparency = 1})
- fadeOutTween:Play()
- fadeOutTweenText:Play()
- -- Destroy GUI after fade-out
- fadeOutTween.Completed:Connect(function()
- screenGui:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment