Hello, everyone! I need help with making a BillboardGui clickable, but I am rather unfamiliar with using BillboardGui. Basically, what this script is supposed to do is when somebody clicks, it changes the image, wait 0.01 of a second and switches the image to normal, and disappears, however, when I click it, it does nothing. Here is my script ( LocalScript in ImageButton inside of a BillboardGui):
script.Parent.MouseButton1Down:Connect(function(Player) --Never fires. This is where I need help with BillboardGui
script.Parent.Image = "rbxassetid://995987092"
wait(0.01)
script.Parent.Image = "rbxassetid://995986660"
script.Parent.Visible = false
end)
The BillboardGui's Booleans Active and Enabled are set to true.

5 comments
if enabled is set to false it wont work lol
They are set to true.
I tried, It still doesn't work.
where's the BillboardGui?