1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Freeze Skript

Discussion in 'Skript' started by MuffinEmoji, Jul 11, 2017.

Thread Status:
Not open for further replies.
  1. MuffinEmoji

    MuffinEmoji Member

    Joined:
    Jun 28, 2017
    Messages:
    4
    Likes Received:
    0
    Does someone have a freeze skript? (Freeze skript which freezes a player when types /freeze (player) so he cant move, and if he logout he will get banned)

    I've tried myself, but i get it wrong everytime.. Im not a professional skripter .-.
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    This belongs in requests but heres more or less what i think you want:
    Code (Skript):
    1. command /freeze [<player=%player%]:
    2.     trigger:
    3.         set arg-1's walk speed to 0
    4.         set {freezed::%player%} to true
    5.  
    6. on quit:
    7.     if {freezed::%player%} is true:
    8.         ban player because "some reason"
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Thank you! :emoji_slight_smile: Yes i found it belonged to requests.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...