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 our 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.

I need help for my animated text script.

Discussion in 'Skript' started by HerrUngelachtHD, Aug 11, 2019.

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

    Joined:
    Jun 25, 2019
    Messages:
    2
    Likes Received:
    0
    Hello i need help for this skript.
    ::>
    Code (Text):
    1. function anitext(t: text):
    2.     loop 100 times:
    3.         send " "
    4.     send "{_t}"
    5.     wait 4 tick
    6.  
    7. command /tutorial:
    8.     trigger:
    9.         anitext("W")
    10.         anitext("WE")
    11.         anitext("WEL")
    12.         anitext("WELC")
    13.         anitext("WELCO")
    14.         anitext("WELCOM")
    15.         anitext("WELCOME")
    When i reload this script this error are showen:
    [​IMG]


    This plugins i use on my Server:
    ------------------------------------------
    Skript
    SkQuery
    SkAction
    ProtocolLib
    SkMorkaz
    SkStuff
    skRayFall
    WildSkript
    PirateSK
    skUtilities
    Skungee
    SkExtras
    RandomSK
    Skellett
    Umbaska
    SharpSK
    ------------------------------------------
    Server Version: 1.8.8

    Thank's
    ~ Alexander
     
  2. TPGamesNL

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    1,311
    Likes Received:
    73
    Medals:
    You're probably using a very outdated version of Skript. Use 2.2-dev36 for 1.8.8
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    I think the issue is the function doesn't know whom to send the message to .... Id recommend adding the player as a parameter to your function.
     
  4. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    406
    Likes Received:
    14
    Try:
    Code (Skript):
    1.  
    2. function anitext(t: text, p: player):
    3.     loop 100 times:
    4.         send " " to {_p}
    5.     send "%{_t}%" to {_p}
    6.     wait 4 tick
    7.  
    8. command /tutorial:
    9.     trigger:
    10.         anitext("W", player)
    11.         anitext("WE", player)
    12.         anitext("WEL", player)
    13.         anitext("WELC", player)
    14.         anitext("WELCO", player)
    15.         anitext("WELCOM", player)
    16.         anitext("WELCOME", player)
     
Thread Status:
Not open for further replies.
Loading...