i made a basic button that when you click on it the button disappears but later on i added a image label to go with the button which i don’t know how to make disappear at the same time as the button ;-; if anyone could help that would be great!! 🫶
here’s the code for the button:
local PlayButton - script. Parent function onClick()
PlayButton.BackgroundTransparency = 1
PlayButton. TextTransparency = 1|
end
PlayButton.MouseButton1Click:connect(onClick)
script. Parent.MouseButton1Click:Connect (function()
script. Parent. Parent. Visible = false
end)