I have a system involving the player, a troop (like a pet), and an enemy NPC. The fight system works for the most part; however, I recently tried to include a system that verifies that a troop is equipped first before the fight can be verified---the fight happens when the player activates a proximity prompt. The script doesn't ever seem to get through the "Going through folder" print.
There are a total of Five scripts involved:
- A server script attached to the enemy NPC
- A server script attached to the troop(pet) . the troop is located in a folder in the workspace.
- A module script (I don't figure it to be too important in this)
- A Local script that is connected to the button that equips the troop.
- A script in serverscriptservice that acts as to verify the troops owner and if it is equipped
A remote event is involved. It is fired from the fourth script(local) to the fifth script (the verification script). I think that the remote event might not be firing correctly but I don't know.