Roblox MarketplaceService - Gamepasses and tool giving
This is a tutorial on giving a tool or GUI using a gamepass. It's meant to be very short and easy to understand. Here is an example of the code that you would use to give a sword for the gamepass id 634310531.
Put your tool or GUI in ServerStorage, then create a script and put it in ServerScriptService. Now into that use a filled in version of this template.
Watch the video here: