#sound
1 messages · Page 1 of 1 (latest)
try this:
play sound "minecraft:item.totem.use"
just i guess prob wrong i am a skript noob
play sound "minecraft:item.totem.use" to attacker
why attacker?
i got it
you guys like it?
if {death::%uuid of victim%::cooldown} is not set or {death::%uuid of victim%::cooldown} is less than now:
set {death::%uuid of victim%::cooldown} to now + 30 seconds
play "item.totem.use" at victim's location with volume 1 and pitch 1
show totem particles at victim's location for 1 second
loop all players in radius 10 around victim:
play "item.totem.use" at loop-player's location with volume 0.5 and pitch 1
send title "&cYOU DIED" with subtitle "" to victim for 5 seconds```
on death of player:
if {death::%uuid of victim%::cooldown} is not set:
set {death::%uuid of victim%::cooldown} to now + 30 seconds
else if {death::%uuid of victim%::cooldown} is less than now:
set {death::%uuid of victim%::cooldown} to now + 30 seconds
can you put it all together please
this is to compliced for me i'm outa here
@pale nebula look
somethings wrong now
if {death::%uuid of victim%::cooldown} is not set:
set {death::%uuid of victim%::cooldown} to now + 30 seconds
else if {death::%uuid of victim%::cooldown} is less than now:
set {death::%uuid of victim%::cooldown} to now + 30 seconds
play "item.totem.use" at victim's location with volume 1 and pitch 1
show totem particles at victim's location for 1 second
loop all players in radius 10 around victim:
play "item.totem.use" at loop-player's location with volume 0.5 and pitch 1
send title "&cYOU DIED" with subtitle "" to victim for 5 seconds```
i have not yet entered the understanding of variables so i can't help
k
where did the sound go
wdym
can you just combine this with mine
play sound "item.totem.use" with volume 0.5 and pitch 1 at loop-player's location
lol when i add things i mess up
on death of player:
if {death::%uuid of victim%::cooldown} is not set:
set {death::%uuid of victim%::cooldown} to now + 30 seconds
else if {death::%uuid of victim%::cooldown} is less than now:
set {death::%uuid of victim%::cooldown} to now + 30 seconds
play sound "item.totem.use" with volume 0.5 and pitch 1 at victim's location
show totem particles at victim's location for 1 second
loop all players in radius 10 around victim:
play sound "item.totem.use" with volume 0.5 and pitch 1 at loop-player's location
send title "&cYOU DIED" with subtitle "" to victim for 5 seconds