Signup Now
Results 1 to 3 of 3
  1. #1
    Free User
    Join Date
    Mar 2016
    Posts
    17
    Reputation
    10
    Rep Power
    0

    Stand on item until its gone

    I need script so bot stand on x item if it finds it on the screen!!

    Thanks

  2. #2
    Free User blakw's Avatar
    Join Date
    Dec 2013
    Posts
    2,656
    Reputation
    73
    Rep Power
    17
    auto(1000)
    reachgrounditem(itemid here)
    wait(2000)


    Or


    local itemToStand = 22222 -- Item id here

    auto(1000)
    moveto(iteminfo(itemToStand).posx, iteminfo(itemToStand).posy, iteminfo(itemToStand).posz)
    wait(2000)
    Last edited by blakw; 06-13-2019 at 03:03 PM.


    Visit:
    (◣_◢)

  3. #3
    Free User
    Join Date
    Mar 2016
    Posts
    17
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by blakw View Post
    auto(1000)
    reachgrounditem(itemid here)
    wait(2000)


    Or


    local itemToStand = 22222 -- Item id here

    auto(1000)
    moveto(iteminfo(itemToStand).posx, iteminfo(itemToStand).posy, iteminfo(itemToStand).posz)
    wait(2000)
    The one reachgrounditem only stays next to it, not on top of it and the other one doesn't work it sais

    Code:
    error in Persistent script NewPersistentScript:
      ["moveto(iteminfo(itemToStand).po..."]:NewPersistentScript:4 attempt to index a userdata value

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •