reset234567890

Untitled

May 1st, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. wait ( 0.2 )
  2.  
  3. ypcall(function()
  4. shirt = Instance.new("Shirt", char)
  5. shirt.Name = "Shirt"
  6. pants = Instance.new("Pants", char)
  7. pants.Name = "Pants"
  8. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=2281353583"
  9. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1385501582"
  10. end)
  11.  
  12. local SONG = 1547042045
  13. local SONG2 = 0
  14. local Music = Instance.new("Sound",tors)
  15. Music.Volume = 2.5
  16. Music.Looped = true
  17. Music.Pitch = 1 --Pitcher
  18.  
  19.  
  20. local talksound = Instance.new("Sound",char.Torso)
  21. talksound.SoundId = "rbxassetid://928210219"
  22. talksound.Volume = 4
  23. function swait(num)
  24. if num==0 or num==nil then
  25. game:service'RunService'.Stepped:wait(0)
  26. else
  27. for i=0,num do
  28. game:service'RunService'.Stepped:wait(0)
  29. end
  30. end
  31. end
  32.  
  33. function chatfunc(text)
  34. local chat = coroutine.wrap(function()
  35. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  36. char:FindFirstChild("TalkingBillBoard"):Destroy()
  37. end
  38. local naeeym2 = Instance.new("BillboardGui",char)
  39. naeeym2.Size = UDim2.new(0,100,0,40)
  40. naeeym2.StudsOffset = Vector3.new(0,3,0)
  41. naeeym2.Adornee = char.Head
  42. naeeym2.Name = "TalkingBillBoard"
  43. local tecks2 = Instance.new("TextLabel",naeeym2)
  44. tecks2.BackgroundTransparency = 1
  45. tecks2.BorderSizePixel = 0
  46. tecks2.Text = ""
  47. tecks2.Font = "Arcade"
  48. tecks2.TextSize = 50
  49. tecks2.TextStrokeTransparency = 0
  50. tecks2.TextColor3 = Color3.new(0,0,0)
  51. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  52. tecks2.Size = UDim2.new(1,0,0.5,0)
  53. local tecks3 = Instance.new("TextLabel",naeeym2)
  54. tecks3.BackgroundTransparency = 1
  55. tecks3.BorderSizePixel = 0
  56. tecks3.Text = ""
  57. tecks3.Font = "Arcade"
  58. tecks3.TextSize = 50
  59. tecks3.TextStrokeTransparency = 0
  60. tecks3.TextColor3 = Color3.new(157, 157, 157)
  61. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  62. tecks3.Size = UDim2.new(1,0,0.5,0)
  63. for i = 1,string.len(text),1 do
  64. tecks2.Text = string.sub(text,1,i)
  65. tecks3.Text = string.sub(text,1,i)
  66. talksound:Play()
  67. wait(0.01)
  68. end
  69. wait(2)
  70. for i = 1, 50 do
  71. swait()
  72. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  73. tecks2.Rotation = tecks2.Rotation - .8
  74. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  75. tecks2.TextTransparency = tecks2.TextTransparency + .04
  76. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  77. tecks3.Rotation = tecks2.Rotation + .8
  78. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  79. tecks3.TextTransparency = tecks2.TextTransparency + .04
  80. end
  81. naeeym2:Destroy()
  82. end)
  83. chat()
  84. end
  85. function onChatted(msg)
  86. chatfunc(msg)
  87. end
  88. plr.Chatted:connect(onChatted)
  89. end
Add Comment
Please, Sign In to add comment