local id = 10590821 

game.Players.PlayerAdded:connect(function(player)
	if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, id) then
	player.PlayerGui.Gamepass.Button.Visible = true	
	end
end)

I have this script its for a button which you click to get a frame with starter characters to use. But when you click the button and you change to the starter character the gui removes. I was wondering how I could find a way to make it stay I tried putting the screen gui into the character, that wouldnt work. Can someone help me?

2 comments

0

maybe at the start put "repeat wait() until game:IsLoaded()"

0

That didnt work, but thanks for trying!