No what I mean is the events are in replicated storage I got them mixed up the script Is in server script
Does your explorer look something like this?
Yep thatâs how it looks but with more events
Can you show us what the Local Script looks like then?
Wait I need local script? But how would that work if the life event is in server script
Youâll need to use a Local Script in order to receive the signal. The script is firing off an event, which doesnât do anything if it isnât hooked up to a piece of code to run.
WAIT OOOOOOO I think I understand so the local script would have thd code for what happens and the server calls it
Yup, exactly. Since you didnât have the Local Script, no code is being run, and no camera explosion is being caused.
ok so the Local script would say OnserverEvent?
Since youâre saying FireAllClients in your script, it should be OnClientEvent.
Ok so since all these replies are confusing, let me explain.
a local script would have
remoteEvent:FireServer(arguments)
a server script would have
remoteEvent.OnServerEvent:Connect(function(plr, argument1, argument2)
--code
end)
If you want the other way around then:
a server script would have
remoteEvent:FireClient(plr, argument1, argument2)
a local script would have
remoteEvent.OnClientEvent:Connect(function(argument1, argument2)
--code
end)