Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

I don't know what to put after this because If I put Game.workspace it goes red? (Solved in comment)

I am making a script so that if a user presses a button a door opens please help by telling me what goes next. Source:

script.Parent.MouseButton1Click game.workspace

(Solved in comment)

5 comments

0
0

Thanks! :D

0

i made an answer...

0

It did not work.

0

LOL

1 answer

✓ Accepted answer

I have NO idea what you even wrote, but we all have to start somewhere.

After MouseButton1Click you need a function for it to even do anything, you also need an end to stop the "red"

script.Parent.MouseButton1Click:Connect(function()
--//do whatever
end)

your code would do absolutely nothing anyways

Things to look at:

MouseButton1Click, Functions.

This discussion is preserved as it was. New answers, comments, and votes are closed.