#Roblox devs PLS help

1 messages · Page 1 of 1 (latest)

steep oriole
#

Im making a tycoon game and im making specific buttons appear when another button is bought but it just wont work. Could anyone pls help me solve this issue?

chrome musk
#

i gotchu

#

ur main issue was at the top

#

getButtonByIdOfItemToUnlock didnt get the plot

#

so try this

#

so change dis
local function getButtonByIdOfItemToUnlock(player, itemId)

#

to dis

#

local function getButtonByIdOfItemToUnlock(plot, itemId)

#

dis to this
local btn = getButtonByIdOfItemToUnlock(player, id)

local btn = getButtonByIdOfItemToUnlock(plot, id)

steep oriole
#

Tysm! you dont know how long i have been trying to fix that and the thing for ages thanks alot for the help!