Advertisement
AgentVK

Coat

Dec 16th, 2017
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.96 KB | None | 0 0
  1. -- Retributor, without all the fun stuff. Just the coat.
  2.  
  3. -- Written by yeox769.
  4.  
  5. wait(0.5)
  6. Player=game:GetService("Players").LocalPlayer
  7. Character=Player.Character
  8. PlayerGui=Player.PlayerGui
  9. Backpack=Player.Backpack
  10. Torso=Character.Torso
  11. Head=Character.Head
  12. Humanoid=Character.Humanoid
  13. m=Instance.new('Model',Character)
  14. LeftArm=Character["Left Arm"]
  15. LeftLeg=Character["Left Leg"]
  16. RightArm=Character["Right Arm"]
  17. RightLeg=Character["Right Leg"]
  18. LS=Torso["Left Shoulder"]
  19. LH=Torso["Left Hip"]
  20. RS=Torso["Right Shoulder"]
  21. RH=Torso["Right Hip"]
  22. Face = Head.face
  23. Neck=Torso.Neck
  24. it=Instance.new
  25. attacktype=1
  26. vt=Vector3.new
  27. cf=CFrame.new
  28. euler=CFrame.fromEulerAnglesXYZ
  29. angles=CFrame.Angles
  30. cloaked=false
  31. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  33. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  34. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  35. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  37. RootPart=Character.HumanoidRootPart
  38. RootJoint=RootPart.RootJoint
  39. RootCF=euler(-1.57,0,3.14)
  40. attack = false
  41. attackdebounce = false
  42. deb=false
  43. equipped=true
  44. hand=false
  45. MMouse=nil
  46. combo=0
  47. trispeed=.2
  48. attackmode='none'
  49. local idle=0
  50. local Anim="Idle"
  51.  
  52. it = Instance.new
  53.  
  54. local part = function(name,parent,brkclr,mtrl,rfl,trns,sz)
  55. local prt = it("Part",parent)
  56. prt.Name = name
  57. prt.CanCollide = false
  58. prt.BrickColor = BrickColor.new(brkclr)
  59. if brkclr == "Really black" and mtrl == "Neon" then prt.Color = Color3.new(0,0,0) end
  60. prt.Material = mtrl
  61. prt.Reflectance = rfl
  62. prt.Transparency = trns
  63. prt.Size = sz
  64. prt.Anchored = true
  65. return prt
  66. end
  67. local mesh = function(meshtype,parent,meshid,textureid,scale)
  68. local msh = it("SpecialMesh",parent)
  69. if meshtype == "FileMesh" then
  70. msh.MeshId = meshid
  71. msh.TextureId = textureid
  72. end
  73. msh.MeshType = meshtype
  74. msh.Scale = scale
  75. return(msh)
  76. end
  77. local weld = function(part1,part2,x1,y1,z1,x2,y2,z2)
  78. local w = it("Weld",part1)
  79. w.Part0 = part1
  80. w.Part1 = part2
  81. if part1.Anchored or part2.Anchored then
  82. part1.Anchored = false
  83. part2.Anchored = false
  84. end
  85. w.C0 = (CFrame.new(x1,y1,z1)*CFrame.Angles(math.rad(z2),math.rad(y2),math.rad(x2)))
  86. return(w)
  87. end
  88. local emit = function(parent,tex,startcolor, endcolor, startsize,endsize,lightem,emdir,lif,rate,speed,rotspeed,sprdang)
  89. local emm = it("ParticleEmitter",parent)
  90. emm.Texture = tex
  91. emm.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,startcolor),ColorSequenceKeypoint.new(1,endcolor)})
  92. emm.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,startsize),NumberSequenceKeypoint.new(1,endsize)})
  93. emm.LightEmission = lightem
  94. emm.EmissionDirection = emdir
  95. emm.Lifetime = NumberRange.new(lif)
  96. emm.Rate = rate
  97. emm.Speed = NumberRange.new(speed)
  98. emm.RotSpeed = NumberRange.new(rotspeed)
  99. emm.SpreadAngle = Vector2.new(sprdang,sprdang)
  100. return(emm)
  101. end
  102.  
  103. for _,v in pairs(Character:GetChildren()) do
  104. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Accessory") then
  105. v:Destroy()
  106. end
  107. end
  108.  
  109. eye = part("Eye",m,"Really red","Neon",0,0,Vector3.new(0.08,0.175,0.05))
  110. mesh("Sphere",eye,"","",Vector3.new(1,1,1))
  111. weld(Head,eye,-0.11,0.2625,-0.59,0,0,0)
  112.  
  113. p = part("Collar1",m,"Black","Sand",0,0,Vector3.new(1,1,1))
  114. weld(Torso,p,0,1.15,0,0,22.5,190)
  115. mesh("FileMesh",p,"http://www.roblox.com/asset/?id=20637493","",Vector3.new(1,1,1))
  116. p = part("Collar2",m,"Black","Sand",0,0,Vector3.new(1,1,1))
  117. weld(Torso,p,0,1.15,0,0,-22.5,190)
  118. mesh("FileMesh",p,"http://www.roblox.com/asset/?id=20637493","",Vector3.new(1,1,1))
  119. p = part("Collar3",m,"Black","Sand",0,0,Vector3.new(1,1,1))
  120. weld(Torso,p,0,0.9,0.1,0,0,-15)
  121. mesh("FileMesh",p,"http://www.roblox.com/asset/?id=20637493","",Vector3.new(1,1,1))
  122.  
  123.  
  124. p = part("Coat1",m,"Black","Sand",0,0,Vector3.new(2.05,1.55,1.05))
  125. weld(Torso,p,0,0.25,0,0,0,0)
  126. p = part("Coat2",m,"Black","Sand",0,0,Vector3.new(0.55,2.05,1.04))
  127. weld(Torso,p,1,-1.25,0,22,0,0)
  128. p = part("Coat3",m,"Black","Sand",0,0,Vector3.new(0.55,2.05,1.04))
  129. weld(Torso,p,-1,-1.25,0,-22,0,0)
  130. p = part("Coat4",m,"Black","Sand",0,0,Vector3.new(2.1,1.05,0.54))
  131. weld(Torso,p,0,-1,0.24,0,0,0)
  132. p = part("Coat5",m,"Black","Sand",0,0,Vector3.new(0.925,0.75,0.54))
  133. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  134. weld(Torso,p,0.3,-0.75,-0.05,90,0,-90)
  135. p = part("Coat6",m,"Black","Sand",0,0,Vector3.new(0.925,0.75,0.54))
  136. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  137. weld(Torso,p,-0.3,-0.75,-0.05,-90,0,-90)
  138. p = part("Coat7",m,"Black","Sand",0,0,Vector3.new(0.975,0.5,0.75))
  139. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  140. weld(Torso,p,-1.4,-2.45,0,90,0,-90)
  141. p = part("Coat8",m,"Black","Sand",0,0,Vector3.new(0.975,0.5,0.75))
  142. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  143. weld(Torso,p,1.4,-2.45,0,-90,0,-90)
  144. p = part("Coat9",m,"Black","Sand",0,0,Vector3.new(1.05,0.5,0.525))
  145. weld(RightLeg,p,0,0.75,0.25,0,0,0)
  146. p = part("Coat10",m,"Black","Sand",0,0,Vector3.new(1.05,0.5,0.525))
  147. weld(LeftLeg,p,0,0.75,0.25,0,0,0)
  148.  
  149. p = part("Sleeves1",m,"Black","Granite",0,0,Vector3.new(1.1,0.5,1.1))
  150. weld(LeftArm,p,0,0.875,0,0,0,0)
  151. p = part("Sleeves2",m,"Black","Sand",0,0,Vector3.new(1.05,1.5,1.05))
  152. weld(LeftArm,p,0,0.25,0,0,0,0)
  153. p = part("Sleeves3",m,"Really red","Neon",0,0,Vector3.new(0.25,0.5,0.5))
  154. mesh("Cylinder",p,"","",Vector3.new(1,1,1))
  155. weld(LeftArm,p,-0.41,0.15,0,0,0,0)
  156. p = part("Sleeves4",m,"Really red","Neon",0,0,Vector3.new(0.25,0.075,0.075))
  157. mesh("Cylinder",p,"","",Vector3.new(1,1,1))
  158. weld(LeftArm,p,-0.44,0.15,0,0,0,0)
  159. p = part("Sleeves5",m,"Black","Sand",0,0,Vector3.new(0.25,0.375,0.375))
  160. mesh("Cylinder",p,"","",Vector3.new(1,1,1))
  161. weld(LeftArm,p,-0.43,0.15,0,0,0,0)
  162. p = part("Sleeves6",m,"Black","Sand",0,0,Vector3.new(0.25,0.75,0.075))
  163. weld(LeftArm,p,-0.42,0.2,0.0375,0,0,-45)
  164. p = part("Sleeves7",m,"Black","Sand",0,0,Vector3.new(0.25,0.75,0.075))
  165. weld(LeftArm,p,-0.42,0.1,-0.0375,0,0,-45)
  166. p = part("Sleeves8",m,"Black","Granite",0,0,Vector3.new(1.1,0.25,1.1))
  167. weld(LeftArm,p,0,-0.4,0,0,0,0)
  168. p = part("Sleeves9",m,"Black","Granite",0,0,Vector3.new(1.1,0.5,1.1))
  169. weld(RightArm,p,0,0.875,0,0,0,0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement