Paste #73633: HologramMaker

Date: 2020/07/31 19:20:08 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


HologramMaker:
    type: command
    name: hologrammaker
    usage: /hologrammaker [text to be displayed]
    aliases:
    - hmaker
    - hologram
    - holomaker
    - holo
    description: Will make holograms
    permission: moonstone.admin.hologram
    tab completions:
        1: AnyTextHere
    script:
        - if !<player.has_permission[moonstone.admin.hologram]>:
            - stop
        - define message <context.raw_args.parse_color>
        - spawn <entity[armor_stand]> <player.location> save:stand
        - adjust <entry[stand].spawned_entity> visible:false
        - adjust <entry[stand].spawned_entity> custom_name:<[message]>
        - adjust <entry[stand].spawned_entity> custom_name_visible:true