Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

is it better to use 1 event or more for different armor?

Asked by 5 years ago
Edited 5 years ago

Hello i am making a BHA game, and i was wondering is it better to you 1 event or multiple. Let me explain I have a value in player called armor, When i click Z if fires a event with player, and players quirk. But for every armor i use the same event and script, and it works fine until there is the 2 players or more with the same quirk/armor. Then nobody can equip or unequip. So i was wondering should i use seprate scripts and events for seprate armors or should i use one like i am now, and if i should use one how do i fix the problem.

The script that fires the event is in StarterPack, its a local script. The event and armor is in ReplicadedStorage and the script is in server script service.

Answer this question