Advertisement
TheFlamingBlaster

san

Jun 16th, 2016
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. yourname = "TheFlamingBlaster"
  2. local player = game.Players.Player1 or game.Players[yourname]
  3. player.Chatted:connect(function(msg)
  4. for index, child in pairs(player.Character.Head:GetChildren()) do
  5. if child:IsA("BillboardGui") then
  6. child:Destroy()
  7. end
  8. end
  9. local newThread = coroutine.create(function()
  10. local wards = {}
  11. local i = 1
  12. for w in string.gmatch(msg, ".") do
  13. table.insert(wards,i,w)
  14. i = i + 1
  15. end
  16. local bill = Instance.new("BillboardGui",player.Character.Head)
  17. bill.Size = UDim2.new(0, 400,0, 100)
  18.  
  19. bill.StudsOffset = Vector3.new(0,6,0)
  20. local txt = Instance.new("TextLabel",bill)
  21. txt.Text = "* " txt.TextWrapped = true txt.TextScaled = true txt.Transparency = 0 txt.TextColor3 = Color3.new(1,1,1) txt.BackgroundColor3 = Color3.new(0,0,0) txt.BorderColor3 = Color3.new(1,1,1) txt.BorderSizePixel = 5
  22. txt.Size = UDim2.new(1,0,1,0)
  23. for index, child in pairs(wards) do
  24. txt.Text = (txt.Text..child)
  25. local snd = Instance.new("Sound",player.Character.Head) snd.SoundId = "rbxassetid://358280695" snd.Volume = 1 snd:Play()
  26. wait(0.0015)
  27. end
  28.  
  29. end)
  30. coroutine.resume(newThread)
  31.  
  32. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement