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.

Most efficient way to draw on blocks?

Discussion in 'Skript' started by Hackusater, Aug 12, 2020.

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

    Hackusater Active Member

    Joined:
    Aug 5, 2017
    Messages:
    74
    Likes Received:
    2
    I want to be able to paint in minecraft but I can't figure out a efficient way to draw without gaps in between.

    Here is my skript:

    Code (Text):
    1. on rightclick with shield:
    2.     wait 10 ticks
    3.     while player is blocking:
    4.         test(player)
    5.         wait 1 tick
    6.    
    7. function test(p:player):
    8.     set block at target block of {_p} to stone
    The problem is, there are gaps in between when drawing so I am trying to find a way to make this skript work without gaps, thank you for your help!
    [​IMG]
     
  2. IDuckz_

    IDuckz_ Active Member

    Joined:
    Jul 25, 2019
    Messages:
    106
    Likes Received:
    2
    Remove the "wait 10 ticks" then try again.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...