So This is the Sender Client Side Code
game.Worskpace.script.event:FireServer(game:GetService("RunService").RenderStepped)
then the Server Client Script code is
script.RS.OnServerEvent:connect(function(player,RS)
end)
It claims that RS is a nil value, even if I exchange the
game.Worskpace.script.event:FireServer(game:GetService("RunService").RenderStepped)
with
local RS = game:GetService("RunService").RenderStepped
game.Worskpace.script.event:FireServer(RS)
It still says the same error, any suggestions?

5 comments
Why are you trying to pass a service? RenderStepped can only be used in a LocalScript and it's not like this would work at all.
:connect is also deprecated “:Connect”
:connect still works just like :connect, also it's because I'm doing framework to make a mesh be apart of the current camera, and right now it works, but it doesn't work in a server because RenderStepped is only a client side, but your able to get player in a server side script, so why can't u get RenderStepped?
the second time i said connect i meant to say :Connect
So if your able to bring a client side variable(player) then why aren't you able to bring over RenderStepped?