my code:
on step on stone,grass,dirt,smooth stone slab,sandstone slab,spruce planks,brown carpet,bedrock, and grass path:
set title of player's scoreboard to "&3&lSpecial&b&lGen"
set line 6 of player's scoreboard to "&3&lName: &b&l%player%"
set line 5 of player's scoreboard to "&6&lBalance: %{balance of %player%}%"
set line 4 of player's scoreboard to "&5&lCrystals: %{playercrystals}%"
set line 3 of player's scoreboard to "&2&lPing: %player's ping%"
set line 2 of player's scoreboard to "&B&lTPS: %tps%"
set line 1 of player's scoreboard to " "