Problem with transparency tween

Hello everyone,

I’m currently finishing off a game, But when I try to open and close the Update Log page it does not close while nothing be wrong in the script. You can check out the problem on this game

I have tried to copy past a script which does the exact same job as the other but I still couldn’t get it to work. I have tried to look at some tutorials but nothing works fine.

1 Like

Could we see the script? We can’t really help without seeing the code.

1 Like

I have linked the game, And you should be able to edit it.

1 Like

Well, I don’t see the problem. It works perfectly fine for me.

Although, the script does pass an error “Blur is not a valid member of Lighting ‘Lighting’”

1 Like

Try opening the Credits close it, Then try with the update log.

1 Like

Still works perfectly fine for me.

1 Like

I have currently tested it again and now it seems to be a problem with closing the credits page.

1 Like

That is because, for the credit page, you need to press the actual close button for it to work. You set it up that way, there are no errors. And, when you did click it, it didn’t close, but for me works perfectly fine.

The whole credits page is a ImageButton so it shouldn’t matter if I click on top or at the close button. In the video I sent before you can see I tried clicking on the close button aswell as the whole image.

It seems to be more of the problem that the two images overlap, meaning pressing certain parts of the image will not work correctly because it registers as clicking the other.


There are multiple ways to fix this, but I recommend the

tween.Completed:Wait()
image.Visible = false

changing the visibility to false makes it uninteractable meaning it won’t be clicked while the other GUI is opened.

1 Like

Alright I will try to fix it and get back to you in a bit.

Alright yes that seemed to be the problem and I fixed it, thanks for the help!

1 Like