Quick general lua question


sound.Play( "vo/npc/male01/moan0" + math.random( 1, 5 ) + ".wav", self:GetPos( ) )

Can somebody explain why this doesn’t this work?

Replace “+” with “…”, this is Lua, not JavaScript.

Still learning, thanks.