Advertisement
Honansik

Wave Sword Bots Game Collect All Orbs Script

Jul 22nd, 2022
1,052
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.72 KB | None | 0 0
  1. getgenv().Orbs = true
  2.  
  3. spawn(function()
  4.    local plr = game:GetService("Players").LocalPlayer.Character.Head
  5.    local boss = game:GetService("Workspace").DeathOrb.BossOrbTemplate2
  6.    local death = game:GetService("Workspace").DeathOrb.DeathOrb.base
  7.    while wait() do
  8.        if not getgenv().Orbs then break end
  9.        for i,v in pairs(game:GetService("Workspace").Orbss:GetDescendants()) do
  10.            if v.Name == "TouchInterest" and v.Parent then
  11.                firetouchinterest(plr, v.Parent, 0)
  12.                firetouchinterest(plr, boss, 0) -- remove if boss orb isnt being collected
  13.                firetouchinterest(plr, death, 0) -- remove if death orb isnt being collected
  14.            end
  15.        end
  16.    end
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement