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

2 comments
Thank you so much! This is a very important aspect for my game!
No problem!