PlatformStanding (Event)

From Legacy Roblox Wiki
Revision as of 20:06, 31 December 2010 by >Camoy
Jump to navigationJump to search
PlatformStanding ( Bool isPlatformStanding )
Description Fired when the humanoid's PlatformStand property is changed.
Member of: Humanoid


Example
function onPlatformStanding( isPlatformStanding )
   if isPlatformStanding then
      print "The player is PlatformStanding"
   else
      print "The player is not PlatformStanding"
   end
end

humanoid = game.Players.LocalPlayer.Character.Humanoid

humanoid.PlatformStanding:connect( onPlatformStanding )



humanoid.PlatformStand = true --> The player is PlatformStanding