Advertisement
leolion003

Chat By Shadow Ryuneko

Oct 3rd, 2017
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.90 KB | None | 0 0
  1. local naeeym = Instance.new("BillboardGui",chara)
  2. naeeym.Size = UDim2.new(0,100,0,40)
  3. naeeym.StudsOffset = Vector3.new(0,2,0)
  4. naeeym.Adornee = chara.Head
  5. local tecks = Instance.new("TextLabel",naeeym)
  6. tecks.BackgroundTransparency = 1
  7. tecks.BorderSizePixel = 0
  8. tecks.Text = "Shadow Ryuneko - Made by leolion003"
  9. tecks.Font = "Cartoon"
  10. tecks.FontSize = "Size24"
  11. tecks.TextStrokeTransparency = 0
  12. tecks.TextStrokeColor3 = Color3.new(0,0,0)
  13. tecks.TextColor3 = Color3.new(1,0,0)
  14. tecks.Size = UDim2.new(1,0,0.5,0)
  15. local htecks = Instance.new("TextLabel",naeeym)
  16. htecks.BackgroundTransparency = 1
  17. htecks.BorderSizePixel = 0
  18. htecks.Text = chara.Humanoid.Health.."/"..chara.Humanoid.MaxHealth
  19. htecks.Font = "Fantasy"
  20. htecks.FontSize = "Size24"
  21. htecks.TextStrokeTransparency = 0
  22. htecks.TextStrokeColor3 = Color3.new(0,0,0)
  23. htecks.TextColor3 = Color3.new(1,0,0)
  24. htecks.Size = UDim2.new(1,0,0.5,0)
  25. htecks.Position = UDim2.new(0,0,.5,0)
  26.  
  27. --Chat Function--
  28. function chatfunc(text)
  29. chat = coroutine.wrap(function(ttt)
  30. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  31. chara:FindFirstChild("TalkingBillBoard"):destroy()
  32. end
  33. local naeeym2 = Instance.new("BillboardGui",chara)
  34. naeeym2.Size = UDim2.new(0,100,0,40)
  35. naeeym2.StudsOffset = Vector3.new(0,3,0)
  36. naeeym2.Adornee = chara.Head
  37. naeeym2.Name = "TalkingBillBoard"
  38. local tecks2 = Instance.new("TextLabel",naeeym2)
  39. tecks2.BackgroundTransparency = 1
  40. tecks2.BorderSizePixel = 0
  41. tecks2.Text = text
  42. tecks2.Font = "Fantasy"
  43. tecks2.FontSize = "Size24"
  44. tecks2.TextStrokeTransparency = 0
  45. tecks2.TextColor3 = Color3.new(1,1,1)
  46. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  47. tecks2.Size = UDim2.new(1,0,0.5,0)
  48. wait(1)
  49. for i = 1, 5 do
  50. wait(.01)
  51. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  52. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  53. tecks2.TextTransparency = tecks2.TextTransparency + .2
  54. end
  55. naeeym2:Destroy()
  56. end)
  57. chat(text)
  58. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement