SigmaBoy456

Roblox Shinobi Storm FE Auto Kill all

Aug 7th, 2024 (edited)
12,966
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. while true do
  2. local player = game.Players.LocalPlayer
  3. local character = player.Character or player.CharacterAdded:Wait()
  4. local localRoot = character:WaitForChild("HumanoidRootPart")
  5.  
  6. -- Combat script
  7. local function combat()
  8. for _, player in pairs(game.Players:GetPlayers()) do
  9. if player ~= game.Players.LocalPlayer and player.Character then
  10. local JN = player.Character:FindFirstChild("HumanoidRootPart")
  11. local HJ = player.Character:FindFirstChild("Humanoid")
  12. local backpack = player:FindFirstChildOfClass("Backpack")
  13. local hasTool = false
  14.  
  15. if backpack then
  16. for _, item in pairs(backpack:GetChildren()) do
  17. if item:IsA("Tool") then
  18. hasTool = true
  19. break
  20. end
  21. end
  22. end
  23.  
  24. if JN and HJ and hasTool then
  25. while HJ.Health > 0 do
  26. JN.CFrame = localRoot.CFrame * CFrame.new(0, 0, -5)
  27. game:GetService("Players").LocalPlayer.Character.Combatv2.RemoteEvent:FireServer()
  28. game:GetService("RunService").Heartbeat:Wait()
  29. end
  30. end
  31. end
  32. end
  33. end
  34.  
  35. -- Consider running this in a more controlled manner to avoid continuous execution
  36. while true do
  37. combat()
  38. wait(1) -- Adjust wait time as needed
  39. end
  40. wait(1)
  41. end
Advertisement
Comments
Add Comment
Please, Sign In to add comment