Guest User

Untitled

a guest
Jan 12th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. me = game.Players:findFirstChild("xSoulStealerx")
  2. torso = me.Character.Torso
  3.  
  4. colors = {"Bright green", "Bright red"}
  5.  
  6. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor,form)
  7. part.Parent = parent
  8. part.formFactor = form
  9. part.CanCollide = collide
  10. part.Transparency = tran
  11. part.Reflectance = ref
  12. part.Size = Vector3.new(x,y,z)
  13. part.BrickColor = BrickColor.new(color)
  14. part.TopSurface = 0
  15. part.BottomSurface = 0
  16. part.Anchored = anchor
  17. part:BreakJoints()
  18. end
  19.  
  20. function weld(w, p, p0, p1, a, b, c, x, y, z)
  21. w.Parent = p
  22. w.Part0 = p0
  23. w.Part1 = p1
  24. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  25. end
  26.  
  27. function mesh(mesh, parent, x, y, z, type)
  28. mesh.Parent = parent
  29. mesh.Scale = Vector3.new(x, y, z)
  30. mesh.MeshType = type
  31. end
  32.  
  33.  
  34. back = Instance.new("Model",me.Character)
  35. back.Name = "Apples"
  36.  
  37. for i = -0.6, -1.8, -1.1 do
  38. local b = Instance.new("Part")
  39. prop(b,back,true,0,0,2.1,2.5,0.2,"Brown",false,"Custom")
  40. local mw = Instance.new("Weld")
  41. weld(mw,torso,torso,b,0,0,0,0,0.2,i)
  42. end
  43.  
  44. for i = -1, 1, 2 do
  45. local b = Instance.new("Part")
  46. prop(b,back,true,0,0,0.2,2.5,1.2,"Brown",false,"Custom")
  47. local mw = Instance.new("Weld")
  48. weld(mw,torso,torso,b,0,0,0,i,0.2,-1.2)
  49. end
  50.  
  51. local lol = Instance.new("Part")
  52. prop(lol,back,true,0,0,2,0.2,1.2,"Brown",false,"Custom")
  53. local mwl = Instance.new("Weld")
  54. weld(mwl,torso,torso,lol,0,0,0,0,1.45,-1.2)
  55.  
  56. for i = -0.75, 0.75, 1.5 do
  57. local xd = Instance.new("Part")
  58. prop(xd,back,true,0,0,0.3,2,1.1,"Brown",false,"Custom")
  59. local m = Instance.new("Weld")
  60. weld(m,torso,torso,xd,0,0,i/4.5,i,-0.05,0)
  61. end
  62.  
  63. posy1 = -4
  64. posy2 = 11
  65. posx1 = -6
  66. posx2 = 6
  67. posz1 = -13
  68. posz2 = -10
  69.  
  70. for i=1,math.random(7,12) do
  71. local xd = Instance.new("Part")
  72. prop(xd,back,true,0,0,0.3,2,1.1,"Brown",false,"Custom")
  73. local m = Instance.new("Weld")
  74. weld(m,torso,torso,xd,0,0,0,0,0,0,0,0)
  75. local mah = Instance.new("SpecialMesh")
  76. local lol = math.random(9,15)/10
  77. mesh(mah,xd,lol,lol,lol,"FileMesh")
  78. mah.MeshId = "http://www.roblox.com/asset/?id=16190555"
  79. xd.BrickColor = BrickColor.new(colors[math.random(1,#colors)])
  80. end
Add Comment
Please, Sign In to add comment