I'm trying to make my game filtering enabled, but I'm having a whole lot of troubles with remoteevents.
Let's say I wanted to do a 'Damage' event. I tried this script:
script.Damage.OnServerEvent:connect(function(player,value)
game.Players[player].Character.Humanoid.Health = game.Players[player].Character.Humanoid.Health - value
end)
Now, that wouldn't work, because player and value would be the same thing, leading me to my question. How would I add arguments to a remote event?
I can't seem to get this one. All help appreciated!

1 comment
Added a code block