TheUnknownDiscord

Untitled

Sep 24th, 2021 (edited)
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. owner.Chatted:Connect(function(chatlol)
  2. local screengui = Instance.new("ScreenGui", game:GetService('Players'):findFirstChildOfClass("PlayerGui"))
  3. screengui.Name = "chat"
  4. local tl = Instance.new("TextLabel", screengui)
  5. tl.Size = UDim2.new(1,0,1,0)
  6. tl.AnchorPoint = Vector2.new(0.5, 0)
  7. tl.Position = UDim2.new(0.5, 0, 0, 0)
  8. tl.Text = chatlol
  9. tl.BackgroundTransparency = 1
  10. tl.TextTransparency = 0
  11. tl.TextColor3 = Color3.new(0.5, 0.5, 0.5)
  12. tl.TextSize = 50
  13. wait(2.5)
  14. local tweenService = game:GetService("TweenService")
  15.  
  16. local timeToFade = 1.75
  17. local object = tl
  18. local tweenInfo = TweenInfo.new(timeToFade)
  19. local goal = {}
  20. goal.TextTransparency = 1
  21.  
  22. local tween = tweenService:Create(object, tweenInfo, goal)
  23. tween:Play()
  24. wait(1.751)
  25. tween:Destroy()
  26. end)
Add Comment
Please, Sign In to add comment