this doesnt work for some reason
closebutton.MouseButton1Click:Connect(function()
frame1:Destroy()
print("A2")
end)
weblink.MouseButton1Click:Connect(function()
currenttextbox = weblink
print("A1")
end)
I tried MouseButton1Up and MouseButton1Down but it keeps not working.I dont know if is the problem but the events are in a function of mousebutton1Click