Advertisement
HenloMyDude

douggo

Aug 18th, 2019
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1.  
  2.  
  3.  
  4. plr = owner
  5. char = plr.Character
  6.  
  7. HEAD = char.Head
  8.  
  9. IT = Instance.new
  10. CF = CFrame.new
  11. VT = Vector3.new
  12. RAD = math.rad
  13. C3 = Color3.new
  14. UD2 = UDim2.new
  15. BRICKC = BrickColor.new
  16. ANGLES = CFrame.Angles
  17. EULER = CFrame.fromEulerAnglesXYZ
  18. COS = math.cos
  19. ACOS = math.acos
  20. SIN = math.sin
  21. ASIN = math.asin
  22. ABS = math.abs
  23. MRANDOM = math.random
  24. FLOOR = math.floor
  25.  
  26. function Chatter(Text,Timer)
  27. local chat = coroutine.wrap(function()
  28. if char:FindFirstChild("SpeechBoard")~= nil then
  29. char:FindFirstChild("SpeechBoard"):destroy()
  30. end
  31. local naeeym2 = Instance.new("BillboardGui",char)
  32. naeeym2.Size = UD2(0,100,0,40)
  33. naeeym2.StudsOffset = Vector3.new(-3,3.5,0)
  34. naeeym2.Name = "Billboard"
  35. naeeym2.Adornee = char.Head
  36. naeeym2.Size = UDim2.new(7, 0, 2.5, 0)
  37. local tecks2 = Instance.new("TextBox",naeeym2)
  38. tecks2.TextScaled = true
  39. tecks2.BackgroundTransparency = 0
  40. tecks2.BackgroundColor3 = Color3.new(0, 0, 0)
  41. tecks2.BorderSizePixel = 2
  42. tecks2.BorderColor3 = Color3.new(255, 255, 25)
  43. tecks2.Text = ""
  44. tecks2.Font = "Arcade"
  45. tecks2.TextSize = 15
  46. tecks2.TextStrokeTransparency = 0
  47. tecks2.TextColor3 = Color3.new(1,1,1)
  48. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  49. tecks2.Size = UDim2.new(2,0,1.5,0)
  50. local imag2 = Instance.new("ImageLabel",naeeym2)
  51. imag2.Size = UDim2.new(0.5, 0, 1, 0)
  52. imag2.Image = "http://www.roblox.com/asset/?id=3401287488"
  53. for i = 1,string.len(Text),1 do
  54. if naeeym2.Parent ~= char then
  55. break
  56. end
  57. tecks2.Text = string.sub(Text,1,i)
  58. wait(Timer)
  59. end
  60. wait(2)
  61. naeeym2:Destroy()
  62. end)
  63. chat()
  64. end
  65.  
  66. plr.Chatted:connect(function(msg)
  67. Chatter(" * " ..msg, 0.05)
  68. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement