Quantcast

How do I make a button play a sound?

I am fairly new to Studio scripting. I’ve been trying multiple different ways to make a sound play from a button but nothing seems to work. I have audio for what I need but I can’t figure out how to play it.

insert a sound into the part.

then, name the sound _Sound# <- the hashtag is the button’s number, btw.

I’m also guessing smoke effects are “_Effect#”?
Please tell me if I’m wrong.

sadly that doesn’t exist.
You have to do it with button functions