Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Event = game:GetService("ReplicatedStorage").remotes.changeStartValue
- Event:FireServer()
- wait(0.1)
- local Dungeon = workspace:WaitForChild("dungeon")
- local Player = game.Players.LocalPlayer
- Player.Character.Humanoid.WalkSpeed = 100
- spawn(function()
- while wait(0.1) do
- for index, value in next, Dungeon:GetDescendants() do
- if (value.Name == "barrier") then
- value:Destroy()
- end
- if (value:FindFirstChildOfClass("Humanoid") and value ~= Player.Character) then
- if (value.Name ~= Boss) then
- value.Humanoid.Health = 0
- end
- end
- end
- end
- end)
- local Player = game.Players.LocalPlayer
- Player.Character.Humanoid.WalkSpeed = 100
- while wait(0.1) do
- for index, value in next, workspace:GetDescendants() do
- if (value:FindFirstChildOfClass("Humanoid") and value ~= Player.Character) then
- value.Humanoid.Health = 0-1
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement