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.

Solved Giving nearest player effects and other commands

Discussion in 'Skript' started by informerpuppy, Apr 19, 2020.

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

    informerpuppy New Member

    Joined:
    Apr 19, 2020
    Messages:
    8
    Likes Received:
    1
    Skript Version: 2.5-alpha3
    Skript Author: Bensku
    Minecraft Version: 1.14.4

    Code (Text):
    1. command /flytodeath:
    2.     permission: flytodeath.use
    3.     trigger:
    4.         apply levitation 4 to the player for 14 seconds
    5.         wait 15 seconds
    6.         make console execute command "kill %player%"
    I will be putting this command, in a command block where a player will step on a pressure plate, and receive the effects from the command.
    However, I do not know how to do so. Help will be greatly appreciated.

    I tried /flytodeath <player>
    however @p won't work with it.
     
  2. Lego_freak1999

    Lego_freak1999 Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    664
    Likes Received:
    45
  3. informerpuppy

    informerpuppy New Member

    Joined:
    Apr 19, 2020
    Messages:
    8
    Likes Received:
    1
    You're amazing ty
     
    Lego_freak1999 likes this.
Thread Status:
Not open for further replies.

Share This Page

Loading...