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: Capture Counter won't work

Previous Thread :: Next Thread 
marfit is online. marfit
Joined: 10 Jan 2013
Total Posts: 2539
20 Jul 2017 10:46 PM
ebounce = false

script.Parent.Touched:connect(function(plr)
if plr.Parent.Humanoid == true then
if debounce == false then
debounce = true
for i = 1,120 do
if script.Parent.TouchEnded then
else
game.Workspace.MidCount.Value.Value = game.Workspace.MidCount.Value.Value - 1
wait(1)
end
end
end
end
end)


It doesn't report any error messages, nothing. It just doesn't lower the time (which works)
Report Abuse
marfit is online. marfit
Joined: 10 Jan 2013
Total Posts: 2539
20 Jul 2017 10:48 PM
I added some print to find out where it stopped working, and it seems its the if plr.Parent.Humanoid == true.
Not sure why though.
Report Abuse
deu is not online. deu
Joined: 07 Jan 2007
Total Posts: 150
20 Jul 2017 10:48 PM
you put ebounce, and you're checking for debounce in the script


Report Abuse
800s is not online. 800s
Joined: 24 Jul 2014
Total Posts: 12507
20 Jul 2017 10:49 PM

you put ebounce, and you're checking for debounce in the script[2]


--Studying lua
Report Abuse
marfit is online. marfit
Joined: 10 Jan 2013
Total Posts: 2539
20 Jul 2017 10:50 PM
No, its debounce, I just accidentally didn't put it in this forum. Its there.
Report Abuse
marfit is online. marfit
Joined: 10 Jan 2013
Total Posts: 2539
21 Jul 2017 11:38 AM
It was debounce in the first place. I just made an error when copying it.
Report Abuse
marfit is online. marfit
Joined: 10 Jan 2013
Total Posts: 2539
21 Jul 2017 11:50 AM
Anybody?
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