I asked this question in the past, but I was unable to successfully make a kill effect. I know how I can make an effect, I’m just not sure how I can trigger one when a player kills an opponent player with their sword
I am using the classic sword/ linked sword.
Any help or guidance would be very appreciated, thanks.
It would go inside of the Blow() function. This is because this function takes the part which the sword hits as a parameter. If you want, here’s the exact code which should work (put this after “character” is declared):
if character:FindFirstChild("Humanoid").Health <= 0 then
--kill effect here
end
sorry for the late reply, so I put a print to test if anything would do anything but i did not get the printed statement when killing a player. I am unsure what I did wrong