There isn't any errors in the script, and whenever I join the game and check if the thing is visible, it isn't, how do I make the TextButton become visible if I own the gamepass (which i do)

local mps = game:GetService("MarketplaceService")
local gamepassid = 23619124
local Player = game.Players.LocalPlayer

game.Players.PlayerAdded:Connect(function(Player)
	if mps:UserOwnsGamePassAsync(Player.UserId, gamepassid) then
		script.Parent.Text = "Owned"
		script.Parent.Parent.BlessYou.Visible = true
	end
end)

2 comments

0

add me as friend on roblox

0

add the guy named Jak (iVmk3)