player
The player namespace exposes cosmetic functions for the player character.
Most player state (position, HP, direction, name, etc.) is available through game state variables rather than this namespace.
player.ShowScaredFace(num)
Returns: nothing
If the player has Big Head mode enabled, changes their facial expression to scared for a given amount of time.
stonescript
?key = primaryBegin
player.ShowScaredFace(1)See also
?player.direction— which way the player is facingplayer.name— the player's chosen nameplayer.framesPerMove— movement speedplayer.moveX/player.moveZ— movement deltasdraw.Player()— draw the player sprite at an arbitrary position