Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.a = true
- while _G.a do
- wait(0.5)
- for a,b in pairs(game.Workspace:GetChildren()) do
- if b:IsA("Folder") then
- for c,d in pairs(b:GetChildren()) do
- if d:FindFirstChild("enemyFolder") then
- for e,f in pairs(d.enemyFolder:GetChildren()) do
- if f:FindFirstChild("HumanoidRootPart") and f:FindFirstChild("Humanoid") then
- repeat
- f.Humanoid.Health = 0
- wait()
- until f.Humanoid.Health < 1
- end
- end
- end
- end
- end
- end
- for _,m in pairs(game.workspace.dungeon.bossRoom.enemyFolder:GetDescendants()) do
- if string.find(m.Name,"The") then
- if m.Humanoid.Health < 1 then
- wait(2)
- game:GetService'TeleportService':Teleport(2414851778)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement