Playing a sound from a player

I tried surface.PlaySound using a chatcommand thingy (in init.lua), but apparently surface is only for clients. Basically I want to play a sound coming right out of the player. How? Hopefully this is simple. (I did it when I first started Lua, but now I’m stumped…)

Try EmitSound