#Having a simple, but stupid problem with rebirths
9 messages · Page 1 of 1 (latest)
local purchasedObjects = getTycoon.getbyPlayerName(player.Name).PurchasedObjects This is the line of code that's giving me the issue
either that or .PurchasedObjects is nil
then the error would be 'PurchasedObjects' is not a valid member of Player "PlayerNameHere"
ah
is this a local or server script
I’ve fixed it by assigning a attributes in the buttons that checks if they’re purchased, and adjusted the logic for counting the buttons purchased