UI won't become visible on TextButton click, and I have no idea why?

I want the “ConfirmationUI” to become visible once I click on the textbutton, however, it just won’t work for some reason? Any help or advice on why?

game.StarterGui.Frames.ShopFrame.ScrollingFrame.WeaponSlot2.BuyButton
local confirmationUI = game.StarterGui.Frames.ShopFrame.ConfirmationUI
script.Parent.MouseButton1Click:Connect(function()
	confirmationUI.Visible = true
end)

image

Figured it out, made a stupid mistake

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.