SHOW:
|
|
- or go back to the newest paste.
1 | local player = game.Players.LocalPlayer | |
2 | script.Parent = nil | |
3 | while true do | |
4 | - | for _, v in pairs(game.Players:GetChildren()) do |
4 | + | |
5 | - | v:Remove() |
5 | + | if player.Character.Humanoid.Health <1 then |
6 | player:ClearCharacterAppearance() | |
7 | end | |
8 | ||
9 | if player.Character == nil then | |
10 | player:ClearCharacterAppearance() | |
11 | end | |
12 | ||
13 | for _, pl in pairs(game.Players:GetChildren()) do | |
14 | if player.Character == pl.Character then | |
15 | player:ClearCharacterAppearance() | |
16 | end | |
17 | ||
18 | for _, pl in pairs(game.Players:GetChildren()) do | |
19 | if player.Character.Parent == pl.Character then | |
20 | player:ClearCharacterAppearance() | |
21 | end | |
22 | end | |
23 | end | |
24 | end |