game.ReplicatedStorage.Ragdoll.OnServerEvent:Connect(function() -- so what would I put here to make the person reset when they click the button print("Ragdoll Fired") end)
What are you trying to do firstly, secondly why do you need to fire a remote event just to kill someone? You can easily do that inside the client or server sided. You can kill a player from a local script or a script doesn't matter. Btw the way you kill a player is this.
player.Character.Humanoid.Health = 0
That is all.
Btw you MUST
define player. If it is a local script the player would be defined like this.
local player = game.Players.LocalPlayer
If it is a normal script then it depends on the case.