Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function getBeast()
- local players = game.Players:GetChildren()
- for i = 1, #players do
- if players[i]:FindFirstChild("TempPlayerStatsModule") and players[i].TempPlayerStatsModule:FindFirstChild("IsBeast") and players[i].TempPlayerStatsModule.IsBeast.Value == true or (players[i].Character ~= nil and players[i].Character:FindFirstChild("BeastPowers")) then
- return players[i]
- end
- end
- return nil
- end
- local function resetCharacter(player)
- if player.Character and player.Character:FindFirstChild("Humanoid") then
- player.Character.Humanoid.Health = 0
- end
- end
- while true do
- local beast = getBeast()
- if beast and beast == game.Players.LocalPlayer then
- print("Вы зверь!")
- wait(20) -- Tempo ajustado para 20 segundos.
- resetCharacter(beast)
- -- O break foi removido para permitir que o loop continue.
- else
- print("Вы не зверь!")
- end
- wait(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement