Getting the name of the swep the player is using.

Is there a way to get the name of the swep a player is using, for example; “gmod_tool”.

I’ve tried
[lua]
ply:GetActiveWeapon
[/lua]

but that returns something like Weapon [32]

ply:GetActiveWeapon():GetClass()

Nice one, thanks.