I made a script that makes it so that when players enter the server they see their avatar on the NPC. On the usual space it worked. But then I decided to do it in the GUI (viewportGui) so that it would look in the RPG style, I put the NPC there, wrote the code, in general I did everything that was necessary, and for some reason the script for the NPC in the viewportframe does not work, I do not know how to fix this and I ask you to help me, please. Video:
#Why is my script not working?
1 messages · Page 1 of 1 (latest)
** You are now Level 4! **
Have you checked the output?
The isseus youre facing is like everyone else is using game.StarterGui, instead player.StarterGui
Did you mean, player.PlayerGui
Nice catch tho
@unreal oyster is right, replace game.StarterGui to player.PlayerGui and disable resetOnSpawn.
@unreal oyster , @ionic plover thank you very much, without you I wouldn’t have thought of it!
Happy to help