I have this script:
but the /spawnbrentity command wont show in mc and when i try to run it it says that the command does not exist.
Code:
variables:
{brSpawnLoc} = 0
command /setbackroomsloc:
permission: setbrloc
trigger:
set {brSpawnLoc} to location of player
send "&bBackrooms spawn loc is now %{brSpawnLoc}%"
on death of wither skeleton:
if name of victim is "&0&lEntity":
spawn wither skeleton named "&0&lEntity" at {spawnLoc}
set max health of last spawned entity to 999
set health of last spawned entity to 999
set movement speed of last spawned entity to 0.5
set attack damage of last spawned entity to 50
command /spawnbrentity:
permission: backrooms.spawn
trigger:
spawn wither skeleton named "&0&lEntity" at {brSpawnLoc}
set max health of last spawned entity to 999
set health of last spawned entity to 999
set movement speed of last spawned entity to 0.5
set attack damage of last spawned entity to 50
send "&0&lEntity&b was spawned at %{brSpawnLoc}%"
but the /spawnbrentity command wont show in mc and when i try to run it it says that the command does not exist.