How can I remove the Enum.ReverbType bit

Hey developers, so I want a GUI in my game that displays the current reverb type, for that I am using the following script:

script.Parent.Text = tostring(game.SoundService.AmbientReverb)

This works for the most part except for it returns Enum.ReverbType. --Current reverb

Is there a way to remove the Enum.ReverbType part?

Yes. EnumItems have a name property. You can just add .Name to the end of AmbientReverb to chop off the Enum path and get its name alone.

1 Like

Ah, thanks a lot! Have a nice day :smiley: