DeadZone Community Packages
    Preparing search index...
    • Uses the given spell on the target player with optional delay. Must be called on the ClientThread or it will silently error

      Parameters

      • spellName: string

        the name of the spell

      • player: Player

        the player to interact with

      • Optionaldelay: number

        optional delay, if one isn't supplied it'll execute the first action after API delay

      Returns number

      • a number which is equivalent to the delay used to complete all actions