I am creating a gamepass that give the owners of it the benefits of TimeStop. I have already successfully created the code for TimeStop and created a gamepass that will hold these benefits, but I tested it with a friend who bought the gamepass but didn't get the benefits with the code I scripted. Can someone edit it and tell me where I went wrong within this code:
if game.MarketplaceService:PlayerOwnsAsset(player,6994910) then --Gives people who own the gamepass the power of time stop
mouse.KeyDown:connect(function(key) if key == "t" then game.ReplicatedStorage.TimestopEvent:FireServer() end end) end