Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- owner.Chatted:Connect(function(chatlol)
- local screengui = Instance.new("ScreenGui", game:GetService('Players'):findFirstChildOfClass("PlayerGui"))
- screengui.Name = "chat"
- local tl = Instance.new("TextLabel", screengui)
- tl.Size = UDim2.new(1,0,1,0)
- tl.AnchorPoint = Vector2.new(0.5, 0)
- tl.Position = UDim2.new(0.5, 0, 0, 0)
- tl.Text = chatlol
- tl.BackgroundTransparency = 1
- tl.TextTransparency = 0
- tl.TextColor3 = Color3.new(0.5, 0.5, 0.5)
- tl.TextSize = 50
- wait(2.5)
- local tweenService = game:GetService("TweenService")
- local timeToFade = 1.75
- local object = tl
- local tweenInfo = TweenInfo.new(timeToFade)
- local goal = {}
- goal.TextTransparency = 1
- local tween = tweenService:Create(object, tweenInfo, goal)
- tween:Play()
- wait(1.751)
- tween:Destroy()
- end)
Add Comment
Please, Sign In to add comment