Hey! I’m trying to make a function that sets a Frame to .Visible = true
alongside other things on player.CharacterRemoving
.
Everything works, except the BlackCover
Frame setting to .Visible = true. I added a breakpoint and a print, both works. I’m really confused on why the Frame isn’t visible.
BlackCover zindex is higher than the HomeFrame and the BackgroundTransparency is 0, so the issue shouldn’t be there.
player.CharacterRemoving:Connect(function()
BackTypeValue.Value = "EXIT"
BackButton.Image = ExitImageID
FrameCommunication.Visible = false
FrameCameras.Visible = false
HomeFrame.Visible = true
BlackCover.Visible = true
print("BLACK COVER MADE VISIBLE")
camera.CameraSubject = player.Character:WaitForChild("Humanoid")
camera.CameraType = Enum.CameraType.Custom
TerminalPromptEvent:FireServer()
Controls:Enable()
end)