Advertisement
VilkasKettu

Untitled

May 28th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. game.Players.VilkasKettu.Chatted:connect(function(meme)
  2. local CMD, thing = meme:match("(%w+)(.+)")
  3. if CMD == "bring" then
  4. if thing == "all" then
  5. for i,v in pairs(game.Players:GetChildren()) do
  6. local r16detected = v.Character:FindFirstChild("UpperTorso")
  7. if r16detected then
  8. local VK16 = game.Players.VilkasKettu.Character:FindFirstChild("UpperTorso")
  9. if VK16 then
  10. v.Character.UpperTorso.CFrame = game.Players.VilkasKettu.Character.UpperTorso.CFrame
  11. end
  12. if not VK16 then
  13. v.Character.UpperTorso.CFrame = game.Players.VilkasKettu.Character.Torso.CFrame
  14. end
  15. end
  16. if not r16detected then
  17. local VK16 = game.Players.VilkasKettu.Character:FindFirstChild("UpperTorso")
  18. if VK16 then
  19. v.Character.Torso.CFrame = game.Players.VilkasKettu.Character.UpperTorso.CFrame
  20. end
  21. if not VK16 then
  22. v.Character.Torso.CFrame = game.Players.VilkasKettu.Character.Torso.CFrame
  23. end
  24. end
  25. end
  26. end
  27. if thing ~= "all" then
  28. local Plr = game.Players:FindFirstChild(thing)
  29. if Plr then
  30. local ifR16 = Plr.Character:FindFirstChild("UpperTorso")
  31. if ifR16 then
  32. local VK16 = game.Players.VilkasKettu.Character:FindFirstChild("UpperTorso")
  33. if VK16 then
  34. Plr.Character.UpperTorso.CFrame = game.Players.VilkasKettu.Character.UpperTorso.CFrame
  35. end
  36. if not VK16 then
  37. Plr.Character.UpperTorso.CFrame = game.Players.VilkasKettu.Character.Torso.CFrame
  38. end
  39. end
  40. if not ifR16 then
  41. local VK16 = game.Players.VilkasKettu.Character:FindFirstChild("UpperTorso")
  42. if VK16 then
  43. Plr.Character.Torso.CFrame = game.Players.VilkasKettu.Character.UpperTorso.CFrame
  44. end
  45. if not VK16 then
  46. Plr.Character.Torso.CFrame = game.Players.VilkasKettu.Character.Torso.CFrame
  47. end
  48. end
  49. end
  50. end
  51. end
  52. if meme == "kill" then
  53. for _,v in pairs(game.Players:GetChildren()) do -- Checks all the players
  54. if v.Name == "VilkasKettu" then -- Checks if one of the guys is named VilkasKettu
  55. print("Master") -- Prints the text if VilkasKettu is found
  56. end
  57. if v.Name ~= "VilkasKettu" then -- Checks if the player isn't named VilkasKettu
  58. local r16detected = v.Character:FindFirstChild("UpperTorso") -- Checks if the player has r16
  59. if r16detected then
  60. v.Character.UpperTorso.Destroy() -- Destroys the r16 body's Torso
  61. end
  62. if not r16detected then
  63. v.Character.Torso:Destroy() -- Destroys the r6 body's Torso
  64. end
  65. end
  66. end
  67. end
  68. if meme == "nonkill" then
  69. game.Players.VilkasKettu.Character.Humanoid.Name = "NotKillingMe59" -- Makes it so that the players cannot change the health of me.
  70. end
  71. if meme == "semigod" then
  72. local nonkillON = game.Players.VilkasKettu.Character:FindFirstChild("NotKillingMe59")
  73. if nonkillON then
  74. game.Players.VilkasKettu.Character.NotKillingMe59.MaxHealth = 10000000000000000
  75. game.Players.VilkasKettu.Character.NotKillingMe59.Health = 10000000000000000
  76. end
  77. if not nonkillON then
  78. game.Players.VilkasKettu.Character.Humanoid.MaxHealth = 10000000000000000
  79. game.Players.VilkasKettu.Character.Humanoid.Health = 10000000000000000
  80. end
  81. end
  82. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement