|
| 04 May 2015 06:23 AM |
| i really need to make a shop when u enter it hear a sound please help? |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 06:33 AM |
you should know this, considering you're a 'programer'
I've seen better texture work ON MICHAEL JACKSONS FACE |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 07:54 AM |
is it a shop with a gui? when you touch a part? perhaps you're using magnitude to see how close player is to shop??
more details please |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 08:42 AM |
| Is an market place not a gui is like house [Building] and when someone enter the shop i need him to hear a sound plz give a script or free model! thanks |
|
|
| Report Abuse |
|
|
glurbman
|
  |
| Joined: 02 Nov 2010 |
| Total Posts: 1903 |
|
|
| 04 May 2015 09:29 AM |
here it is..just place a invisible part at the entrance of your shop and put this script in to it:
local db = false
script.Parent.Touched:connect(function(hit) if db == false then db = true script.Parent.Sound:play() wait(0.3) --this wait time prevents looping db = false end end)
|
|
|
| Report Abuse |
|
|
glurbman
|
  |
| Joined: 02 Nov 2010 |
| Total Posts: 1903 |
|
|
| 04 May 2015 09:30 AM |
| ps. you dont have to thank me^^ |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 12:04 PM |
| OMG THANK YOU SO MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
|
| Report Abuse |
|
|
glurbman
|
  |
| Joined: 02 Nov 2010 |
| Total Posts: 1903 |
|
|
| 05 May 2015 02:45 AM |
| didnt i said you dont have to thank me ^^ |
|
|
| Report Abuse |
|
|