Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function SpawnReparador(p: player):
- spawn a villager at location of {_p}
- set name of last spawned villager to "&6&lReparador"
- add "{NoAI:1}" to nbt of last spawned villager
- add "{Gravity:1}" to nbt of last spawned villager
- function RemoveReparador(p: player):
- loop all entities:
- if name of loop-entity is "&6&lReparador":
- clear loop-entity
- command /spawnarreparador:
- trigger:
- SpawnReparador(player)
- command /despawnarreparador:
- trigger:
- RemoveReparador(player)
Advertisement
Add Comment
Please, Sign In to add comment