This command sets your player's health to 0, killing you. Running this command in multiplayer will knock you down, requiring a teammate to revive you (or use the 'revivelocalplayer' command).
The syntax for the killlocalplayer command is as follows:
killlocalplayer
Search our database of 108 The Forest commands...
Full listFind below working examples of the killlocalplayer command.
killlocalplayer
This is the only way the killlocalplayer command can be used, running this command will kill you.