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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: is it possible to return a debounce as true?

Previous Thread :: Next Thread 
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
28 Sep 2017 12:47 PM
example:
local canClick = true
return canClick false
is it possible to do something like that
Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
28 Sep 2017 12:49 PM
what
Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
28 Sep 2017 12:49 PM
i mean in the example its vice versa but it the same thing im trying to get across
Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
28 Sep 2017 12:54 PM
whats wrong with me i meant to say in the example its the opposite kind of
Report Abuse
GNUnotUNIX is not online. GNUnotUNIX
Joined: 05 Feb 2012
Total Posts: 15171
28 Sep 2017 12:54 PM
local a = true
print( not a )
> false

so I guess what you mean is:
return not canClick
Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
28 Sep 2017 12:56 PM
that works too
thankssssss
Report Abuse
GNUnotUNIX is not online. GNUnotUNIX
Joined: 05 Feb 2012
Total Posts: 15171
28 Sep 2017 12:57 PM
No problem, you can also do:
return canClick == false
Report Abuse
Kekulator is not online. Kekulator
Joined: 20 Jul 2011
Total Posts: 1833
28 Sep 2017 01:01 PM
Plenty of ways


return canClick == false

return not canClick

return canClick ~= true
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