Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
shooting yourself with a bow and arrow, falling to your death, drowning, and possibly lavaYou can give some examples of suicide?
Thank you
on damage:
if victim is attacker:
cancel event
Try looking through this resource for custom death messages: https://www.spigotmc.org/resources/death-messages-skript.111568/. It basically replaces every death message so you can go through it and see how to detect if a player dies in a specific way which would then send a corresponding message.im not too sure on how to detect if a player has killed themselves, and i wanted to seek guidance
oh alright, and thanksthis detects if the attacker is the player type the other code below if you have an error send them to me!Code:on death: if attacker is a player: set {_player} to %victim% if %{_player}% is %attacker%:
ty ty, this will help in my future skriptsTry looking through this resource for custom death messages: https://www.spigotmc.org/resources/death-messages-skript.111568/. It basically replaces every death message so you can go through it and see how to detect if a player dies in a specific way which would then send a corresponding message.