If you put a repeating command block 2 blocks under the spawn that has the command. /testfor @a[r=3] then /testfor @a[r=3]
, then a redstone comparator next to it pointing outwards to an impulse command block that has the command /give @a[x=X coordinate of spawn,y=Y coordinate of spawn,Z coordinate of spawn/give @a[x=X coordinate of spawn,y=Y coordinate of spawn,Z coordinate of spawn,r=1] wooden_sword
,r=1] wooden_sword Then then it should give all players at spawn a wooden sword.
arghtype
- 14.2k
- 17
- 68
- 109