realRoforbYT
Forum adept
- Joined
- Oct 6, 2020
- Messages
- 254
- Reaction score
- 31
I want to add custom random death messages to Upgrade PvP but I don’t know how.
or %index(deathMessagesList, 1)- Create a list named deathMessagesList when a player joins, and put every text variable in the chest that you want to use (write %killer and %victim instead of player names)
- On a player kill event, sort the list randomly and store the value at the first index of it in a variable (name it deathMessage for example), then send the variable to every player as a message
- Done
why did you just reply on a 1 month old threador %index(deathMessagesList, 1)