Farid's snippets [All my previous skript]

  • 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!


Active Member
Feb 5, 2017
I had a lot more files but lost them, here are all my previous work.

Hope you make a use of it, I'm moving on, skript has helped me think like a computer and now it's time to go full advance.

the zip includes 14 different skripts,

guilds, magic, misc, core, levels and much more.

[1.14.4] (9/8/19)

Requires skript-mirror (Latest version), SavageFactions (Could work with any factions plugins)

Place savagefactions.jar inside /plugins/skript-mirror/ so you can import external .jars

    com.massivecraft.factions.FLocation as FLocation
    com.massivecraft.factions.Board as Board

function getFactionAt(p: player) :: text:
    set {_loc} to new FLocation({_p})
    set {_facID} to Board.getInstance().getFactionAt({_loc}).getTag()
    return (uncolored {_facID})
Usage: set {_test} to getFactionAt(player)

Returns wilderness, safezone, warzone or another faction's tag (name of the faction).

You can use this compare if a land at player is claimed, etc.
[doublepost=1568695787][/doublepost]delayTeleport(player, 5, {loc})
Would check if player has moved in the last 5 seconds or so.
Requires skDragon for particles.

function delayTeleport(p: player, duration: integer, destination: location):
    # constructor
    send "&6Teleport commencing. &cDo not move." to {_p}
    set {_s} to 0
    set {_true} to true # do not change this at all.
    drawWarpRings style 1, particle "redstone", RGB 255, 255, 255, center location of {_p}, id "%{_p}%", rainbowMode true, scan true, height 2, radius 0.5, ringCount 40, ringDensity 20, visibleRange 32          
    # player's absolute location. OG position
    set {_x} to x-coordinate of {_p}
    set {_y} to y-coordinate of {_p}
    set {_z} to z-coordinate of {_p}
    while {_true} = true:
        wait 1 second
        if "%x-coordinate of {_p}%" = "%{_x}%":
            if "%y-coordinate of {_p}%" = "%{_y}%":
                if "%z-coordinate of {_p}%" = "%{_z}%":
                    add 1 to {_s}
                    if {_s} >= 5:
                        delete {_true}
                        stopEffect id "%{_p}%"
                        teleport {_p} to {_destination}
                        send "&6Teleport complete. &aYou may move now." to {_p}
                    delete {_true}
                    stopEffect id "%{_p}%"
                    send "&6Teleportation &ccancelled" to {_p}
                delete {_true}
                stopEffect id "%{_p}%"
                send "&6Teleportation &ccancelled" to {_p}
            delete {_true}
            stopEffect id "%{_p}%"
            send "&6Teleportation &ccancelled" to {_p}


  • sk.zip
    20.4 KB · Views: 458
Last edited:
  • Like
Reactions: CustomWorldYT