Advertisement
Bendy928443534

Untitled

Jul 20th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. function Chat(msg) -- Credit to jillmiles1, kthxbye
  2. if hat.Parent then
  3. pcall(function()
  4. if hat:FindFirstChild("Vanta Chat Gui") then
  5. hat['Vanta Chat Gui']:destroy()
  6. end
  7. local Gui = Instance.new('BillboardGui', hat)
  8. Gui.Name = "Vanta Chat Gui"
  9. Gui.ExtentsOffset = Vector3.new(0,3,0)
  10. Gui.Size = UDim2.new(0,200,0,300)
  11. local Frame = Instance.new('Frame',Gui)
  12. Frame.BackgroundTransparency = 1
  13. Frame.Size = UDim2.new(1,0,1,0)
  14. local Txt = Instance.new('TextLabel',Frame)
  15. Txt.BackgroundTransparency = 1
  16. Txt.Size = UDim2.new(1,0,1,0)
  17. Txt.Font = 'ArialBold'
  18. Txt.Name = "ChatGui"
  19. Txt.FontSize = 'Size24'
  20. Txt.Text = ''
  21. Txt.TextColor3 = BrickColor.new("Really black").Color
  22. Txt.TextStrokeColor3 = Color3.new(.2,0,.6)
  23. Txt.TextStrokeTransparency = .5
  24. Txt.TextWrapped = true
  25. Txt.TextScaled = false
  26.  
  27. delay(wait(),function()
  28. for v = 1, #msg do
  29. Txt.Text=string.sub(msg,1,v)
  30. TalkSound:Play()
  31. Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  32. wait(.009)
  33. Gui.ExtentsOffset = Vector3.new(0,3,-0.1)
  34. wait(.009)
  35. Gui.ExtentsOffset = Vector3.new(0,3,0)
  36. end;
  37.  
  38.  
  39.  
  40. Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  41. wait(.03)
  42. Gui.ExtentsOffset = Vector3.new(0,3,-0.1)
  43. wait(.03)
  44. Gui.ExtentsOffset = Vector3.new(0,3,0)
  45. wait(.03)
  46. Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  47. wait(.03)
  48. Gui.ExtentsOffset = Vector3.new(0,3,-0.1)
  49. wait(.03)
  50. Gui.ExtentsOffset = Vector3.new(0,3,0)
  51. wait(.03)
  52. Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  53. wait(.03)
  54. Gui.ExtentsOffset = Vector3.new(0,3,-0.1)
  55. wait(.03)
  56. Gui.ExtentsOffset = Vector3.new(0,3,0)
  57. wait(.03)
  58. Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  59. wait(.03)
  60. Gui.ExtentsOffset = Vector3.new(0,3,-0.1)
  61. wait(.03)
  62. Gui.ExtentsOffset = Vector3.new(0,3,0)
  63. wait(.03)
  64. Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  65. wait(.03)
  66. Gui.ExtentsOffset = Vector3.new(0,3,-0.1)
  67. wait(.03)
  68. Gui.ExtentsOffset = Vector3.new(0,3,0)
  69. wait(.03)
  70. Gui.ExtentsOffset = Vector3.new(.1,2.9,0)
  71. wait(.03)
  72. Gui.ExtentsOffset = Vector3.new(0,3,-0.1)
  73. wait(.03)
  74. Gui.ExtentsOffset = Vector3.new(0,3,0)
  75. wait(.03)
  76.  
  77. Txt.TextStrokeTransparency = .6
  78. wait()
  79. Txt.TextStrokeTransparency = .7
  80. wait()
  81. Txt.TextStrokeTransparency = .8
  82. wait()
  83. Txt.TextStrokeTransparency = .9
  84. wait()
  85. Txt.TextStrokeTransparency = 1
  86. wait()
  87.  
  88. for v = 1, #Txt.Text do
  89. Txt.Text=string.sub(msg,-1,v)
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97. end;
  98. Gui:remove()
  99. end)
  100. end)
  101. else
  102. end
  103. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement