Firing Remote Events Back And Forth

How would I fire a remote event back and forth?
script:

game.ReplicatedStorage.Name.Place.OnServerEvent:Connect(function()
game.ReplicatedStorage.Name.Place:FireClient()
end)

I made a OnServerEvent function, and inside of that I want it to FireClient but I keep getting errors saying unable to cast value to object.
Is it possible to FireClient Inside A OnServerEvent function?

Yes, you just need the player you want to fire it to.

game.ReplicatedStorage.Name.Place.OnServerEvent:Connect(function(plr)
game.ReplicatedStorage.Name.Place:FireClient(plr)
end)
1 Like

My question is why you want to do this, if it’s for getting data then RemoteFunctions would be a better solution.

1 Like