Guest User

Untitled

a guest
Jun 23rd, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.54 KB | None | 0 0
  1.  -- Player Model
  2.  -- Blocks needed: foot, leg, lowerbody, upperbody, shuolder, arm, hand, neck, head, elbow
  3.  -- Functions needed:
  4.  --newFoot(x,y)
  5.  --newLeg(x,y)
  6.  --newLowerBody(x,y)
  7.  --newUpperBody(x,y)
  8.  --newArm(x,y)
  9.  --newShoulder(x,y)
  10.  --newHand(x,y)
  11.  --newNeck(x,y)
  12.  --newHead(x,y)
  13.  --newElbow(x,y)
  14.  local function newPlayer(x,y)
  15.  
  16.  --Making the feet
  17.  newFoot(x,y)
  18.  x=x+1
  19.  newFoot(x,y)
  20.  x=x+2
  21.  newFoot(x,y)
  22.  x=x+1
  23.  newFoot(x,y)
  24.  x=x-1
  25.  y=y+1
  26.  
  27.  --Making the legs
  28.  newLeg(x,y)
  29.  y=y+1
  30.  newLeg(x,y)
  31.  x=x-1
  32.  newLeg(x,y)
  33.  y=y-1
  34.  newLeg(x,y)
  35.  y=y+2
  36.  
  37.  --Making the lower body
  38.  newLowerBody(x,y)
  39.  x=x+1
  40.  newLowerBody(x,y)
  41.  x=x+1
  42.  newLowerBody(x,y)
  43.  --Going up to the next level
  44.  y=y+1
  45.  x=x-2
  46.  newLowerBody(x,y)
  47.  x=x+1
  48.  newLowerBody(x,y)
  49.  x=x+1
  50.  newLowerBody(x,y)
  51.  
  52.  --Making the upper body
  53.  x=x-2
  54.  y=y+1
  55.  newUpperBody(x,y)
  56.  x=x+1
  57.  newUpperBody(x,y)
  58.  x=x+1
  59.  newUpperBody(x,y)
  60.  x=x-2
  61.  --Going up to the next level
  62.  y=y+1
  63.  newUpperBody(x,y)
  64.  x=x+1
  65.  newUpperBody(x,y)
  66.  x=x+1
  67.  newUpperBody(x,y)
  68.  
  69.  --Making the shoulders
  70.  x=x+1
  71.  newShoulder(x,y)
  72.  x=x-4
  73.  newShoulder(x,y)
  74.  
  75.  --Making the elbows
  76.  x=x-1
  77.  newElbow(x,y)
  78.  x=x+6
  79.  newElbow(x,y)
  80.  
  81.  --Making the arms
  82.  y=y-1
  83.  newArm(x,y)
  84.  x=x-6
  85.  newArm(x,y)
  86.  
  87.  --Making the hands
  88.  y=y-1
  89.  newHand(x,y)
  90.  x=x+6
  91.  newHand(x,y)
  92.  
  93.  --Making the neck
  94.  x=x-4
  95.  y=y+4
  96.  newNeck(x,y)
  97.  
  98.  --Making the head
  99.  x=x-1
  100.  y=y+1
  101.  newHead(x,y)
  102.  x=x+1
  103.  newHead(x,y)
  104.  x=x+1
  105.  newHead(x,y)
  106.  y=y+1
  107.  newHead(x,y)
  108.  x=x-1
  109.  newHead(x,y)
  110.  x=x-1
  111.  newHead(x,y)
  112.  
  113.  end
Add Comment
Please, Sign In to add comment