Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while wait() do
- for i,v in pairs(workspace:GetChildren()) do
- if v.Name == "Characters" then
- elseif v:IsA("Folder") then
- if v.Name == "Ignore" then
- else
- for i2,v2 in pairs(v:GetChildren()) do
- if v2.Name == "Rooms" then
- else
- if #v2:GetChildren() == 0 then
- for i5,v5 in pairs(workspace:GetChildren()) do
- if v5.Name == "Characters" then
- elseif v5:IsA("Folder") then
- for i6,v6 in pairs(v5:GetChildren()) do
- if v6.Name == "Rooms" then
- if v6:FindFirstChild("FinishRoom") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v6.FinishRoom.Finish.CFrame
- else
- for i3, v3 in pairs(v2:GetChildren()) do
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v3.HumanoidRootPart.CFrame
- if v3.EvilHumanoid.Health == 0 then
- v3:Destroy()
- end
- end
- end
- end
- end
- end
- end
- end
- for i3, v3 in pairs(v2:GetChildren()) do
- local args = {Vector3.new(v3.Head.Position), 817}
- game:GetService("ReplicatedStorage").Shared.Remotes.Combat.BasicAttack:FireServer(unpack(args))
- local args = {Vector3.new(v3.Head.Position)}
- game:GetService("ReplicatedStorage").Shared.Remotes.Combat.UseAbility:FireServer(unpack(args))
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v3.HumanoidRootPart.CFrame
- if v3.EvilHumanoid.Health == 0 then
- v3:Destroy()
- end
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement