how can i make the script as if when the person buys the gamepass whatever is in it will automaticly go to the player?
local id = 103728213
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)
Source : http://wiki.roblox.com/index.php?title=PlayerHasPass_(Method)