i might need some help with scripting all i want is a simple Gui that locks/opens doors
Send a reply with the script down below
thanks for the help
You can do this.
function lol() game.Workspace.Part.CanCollide = false --Change depending where brick is. --change cancollide to true when locking doors. end script.Parent.MouseButton1Click:connect(lol)
while true do end
The script above will open a door, but I couldn't get the closing right. It closes the program instead. Cheers!
Sincerely, jmanrock123
Closed as Not Constructive by M39a9am3R, LetThereBeCode, Azmidium, and UserOnly20Characters
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?