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

(CLOSED) How come the text from the GUI won't show?

Asked by
Slatryte 104
4 years ago
Edited 4 years ago

Introduction

Basically, I have made a system in which I have an IntValue that shows up as the text in the GUI. But I recently added in a box in which you step on to make the IntValue change to 10, and it DOES work, I checked the Explorer. But, the text does not change unless I reset my character. Oh, and, here is my script, btw:

local lvl = game.StarterPlayer.PlayerLvl.Value
local text = "Level: ".. lvl
script.Parent.Text = text

Conclusion

Can somebody help me?

1 answer

Log in to vote
0
Answered by 4 years ago

all text or Gui has a Feature called "z index". what that means is you can set what Gui or text is on top of one another. basically whatever Gui has the highest z index, then that Gui or text gets to be seen first

Ad

Answer this question