Gui界面显示错误:代码更新ui文本框后无效

Hello,I updated the content of a screenGUI using a script. But the updated content won’t show in the game until the player has died once. Can someone help me figure out what’s going on? Thanks!

before

died

3 Likes

您好,请提供更多信息。请显示实际代码本身。

你可能在这个类别中有更多的运气
#international

2 Likes

There should be a button in the ScreenGui properties with the name “ResetOnSpawn”. Uncheck that, and it should remain the same when your character resets.

ScreenGui属性中应该有一个名为“ ResetOnSpawn”的按钮。取消选中该复选框,当您重置角色时,它应保持不变。

You should edit your TextLabel in the PlayerGui, not the StarterGui folder.
The PlayerGui is located as

game.Players.LocalPlayer.PlayerGui

I hope this will helps you. :grinning: