HHLExploits

Treasure No Quest

Jun 11th, 2019
691
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. while wait(.5) do
  2. for _,v in pairs(game.Workspace.DungeonFolder:GetChildren()) do
  3. if v:FindFirstChild("Monsters") ~= nil then
  4. for _,v in pairs(v.Monsters:GetChildren()) do
  5. if v:FindFirstChild("Head") ~= nil then
  6. local Event = game:GetService("ReplicatedStorage").Remotes.Ability
  7. Event:FireServer()
  8. local Event = game:GetService("ReplicatedStorage").Remotes.Attack
  9. Event:FireServer()
  10. local A_1 = game:GetService("Workspace").PlayerWeapons[game.Players.LocalPlayer.Name]
  11. local A_2 = v.Head
  12. local Event = game:GetService("ReplicatedStorage").Remotes.HitMonster
  13. Event:FireServer(A_1, A_2)
  14. v.Head:Destroy()
  15. end;end
  16. end;end
  17. for _,v in pairs(game.Workspace.DungeonFolder:GetChildren()) do
  18. if v:FindFirstChild("Monsters") ~= nil then
  19. for _,v in pairs(v.Monsters:GetChildren()) do
  20. if v:FindFirstChild("Humanoid") ~= nil then
  21. local Event = game:GetService("ReplicatedStorage").Remotes.Ability
  22. Event:FireServer()
  23. local Event = game:GetService("ReplicatedStorage").Remotes.Attack
  24. Event:FireServer()
  25. local A_1 = game:GetService("Workspace").PlayerWeapons[game.Players.LocalPlayer.Name]
  26. local A_2 = v.Humanoid
  27. local Event = game:GetService("ReplicatedStorage").Remotes.HitMonster
  28. Event:FireServer(A_1, A_2)
  29. end;end
  30. end;end
  31. end
Add Comment
Please, Sign In to add comment