Advertisement
frog2128

Untitled

Mar 14th, 2015
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. char = game.Players.LocalPlayer.Character
  2. plr = game.Players.LocalPlayer
  3.  
  4. local txt = Instance.new("BillboardGui", char)
  5. txt.Adornee = char.Head
  6. txt.Name = "TextGUI"
  7. txt.Size = UDim2.new(4, 0, 2.5, 0)
  8. txt.StudsOffset = Vector3.new(-4, 2, 0)
  9. local text = Instance.new("TextLabel", txt)
  10. text.Size = UDim2.new(3, 0, 0.5, 0)
  11. text.FontSize = "Size10"
  12. text.TextScaled = true
  13. text.TextTransparency = 0
  14. text.BackgroundTransparency = 1
  15. text.TextTransparency = 0
  16. text.TextStrokeTransparency = 0
  17. text.Font = "Legacy"
  18. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  19. text.TextColor3 = Color3.new(255, 0, 136)
  20. text.Text = ""
  21.  
  22. plr.Chatted:connect(function(chat)text.Text=chat
  23. wait(10)
  24. text.Text = ""
  25. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement