This commit is contained in:
Christer Warén
2023-04-23 18:24:30 +03:00
parent 59a800c894
commit 9780aa604b
5 changed files with 34 additions and 24 deletions

View File

@@ -140,7 +140,7 @@ command /kitpvp [<string>] [<string>]:
else if arg-1 is "end":
remove all items from player
clear {kitpvp.%player%.started}
teleport player to world "%player's world%"
teleport player to spawn of "%player's world%"
stop
else:
stop
@@ -151,7 +151,7 @@ command /kitpvp [<string>] [<string>]:
on join:
if player's world is "minigames":
teleport player to world "%player's world%"
teleport player to spawn of "%player's world%"
remove all items from player
set the player's walk speed to 0.2
set slot 7 of player's inventory to 1 of chest named "&fKitPVP"
@@ -163,10 +163,10 @@ on respawn:
stop
on death:
if player's world is "minigames":
remove all items from player
set the player's walk speed to 0.2
clear {kitpvp.%player%.started}
if victim's world is "minigames":
remove all items from victim
set the victim's walk speed to 0.2
clear {kitpvp.%victim%.started}
clear drops
on quit: