So there was a problem with the scripting I did, So I decided to script a gamepass button on a YT video (This one: https://www.youtube.com/watch?v=d3Ke3VRaSCk)
It works however the problem Is that once the gamepass tool Is given to the player the functions no longer work, my tool Is a melee weapon that has pathetic mediocre range but does 50 to 100 damage, It also has a custom slash animation
You need to put your tool in ReplicatedStorage, and you have to clone the tool from ReplicatedStorage. You should only give players the cloned object.