Advertisement
Glyoit

Untitled

Jun 16th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. local Boss = "Shuriken Thrower"
  2.  
  3. -- Assets
  4. local Dungeon = workspace:WaitForChild("dungeon")
  5. local Player = game.Players.LocalPlayer
  6. Player.Character.Humanoid.WalkSpeed = 100
  7.  
  8. spawn(function()
  9. while wait(0.2) do
  10. for index, value in next, Dungeon:GetDescendants() do
  11. if (value.Name == "barrier") then
  12. value:Destroy()
  13. end
  14. if (value:FindFirstChildOfClass("Humanoid") and value ~= Player.Character) then
  15. if (value.Name ~= Boss) then
  16. wait(0.5)
  17. value.Head:Destroy()
  18. end
  19. end
  20. end
  21. end
  22. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement