Need Help Me Gui Not working (Closed)

Hi there!
Some of your code isn’t in code tags, could you put them in them please? It makes the code easier to read.

How do I do that?

Edit :memo: your post.
Highlight the code :scroll: then click this image button.

Save your edit and then the code should be in code tags!


The Problem

Even though I can’t see the code properly. I can see why it’s not working.


if game.workspace.Lever1.DownLever1.Transparency == 0 then
if game.workspace.Lever2.DownLever2.Transparency == 0 then
if game.workspace.Lever3.DownLever3.Transparency == 0 then
if game.workspace.Lever4.DownLever4.Transparency == 0 then

These do not have an end. if then requires an end when the action is finished.

If this helped, mark it as a solution :white_check_mark:!

Regards,
@David

1 Like