#Fireserver issue

1 messages · Page 1 of 1 (latest)

mint ravine
#

So I am trying to save data, but the data is on a localscript.
I am firing the data from the local script to a normal data saving script in serverscriptservice, and it works
But to get the player's data I need the player, and I can't get the player unless I get it from the brackets which I don't know how to do

How do I access the server on another script?

wanton elm
#

remoteevent.OnServerInvoke(function(Player, ...)
Function(Player, ...)
end)

#

or just
remoteevent.OnServerInvoke(Function)

#

@mint ravine

#

@mint ravine

sand flume
#

i think wrong thread

wheat knot
#

yeah oops

timid kite
wanton elm
#

fuck

#

that's function

#

💔

#

and i connected it wrong

#

💔

#

remoteevent.OnServerEvent:Connect(function(Player, ...)
Function(Player, ...)
end)

#

there

mint ravine
#

Uhh

#

mY friend has been teaching me this whole time
Sorry chat

stiff mist
#

it sends already

#

if you do :FireServer() then function in server will look like that (function(Player)