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)
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)
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:
This discussion is preserved as it was. New answers, comments, and votes are closed.
5 comments
after the MouseButton1Click would go a function. https://developer.roblox.com/api-reference/event/GuiButton/MouseButton1Click
Thanks! :D
i made an answer...
It did not work.
LOL