So i want to know the location of the icon/the gui/the guy
and i did that by printing its parent, guess what?
Its not there look at my script:
Cat.OnServerEvent:Connect(function(player)
local hasGamePass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, catId)
if not hasGamePass then
local success, error = pcall(function()
MarketplaceService:PromptGamePassPurchase(player, catId)
end)
if not success then
warn("Failed to prompt GamePass purchase:", error)
end
else
local copy = CatIcon:Clone()
copy.Parent = player.PlayerGui.MainScreen.Main
copy.Position = UDim2.new(0.533, 0,0.883, 0)
while wait(1) do
print(copy.Parent)
print(copy.Parent.Parent)
print(copy.Parent.Parent.Parent)
end
end
end)
look at the printing:
print(copy.Parent)
print(copy.Parent.Parent)
print(copy.Parent.Parent.Parent)
the printing is not the problem, well it is, sort of look:
when i look:
![image](/secure-uploads/uploads/original/5X/6/1/9/6/61961a7de87519019dd2c01e497e74ca2e4c7564.png)
where the hell is it?
if you have any ideas as to why its doing this pls let me know.