local passId = 9194387 game.Players.PlayerAdded:Connect(function(player) player:WaitForDataReady() if game:GetService("GamePassService"):PlayerOwnsPass(player,passId) then player.PlayerGui.StandardDice.ExtraDie.Visible = true else print(player.Name .. " does not have the extra die pass.") end end)
This script is in ServerScriptService
Try to use
local MarketplaceService = game:GetService("MarketplaceService") local passId = 9194387 game.Players.PlayerAdded:Connect(function(player) player:WaitForDataReady() if MarketplaceService:UserOwnsGamePassAsync(player.UserId, passId) then player.PlayerGui.StandardDice.ExtraDie.Visible = true else print(player.Name .. " does not have the extra die pass.") end end)