Advertisement
RgRacks

Knightfall KILL AURA SCRIPT

Jun 22nd, 2020
1,193
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - Settings
  2. local range = 50
  3.  
  4. -- Variable
  5. local player = game.Players.LocalPlayer
  6. local events = game.ReplicatedStorage.Events
  7. local rs = game:GetService("RunService")
  8.  
  9. -- Skeet
  10. while true do
  11. local shid = workspace.Creatures:GetChildren()
  12. for i = 1, #shid do local v = shid[i]
  13. local mesh = v:FindFirstChildOfClass("MeshPart")
  14. if mesh and player:DistanceFromCharacter(mesh.Position) < range then
  15. events.SwingValue:FireServer()
  16. events.SwordTouched:FireServer(mesh,mesh)
  17. events.ClearHitTable:FireServer()
  18. rs.RenderStepped:wait()
  19. end
  20. end
  21. rs.RenderStepped:wait()
  22. end
Advertisement
RAW Paste Data Copied
Advertisement