Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

when i make a door script its glitching out and not letting me make the script?

Asked by 4 years ago

The Code I tryed is this:

script.parent.parent.Button.ClickDetector.Mouseclick:Connect (Function() script.parent.parent.Door.Transparency = 0.5 script.parent.parent.Door.CanCoild = true Wait(2) script.parent.parent.Door.Transparency = 0 script.parent.parent.Door.CanCoild = false End))

0
Misspelled "CanCollide" as "CanCoild" two times, didn't capitalize "parent" , said "End))" instead of "end)" , didn't capitalize "click" in "MouseClick", "Function" starts with a lowercase letter, also true means that you can touch it and false means that you can't. Lazarix9 245 — 4y

Answer this question