I was to make the shop open by pressing the L key instead of clicking the button. What do I have to do to make that change?
Here is the script...
local frame = script.Parent local close = frame:WaitForChild("Close") local shop = frame.Parent:WaitForChild("Shop")
shop.MouseButton1Click:connect(function() shop.Visible = false frame.Visible = true end)
close.MouseButton1Click:connect(function() shop.Visible = true frame.Visible = false end)

1 comment
your codeblock breaked