please help me i have been wondering awhile to learn how
COMMUNITY QUESTION
How do i make it so if you touch a brick i plays a sound?
2 answers
Please resort to the wiki pages and make an attempt first.
Here are 2 useful wiki pages:
Make a brick and then put this script in it.
local sound = Instance.new("Sound", Workspace)
sound.Pitch = 1 -- Speed of the song (Preffer not to change it)
sound.SoundId = "rbxassetid://144405051" -- Put the last numerbs of the link of the song(ROBLOX) that you want
sound.Volume = .5 -- Volume(How much power) of the song
sound.Looped = false -- If you want the song to repeat after the song is done
script.Parent.Touched:connect(function()
sound:play()
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
LOL sorry im just new to this site so Idk how it works but im expert in SCRIPTING
oh god
Fixed:)