Hello, I have a question about the script How to - How to make Image change by button click script ?
Thank you for all the answers
Hello
To make it work, insert a ScreenGUI in StarterGUI, Then insert an ImageLabel in StarterGUI
Heres a script for what you needed for:
local button = script.Parent local tagret = game.StarterGUI.ScreenGUI.ImageLabel button.MouseButton1Click:Connect(function() target.Image = "rbxassetid://5015860984" end)
Hope it help's!