PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

StatusRemoved

The StatusRemoved event fires when a status is removed from the Humanoid.

Parameters

Name Type Default Description

Code Samples


Humanoid.StatusRemoved

Humanoid = game.Players.LocalPlayer.Character.Humanoid

Humanoid.StatusRemoved:Connect(function(status)
    if status == Enum.Status.Poison then
        print "The humanoid has been cured of poison!"
    elseif status == Enum.Status.Confusion then
        print "The humanoid has been reoriented!"
    end
end)

humanoid:RemoveStatus( Enum.Status.Poison ) --> The humanoid has been cured of poison!