Advertisement
knowyourmom12

Untitled

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