Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Can I call a remote event from server to local?

So, as you know, remote events can let functions go from local to server.

But, is it possible for me to go from server to local?

This is for an anti-exploit script I thought of.

1 answer

✓ Accepted answer

You can still use remote events for this, just you have to use a method, to fire the event, use either

Event:FireClient(plr,...)

or

Event:FireAllClients(...)

the first one firing it to the specified player, the 2nd one firing it to all players

On the client side, the recieveing end is the same for both, being

Event.OnClientEvent:Connect(function(...))

Hopefully this helped!

1 comment

0

Yes. Exactly what I needed. Thank you!

This discussion is preserved as it was. New answers, comments, and votes are closed.