Make a Title to all players on Death Event

  • Welcome to skUnity!

    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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Rehen

Member
Aug 12, 2022
1
0
1
23
Hi, i try to make a "all players" in a death event, but this don't works, ¿how i can make that function for this?

```send all players title "Test" for 1 second```

but i have this error ```attacker' and/or 'victim' in damage/death events```
[doublepost=1660281625,1660275180][/doublepost]I tried with this new code and i have the same error

if damage was caused by fall:
if victim is player:
set {jugadores} to true


If {jugadores} is true:
loop all players:
send loop-player’s tittle “Test” for 1 second
set {jugadores} to false
stop
 
The original code will work just reword it:

on death:
if damage is caused by fall:
if victim is a player:
send title "hi" to all players for 5 seconds
 
Status
Not open for further replies.