✓ Accepted answer
How to use RemoteEvents.... I can answer it for you... Alright to use Remote Events you can use a OnClientEvent or a OnServerEvent....
OnClientEvent
Fires listening functions in LocalScripts when either FireClient or FireAllClients is called from a Script... So basically you can fire functions in a LocalScript when a :FireClient(player) or :FireAllClients(player) function is called from a ServerScript to that particular RemoteEvent. Make sure you use the Player that the event is getting fired on as an argument oh in a LocalScript you can just call a variable for Player.... something like.... player = game.Players.LocalPlayer
OnServerEvent
Fires listening functions in Scripts when FireServer is called from a LocalScript. So this is basically the other way around you can fire functions in a ServerScript from a LocalScript. In here you could use Player as an argument if you do a PlayerAdded event in the ServerScriptService.... Or whatever function you are using.
Sorry for making it so long and I am so sorry if I over-complicated things if you still have trouble after this session I am sure the Roblox Wiki can explain it better and if you don't want the Wiki to explain it just contact me on Roblox.... My name on Roblox is "KingLoneCat" although that should be plainly obvious I just wanted to point it out to you....
4 comments
You can run the LocalScript in a local Environment, such as inside the Player for example. There should be no need to have a LocalScript in the workspace, as they should be used to change or call things on the client end, therefore needing to be in a local Environment.
Perhaps I didn't word correctly. The localscript is in a local environment (PlayerGui) and I need to find some way to call LoadCharacter with that LocalScript.
Use remote events.
Can you maybe answer regarding how to do this exactly?