Advertisement
Guest User

Untitled

a guest
Mar 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. function chatfunc(text)
  2. local chat = coroutine.wrap(function()
  3. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  4. Character:FindFirstChild("TalkingBillBoard"):destroy()
  5. end
  6. local naeeym2 = Instance.new("BillboardGui",Character)
  7. naeeym2.Size = UDim2.new(0,100,0,40)
  8. naeeym2.StudsOffset = Vector3.new(0,3,0)
  9. naeeym2.Adornee = Character.Head
  10. naeeym2.Name = "TalkingBillBoard"
  11. local tecks2 = Instance.new("TextLabel",naeeym2)
  12. tecks2.BackgroundTransparency = 1
  13. tecks2.BorderSizePixel = 0
  14. tecks2.Text = ""
  15. tecks2.Font = "Fantasy"
  16. tecks2.TextSize = 30
  17. tecks2.TextStrokeTransparency = 0
  18. tecks2.TextColor3 = Color3.new(0,0,0)
  19. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  20. tecks2.Size = UDim2.new(1,0,0.5,0)
  21. local tecks3 = Instance.new("TextLabel",naeeym2)
  22. tecks3.BackgroundTransparency = 1
  23. tecks3.BorderSizePixel = 0
  24. tecks3.Text = ""
  25. tecks3.Font = "Fantasy"
  26. tecks3.TextSize = 30
  27. tecks3.TextStrokeTransparency = 0
  28. tecks3.TextColor3 = Color3.new(0,0,0)
  29. tecks3.TextStrokeColor3 = Color3.new(255,255,255)
  30. tecks3.Size = UDim2.new(1,0,0.5,0)
  31. for i = 1,string.len(text),1 do
  32. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, 6, .8)
  33. tecks2.Text = string.sub(text,1,i)
  34. tecks3.Text = string.sub(text,1,i)
  35. wait(0.01)
  36. end
  37. wait(2)
  38. for i = 1, 50 do
  39. swait()
  40. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  41. tecks2.Rotation = tecks2.Rotation - .8
  42. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  43. tecks2.TextTransparency = tecks2.TextTransparency + .04
  44. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  45. tecks3.Rotation = tecks2.Rotation + .8
  46. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  47. tecks3.TextTransparency = tecks2.TextTransparency + .04
  48. end
  49. naeeym2:Destroy()
  50. end)
  51. chat()
  52.  
  53. end
  54. function onChatted(msg)
  55. chatfunc(msg)
  56.  
  57. end
  58. Player.Chatted:connect(onChatted)
  59.  
  60. abss = Instance.new("BillboardGui",Character)
  61. abss.Size = UDim2.new(10,0,10,0)
  62. abss.Enabled = false
  63. abss.Name = "ROCKYMOUNT"
  64. imgl = Instance.new("ImageLabel",abss)
  65. imgl.Position = UDim2.new(0,0,0,0)
  66. imgl.Size = UDim2.new(1,0,1,0)
  67. imgl.Image = "rbxassetid://711463989"
  68. imgl.BackgroundTransparency = 1
  69. imgl.ImageColor3 = Color3.new(0,255,255)
  70. img2 = Instance.new("ImageLabel",abss)
  71. img2.Position = UDim2.new(0,0,0,0)
  72. img2.Size = UDim2.new(1,0,1,0)
  73. img2.Image = "rbxassetid://711463989"
  74. img2.BackgroundTransparency = 1
  75. img2.ImageColor3 = Color3.new(0,255,255)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement