24kDxrxk

Pathetic Scripts Copy Discord Link

Nov 14th, 2024 (edited)
2,906
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1. setclipboard("https://discord.gg/invite/QytwTYpTEx")
  2.  
  3. local TweenService = game:GetService("TweenService")
  4. local SoundService = game:GetService("SoundService")
  5.  
  6. local screenGui = Instance.new("ScreenGui")
  7. screenGui.Parent = game.Players.LocalPlayer.PlayerGui
  8. screenGui.IgnoreGuiInset = true
  9.  
  10. -- Background Frame
  11. local backgroundFrame = Instance.new("Frame")
  12. backgroundFrame.Parent = screenGui
  13. backgroundFrame.Size = UDim2.new(1, 0, 1, 0)
  14. backgroundFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  15. backgroundFrame.ZIndex = 10
  16.  
  17. -- Particle Emitter
  18. local particleEmitter = Instance.new("ParticleEmitter")
  19. particleEmitter.Parent = backgroundFrame
  20. particleEmitter.Texture = "rbxassetid://1234567890"
  21. particleEmitter.Rate = 20
  22. particleEmitter.Lifetime = NumberRange.new(1, 2)
  23. particleEmitter.Size = NumberSequence.new(1, 5)
  24. particleEmitter.Speed = NumberRange.new(5, 10)
  25.  
  26. -- Text Label
  27. local textLabel = Instance.new("TextLabel")
  28. textLabel.Parent = screenGui
  29. textLabel.Text = "Link Copied, paste it in your browser!"
  30. textLabel.Size = UDim2.new(0, 200, 0, 50)
  31. textLabel.Position = UDim2.new(0.5, -100, 0.5, -25)
  32. textLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  33. textLabel.BackgroundTransparency = 1
  34. textLabel.TextSize = 100
  35. textLabel.TextXAlignment = Enum.TextXAlignment.Center
  36. textLabel.TextYAlignment = Enum.TextYAlignment.Center
  37. textLabel.Font = Enum.Font.SourceSansBold
  38. textLabel.ZIndex = 11
  39.  
  40. -- Sound Effect
  41. local sound = Instance.new("Sound")
  42. sound.SoundId = "rbxassetid://8011746014"
  43. sound.Volume = 1
  44. sound.Parent = screenGui
  45. sound:Play()
  46.  
  47. -- Slide-in effect for background
  48. backgroundFrame.Position = UDim2.new(1, 0, 0, 0)
  49. local slideInTween = TweenService:Create(backgroundFrame, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(0, 0, 0, 0)})
  50. slideInTween:Play()
  51.  
  52. -- Slide-in effect for text
  53. textLabel.Position = UDim2.new(-1, 0, 0.5, -25)
  54. local slideInTextTween = TweenService:Create(textLabel, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(0.5, -100, 0.5, -25)})
  55. slideInTextTween:Play()
  56.  
  57. -- Scaling effect for text
  58. local textScaleTween = TweenService:Create(textLabel, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextSize = 120})
  59. textScaleTween:Play()
  60.  
  61. -- Flashing effect for text
  62. local flashTween = TweenService:Create(textLabel, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, -1, true), {TextColor3 = Color3.fromRGB(255, 255, 255)})
  63. flashTween:Play()
  64.  
  65. -- Wait for 5 seconds before starting the fade-out
  66. wait(5)
  67.  
  68. -- Fade-out effect
  69. local fadeOutTween = TweenService:Create(backgroundFrame, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {BackgroundTransparency = 1})
  70. local fadeOutTweenText = TweenService:Create(textLabel, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {TextTransparency = 1})
  71.  
  72. fadeOutTween:Play()
  73. fadeOutTweenText:Play()
  74.  
  75. -- Destroy GUI after fade-out
  76. fadeOutTween.Completed:Connect(function()
  77. screenGui:Destroy()
  78. end)
  79.  
Advertisement
Add Comment
Please, Sign In to add comment