Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- weapon = 237
- x = 32777
- y = 31249
- z = 7
- registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
- function onWalkerSelectLabel(labelName)
- local func = loadstring(labelName)
- if (func) then func()
- end
- end
- function paj()
- Walker.Stop()
- if(direction == "north") then
- Self.UseItemWithGround(weapon, x, y-1, z)
- end
- if (direction == "south") then
- Self.UseItemWithGround(weapon, x, y+1, z)
- end
- if (direction == "east") then
- Self.UseItemWithGround(weapon, x, y+1, z)
- end
- if (direction == "west") then
- Self.UseItemWithGround(weapon, x, y-1, z)
- end
- Walker.Start()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement