Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. -- Ninja Legends:
  2. -- Made by LongPro#7176
  3.  
  4.  
  5. local VirtualUser = game:GetService("VirtualUser")
  6. local players = game.Players:GetPlayers()
  7. local player = game.Players.LocalPlayer
  8. local soulType = "Bad" -- Good or Bad , Change this only
  9. local lplr = ""
  10. local jplr = ""
  11. _G.Enabled = true
  12.  
  13. local function check()
  14. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  15. if v.ClassName == "Tool" and v:FindFirstChild("attackKatanaScript") then
  16. game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
  17. end
  18. end
  19. end
  20.  
  21. while _G.Enabled and wait(.4) do
  22. if workspace[player.Name]:FindFirstChild("Head") then
  23. if workspace[player.Name].Head:FindFirstChild("nameGui") then
  24. workspace[player.Name].Head.nameGui:Destroy()
  25. end
  26. end
  27. player.ninjaEvent:FireServer("goInvisible")
  28. if player.Character:FindFirstChild("inSafezone") then
  29. player.Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(0,200,0)
  30. end
  31. if game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") then
  32. game.Players.PlayerRemoving:Connect(function(player)
  33. lplr = (player.Name)
  34. players = game.Players:GetPlayers()
  35. end)
  36.  
  37. game.Players.PlayerAdded:Connect(function(player)
  38. jplr = (player.Name)
  39. players = game.Players:GetPlayers()
  40. end)
  41.  
  42. players = game.Players:GetPlayers()
  43. game:service'RunService'.Stepped:Connect(function()
  44. if player.Character and player.Character:FindFirstChildOfClass("Humanoid") then
  45. player.Character.Humanoid:ChangeState(11)
  46. end
  47. end)
  48. for _, v in pairs(players) do
  49. if v.Name ~= player.Name and v.Name ~= lplr and v.Name ~= jplr and workspace:FindFirstChild(v.Name) and workspace[v.Name]:FindFirstChild("Head") then
  50. if v.Name ~= game.Players.LocalPlayer.Name and not v.Character:FindFirstChild("inSafezone") then
  51. v.Character.Head.CanCollide = false
  52. v.Character.Head.Anchored = true
  53. v.Character.Head.Position = player.Character.HumanoidRootPart.Position + Vector3.new(4.5,0,0)
  54. elseif v.Name ~= game.Players.LocalPlayer.Name and v.Character:FindFirstChild("inSafezone") then
  55. v.Character.Head.CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(0,20,0)
  56. end
  57. end
  58. end
  59.  
  60. if player.Character:FindFirstChildOfClass("Tool") then
  61. player.Character:FindFirstChildOfClass("Tool"):Activate()
  62. end
  63.  
  64. for _,v in pairs(game.Workspace.soulPartsFolder:GetChildren()) do
  65. if v.Name == "soulPart" and v.collectPlayers:FindFirstChild(player.Name) then
  66. if not v:FindFirstChild("isGoodKarma") and soulType == "Bad" then
  67. player.Character.HumanoidRootPart.CFrame = v.CFrame + Vector3.new(0,5,0)
  68. player.ninjaEvent:FireServer("collectSoul", v)
  69. elseif v:FindFirstChild("isGoodKarma") and soulType == "Good" then
  70. player.Character.HumanoidRootPart.CFrame = v.CFrame + Vector3.new(0,5,0)
  71. player.ninjaEvent:FireServer("collectSoul", v)
  72. end
  73. end
  74. end
  75. check()
  76. end
  77. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement