Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What script do I use to make it to where if you click a part it makes the whole server hear music?

Like, if I had a clickdetector in the part and it was clicked how do I make it to where when it is clicked theres like music or an announcement that the whole server could hear?

1 comment

0

We are NOT a request site.

1 answer

First and foremost WE ARE NOT A REQUEST SITE, you must write your own script and ask for HELP!

I haven't used a clickdetector in a while, but after you set the click function up you'd just have the audio play, wherever you stored it.

local audio = game.Workspace['Sound Folder'].SpecificNameHere
audio:Play()
wait(5) -- put the amount of time here
audio:Stop()

Or something along those lines, I would of written the entire script but like I said I haven't messed with clickdetectors in a while and I don't want to mess something up for you, especially if you already know how to use them.

This discussion is preserved as it was. New answers, comments, and votes are closed.