SHARE
TWEET

kill all npc dungque quest

HoangThien247 Jun 16th, 2019 112 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Event = game:GetService("ReplicatedStorage").remotes.changeStartValue
  2. Event:FireServer()
  3. wait(0.1)
  4.  
  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.1) 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. value.Humanoid.Health = 0
  18. end
  19. end
  20. end
  21. end
  22. end)
  23.  
  24. local Player = game.Players.LocalPlayer
  25. Player.Character.Humanoid.WalkSpeed = 100
  26. while wait(0.1) do
  27. for index, value in next, workspace:GetDescendants() do
  28. if (value:FindFirstChildOfClass("Humanoid") and value ~= Player.Character) then
  29. value.Humanoid.Health = 0-1
  30. end
  31. end
  32. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top