#Loading issue
1 messages · Page 1 of 1 (latest)
just do wait(0.1)
or a higher or lower number
if you want it to be fancy add a loading screen
Pause the script until everything needed is fully loaded
Preloading things might help as well
Where would I look to do that? Im sorry, im fairly new to scripting😭
** You are now Level 1! **
Could you provide the script, or section of it that's causing the errors
Sorry for the late response, lost internet for a while there. The problem seems to be that Player.Values.PunchCombo isn't loaded immediately, so when you click immediately it tries to find something that doesn't exist, and errors. Normally, that wouldn't do too much, but since you're setting the clickattackdebounce right before it, the script permanently thinks you're on the debounce
The easiest solution would probably be to just do the same thing for it as you are for the humanoid
So I would replace Player.Values.PunchCombo? Or should I put a wait before it?
You should put it before "ClickAttackDebounces[Player] = true" and use the FindFirstChild() thing like you did for the humanoid