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

Humanoid.StatusAdded

Humanoid.StatusAdded

Oct 01 2018, 1:59 AM PST

Humanoid = game.Players.LocalPlayer.Character.Humanoid

Humanoid.StatusAdded:Connect(function(status)
    if status == Enum.Status.Poison then
        print "The humanoid is now poisoned!"
    elseif status == Enum.Status.Confusion then
        print "The humanoid is now confused!"
    end
end)

humanoid:AddStatus( Enum.Status.Poison ) --> The humanoid is now poisoned!