Advertisement
nguyenminhnghia

Untitled

Apr 9th, 2019
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. wait(10)
  2. local Event = game:GetService("ReplicatedStorage").remotes.changeStartValue
  3. Event:FireServer()
  4. wait(5)
  5.  
  6. local Dungeon = workspace:WaitForChild("dungeon")
  7. local Player = game.Players.LocalPlayer
  8. Player.Character.Humanoid.WalkSpeed = 150
  9.  
  10. spawn(function()
  11. while wait(0.2) do
  12. for index, value in next, Dungeon:GetDescendants() do
  13. if (value.Name == "barrier") then
  14. value:Destroy()
  15. end
  16. if (value:FindFirstChildOfClass("Humanoid") and value ~= Player.Character) then
  17. if (value.Name ~= Boss) then
  18. value.Humanoid.Health = 0
  19. end
  20. end
  21. end
  22. end
  23. end)
  24.  
  25. local Player = game.Players.LocalPlayer
  26. Player.Character.Humanoid.WalkSpeed = 100
  27. while wait(0.2) do
  28. for index, value in next, workspace:GetDescendants() do
  29. if (value:FindFirstChildOfClass("Humanoid") and value ~= Player.Character) then
  30. value.Humanoid.Health = 0-1
  31. end
  32. end
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement