Advertisement
Faqz

Killallscript

Jul 30th, 2021
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. -- If the script doesn't teleport you behind the enemy player then re-execute it.
  2. -- Enjoy my OP Arsenal Back stab script!
  3. -- Made by 6x6x6x_Xfer (T.V.K)
  4.  
  5. local localplayer = game.Players.LocalPlayer
  6. local currentcamera = workspace.CurrentCamera
  7. --local virtualUser = game:GetService("VirtualUser")
  8.  
  9. local function teleportBehindTarget(player)
  10. localplayer.Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + player.Character.HumanoidRootPart.CFrame.lookVector * -4
  11. end
  12.  
  13. local function getRandomEnemyPlayer()
  14. local list = {}
  15. for i, player in pairs(game.Players:GetPlayers()) do
  16. if player.TeamColor ~= localplayer.TeamColor then
  17. table.insert(list, 1, player)
  18. end
  19. end
  20. return list[math.random(1,#list)]
  21. end
  22.  
  23. while wait(0.3) do
  24. local enemy = getRandomEnemyPlayer()
  25. for i = 1,10 do
  26. if not enemy.Character:FindFirstChild("HumanoidRootPart") then break end
  27. if enemy == nil then break end
  28. teleportBehindTarget(enemy)
  29. wait()
  30. currentcamera.CFrame = CFrame.new(currentcamera.CFrame.p, enemy.Character.HumanoidRootPart.Position)
  31. --virtualUser:ClickButton1(Vector2.new(0,0))
  32. end
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement