Advertisement
TheClassicMeme

text 2

Jun 2nd, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. B
  2. U R
  3. N I N H
  4. E L
  5. L
  6. ]]--
  7. wait(1 / 60)
  8. Effects = { }
  9. local Player = game.Players.localPlayer
  10. local Character = Player.Character
  11. local Humanoid = Character.Humanoid
  12. local Mouse = Player:GetMouse()
  13. local LeftArm = Character["Left Arm"]
  14. local RightArm = Character["Right Arm"]
  15. local LeftLeg = Character["Left Leg"]
  16. local RightLeg = Character["Right Leg"]
  17. local Head = Character.Head
  18. local Torso = Character.Torso
  19. local Camera = game.Workspace.CurrentCamera
  20. local RootPart = Character.HumanoidRootPart
  21. local RootJoint = RootPart.RootJoint
  22. local attack = false
  23. local Anim = 'Idle'
  24. local attacktype = 1
  25. local delays = false
  26. local play = true
  27. local targetted = nil
  28. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  29. local velocity = RootPart.Velocity.y
  30. local sine = 0
  31. local change = 1
  32. local doe = 0
  33. local Create = LoadLibrary("RbxUtility").Create
  34. Humanoid.WalkSpeed = 16
  35. ---text features---
  36. function chatfunc(text)
  37. local chat = coroutine.wrap(function()
  38. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  39. Character:FindFirstChild("TalkingBillBoard"):destroy()
  40. end
  41. local naeeym2 = Instance.new("BillboardGui",Character)
  42. naeeym2.Size = UDim2.new(0,100,0,40)
  43. naeeym2.StudsOffset = Vector3.new(0,3,0)
  44. naeeym2.Adornee = Character.Head
  45. naeeym2.Name = "TalkingBillBoard"
  46. local tecks2 = Instance.new("TextLabel",naeeym2)
  47. tecks2.BackgroundTransparency = 1
  48. tecks2.BorderSizePixel = 0
  49. tecks2.Text = ""
  50. tecks2.Font = "Fantasy"
  51. tecks2.TextSize = 30
  52. tecks2.TextStrokeTransparency = 0
  53. tecks2.TextColor3 = Color3.new(.6,0,0)
  54. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  55. tecks2.Size = UDim2.new(1,0,0.5,0)
  56. local tecks3 = Instance.new("TextLabel",naeeym2)
  57. tecks3.BackgroundTransparency = 1
  58. tecks3.BorderSizePixel = 0
  59. tecks3.Text = ""
  60. tecks3.Font = "Fantasy"
  61. tecks3.TextSize = 30
  62. tecks3.TextStrokeTransparency = 0
  63. tecks3.TextColor3 = Color3.new(.6,0,0)
  64. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  65. tecks3.Size = UDim2.new(1,0,0.5,0)
  66. for i = 1,string.len(text),1 do
  67. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8)
  68. tecks2.Text = string.sub(text,1,i)
  69. tecks3.Text = string.sub(text,1,i)
  70. wait(0.01)
  71. end
  72. wait(2)
  73. for i = 1, 50 do
  74. swait()
  75. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  76. tecks2.Rotation = tecks2.Rotation - .8
  77. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  78. tecks2.TextTransparency = tecks2.TextTransparency + .04
  79. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  80. tecks3.Rotation = tecks2.Rotation + .8
  81. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  82. tecks3.TextTransparency = tecks2.TextTransparency + .04
  83. end
  84. naeeym2:Destroy()
  85. end)
  86. chat()
  87. end
  88. function onChatted(msg)
  89. chatfunc(msg)
  90. end
  91. Player.Chatted:connect(onChatted)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement