In short. This Insert system ensures that all elements from folders are moved to the right places. This is necessary so that the systems work across different places. But the problem is that for some reason my script can't find the GUI: Infinite yield possible on 'Players.MishaSem73.PlayerGui:WaitForChild("RaceGui")' - Studio.
But if this Insert is in the place from the start, everything works fine.
#Insert system
1 messages · Page 1 of 1 (latest)
well if you check in the explorer is the racegui in the player's gui
Because your inserter on run time is putting the ui in starter gui
When your code is looking inside your player gui
It works when yoy have it in before running because starter gui is automatically replicated to all players who join
so i should just rejoin to the server
Yeah if the model is inserted, then a player joins, it would he replicated to that player
I would consider that bad code design but I guess it is the easiest way to do things.
Im not a coder at all, sry if i look a lil bit stupid