Fireoria
|
  |
| Joined: 02 Nov 2014 |
| Total Posts: 8142 |
|
|
| 06 Jul 2017 03:29 PM |
| So, I have this script that adds a number to an Int Value when a child is added to a folder (in game.Workspace, if you must know), and takes a number when it is removed. But for some reason, it isn't working, and there are no errors in the output. It is extremely frustrating, and for my game to not lag like heck, I need this script to work. Please help. |
|
|
| Report Abuse |
|
|
DylWithlt
|
  |
| Joined: 30 Apr 2008 |
| Total Posts: 300 |
|
|
| 06 Jul 2017 03:32 PM |
| Hey, please provide the script here so we can see what mat be wrong, thanks! |
|
|
| Report Abuse |
|
|
Fireoria
|
  |
| Joined: 02 Nov 2014 |
| Total Posts: 8142 |
|
|
| 06 Jul 2017 03:33 PM |
Well, actually, there's multiple scripts. And I can't post them here because, well... I'm "underage". |
|
|
| Report Abuse |
|
|
Fireoria
|
  |
| Joined: 02 Nov 2014 |
| Total Posts: 8142 |
|
| |
|
Fireoria
|
  |
| Joined: 02 Nov 2014 |
| Total Posts: 8142 |
|
|
| 06 Jul 2017 03:36 PM |
| Can somebody give me instructions or a script or something? |
|
|
| Report Abuse |
|
|
Fireoria
|
  |
| Joined: 02 Nov 2014 |
| Total Posts: 8142 |
|
| |
|
|
| 06 Jul 2017 03:41 PM |
if you want to know how many items are in a folder, all you need to do is this:
local count = #folder:GetChildren() |
|
|
| Report Abuse |
|
|
Fireoria
|
  |
| Joined: 02 Nov 2014 |
| Total Posts: 8142 |
|
|
| 06 Jul 2017 03:46 PM |
| Well, I guess it's the Child Added/Removed function that isn't working with no errors. Why? |
|
|
| Report Abuse |
|
|
Fireoria
|
  |
| Joined: 02 Nov 2014 |
| Total Posts: 8142 |
|
| |
|