Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I do from Server to client?

Asked by 4 years ago

I'm having difficulties also in trying to receive signals from the server to the client, how do I do it?

0
RemoteEvents. What's your difficulty? https://developer.roblox.com/en-us/articles/Remote-Functions-and-Events pidgey 548 — 4y
0
like, I already understand to client-server, using fireserver, but what do I use for server-client? shanelaw12 64 — 4y
0
You can use remote events to go from client-server and server-client: https://developer.roblox.com/en-us/articles/Remote-Functions-and-Events Ido_nothaveUsername 213 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

To go from Server to Client you need to use

Server script:

RemoteEvent:FireClient(arguments)

Local script

RemoteEvent.OnClientEvent:Connect(function(arguments)

Im pretty sure you always need to include some sort of argument in "FireClient(arguments)" It hasn't ever worked for me if I haven't included an argument

0
thx shanelaw12 64 — 4y
0
but whats the arguments? shanelaw12 64 — 4y
0
it can be anything really, doesnt need to be an exact argument. also if this helped make sure to mark it as an answer so people know this has been answered ImperiumDomini2 39 — 4y
Ad

Answer this question