I had this code that I don't know how to make work and I'm also not a Pro at scripts :( but here's the code:

button = script.Parent window = script.Parent.Parent.Parent

function onClicked(GUI) window:remove() end script.Parent.MouseButton1Click:connect(onClicked) wait(1) script.Parent.MouseButton1Down:Connect(function() script.Parent.Parent.FirstTest.Visible = false end)

Oh and also I don't know if I'm a NOOB or just did something wrong and I'm just a kid sooooo... yeah :]

3 comments

0

Btw you need to format your script by pressing Lua logo then paste the script inside the 2 line of ~~~~~~~~~~~

0

Can u tell me what does the code do ?

0

never mind I'm just testing some code :]