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

2 Questions about making intro? [closed]

Asked by 9 years ago
  1. I am want to display frame from GUI on top layer, so ZIndex equals 10. Also I have information gui in left down corner with lower ZIndex, but it anyway displays on the top. Why?
  2. How to prevent character from spawning? I want to show intro first.

Closed as Too Broad by User#5978 and HungryJaffer

This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 9 years ago

I don't understand what's going on with your first question. My only idea is that you might not have given every part of the gui the same ZIndex. Ex, if you have a TextButton parented to a Frame and the Frame has ZIndex 10 but the TextButton has ZIndex 1, then the TextButton will be behind all other controls with ZIndex > 1; you have to set the TextButton's ZIndex to 10 also.

As for #2, you need to set Players.CharacterAutoLoads to false. The link has a sample script of how to load the character yourself; you'll have to modify it to delay the first spawn until your intro is done.

0
The ZIndex does not go through other guis, that is the answer for number 1 xAtom_ik 574 — 9y
Ad