|
| 23 Nov 2015 01:17 PM |
script.Parent.Touched:connect(function() game.workspace.Sound:play() end)
--Please help me with this... |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2015 01:18 PM |
And guys dont tell me "workspace" should be capitalized because "Workspace" isnt working for me..
-- A ROBLOX+ USER -- |
|
|
| Report Abuse |
|
|
| |
|
cgjnm
|
  |
| Joined: 22 Dec 2011 |
| Total Posts: 2347 |
|
|
| 23 Nov 2015 02:16 PM |
game.Workspace
or just:
workspace (without the game.) |
|
|
| Report Abuse |
|
|
Exzeption
|
  |
| Joined: 01 Nov 2011 |
| Total Posts: 1312 |
|
|
| 23 Nov 2015 03:15 PM |
local db = false
script.Parent.Touched:connect(function() if db = false then db = true game.workspace.Sound:play() wait(1) db = false end end) |
|
|
| Report Abuse |
|
|