skdragon particles not showing

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Mar 18, 2021
16
0
1
25
Code:
# AMONG US

on region enter:
    wait 4 ticks
    if "%region at player%" contains "scan-skeld":
        make player execute command "/task scan"



on any movement:
    if {scan.%player%} is true:
        cancel event


# TASKS

command /task <text>:
    trigger:
        if arg-1 is "scan":
            if {scan} is false:
                if "%{tasks.%player%::*}%" contain "scan":
                    if {scanned.%player%} is false:
                        teleport player to {scanarea.%world%}
                        set {scan} to true
                        set {scan.%player%} to true
                        drawWarpRings style 1, particle "redstone", speed 10, RGB 47, 255, 0, center player, id "%player%.scan", rainbowMode false, scan true, height 2, radius 1.4, ringCount 40, ringDensity 20, visibleRange 32, pulseDelay 2
                        wait 8 seconds
                        set {scan.%player%} to false
                        stopEffect id "%player%.scan"
                        set {scan} to false
                        set {scanned.%player%} to true
            
# taskchooser

command /taskchooser <player> <text>:
    permission: foxscape.amongus.taskchooser
    trigger:
        if arg-2 is "clear":
            clear {tasks.%arg-1%::*}
            send "&6FoxScape >> &fcleared %arg-1%'s tasks"
        if arg-2 is "scan":
            add "scan" to {tasks.%arg-1%::*}
            send "&6FoxScape >> &fadded scan to %arg-1%'s tasks"
        if arg-2 is "wires":
            add "wires" to {tasks.%arg-1%::*}
            send "&6FoxScape >> &fadded wires to %arg-1%'s tasks"
# taskplace

command /taskplace <text>:
    permission: foxscape.amongus.taskplace
    trigger:
        if arg-1 is "scan":
            set {scanarea.%world%} to location of player
            set {cords1} to location of player
            send "&6FoxScape >> &fSet scan task to %{cords1}%"

# taskreset

command /taskreset:
    permission: foxscape.amongus.taskreset
    trigger:
        loop all players:
            set {scan} to false
            clear {tasks.%loop-player%}
            set {scanned.%loop-player%} to false
            send "&6FoxScape >> &fReset all tasks"

on join:
    set {scanned.%player%} to false

# impchooser

command /impchooser:
    permission: foxscape.amongus.impchooser
    trigger:
        loop all players in world "amongusskeld":
            set {imp/crew.%loop-player%} to "&7Crewmate"
            set {_player} to random element of all players in world "amongusskeld"
            set {imp/crew.%{_player}%} to "&4Imposter"

command /gameend:
    permission: foxscape.amongus.gameend
    trigger:
        loop all players in world "amongusskeld":
            set {imp/crew.%loop-player%} to "&7Game not started"

on world change:
    if player's world is "amongusskeld":
        set {imp/crew.%player%} to "&7Game not started"


Code:
command /task <text>:
    trigger:
        if arg-1 is "scan":
            if {scan} is false:
                if "%{tasks.%player%::*}%" contain "scan":
                    if {scanned.%player%} is false:
                        teleport player to {scanarea.%world%}
                        set {scan} to true
                        set {scan.%player%} to true
                        drawWarpRings style 1, particle "redstone", speed 10, RGB 47, 255, 0, center player, id "%player%.scan", rainbowMode false, scan true, height 2, radius 1.4, ringCount 40, ringDensity 20, visibleRange 32, pulseDelay 2
                        wait 8 seconds
                        set {scan.%player%} to false
                        stopEffect id "%player%.scan"
                        set {scan} to false
                        set {scanned.%player%} to true

i cant seem to get it to work no matter what i do if anyone knows a solution pls tell me
[doublepost=1620923388,1617545209][/doublepost]for some reason it works
[doublepost=1620923424][/doublepost]now
 
Status
Not open for further replies.