Рустам Абдрашитов
Мыслитель
(8579)
1 месяц назад
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
character:WaitForChild("Humanoid").HealthChanged:Connect(function(health)
if health <= 0 then
character.Humanoid.Health = 100 -- Устанавливаем здоровье обратно
end
end)
end)
end)