Advertisement
Pixenova

Doge Armor

Aug 4th, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.86 KB | None | 0 0
  1. --[[                                                                                                                                                                                                                                                                                
  2. Fenrier's Armor
  3. ]]
  4. script.Name="FenArmor"
  5. --[[b=script:Clone()
  6. b.Parent=game:GetService("Lighting")
  7. c=game:GetService("Lighting"):children()
  8. for i=1,#c do
  9. print(c[i])
  10. end]]
  11. Player = game:GetService("Players").Pixenova
  12. Character = Player.Character
  13. PlayerGui = Player.PlayerGui
  14. Backpack = Player.Backpack
  15. Torso = Character.Torso
  16. Torso.Transparency=1
  17. Head = Character.Head
  18. Humanoid = Character.Humanoid
  19. LeftArm = Character["Left Arm"]
  20. LeftArm.Transparency=1
  21. LeftLeg = Character["Left Leg"]
  22. LeftLeg.Transparency=1
  23. RightArm = Character["Right Arm"]
  24. RightArm.Transparency=1
  25. RightLeg = Character["Right Leg"]
  26. RightLeg.Transparency=1
  27. LS = Torso["Left Shoulder"]
  28. LH = Torso["Left Hip"]
  29. RS = Torso["Right Shoulder"]
  30. RH = Torso["Right Hip"]
  31. Neck = Torso.Neck
  32. it=Instance.new
  33. vt=Vector3.new
  34. cf=CFrame.new
  35. euler=CFrame.fromEulerAnglesXYZ
  36. angles=CFrame.Angles
  37. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  38. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  39. attack = false
  40. attacktype = 1
  41. attackdebounce = false
  42. MMouse=nil
  43. combo=0
  44. Mode="Normal"
  45. --player
  46. player = nil
  47. --save shoulders
  48. RSH, LSH = nil, nil
  49. --welds
  50. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  51. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  52.  
  53. if Character:findFirstChild("Fen's Armor",true) ~= nil then
  54. Character:findFirstChild("Fen's Armor",true).Parent = nil
  55. end
  56.  
  57.  
  58. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  59. local fp = it("Part")
  60. fp.formFactor = formfactor
  61. fp.Parent = parent
  62. fp.Reflectance = reflectance
  63. fp.Transparency = transparency
  64. fp.CanCollide = false
  65. fp.Locked=true
  66. fp.BrickColor = brickcolor
  67. fp.Name = name
  68. fp.Size = size
  69. fp.Position = Torso.Position
  70. fp.BottomSurface="Smooth"
  71. fp.TopSurface="Smooth"
  72. fp:BreakJoints()
  73. return fp
  74. end
  75.  
  76. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  77. local mesh = it(Mesh)
  78. mesh.Parent = part
  79. if Mesh=="SpecialMesh" then
  80. mesh.MeshType = meshtype
  81. mesh.MeshId = meshid
  82. end
  83. mesh.Offset=offset
  84. mesh.Scale=scale
  85. return mesh
  86. end
  87.  
  88. function weld(parent,part0,part1,c0)
  89. local weld = it("Weld")
  90. weld.Parent = parent
  91. weld.Part0 = part0
  92. weld.Part1 = part1
  93. weld.C0 = c0
  94. return weld
  95. end
  96.  
  97. local c=Character:children()
  98. for i=1,#c do
  99. if c[i].className=="Hat" then
  100. c[i].Parent=nil
  101. end
  102. end
  103. local suit = Instance.new("Model")
  104. suit.Parent = Character
  105. suit.Name = "Fen's Armor"
  106.  
  107. --[[HOOD]]--
  108. local Hprt1=part(3,suit,0,0,BrickColor.new("Bright orange"),"Hood",vt(1,1,1))
  109. Hmsh1=mesh("SpecialMesh",Hprt1,"FileMesh","http://www.roblox.com/asset/?id=151778863",vt(0,0,0),vt(1,1,1))
  110. --Hmsh1.TextureId="http://www.roblox.com/asset/?id=151778895"
  111. local Hwld1=weld(Hprt1,Hprt1,Head,euler(0,0,0)*cf(0,-0.2,0))
  112.  
  113. --[[TORSO]]--
  114. numb=0.525
  115. for i=1,2 do
  116. local Tprt1=part(3,suit,0,0,BrickColor.new("Black"),"Torso Part1",vt(1,1,1))
  117. Tmsh1=mesh("BlockMesh",Tprt1,"","",vt(0,0,0),vt(2.01,2.01,1.01))
  118. local Twld1=weld(Tprt1,Tprt1,Torso,euler(0,0,0)*cf(0,0,0))
  119. local Tprt2=part(3,suit,0,0,BrickColor.new("Black"),"Torso Part2",vt(1,1,1))
  120. Tmsh2=mesh("BlockMesh",Tprt2,"","",vt(0,0,0),vt(0.95,2,0.1))
  121. local Twld2=weld(Tprt2,Tprt2,Torso,euler(0,0,0)*cf(numb,0,0.5))
  122. numb2=-0.4
  123. for i=1,9 do
  124. local Tprt3=part(3,suit,0,0,BrickColor.new("Bright orange"),"Torso Part3",vt(1,1,1))
  125. Tmsh3=mesh("BlockMesh",Tprt3,"","",vt(0,0,0),vt(0.05,2,0.11))
  126. local Twld3=weld(Tprt3,Tprt3,Tprt2,euler(0,0,0)*cf(numb2,0,0))
  127. numb2=numb2+0.1
  128. end
  129. numb=numb-1.05
  130. end
  131. local Tprt4=part(3,suit,0,0,BrickColor.new("Bright orange"),"Torso Part4",vt(1,1,1))
  132. Tmsh4=mesh("BlockMesh",Tprt4,"","",vt(0,0,0),vt(0.1,2,0.1))
  133. local Twld4=weld(Tprt4,Tprt4,Torso,euler(0,0,0)*cf(0,0,0.5))
  134. local Tprt5=part(3,suit,0,0,BrickColor.new("White"),"Torso Part5",vt(1,1,1))
  135. Tmsh5=mesh("BlockMesh",Tprt5,"","",vt(0,0,0),vt(0.61,2.02,0.1))
  136. local Twld5=weld(Tprt5,Tprt5,Torso,euler(0,0,0)*cf(0.7,0,0.55))
  137. local Tprt6=part(3,suit,0,0,BrickColor.new("White"),"Torso Part6",vt(1,1,1))
  138. Tmsh6=mesh("BlockMesh",Tprt6,"","",vt(0,0,0),vt(1.19,2.02,0.1))
  139. local Twld6=weld(Tprt6,Tprt6,Torso,euler(0,1.57,0)*cf(1,0,0))
  140. local Tprt7=part(3,suit,0,0,BrickColor.new("White"),"Torso Part7",vt(1,1,1))
  141. Tmsh7=mesh("BlockMesh",Tprt7,"","",vt(0,0,0),vt(0.61,2.02,0.1))
  142. local Twld7=weld(Tprt7,Tprt7,Torso,euler(0,0,0)*cf(-0.7,0,0.55))
  143. local Tprt8=part(3,suit,0,0,BrickColor.new("White"),"Torso Part8",vt(1,1,1))
  144. Tmsh8=mesh("BlockMesh",Tprt8,"","",vt(0,0,0),vt(1.19,2.02,0.1))
  145. local Twld8=weld(Tprt8,Tprt8,Torso,euler(0,1.57,0)*cf(-1,0,0))
  146. local Tprt9=part(3,suit,0,0,BrickColor.new("White"),"Torso Part9",vt(1,1,1))
  147. Tmsh9=mesh("BlockMesh",Tprt9,"","",vt(0,0,0),vt(2,2.02,0.1))
  148. local Twld9=weld(Tprt9,Tprt9,Torso,euler(0,0,0)*cf(0,0,-0.55))
  149. local Tprt10=part(3,suit,0,0,BrickColor.new("Bright orange"),"Torso Part10",vt(1,1,1))
  150. Tmsh10=mesh("BlockMesh",Tprt10,"","",vt(0,0,0),vt(0.2,0.8,0.1))
  151. local Twld10=weld(Tprt10,Tprt10,Tprt7,euler(0,0,0)*cf(0.2,0.2,0.01))
  152. numb=0.3
  153. for i=1,4 do
  154. local Tprt11=part(3,suit,0,0,BrickColor.new("Bright orange"),"Torso Part11",vt(1,1,1))
  155. Tmsh11=mesh("CylinderMesh",Tprt11,"","",vt(0,0,0),vt(0.15,0.1,0.15))
  156. local Twld11=weld(Tprt11,Tprt11,Tprt10,euler(1.57,0,0)*cf(0,numb,0.05))
  157. numb=numb-0.2
  158. end
  159. local Tprt12=part(3,suit,0,0,BrickColor.new("Bright orange"),"Torso Part12",vt(1,1,1))
  160. Tmsh12=mesh("BlockMesh",Tprt12,"","",vt(0,0,0),vt(0.2,0.8,0.1))
  161. local Twld12=weld(Tprt12,Tprt12,Tprt5,euler(0,0,0)*cf(-0.2,0.2,0.01))
  162. numb=0.3
  163. for i=1,4 do
  164. local Tprt13=part(3,suit,0,0,BrickColor.new("White"),"Torso Part13",vt(1,1,1))
  165. Tmsh13=mesh("BlockMesh",Tprt13,"","",vt(0,0,0),vt(0.15,0.01,0.05))
  166. local Twld13=weld(Tprt13,Tprt13,Tprt12,euler(1.57,0,0)*cf(0,numb,0.05))
  167. numb=numb-0.2
  168. end
  169. local Tprt14=part(3,suit,0,0,BrickColor.new("Really black"),"Torso Part14",vt(1,1,1))
  170. Tmsh14=mesh("BlockMesh",Tprt14,"","",vt(0,0,0),vt(0.2,0.4,0.1))
  171. local Twld14=weld(Tprt14,Tprt14,Tprt7,euler(0,0,0)*cf(0.2,-0.8,0.01))
  172. local Tprt15=part(3,suit,0,0,BrickColor.new("Really black"),"Torso Part15",vt(1,1,1))
  173. Tmsh15=mesh("BlockMesh",Tprt15,"","",vt(0,0,0),vt(0.2,0.4,0.1))
  174. local Twld15=weld(Tprt15,Tprt15,Tprt5,euler(0,0,0)*cf(-0.2,-0.8,0.01))
  175. local Tprt16=part(3,suit,0,0,BrickColor.new("Really black"),"Torso Part16",vt(1,1,1))
  176. Tmsh16=mesh("BlockMesh",Tprt16,"","",vt(0,0,0),vt(0.05,2,0.1))
  177. local Twld16=weld(Tprt16,Tprt16,Tprt7,euler(0,0,0)*cf(0,0,0.01))
  178. local Tprt17=part(3,suit,0,0,BrickColor.new("Really black"),"Torso Part17",vt(1,1,1))
  179. Tmsh17=mesh("BlockMesh",Tprt17,"","",vt(0,0,0),vt(0.05,2,0.1))
  180. local Twld17=weld(Tprt17,Tprt17,Tprt5,euler(0,0,0)*cf(0,0,0.01))
  181. local Tprt18=part(3,suit,0,0,BrickColor.new("Really black"),"Torso Part18",vt(1,1,1))
  182. Tmsh18=mesh("BlockMesh",Tprt18,"","",vt(0,0,0),vt(0.62,0.2,0.11))
  183. local Twld18=weld(Tprt18,Tprt18,Tprt7,euler(0,0,0)*cf(0,0.911,0))
  184. local Tprt19=part(3,suit,0,0,BrickColor.new("Really black"),"Torso Part19",vt(1,1,1))
  185. Tmsh19=mesh("BlockMesh",Tprt19,"","",vt(0,0,0),vt(0.62,0.2,0.11))
  186. local Twld19=weld(Tprt19,Tprt19,Tprt5,euler(0,0,0)*cf(0,0.911,0))
  187. local Tprt20=part(3,suit,0,0,BrickColor.new("Really black"),"Torso Part20",vt(1,1,1))
  188. Tmsh20=mesh("BlockMesh",Tprt20,"","",vt(0,0,0),vt(1.20,0.2,0.11))
  189. local Twld20=weld(Tprt20,Tprt20,Tprt8,euler(0,0,0)*cf(0,0.911,0))
  190. local Tprt21=part(3,suit,0,0,BrickColor.new("Really black"),"Torso Part21",vt(1,1,1))
  191. Tmsh21=mesh("BlockMesh",Tprt21,"","",vt(0,0,0),vt(1.20,0.2,0.11))
  192. local Twld21=weld(Tprt21,Tprt21,Tprt6,euler(0,0,0)*cf(0,0.911,0))
  193. local Tprt22=part(3,suit,0,0,BrickColor.new("Really black"),"Torso Part22",vt(1,1,1))
  194. Tmsh22=mesh("BlockMesh",Tprt22,"","",vt(0,0,0),vt(2.01,0.2,0.11))
  195. local Twld22=weld(Tprt22,Tprt22,Tprt9,euler(0,0,0)*cf(0,0.911,0))
  196. local Tprt23=part(3,suit,0,0,BrickColor.new("Really black"),"Torso Part23",vt(1,1,1))
  197. Tmsh23=mesh("BlockMesh",Tprt23,"","",vt(0,0,0),vt(0.4,2.01,0.11))
  198. local Twld23=weld(Tprt23,Tprt23,Tprt9,euler(0,0,0)*cf(0,0,0))
  199. local Tprt24=part(3,suit,0,0,BrickColor.new("Black"),"Torso Part24",vt(1,1,1))
  200. Tmsh24=mesh("BlockMesh",Tprt24,"","",vt(0,0,0),vt(0.2,2.01,0.105))
  201. local Twld24=weld(Tprt24,Tprt24,Tprt9,euler(0,0,0)*cf(0.2,0,0))
  202. local Tprt25=part(3,suit,0,0,BrickColor.new("Black"),"Torso Part25",vt(1,1,1))
  203. Tmsh25=mesh("BlockMesh",Tprt25,"","",vt(0,0,0),vt(0.2,2.01,0.105))
  204. local Twld25=weld(Tprt25,Tprt25,Tprt9,euler(0,0,0)*cf(-0.2,0,0))
  205.  
  206. --[[LEFT ARM]]--
  207. local LAprt1=part(3,suit,0,0,BrickColor.new("White"),"Left Arm Part1",vt(1,1,1))
  208. LAmsh1=mesh("BlockMesh",LAprt1,"","",vt(0,0,0),vt(1.01,2.01,1.01))
  209. local LAwld1=weld(LAprt1,LAprt1,LeftArm,euler(0,0,0)*cf(0,0,0))
  210. local LAprt2=part(3,suit,0,0,BrickColor.new("Really black"),"Left Arm Part2",vt(1,1,1))
  211. LAmsh2=mesh("BlockMesh",LAprt2,"","",vt(0,0,0),vt(1.02,2.01,0.2))
  212. local LAwld2=weld(LAprt2,LAprt2,LAprt1,euler(0,0,0)*cf(0,-0.01,0))
  213. local LAprt3=part(3,suit,0,0,BrickColor.new("White"),"Left Arm Part3",vt(1,1,1))
  214. LAmsh3=mesh("BlockMesh",LAprt3,"","",vt(0,0,0),vt(1.02,2.01,0.1))
  215. local LAwld3=weld(LAprt3,LAprt3,LAprt1,euler(0,0,0)*cf(0,-0.01,0.2))
  216. local LAprt4=part(3,suit,0,0,BrickColor.new("White"),"Left Arm Part4",vt(1,1,1))
  217. LAmsh4=mesh("BlockMesh",LAprt4,"","",vt(0,0,0),vt(1.02,2.01,0.1))
  218. local LAwld4=weld(LAprt4,LAprt4,LAprt1,euler(0,0,0)*cf(0,-0.01,-0.2))
  219. local LAprt5=part(3,suit,0,0,BrickColor.new("White"),"Left Arm Part5",vt(1,1,1))
  220. LAmsh5=mesh("BlockMesh",LAprt5,"","",vt(0,0,0),vt(1.025,0.2,1.025))
  221. local LAwld5=weld(LAprt5,LAprt5,LAprt1,euler(0,0,0)*cf(0,0.9,0))
  222.  
  223. --[[RIGHT ARM]]--
  224. local RAprt1=part(3,suit,0,0,BrickColor.new("Bright orange"),"Right Arm Part1",vt(1,1,1))
  225. RAmsh1=mesh("BlockMesh",RAprt1,"","",vt(0,0,0),vt(1.01,2.01,1.01))
  226. local RAwld1=weld(RAprt1,RAprt1,RightArm,euler(0,0,0)*cf(0,0,0))
  227. local RAprt2=part(3,suit,0,0,BrickColor.new("Really black"),"Right Arm Part2",vt(1,1,1))
  228. RAmsh2=mesh("BlockMesh",RAprt2,"","",vt(0,0,0),vt(1.02,2.01,0.2))
  229. local RAwld2=weld(RAprt2,RAprt2,RAprt1,euler(0,0,0)*cf(0,-0.01,0))
  230. local RAprt3=part(3,suit,0,0,BrickColor.new("White"),"Right Arm Part3",vt(1,1,1))
  231. RAmsh3=mesh("BlockMesh",RAprt3,"","",vt(0,0,0),vt(1.02,2.01,0.1))
  232. local RAwld3=weld(RAprt3,RAprt3,RAprt1,euler(0,0,0)*cf(0,-0.01,0.2))
  233. local RAprt4=part(3,suit,0,0,BrickColor.new("White"),"Right Arm Part4",vt(1,1,1))
  234. RAmsh4=mesh("BlockMesh",RAprt4,"","",vt(0,0,0),vt(1.02,2.01,0.1))
  235. local RAwld4=weld(RAprt4,RAprt4,RAprt1,euler(0,0,0)*cf(0,-0.01,-0.2))
  236. local RAprt5=part(3,suit,0,0,BrickColor.new("White"),"Right Arm Part5",vt(1,1,1))
  237. RAmsh5=mesh("BlockMesh",RAprt5,"","",vt(0,0,0),vt(1.025,0.2,1.025))
  238. local RAwld5=weld(RAprt5,RAprt5,RAprt1,euler(0,0,0)*cf(0,0.9,0))
  239.  
  240. --[[LEFT LEG]]--
  241. local LLprt1=part(3,suit,0,0,BrickColor.new("White"),"Left Leg Part1",vt(1,1,1))
  242. LLmsh1=mesh("BlockMesh",LLprt1,"","",vt(0,0,0),vt(1.01,2.01,1.01))
  243. local LLwld1=weld(LLprt1,LLprt1,LeftLeg,euler(0,0,0)*cf(0,0,0))
  244. local LLprt2=part(3,suit,0,0,BrickColor.new("Really black"),"Left Leg Part2",vt(1,1,1))
  245. LLmsh2=mesh("BlockMesh",LLprt2,"","",vt(0,0,0),vt(1.02,0.2,1.02))
  246. local LLwld2=weld(LLprt2,LLprt2,LLprt1,euler(0,0,0)*cf(0,-0.6,0))
  247. local LLprt3=part(3,suit,0,0,BrickColor.new("Bright orange"),"Left Leg Part3",vt(1,1,1))
  248. LLmsh3=mesh("BlockMesh",LLprt3,"","",vt(0,0,0),vt(1.02,0.1,1.02))
  249. local LLwld3=weld(LLprt3,LLprt3,LLprt1,euler(0,0,0)*cf(0,-0.75,0))
  250. local LLprt4=part(3,suit,0,0,BrickColor.new("Bright orange"),"Left Leg Part4",vt(1,1,1))
  251. LLmsh4=mesh("BlockMesh",LLprt4,"","",vt(0,0,0),vt(1.02,0.1,1.02))
  252. local LLwld4=weld(LLprt4,LLprt4,LLprt1,euler(0,0,0)*cf(0,-0.45,0))
  253. local LLprt5=part(3,suit,0,0,BrickColor.new("White"),"Left Leg Part5",vt(1,1,1))
  254. LLmsh5=mesh("BlockMesh",LLprt5,"","",vt(0,0,0),vt(1.02,0.4,1.02))
  255. local LLwld5=weld(LLprt5,LLprt5,LLprt1,euler(0,0,0)*cf(0,0.8,0))
  256.  
  257. --[[RIGHT LEG]]--
  258. local RLprt1=part(3,suit,0,0,BrickColor.new("White"),"Right Leg Part1",vt(1,1,1))
  259. RLmsh1=mesh("BlockMesh",RLprt1,"","",vt(0,0,0),vt(1.01,2.01,1.01))
  260. local RLwld1=weld(RLprt1,RLprt1,RightLeg,euler(0,0,0)*cf(0,0,0))
  261. local RLprt2=part(3,suit,0,0,BrickColor.new("Really black"),"Right Leg Part2",vt(1,1,1))
  262. RLmsh2=mesh("BlockMesh",RLprt2,"","",vt(0,0,0),vt(1.02,0.2,1.02))
  263. local RLwld2=weld(RLprt2,RLprt2,RLprt1,euler(0,0,0)*cf(0,-0.6,0))
  264. local RLprt3=part(3,suit,0,0,BrickColor.new("White"),"Right Leg Part3",vt(1,1,1))
  265. RLmsh3=mesh("BlockMesh",RLprt3,"","",vt(0,0,0),vt(1.02,0.1,1.02))
  266. local RLwld3=weld(RLprt3,RLprt3,RLprt1,euler(0,0,0)*cf(0,-0.75,0))
  267. local RLprt4=part(3,suit,0,0,BrickColor.new("White"),"Right Leg Part4",vt(1,1,1))
  268. RLmsh4=mesh("BlockMesh",RLprt4,"","",vt(0,0,0),vt(1.02,0.1,1.02))
  269. local RLwld4=weld(RLprt4,RLprt4,RLprt1,euler(0,0,0)*cf(0,-0.45,0))
  270. local RLprt5=part(3,suit,0,0,BrickColor.new("White"),"Right Leg Part5",vt(1,1,1))
  271. RLmsh5=mesh("BlockMesh",RLprt5,"","",vt(0,0,0),vt(1.02,0.4,1.02))
  272. local RLwld5=weld(RLprt5,RLprt5,RLprt1,euler(0,0,0)*cf(0,0.8,0))
  273.  
  274. --[[
  275. Copyrighted (C) Fenrier 2014
  276. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement