Advertisement
SubScripts

NEW KING

Jul 16th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.22 KB | None | 0 0
  1. local hehe = Instance.new("Message", workspace)
  2. wait(4)
  3. hehe.Text = "Hello, are you there?"
  4. wait(2)
  5. hehe.Text = "Looks like im your new king."
  6. wait(3)
  7. hehe.Text = "I decide to...."
  8. wait(1)
  9. hehe.Text = "Kill all."
  10. wait(3)
  11.  
  12. local Color = "Green"
  13.  
  14. function Chat(person,text)
  15. s = game:GetService("Players"):FindFirstChild(person.Name)
  16. if (s ~= nil) then
  17. if s.Character ~= nil then
  18. if s.Character.Head then
  19. game:GetService("Chat"):Chat(s.Character.Head, text, getColor())
  20. end
  21. end
  22. end
  23. end
  24.  
  25. function getColor()
  26.     if Color == "Blue" or Color == "Enum.ChatColor.Blue" or Color == "Enum.DialogTone.Neutral" or Color == "Neutral" then
  27.         return Enum.ChatColor.Blue
  28.     elseif Color == "Green" or Color == "Enum.ChatColor.Green" or Color == "Enum.DialogTone.Friendly" or Color == "Friendly" then
  29.         return Enum.ChatColor.Green
  30.     elseif Color == "Red" or Color == "Enum.ChatColor.Red" or Color == "Enum.DialogTone.Enemy" or Color == "Enemy" then
  31.         return Enum.ChatColor.Red
  32.     else return Enum.ChatColor.Blue
  33.     end
  34. end
  35.  
  36. for i,v in pairs(game.Players:GetPlayers()) do
  37. v.Character.Humanoid.Health = 0
  38. end
  39. wait(5)
  40. for i,v in pairs(game.Players:GetPlayers()) do
  41. local text = "No, don't do it again..."
  42. Chat(v,text)
  43. end
  44. hehe:Remove()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement