of     1   

Telasim0
#213461353Monday, April 03, 2017 8:02 PM GMT

I'm a new scripter and just figured out about functions. So far I made a function where when you click a brick, it turns transparent and cancollide is false. I'm trying to make a script where you click it and it plays a sound. I'm still trying to figure this out. Please don't make fun, I'm a noob I know. Instance.new("ClickDetector", script.Parent) s = Instance.new("Sound") function onClick() s.Name = ("Sound") s.SoundID = "rbxassetid://190126354" --Type Sound ID here dude. s.Volume = 2 --Volume. ####### # # ####### s.Looped = false --True means it repeats, false means it doesn't. s.archivable = false -- Probably don't have to change it. s:play() end ######## # ############## ########################################### I used the same script for the cancollide script cause I thought it would work. But I'm confused as to how functions work and stuff. Pls help, thank.
Telasim0
#213461366Monday, April 03, 2017 8:02 PM GMT

IF ROBLOX CENSORS IT'S OWN CODE AGAIN.
Nuclear_Energy
#213461423Monday, April 03, 2017 8:03 PM GMT

[ROBLOX]: Added tags to prevent bad people ^ from sending bad post
CodyDev
#213462541Monday, April 03, 2017 8:24 PM GMT

It doesn't need to be that complicated. Just add a sound into the door and make it play the sound when it's clicked.
CodyDev
#213462857Monday, April 03, 2017 8:30 PM GMT

If you still need help I would rather show this to you than explain it.
Telasim0
#213463908Monday, April 03, 2017 8:49 PM GMT

pls show

    of     1