I'm making a 'Mystery Mine' game (FilteringEnabled is on of course) and I'm having trouble loading the character. I can't load the character through a LocalScript, I'm not allowed to. I thought of activating a serverscript and then remembered serverscripts can't be in the local player AND LocalScripts can't activate them if they are in workspace because of the inability to load them. I honestly don't know where to go anymore, so I went here. I hope you'll help soon!
chem
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....