Aller au contenu

Skript dead = spectator


Messages recommandés

Posté(e)

Bonjour, aujourd'hui j'ai cherché sur plusieurs site un skript qui quand on meurt, le joueur est en mode spectateur pendant 5 secondes, puis il est téléporté au spawn. Si quelqu'un trouve ou fait ce skript, merci d'avance.

Posté(e)

on death of player:
   set {death_} to location of player
   wait 3 second
   make player execute command "/gamemode 3 %player%"
   teleport player at {death_}
   wait 5 seconds
   send "&c Vous allez être téléporter au hub !" to player #Msg pour avvant la tp Peux etre supprimer
   make player execute command "/hub"   #Commande Pour revenir au spawn
make player execute command "/gamemode 2 %player%" #tu peux choisir le gamemode !!



command /sethub:
   permission: spawn.set
   trigger:
       set {hub.come} to location of player



command /hub:
   trigger:
       teleport player at {hub.come}

 

lache un gros pouce bleu comme un stroumph !

Posté(e)

Plus simple :p

on death of player:
world is "world"
heal victim
execute command "gamemode spectator %player%"
wait 5 seconds
teleport victim to spawn of "world"
execute command "gamemode survival %player%"

Posté(e)
Plus simple :p

on death of player:
world is "world"
heal victim
execute command "gamemode spectator %player%"
wait 5 seconds
teleport victim to spawn of "world"
execute command "gamemode survival %player%"

Assaut53 a mieux compris ce que j'ai demandé, mais Maarfum aussi et c'est beaucoup plus simple, mais celui de Assaut53 saut mettre un /sethub etc... et quand il est mort, il est en spectateur là où il est mort, dans celui de Maarfum, il est en mode spectateur au spawn. Si quelqu'un pourrait modifié le skript de Maarfum pour que quand on est mort, on soit en mode spectateur là où on est mort.

Posté(e)

LOL

 

Tiens la simplicité !

 

on death of player:
   world is "world"
   heal victim
   set {death_} to location of player
   wait 3 second
   execute command "gamemode spectator %player%"
   teleport player at {death_}
   wait 5 seconds
   teleport victim to spawn of "world"
   execute command "gamemode survival %player%"

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.