MoveStateChanged (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
Removed superfluous vertical bar in the template call.
>NXTBoy
Removed superfluous vertical bar in the template call.
 
(No difference)

Latest revision as of 07:45, 29 September 2011

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 )