How do I kill my own character with Filtering Enabled using RemoteEvents?
In the gui button, I did this:
(it's in a localscript)
script.Parent.MouseButton1Click:connect(function()
game.ReplicatedStorage.events.killSelf:FireServer()
end)
Then in the event, I put this:
(normal script)
local healthplayer = game.Players.LocalPlayer.Character.Humanoid
script.Parent.OnServerEvent:connect(function(player)
healthplayer.Health = 0
end)
Why won't it do anything when I click the button though?

3 comments
You can force break a players joins in a local script which will cause the player to die
I edited your title so that it doesnt sound like suicide. Kaythxbye.
you can just reset your character? D: