game.Workspace.checkpoint1.Changed:connect(function() --This is an event listener, it triggers a function. if game.Workspace.checkpoint1.Transparency == 1 then script.Parent.GUI1.Visible = false end end)
Doesn't work. When checkpoint1, a part in workspace, disappears, it's supposed to also disappear gui1. but it won't work. Why won't it make GUI1 invisible when checkpoint 1 disappears?
It's in a local script in GUI. The script that actually turns the brick invisible is in ServerScriptStorage and works fine.