Lets say theres 5 tools,
1 shoot
2 pass
3 long
4 tackle
5 dribble
If a player goes into his settings gui, enters that shoot is put number 4 and tackle is put number 1,
how would i make a code that makes it when you reset, shoot goes to slot 4 and tackle goes slot 1
You would need to make your own toolbar to make it dynamic, but for a simple fix, store the position of every tool in a dictionary, delete the tools from their inventory and insert each one in order from first to last.