Jump to content

nampers

Member
  • Posts

    6
  • Joined

  • Last visited

nampers's Achievements

Lurker

Lurker (1/6)

0

Reputation

  1. I have made a skript where you can create a 1v1 and someone can join it but the 1v1 only shows up for the player that posted it and it only shows up once and I don't know why. I think I need to use a list or a variable. code: command 1v1: aliases: 1 trigger: set {_start1V1} to chest inventory named "&3Open 1v1's" open {_start1V1} to player set slot 26 of {_start1V1} to Lime dye named "&2Create a 1v1" on inventory click: if name of event-inventory = "&3Open 1v1's": if index of event-slot = 26: set {_1v1} to chest inventory named "&3Create a 1v1" set slot 13 of {_1v1} to dirt open {_1v1} to player on inventory click: if name of event-inventory = "&3Create a 1v1": if index of event-slot = 13: set {_start1V1} to chest inventory named "&3Open 1v1's" set slot 2 of {_start1V1} to Magenta dye named "%player%'s 1v1 1/2" open {_start1V1} to player
  2. options: p: {playerCount} on damage: if attacker is a player: if victim is a player: if attacker's tool is iron sword: set {@p} to name of victim send "&dSakura &7➜ &2You hit &c%{@p}% &2for &c%damage% damage &a(Their current health is: &2%health of victim%)" to attacker on death: if attacker is a player: if victim is a player: if attacker's tool is iron sword: set {@p} to name of victim set death message to "&dSakura &7➜ &2You have &ckilled &2%{@p}%&a!" command log: aliases: l trigger: send "&aYour &cdamage &ahistory with: &c%{@p}%" to player loop {damageCount::*}: send "&cDamage: %{damageCount::loop-value}% &aPlayer's Health: %{heatlhCount::loop-value}%" to player delete {damageCount::*} delete {healthCount::*}
  3. code: on rightclick holding sword: if name of player's tool is "&c&lRoyal &7&lScepter": play mob spawner flames at position of player to the player set {makedamage} to true wait 10 second set {makedamage} to false every 3 ticks: loop all players: if {makedamage} is true: damage all players in radius 300 of loop-player where [input is not loop-player] by 2
×
×
  • Create New...