Help making script for simulator

I have recently been working on a Simulator game in roblox.

I am at the stage where I’m adding a shop, however mine is very unique.

What I have:
https://gyazo.com/6794c557d513a1bead273d029d702920

What I want:
After I click on the Adoni, its money and name should show up on the side, and after I buy it, you should get teleported to a place.

1 Like

it is a bit difficult to help without seing the directory of things

like this?

1 Like

Have a serverscript with a table which has the name and cost of items.

when the player joins, loop through each item and fire a remote function to the server. The serverscript will return the name and cost of the item. ’

When the player presses the Buy button, fire a remote function to the server to check if they have enough.

just make a script inside the adoni button that changes the texts and stuff when you click on it…

when you buy just check the text of the preview and stuff and it can confirm what you are buying, thats how i do it

Hi! Sorry for the late response, I was busy all day. Yes like that. Are there any tutorials you would recommend? I couldn’t find any.

I followed the AlvinBlox tutorial but it didn’t seem to work.

Hello???

you need to make a local script inside the adoni button that put the name of adoni the cost of adoni and the picture of adoni in the template on the right