Hello! I need help with my roblox studio so, as you can see here there are a lot of “Image1, Image2” etc. Those are the IMAGEBUTTONS. And the “Image” Is the ImageLabel.
I am struggling with that, Once a player clicks on any of “Image1…2 etc.” And pastes a ImageID in the Textbox, It should display that ImageID in “Image”, The ImageButton should also have the same ImageID ( which was pasted in the text box ) and when a user clicks on a diff image button it should do the same functions.
Here is the code :
local Image1 = Images.Container.Image1
local Image2 = Images.Container.Image2
local Image3 = Images.Container.Image3
local Image4 = Images.Container.Image4
local Image5 = Images.Container.Image5
local Image6 = Images.Container.Image6
local Image7 = Images.Container.Image7
local Image = Images.Image
local Textbox = Images.TextBox
I hope you can help me! If you have any questions please make sure to ask me.
I would be very thankful for your support.
table are created for holding data too
but unlike this they hold have two different holds
Array and Dictionary
each of it has potential but not same
just create table array
why you don’t get container’s children and then in that way add signal to function (which changes image to image which who was pressed) ?
for id, just get image properties which is for handling ID and add to second text of TextBox
Track which ImageButton is selected, add MouseButton1Click events to all buttons to mark the selected one, then use FocusLost on the TextBox to update both the main ImageLabel and selected ImageButton with "rbxassetid://" plus the ID from the TextBox.
If you’re not willing to do any scripting or share your attempt, then your post violates the Scripting Support guidelines. This category is for collaboration - you bring effort, others bring help. If you refuse to collaborate at all, your game will never progress beyond ideas, because nobody is going to build an entire system for you.