generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How i add debounce to my script?

Previous Thread :: Next Thread 
kaspar1230 is not online. kaspar1230
Joined: 25 Apr 2013
Total Posts: 481
23 Nov 2015 01:17 PM
script.Parent.Touched:connect(function()
game.workspace.Sound:play()
end)

--Please help me with this...
Report Abuse
kaspar1230 is not online. kaspar1230
Joined: 25 Apr 2013
Total Posts: 481
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
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
23 Nov 2015 01:19 PM
game.Workspace*
Report Abuse
cgjnm is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image