MouseData.OnClientInvoke = function()
return {
Value = x,
Value2 = y
};
end;
How exactly would I be able to use this in a server script? Really new to remotefunctions
MouseData.OnClientInvoke = function()
return {
Value = x,
Value2 = y
};
end;
How exactly would I be able to use this in a server script? Really new to remotefunctions
The server script would probably look like this:
local values = MouseData:InvokeClient(player)
print(values.Value, values.Value2)
The returned values will be in the exact same order and layout as you had returned from the client
Yeah i figured soon after actually trying haha but thanks
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.