SigmaBoy456

Roblox Trench War FE loop Kill all Pistol script

Jun 9th, 2024
408
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.95 KB | None | 0 0
  1. --equip Pistol to Make Loop kill all work
  2. while true do
  3. local player = game.Players.LocalPlayer
  4.  
  5. for i, v in ipairs(game.Players:GetPlayers()) do
  6.     if v.Name ~= player.Name then
  7.         local vCharacter = v.Character
  8.         if vCharacter then
  9.             local VCH = vCharacter:FindFirstChild("Humanoid")
  10.             if VCH then
  11.                 local args = {
  12.                     [1] = VCH,
  13.                     [2] = 100,  -- Assuming 20 is the damage amount you want to inflict
  14.                     [3] = {
  15.                         [1] = 195.16810607910156,
  16.                         [2] = CFrame.new(-52.45732879638672, 103.46327209472656, 361.6676330566406) * CFrame.Angles(1.6868478835974088e-09, 1.3365272283554077, -0.006583080627024174)
  17.                     }
  18.                 }
  19.  
  20.                 game:GetService("Players").LocalPlayer.Character.Pistol.RemoteEvent:FireServer(unpack(args))
  21.             end
  22.         end
  23.     end
  24. end
  25. wait(0.1)
  26. end
Advertisement
Comments
Add Comment
Please, Sign In to add comment