#help
2 messages · Page 1 of 1 (latest)
For the click detection, youll first need the path to the ClickDetector (ie, script.Parent.ClickDetector), then connect that up onto a MouseClick event. As for the SpareAmmo, the simplest things to do is to
- Make an intvalue object to allow easy changes of a value cross-script
- Module scripts to share
- Bindable Events (Not as suggested though)
Then if you did the 1st option, youd need the path to the new IntValue, then make theSpareAmmo = path.to.intValue, and whenever you need to access the number inside it just doSpareAmmo.Value