CustomStatusAdded (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator CustomStatusAdded |
>ArceusInator CustomStatusAdded |
(No difference)
|
Revision as of 19:33, 31 December 2010
|
Example
function onCustomStatusAdded( status ) print("The humanoid is now " .. status .. "ing") end humanoid = game.Players.LocalPlayer.Character.Humanoid humanoid.CustomStatusAdded:connect( onCustomStatusAdded ) humanoid:AddCustomStatus( "Sleep" ) --> The humanoid is now sleeping