Advertisement
Glyoit

Untitled

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