Sort of like a touch-activated giver, but restricted to owners of a particular Gamepass.
Any help?
Refer to this link for the gamepass information: http://wiki.roblox.com/index.php?title=API:Class/GamePassService/PlayerHasPass
But the basics are pretty much doing a hit or touch function to check if the player has the pass then cloning the tool and putting it in their backpack if they do.
Edit For Script:
script.Parent.Touched:connect(function(hit) local id = 1315507696 if game:GetService("GamePassService"):PlayerHasPass(hit.Parent.Parent, id) then game.ReplicatedStorage["VIP S"].Clone().Parent = hit.Parent.Parent.Backpack end end)
script.Parent.Touched:connect(function(hit) local id = 1315507696 game.Players.PlayerAdded:connect(function(player) if game:GetService("GamePassService"):PlayerHasPass(player, id) then print(player.Name .. " has the game pass!") else print(player.Name .. " doesn't have the game pass...") end end) if PlayerHasPass then game.ReplicatedStorage.VIP S.:Clone().Parent = hit.Parent.Parent.Backpack end