MoveStateChanged (Event)

From Legacy Roblox Wiki
Revision as of 18:27, 30 December 2010 by >ArceusInator (wow)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
MoveStateChanged ( MoveState newState, MoveState oldState )
Description Fired when the SkateboardPlatform's Controlling Humanoid changes the force being used on the SkateboardPlatform.
Member of: SkateboardPlatform
Example
function onMoveStateChanged( newState, oldState )
   print( "The SkateboardPlatform's oldState was " .. tostring( oldState ) )
   print( "The SkateboardPlatform's newState is " .. tostring( newState ) )
end

SkateboardPlatform.MoveStateChanged:connect( onMoveStateChanged )