I made a mistake when posting the situation. Sorry!
So I have a LocalScript in StarterGui, a RemoteEvent in ReplicatedStorage, and a Script in ServerScriptService
LocalScript:
game.ReplicatedStorage.RemoteEvent:FireServer("foo","bar")
Script:
game.ReplicatedStorage.RemoteEvent.OnServerEvent:connect(function(player,var1,var2)
print(var1,var2)
end)
I check my server output on play solo, but for some reason nothing gets printed to the output. Why is this happening?
|