Is it true, you cannot keep cloning and then placing it in player gui to give the player a new gui on character respawn. As in, Gui's will only work within the starter gui and nothing else? Because the script i have replicates in on the server, but it does not affect the client. It is a normal script, that on character added, clones the script from server storage to the player Gui, it affects the server but not the local client. Edit: if it is possible what is wrong with this code then?

game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded :connect(function(character)
	print(character.Name .. " Joined")
	player:WaitForChild("Folder")
	ourmodule.LoadStuff(player)
	print("loaded stuff")
	
end)

		
				
	
	end)-- end of character added

ourmodule is just using the clone to make it the gui parent in player. It only works in server side, as I only see in on the server change, but not the client. For the first time entry, it works on both though.

3 comments

0

You can send GUIs to the PlayerGui and the player can see them via a script. There are no limitations when using FE. FE only adds to your ability to do things.

0

i Edited it, to show you the code.

0

You need to use a remote event. The server script there, needs to tell the player's client script to load your stuff. I'm too tired to write an example atm. Sorry.