Advertisement
memberhero

idk2

Apr 21st, 2018
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 166.38 KB | None | 0 0
  1. --updates 7/25/16 tyrantv
  2. --removed unnecessary stuff (sound tables and stuff)
  3. --jeff told me to make his ult cool down longer
  4. --10/7/16 made effeciency update, jeff
  5.  
  6. module = Instance.new("ModuleScript",game.ReplicatedStorage)
  7. module.Name = "TagService"
  8.  
  9. event = Instance.new("Folder",game.ReplicatedStorage)
  10. event.Name = "Remotes"
  11.  
  12. event2 = Instance.new("RemoteEvent",event)
  13. event2.Name = "HealthEvent"
  14.  
  15. wait(1)
  16. ---script.Parent=nil
  17. Character=game.Players.localPlayer.Character
  18. ----Character.Animate:destroy()
  19.  
  20. local Character = game.Players.localPlayer.Character
  21. local Humanoid=Character.Humanoid
  22. script.Parent=nil
  23. wait()
  24. if Character:FindFirstChild"Animate" then
  25. Character.Animate:Destroy()
  26. end
  27. --[[Rigormortis class created by Brannon1964802.]]--
  28.  
  29. TagService = game.ReplicatedStorage.TagService
  30. Meshes = {
  31. Blast = '20329976',
  32. Crown = '1323306',
  33. Ring = '3270017',
  34. Claw = '10681506',
  35. Crystal = '9756362',
  36. Coil = '9753878',
  37. Cloud = '1095708',
  38. }
  39. local Player=game.Players.LocalPlayer
  40. local Character=Player.Character
  41. PlayerGui=Player.PlayerGui
  42. Backpack=Player.Backpack
  43. Torso=Character.Torso
  44. Head=Character.Head
  45. local Humanoid=Character.Humanoid
  46. --m=Instance.new("Model",Character)
  47. LeftArm=Character["Left Arm"]
  48. LeftLeg=Character["Left Leg"]
  49. RightArm=Character["Right Arm"]
  50. RightLeg=Character["Right Leg"]
  51. LS=Torso["Left Shoulder"]
  52. LH=Torso["Left Hip"]
  53. RS=Torso["Right Shoulder"]
  54. RH=Torso["Right Hip"]
  55. Face = Head.face
  56. Neck=Torso.Neck
  57. local it=Instance.new
  58. local rad=math.rad
  59. local cos=math.cos
  60. local sin=math.sin
  61. local mr=math.random
  62. local co_create=coroutine.create
  63. local co_resume=coroutine.resume
  64.  
  65. local kill_connections={}
  66.  
  67. attacktype=1
  68. local vt=Vector3.new
  69. local cf=CFrame.new
  70. local euler=CFrame.fromEulerAnglesXYZ
  71. local angles=CFrame.Angles
  72. local math_rad_0=0
  73. local math_rad_15=rad(15)
  74. local math_rad_90=math.pi/2
  75. local math_rad_30=math.pi/6
  76. local math_rad_60=math.pi/3
  77. local math_rad_45=math.pi/4
  78. local kill_connections={}
  79. --m=Instance.new("Model",Character)
  80.  
  81. vt=Vector3.new
  82. cf=cf
  83. euler=euler
  84. angles=CFrame.Angles
  85. cloaked=false
  86. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  87. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  88. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  89. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  90. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  91. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  92. RootPart=Character.HumanoidRootPart
  93. RootJoint=RootPart.RootJoint
  94. RootCF=euler(-1.57,0,3.14)
  95. attack = false
  96. attackdebounce = false
  97. deb=false
  98. equipped=true
  99. hand=false
  100. MMouse=nil
  101. combo=0
  102. mana=0
  103. trispeed=.2
  104. attackmode='none'
  105. local idle=0
  106. local Anim="Idle"
  107. local gun=false
  108. local shoot=false
  109. player=nil
  110. mana=0
  111.  
  112. if Humanoid:FindFirstChild("Animator")then
  113. Humanoid:FindFirstChild("Animator"):Destroy()
  114. end
  115.  
  116.  
  117. print("Rigormortis loaded.")
  118.  
  119. mouse=Player:GetMouse()
  120. --save shoulders
  121. RSH, LSH=nil, nil
  122. --welds
  123. RW, LW=Instance.new("Motor"), Instance.new("Motor")
  124. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  125. LH=Torso["Left Hip"]
  126. RH=Torso["Right Hip"]
  127. TorsoColor=Torso.BrickColor
  128. Colorpart1=Torso.BrickColor.r
  129. Colorpart2=Torso.BrickColor.g
  130. Colorpart3=Torso.BrickColor.b
  131. function NoOutline(Part)
  132. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  133. end
  134. player=Player
  135. ch=Character
  136. RSH=ch.Torso["Right Shoulder"]
  137. LSH=ch.Torso["Left Shoulder"]
  138. --
  139. RSH.Parent=nil
  140. LSH.Parent=nil
  141. --
  142. RW.Name="Right Shoulder"
  143. RW.Part0=ch.Torso
  144. RW.C0=cf(1.5, 0.5, 0) --* euler(1.3, 0, -0.5)
  145. RW.C1=cf(0, 0.5, 0)
  146. RW.Part1=ch["Right Arm"]
  147. RW.Parent=ch.Torso
  148. --
  149. LW.Name="Left Shoulder"
  150. LW.Part0=ch.Torso
  151. LW.C0=cf(-1.5, 0.5, 0) --* euler(1.7, 0, 0.8)
  152. LW.C1=cf(0, 0.5, 0)
  153. LW.Part1=ch["Left Arm"]
  154. LW.Parent=ch.Torso
  155.  
  156. Player=game:GetService('Players').LocalPlayer
  157. Character=Player.Character
  158. Mouse=Player:GetMouse()
  159.  
  160. local function weldBetween(a, b)
  161. local weldd = Instance.new("ManualWeld")
  162. weldd.Part0 = a
  163. weldd.Part1 = b
  164. weldd.C0 = cf()
  165. weldd.C1 = b.CFrame:inverse() * a.CFrame
  166. weldd.Parent = a
  167. return weldd
  168. end
  169.  
  170. local fat = Instance.new("BindableEvent", script)
  171. fat.Name = "Heartbeat"
  172.  
  173. script:WaitForChild("Heartbeat")
  174.  
  175. local frame = 1 / 27
  176. local tf = 0
  177. local allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  178. local tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  179. local lastframe = tick()
  180. local floor = math.floor
  181. local Fire = fat.Fire
  182. local FatEvent = fat.Event
  183.  
  184. kill_connections[1]=game:GetService("RunService").Heartbeat:connect(function(s, p) --herp derp
  185. tf = tf + s
  186. if tf >= frame then
  187. -- if allowframeloss then
  188. -- Fire(fat)
  189. -- lastframe = tick()
  190. -- else
  191. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  192. for i = 1, floor(tf / frame) do
  193. Fire(fat)
  194. end
  195. lastframe = tick()
  196. end
  197. tf = (tossremainder and 0) or tf - frame * floor(tf / frame)
  198. -- end
  199. end)
  200.  
  201. --To use: FatEvent:FatEvent:wait() or FatEvent:connect(function() asdcode end)
  202.  
  203. function nooutline(part)
  204. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  205. end
  206.  
  207. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  208. local fp=it("Part")
  209. fp.formFactor=formfactor
  210. fp.Parent=parent
  211. fp.Reflectance=reflectance
  212. fp.Transparency=transparency
  213. fp.CanCollide=false
  214. fp.Locked=true
  215. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  216. fp.Name=name
  217. fp.Size=size
  218. fp.Position=Character.Torso.Position
  219. nooutline(fp)
  220. fp.Material=material
  221. fp:BreakJoints()
  222. return fp
  223. end
  224.  
  225. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  226. local mesh=it(Mesh)
  227. mesh.Parent=part
  228. if Mesh=="SpecialMesh" then
  229. mesh.MeshType=meshtype
  230. mesh.MeshId=meshid
  231. end
  232. mesh.Offset=offset
  233. mesh.Scale=scale
  234. return mesh
  235. end
  236.  
  237. function weld(parent,part0,part1,c0,c1)
  238. local weld=it("Weld")
  239. weld.Parent=parent
  240. weld.Part0=part0
  241. weld.Part1=part1
  242. weld.C0=c0
  243. weld.C1=c1
  244. return weld
  245. end
  246.  
  247. local m=Instance.new("Model",RightArm)
  248. m.Name = "Rigormortis' Right Glove"
  249.  
  250. GloveHandle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  251. GloveHandleweld=weld(m,Character["Right Arm"],GloveHandle,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(1.1920929e-005, 0.000109910965, 0.00443553925, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
  252. mesh("SpecialMesh",GloveHandle,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(5.5, 5.25, 5.5))
  253. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Br. yellowish orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  254. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0, 0.620000124, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  255. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(5.5, 1, 5.5))
  256. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  257. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0, 0.869999886, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  258. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(5.5, 1.5, 5.5))
  259. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  260. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.549999952, 0.0184423923, 0.00541090965, 1, 0, 0, 0, 0.258819193, -0.965925813, 0, 0.965925813, 0.258819193))
  261. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  262. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Br. yellowish orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  263. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.00707101822, 0.00707101822, 0.465586424, 0.707106769, 0.707106769, 0, -0.707106769, 0.707106769, 0, 0, 0, 1))
  264. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 5, 1))
  265. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Br. yellowish orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  266. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.00999999046, 0, 0.465586424, 0, 0.99999994, 0, -0.99999994, 0, 0, 0, 0, 1))
  267. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 5, 1))
  268. GloveEyePart=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Really red","GloveEyePart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  269. GloveEyePartweld=weld(m,GloveHandle,GloveEyePart,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0, 1.00999999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  270. GloveEyePartmesh=mesh("SpecialMesh",GloveEyePart,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 4))
  271. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  272. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.549999952, 0.0192146301, 0.000453591347, 1, 0, 0, 0, 0.50000006, -0.866025388, 0, 0.866025388, 0.50000006))
  273. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  274. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Br. yellowish orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  275. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0, 0.00999999046, 0.465586424, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  276. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 5, 1))
  277. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  278. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.549413562, 0.00707125664, 0.00707101822, 1.3767874e-007, -6.21808951e-008, -1, -0.70710659, 0.707106948, -1.4132209e-007, 0.707106948, 0.70710659, 5.33850653e-008))
  279. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  280. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  281. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.549999952, 0.0186772346, -0.004535079, 1, 0, 0, 0, 0.707106829, -0.707106709, 0, 0.707106709, 0.707106829))
  282. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  283. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  284. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.549413681, 0.00999999046, 0, -4.37113883e-008, -9.70964606e-008, -1, 0, 1, -9.70964606e-008, 1, -4.24422121e-015, -4.37113883e-008))
  285. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.75, 0.25))
  286. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  287. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.549999952, 0.00921452045, 0.0168669224, 1, 0, 0, 0, -0.499999851, -0.866025507, 0, 0.866025507, -0.499999851))
  288. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  289. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  290. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.549999952, 0.0132659674, 0.0139074326, 1, 0, 0, 0, -0.258818924, -0.965925872, 0, 0.965925872, -0.258818924))
  291. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  292. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  293. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.549999952, 0.0168671608, -0.00921428204, 1, 0, 0, 0, 0.866025448, -0.499999911, 0, 0.499999911, 0.866025448))
  294. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  295. LaserReferencePart=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Really black","LaserReferencePart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  296. LaserReferencePartweld=weld(m,GloveHandle,LaserReferencePart,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.980000019, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008, 0, 0, 0, 1))
  297. mesh("SpecialMesh",LaserReferencePart,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 4, 4))
  298. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  299. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.974999905, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008, 0, 0, 0, 1))
  300. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 5, 5))
  301. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  302. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.549413681, 0.00707101822, -0.00707149506, -3.09086268e-008, -1.0640651e-007, -1, 0.707106948, 0.70710659, -9.70964535e-008, 0.70710659, -0.707106948, 5.33850901e-008))
  303. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  304. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  305. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.549413562, 1.1920929e-007, 0.00999999046, 7.54979013e-008, 7.54978799e-008, -1, -1, 2.68220901e-007, -7.54978799e-008, 2.68220901e-007, 1, 7.54979013e-008))
  306. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.75, 0.25))
  307. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Br. yellowish orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  308. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.00707101822, 0.00707101822, 0.465586424, 0.707106709, -0.707106829, 0, 0.707106829, 0.707106709, 0, 0, 0, 1))
  309. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 5, 1))
  310. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  311. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.549999952, 0.0164134502, 0.00999999046, 1, 0, 0, 0, 7.54979013e-008, -1, 0, 1, 7.54979013e-008))
  312. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  313. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  314. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.549999952, -0.00453495979, -0.0186769962, 1, 0, 0, 0, 0.707106709, 0.707106888, 0, -0.707106888, 0.707106709))
  315. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  316. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  317. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.549999952, 0.000453591347, -0.0192143917, 1, 0, 0, 0, 0.866025329, 0.500000119, 0, -0.500000119, 0.866025329))
  318. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  319. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  320. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.549999952, 0.00541114807, -0.0184421539, 1, 0, 0, 0, 0.965925813, 0.258819163, 0, -0.258819163, 0.965925813))
  321. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  322. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  323. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.549999952, 0.00999999046, -0.0164134502, 1, 0, 0, 0, 1, 1.34110465e-007, 0, -1.34110465e-007, 1))
  324. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  325. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  326. Partweld=weld(m,GloveHandle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.549999952, 0.0139074326, -0.0132658482, 1, 0, 0, 0, 0.965925872, -0.258818865, 0, 0.258818865, 0.965925872))
  327. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  328.  
  329. Finger1Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  330. Finger1Handleweld=weld(m,Character["Right Arm"],Finger1Handle,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.138371706, 1.14493585, -0.395564556, 0.965925813, 0.258819014, 0, -0.258819044, 0.965925694, 0, 0, 0, 1))
  331. mesh("SpecialMesh",Finger1Handle,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  332. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  333. Partweld=weld(m,Finger1Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103527784, 0.38637054, 0, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1))
  334. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  335. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  336. Partweld=weld(m,Finger1Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.0249999762, 0.200000167, 0, 0.965925813, -0.258819044, 0, 0.258819044, 0.965925813, 0, 0, 0, 1))
  337. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  338. Glove1Finger1ClawFinger=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Glove1Finger1ClawFinger",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  339. Glove1Finger1ClawFingerweld=weld(m,Finger1Handle,Glove1Finger1ClawFinger,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103747845, 0.500191927, -0.00441360474, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1))
  340. mesh("SpecialMesh",Glove1Finger1ClawFinger,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.209999993, 0.5, 0.209999993))
  341.  
  342. Finger2Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  343. Finger2Handleweld=weld(m,Character["Right Arm"],Finger2Handle,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.138371706, 1.14493585, 0.00143527985, 0.965925813, 0.258819014, 0, -0.258819044, 0.965925694, 0, 0, 0, 1))
  344. mesh("SpecialMesh",Finger2Handle,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  345. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  346. Partweld=weld(m,Finger2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.0249999762, 0.200000167, 0, 0.965925813, -0.258819044, 0, 0.258819044, 0.965925813, 0, 0, 0, 1))
  347. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  348. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  349. Partweld=weld(m,Finger2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103527784, 0.38637054, 0, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1))
  350. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  351. Glove1Finger2ClawFinger=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Glove1Finger2ClawFinger",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  352. Glove1Finger2ClawFingerweld=weld(m,Finger2Handle,Glove1Finger2ClawFinger,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103527784, 0.499370575, -0.00141334534, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1))
  353. mesh("SpecialMesh",Glove1Finger2ClawFinger,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.209999993, 0.5, 0.209999993))
  354.  
  355. Finger3Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  356. Finger3Handleweld=weld(m,Character["Right Arm"],Finger3Handle,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.138371706, 1.14493585, 0.403035164, 0.965925813, 0.258819014, 0, -0.258819044, 0.965925694, 0, 0, 0, 1))
  357. mesh("SpecialMesh",Finger3Handle,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  358. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  359. Partweld=weld(m,Finger3Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103527784, 0.38637054, 0, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1))
  360. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  361. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  362. Partweld=weld(m,Finger3Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.0249999762, 0.200000167, 0, 0.965925813, -0.258819044, 0, 0.258819044, 0.965925813, 0, 0, 0, 1))
  363. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  364. Glove1Finger3ClawFinger=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Glove1Finger3ClawFinger",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  365. Glove1Finger3ClawFingerweld=weld(m,Finger3Handle,Glove1Finger3ClawFinger,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103527784, 0.499370575, 0, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1))
  366. mesh("SpecialMesh",Glove1Finger3ClawFinger,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.209999993, 0.5, 0.209999993))
  367.  
  368. Finger4Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  369. Finger4Handleweld=weld(m,Character["Right Arm"],Finger4Handle,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.145614386, 1.14687657, -0.40422225, -0.965925813, 0.258819103, 4.72798973e-008, 0.258819133, 0.965925694, -1.68990979e-007, -8.94069672e-008, -1.50995788e-007, -1))
  370. mesh("SpecialMesh",Finger4Handle,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  371. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  372. Partweld=weld(m,Finger4Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103527784, 0.38637042, 0, 0.866025329, -0.500000179, 0, 0.500000179, 0.866025329, 0, 0, 0, 1))
  373. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  374. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  375. Partweld=weld(m,Finger4Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.0249997377, 0.200000048, 0, 0.965925753, -0.258819282, 0, 0.258819282, 0.965925753, 0, 0, 0, 1))
  376. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  377. Glove1Finger4ClawFinger=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Glove4Finger1ClawFinger",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  378. Glove1Finger4ClawFingerweld=weld(m,Finger4Handle,Glove1Finger4ClawFinger,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.134217024, 0.491147041, -0.00118684769, -0.866025329, 0.500000119, -1.2544109e-007, 0.500000119, 0.866025329, -1.22710517e-007, 4.72798973e-008, -1.68990979e-007, -1))
  379. mesh("SpecialMesh",Glove1Finger4ClawFinger,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.209999993, 0.5, 0.209999993))
  380.  
  381. local m2=Instance.new("Model",Head)
  382. m2.Name = "Rigormortis' Hood"
  383.  
  384. HoodHandle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  385. HoodHandleweld=weld(m,Character["Head"],HoodHandle,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(1.1920929e-005, -0.0898900032, 2.19345093e-005, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  386. mesh("SpecialMesh",HoodHandle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=64560031",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 1.10000002, 1.10000002))
  387. Hoodpart2=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Hoodpart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  388. Hoodpart2weld=weld(m,HoodHandle,Hoodpart2,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0, 0, -0.0299999714, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  389. mesh("SpecialMesh",Hoodpart2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=64560031",Vector3.new(0, 0, 0),Vector3.new(1.20000005, 1.20000005, 1.10000002))
  390. Eye1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Really red","Eye1",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  391. Eye1weld=weld(m,HoodHandle,Eye1,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.200000048, 0, 0.619999886, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  392. Eye1mesh=mesh("SpecialMesh",Eye1,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 2, 1))
  393. Eye2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Really red","Eye2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  394. Eye2weld=weld(m,HoodHandle,Eye2,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.200000048, 0.064807415, 0.616603374, 1, 0, 0, 0, 0.994521916, 0.104528464, 0, -0.104528464, 0.994521916))
  395. Eye2mesh=mesh("SpecialMesh",Eye2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 2, 1))
  396.  
  397. local m3=Instance.new("Model",LeftArm)
  398. m3.Name = "Rigormortis' Left Glove"
  399.  
  400. Glove2Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  401. Glove2Handleweld=weld(m,Character["Left Arm"],Glove2Handle,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(1.21593475e-005, 0.000111103058, 0.00443267822, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
  402. mesh("SpecialMesh",Glove2Handle,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(5.5, 5.25, 5.5))
  403. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Br. yellowish orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  404. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0, 0.620001078, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  405. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(5.5, 1, 5.5))
  406. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  407. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0, 0.870001078, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  408. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(5.5, 1.5, 5.5))
  409. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  410. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.550000191, 0.0184402466, 0.00540876389, 1, 0, 0, 0, 0.258819193, -0.965925813, 0, 0.965925813, 0.258819193))
  411. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  412. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Br. yellowish orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  413. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.00706958771, 0.00706958771, 0.465587616, 0.707106769, 0.707106769, 0, -0.707106769, 0.707106769, 0, 0, 0, 1))
  414. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 5, 1))
  415. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Br. yellowish orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  416. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.00999808311, 0, 0.465587616, 0, 0.99999994, 0, -0.99999994, 0, 0, 0, 0, 1))
  417. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 5, 1))
  418. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  419. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0, 1.00999808, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  420. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 4))
  421. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  422. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.550000191, 0.0192146301, 0.000451087952, 1, 0, 0, 0, 0.50000006, -0.866025388, 0, 0.866025388, 0.50000006))
  423. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  424. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Br. yellowish orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  425. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0, 0.00999808311, 0.465587616, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  426. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 5, 1))
  427. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  428. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.549407959, 0.00706958771, 0.00706955791, 1.3767874e-007, -6.21808951e-008, -1, -0.70710659, 0.707106948, -1.4132209e-007, 0.707106948, 0.70710659, 5.33850653e-008))
  429. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  430. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  431. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.550000191, 0.0186767578, -0.00453662872, 1, 0, 0, 0, 0.707106829, -0.707106709, 0, 0.707106709, 0.707106829))
  432. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  433. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  434. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.549407959, 0.00999832153, 0, -4.37113883e-008, -9.70964606e-008, -1, 0, 1, -9.70964606e-008, 1, -4.24422121e-015, -4.37113883e-008))
  435. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.75, 0.25))
  436. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  437. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.550000191, 0.00921630859, 0.016866684, 1, 0, 0, 0, -0.499999851, -0.866025507, 0, 0.866025507, -0.499999851))
  438. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  439. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  440. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.550000191, 0.0132675171, 0.0139055252, 1, 0, 0, 0, -0.258818924, -0.965925872, 0, 0.965925872, -0.258818924))
  441. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  442. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  443. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.550000191, 0.016866684, -0.00921630859, 1, 0, 0, 0, 0.866025448, -0.499999911, 0, 0.499999911, 0.866025448))
  444. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  445. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  446. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.979999065, -2.38418579e-007, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008, 0, 0, 0, 1))
  447. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 4, 4))
  448. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  449. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.974999905, -2.38418579e-007, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008, 0, 0, 0, 1))
  450. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 5, 5))
  451. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  452. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.549407959, 0.00706964731, -0.00706958771, -3.09086268e-008, -1.0640651e-007, -1, 0.707106948, 0.70710659, -9.70964535e-008, 0.70710659, -0.707106948, 5.33850901e-008))
  453. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  454. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  455. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.549407959, 0, 0.00999808311, 7.54979013e-008, 7.54978799e-008, -1, -1, 2.68220901e-007, -7.54978799e-008, 2.68220901e-007, 1, 7.54979013e-008))
  456. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.75, 0.25))
  457. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.25,0,"Br. yellowish orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  458. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.00706958771, 0.00706982613, 0.465587616, 0.707106709, -0.707106829, 0, 0.707106829, 0.707106709, 0, 0, 0, 1))
  459. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 5, 1))
  460. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  461. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.550000191, 0.0164146423, 0.00999808311, 1, 0, 0, 0, 7.54979013e-008, -1, 0, 1, 7.54979013e-008))
  462. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  463. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  464. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.550000191, -0.00453662872, -0.0186767578, 1, 0, 0, 0, 0.707106709, 0.707106888, 0, -0.707106888, 0.707106709))
  465. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  466. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  467. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.550000191, 0.000451087952, -0.0192146301, 1, 0, 0, 0, 0.866025329, 0.500000119, 0, -0.500000119, 0.866025329))
  468. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  469. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  470. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.550000191, 0.00540876389, -0.0184402466, 1, 0, 0, 0, 0.965925813, 0.258819163, 0, -0.258819163, 0.965925813))
  471. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  472. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  473. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.550000191, 0.00999808311, -0.0164146423, 1, 0, 0, 0, 1, 1.34110465e-007, 0, -1.34110465e-007, 1))
  474. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  475. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,"Bright orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  476. Partweld=weld(m,Glove2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.550000191, 0.0139064789, -0.0132675171, 1, 0, 0, 0, 0.965925872, -0.258818865, 0, 0.258818865, 0.965925872))
  477. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.25, 1, 0.25))
  478. Glove2Finger1Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  479.  
  480. Glove2Finger1Handleweld=weld(m,Character["Left Arm"],Glove2Finger1Handle,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.149578571, 1.14794111, 0.398792267, -0.965925813, 0.258819133, 0, 0.258819163, 0.965925694, 7.4505806e-008, 1.92835312e-008, 7.19670723e-008, -1))
  481. mesh("SpecialMesh",Glove2Finger1Handle,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  482. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  483. Partweld=weld(m,Glove2Finger1Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103526592, 0.386366367, 0, 0.866025448, -0.500000119, -3.72529136e-008, 0.500000119, 0.866025329, -9.98188199e-009, 3.72529101e-008, -9.98188909e-009, 1))
  484. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  485. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  486. Partweld=weld(m,Glove2Finger1Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.0249929428, 0.199998975, 0, 0.965925813, -0.258819133, -1.92835294e-008, 0.258819133, 0.965925813, 2.79754886e-009, 1.79023978e-008, -7.6931741e-009, 1))
  487. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  488. Glove2Finger1ClawFinger=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Glove2Finger1ClawFinger",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  489. Glove2Finger1ClawFingerweld=weld(m,Glove2Finger1Handle,Glove2Finger1ClawFinger,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103525162, 0.49937129, 0, 0.866025448, -0.500000119, -3.72529136e-008, 0.500000119, 0.866025329, -9.98188199e-009, 3.72529101e-008, -9.98188909e-009, 1))
  490. mesh("SpecialMesh",Glove2Finger1ClawFinger,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.209999993, 0.5, 0.209999993))
  491.  
  492. Glove2Finger2Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  493. Glove2Finger2Handleweld=weld(m,Character["Left Arm"],Glove2Finger2Handle,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.149578094, 1.14794099, -0.00280952454, -0.965925813, 0.258819133, 0, 0.258819163, 0.965925694, 7.4505806e-008, 1.92835312e-008, 7.19670723e-008, -1))
  494. mesh("SpecialMesh",Glove2Finger2Handle,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  495. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  496. Partweld=weld(m,Glove2Finger2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.0249934196, 0.199998975, 1.90734863e-006, 0.965925813, -0.258819133, -1.92835294e-008, 0.258819133, 0.965925813, 2.79754886e-009, 1.79023978e-008, -7.6931741e-009, 1))
  497. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  498. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  499. Partweld=weld(m,Glove2Finger2Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103526592, 0.386366367, 0, 0.866025448, -0.500000119, -3.72529136e-008, 0.500000119, 0.866025329, -9.98188199e-009, 3.72529101e-008, -9.98188909e-009, 1))
  500. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  501. Glove2Finger2ClawFinger=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Glove2Finger2ClawFinger",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  502. Glove2Finger2ClawFingerweld=weld(m,Glove2Finger2Handle,Glove2Finger2ClawFinger,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.10352397, 0.499371529, -0.00141334534, 0.866025448, -0.500000119, -3.72529136e-008, 0.500000119, 0.866025329, -9.98188199e-009, 3.72529101e-008, -9.98188909e-009, 1))
  503. mesh("SpecialMesh",Glove2Finger2ClawFinger,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.209999993, 0.5, 0.209999993))
  504.  
  505. Glove2Finger3Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  506. Glove2Finger3Handleweld=weld(m,Character["Left Arm"],Glove2Finger3Handle,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.149578094, 1.14794099, -0.399812698, -0.965925813, 0.258819133, 0, 0.258819163, 0.965925694, 7.4505806e-008, 1.92835312e-008, 7.19670723e-008, -1))
  507. mesh("SpecialMesh",Glove2Finger3Handle,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  508. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  509. Partweld=weld(m,Glove2Finger3Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103526592, 0.386366367, 0, 0.866025448, -0.500000119, -3.72529136e-008, 0.500000119, 0.866025329, -9.98188199e-009, 3.72529101e-008, -9.98188909e-009, 1))
  510. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  511. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  512. Partweld=weld(m,Glove2Finger3Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.0249962807, 0.199998975, 1.90734863e-006, 0.965925813, -0.258819133, -1.92835294e-008, 0.258819133, 0.965925813, 2.79754886e-009, 1.79023978e-008, -7.6931741e-009, 1))
  513. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  514. Glove2Finger3ClawFinger=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Glove2Finger3ClawFinger",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  515. Glove2Finger3ClawFingerweld=weld(m,Glove2Finger3Handle,Glove2Finger3ClawFinger,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103745937, 0.500193119, -0.00440788269, 0.866025448, -0.500000119, -3.72529136e-008, 0.500000119, 0.866025329, -9.98188199e-009, 3.72529101e-008, -9.98188909e-009, 1))
  516. mesh("SpecialMesh",Glove2Finger3ClawFinger,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.209999993, 0.5, 0.209999993))
  517.  
  518. Glove2Finger4Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  519. Glove2Finger4Handleweld=weld(m,Character["Left Arm"],Glove2Finger4Handle,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.134407997, 1.14387655, 0.400022507, 0.965925813, 0.258819103, -8.94069672e-008, -0.258819133, 0.965925694, 2.38418579e-007, 1.48067784e-007, -2.071544e-007, 1))
  520. mesh("SpecialMesh",Glove2Finger4Handle,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  521. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  522. Partweld=weld(m,Glove2Finger4Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.103526354, 0.386366606, 0, 0.866025329, -0.500000238, 1.07231074e-007, 0.500000238, 0.866025329, 3.19420792e-008, -1.0883587e-007, 2.59529003e-008, 1))
  523. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  524. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  525. Partweld=weld(m,Glove2Finger4Handle,Part,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(-0.025002718, 0.199998975, 0, 0.965925753, -0.258819312, 8.84631604e-008, 0.258819312, 0.965925753, 1.30108901e-008, -8.88163285e-008, 1.03283924e-008, 1))
  526. mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.25, 1.5))
  527. Glove2Finger4ClawFinger=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.25,0,TorsoColor,"Glove2Finger4ClawFinger",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  528. Glove2Finger4ClawFingerweld=weld(m,Glove2Finger4Handle,Glove2Finger4ClawFinger,cf(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),cf(0.134222269, 0.491146207, -0.00118637085, -0.866025329, 0.500000238, -1.96638027e-007, 0.500000238, 0.866025329, -8.72672246e-008, 1.26659884e-007, -1.73894662e-007, -1))
  529. mesh("SpecialMesh",Glove2Finger4ClawFinger,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.209999993, 0.5, 0.209999993))
  530.  
  531. co_resume(co_create(function(Part,Weld)
  532. while Part.Parent~=nil do
  533. wait(5)
  534. for i=0,1,0.2 do
  535. wait()
  536. Eye1mesh.Scale=Vector3.new(0.5, 2-1.9*i, 1)
  537. Eye2mesh.Scale=Vector3.new(0.5, 2-1.9*i, 1)
  538. end
  539. for i=0,1,0.2 do
  540. wait()
  541. Eye1mesh.Scale=Vector3.new(0.5, 0.1+1.9*i, 1)
  542. Eye2mesh.Scale=Vector3.new(0.5, 0.1+1.9*i, 1)
  543. end
  544. end
  545. end),Eye1,Eye1weld)
  546.  
  547. --co_resume(co_create(function(Part,Weld)--I moved it up for efficiency purposes
  548. --while Part.Parent~=nil do
  549. --wait(5)
  550. --for i=0,1,0.2 do
  551. --wait()
  552. --Eye2mesh.Scale=Vector3.new(0.5, 2-1.9*i, 1)
  553. --end
  554. --for i=0,1,0.2 do
  555. --wait()
  556. --Eye2mesh.Scale=Vector3.new(0.5, 0.1+1.9*i, 1)
  557. --end
  558. --end
  559. --end),Eye2,Eye2weld)
  560.  
  561. for i,v in pairs(Character:GetChildren()) do
  562. if v:IsA'Model' then
  563. for _,c in pairs(v:GetChildren()) do
  564. if c:IsA'Part' then
  565. c.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
  566. end
  567. end
  568. end
  569. end
  570.  
  571. --[[for _,v in pairs(Character:GetChildren()) do
  572. if v.className=="Hat" then
  573. hatp=v.Handle
  574. hatp.Transparency = 1
  575. end
  576. end]]--
  577.  
  578. for i,v in pairs(Character.Head:GetChildren()) do
  579. if v.className=="BlockMesh" then
  580. v:destroy()
  581. head = Instance.new("SpecialMesh",Head)
  582. head.MeshType = "Head"
  583. end
  584. end
  585.  
  586. local CloakEffect = Instance.new("ParticleEmitter", Torso)
  587. CloakEffect.VelocitySpread = 360
  588. CloakEffect.Lifetime = NumberRange.new(1)
  589. CloakEffect.Speed = NumberRange.new(20)
  590. CloakEffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1, 1), NumberSequenceKeypoint.new(1, 0)})
  591. CloakEffect.Enabled = false
  592. CloakEffect.RotSpeed = NumberRange.new(-360, 360)
  593. CloakEffect.Rate = 1000
  594. CloakEffect.Rotation = NumberRange.new(-360, 360)
  595. CloakEffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.1, 0), NumberSequenceKeypoint.new(1, 1)})
  596. CloakEffect.Color = ColorSequence.new(Color3.new(Colorpart1, Colorpart2, Colorpart3), Color3.new(Colorpart1, Colorpart2, Colorpart3))
  597. CloakEffect.LightEmission = 1
  598. CloakEffect.Texture = "http://www.roblox.com/asset/?id=243664672"
  599.  
  600. CloakEffectLight = Instance.new("PointLight", Torso)
  601. CloakEffectLight.Color = Color3.new(Colorpart1, Colorpart2, Colorpart3)
  602. CloakEffectLight.Range = 10
  603. CloakEffectLight.Brightness = 10
  604. CloakEffectLight.Enabled = false
  605.  
  606. CloakEffectLight2 = Instance.new("PointLight", Torso)
  607. CloakEffectLight2.Color = Color3.new(Colorpart1, Colorpart2, Colorpart3)
  608. CloakEffectLight2.Range = 7.5
  609. CloakEffectLight2.Brightness = 7.5
  610. CloakEffectLight2.Enabled = false
  611.  
  612. local CloakEffect2 = Instance.new("ParticleEmitter", Torso)
  613. CloakEffect2.VelocitySpread = 360
  614. CloakEffect2.Lifetime = NumberRange.new(1)
  615. CloakEffect2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6), NumberSequenceKeypoint.new(1, 5)})
  616. CloakEffect2.Enabled = false
  617. CloakEffect2.RotSpeed = NumberRange.new(9000)
  618. CloakEffect2.Rate = 200
  619. CloakEffect2.Rotation = NumberRange.new(-360, 360)
  620. CloakEffect2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.1, 0), NumberSequenceKeypoint.new(1, 1)})
  621. CloakEffect2.Color = ColorSequence.new(Color3.new(Colorpart1, Colorpart2, Colorpart3), Color3.new(Colorpart1, Colorpart2, Colorpart3))
  622. CloakEffect2.Texture = "http://www.roblox.com/asset/?id=321556991"
  623.  
  624. local TrailEffect = Instance.new("ParticleEmitter", Torso)
  625. TrailEffect.Lifetime = NumberRange.new(1)
  626. TrailEffect.Speed = NumberRange.new(0)
  627. TrailEffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0)})
  628. TrailEffect.Enabled = false
  629. TrailEffect.RotSpeed = NumberRange.new(-360, 360)
  630. TrailEffect.Rate = 500
  631. TrailEffect.Rotation = NumberRange.new(-360, 360)
  632. TrailEffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.1, 0.5), NumberSequenceKeypoint.new(1, 1)})
  633. TrailEffect.Color = ColorSequence.new(Color3.new(Colorpart1, Colorpart2, Colorpart3), Color3.new(Colorpart1, Colorpart2, Colorpart3))
  634. TrailEffect.LightEmission = 0.5
  635. TrailEffect.Texture = "http://www.roblox.com/asset/?id=243728206"
  636.  
  637. local GhostEffect = Instance.new("ParticleEmitter", Torso)
  638. GhostEffect.Lifetime = NumberRange.new(0.25,0.5)
  639. GhostEffect.Speed = NumberRange.new(12.5,15)
  640. GhostEffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.3, 0.3), NumberSequenceKeypoint.new(1, 0, 0)})
  641. GhostEffect.Acceleration = Vector3.new(0, 0, 0)
  642. GhostEffect.RotSpeed = NumberRange.new(9000)
  643. GhostEffect.Rate = 1000
  644. GhostEffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.1, 0.25), NumberSequenceKeypoint.new(1, 1)})
  645. GhostEffect.LightEmission = 0.75
  646. GhostEffect.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(1, 1, 1))
  647. GhostEffect.Texture = "http://www.roblox.com/asset/?id=321556991"
  648. GhostEffect.VelocitySpread = 360
  649. GhostEffect.LockedToPart = false
  650. GhostEffect.Enabled = false
  651.  
  652. local Player = game.Players.localPlayer
  653. local Character = Player.Character
  654. local Humanoid = Character.Humanoid
  655. local mouse = Player:GetMouse()
  656. --local m = Instance.new('Model', Character)
  657. local LeftArm = Character["Left Arm"]
  658. local RightArm = Character["Right Arm"]
  659. local LeftLeg = Character["Left Leg"]
  660. local RightLeg = Character["Right Leg"]
  661. local Head = Character.Head
  662. local Torso = Character.Torso
  663. local cam = game.Workspace.CurrentCamera
  664. local RootPart = Character.HumanoidRootPart
  665. --cam.CameraSubject = Head
  666. local equipped = false
  667. local attack = false
  668. local Anim = 'Idle'
  669. local idle = 0
  670. local sprint = false
  671. local battlestance = false
  672. local attacktype = 1
  673. local state = 'none'
  674. local torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  675. local velocity = RootPart.Velocity.y
  676. local sine = 0
  677. local change = 1
  678. local on = false
  679. local grabbed = false
  680. local skill1 = false
  681. local skill2 = false
  682. local skill3 = false
  683. local skill4 = false
  684. local cooldown1 = 0
  685. local cooldown2 = 0
  686. local cooldown3 = 0
  687. local cooldown4 = 0
  688. local co1 = 20--how long it will take for skill to cooldown
  689. local co2 = 30
  690. local co3 = 40
  691. local co4 = 100
  692. local inputserv = game:GetService('UserInputService')
  693. local typing = false
  694. local crit = false
  695. local critchance = 2--critical chance percentage
  696. local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage
  697. local critdamageaddmax = 7--maximum amount
  698. local maxstamina = 100--max amount of stamina
  699. local stamina = 0--stamina you start out with
  700. local maxjumpstamina = 100--max amount of jumpstamina
  701. local jumpstamina = 0--jumpstamina you start out with
  702. local maxstealth = 100--max amount of stealth
  703. local stealth = 0--stealth you start out with
  704. local skill1stam = 30--how much stamina is needed for a skill
  705. local skill2stam = 40
  706. local skill3stam = 50
  707. local skill4stam = 95
  708. local recovermana = 3--how much mana per second
  709. local recoverstealth = 5--how much mana per second
  710. local recoverjumpstamina = 25--how much mana per second
  711. local defensevalue = 0.7--how much defense this character has
  712. local speedvalue = 1.25--how much speed this character has
  713. --speed is 16*speedvalue
  714. local mindamage = 5--self explanatory
  715. local maxdamage = 10--self explanatory
  716. local damagevalue = 1--how much damage this character has
  717. local cf = cf-- make things easier :)
  718. local mr = rad
  719. local angles = CFrame.Angles
  720. local ud = UDim2.new
  721. local c3 = Color3.new
  722. local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
  723.  
  724. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  725. function makeframe(par, trans, pos, size, color)
  726. local frame = Instance.new('Frame', par)
  727. frame.BackgroundTransparency = trans
  728. frame.BorderSizePixel = 0
  729. frame.Position = pos
  730. frame.Size = size
  731. frame.BackgroundColor3 = color
  732. return frame
  733. end
  734. function makelabel(par, text)
  735. local label = Instance.new('TextLabel', par)
  736. label.BackgroundTransparency = 1
  737. label.Size = ud(1, 0, 1, 0)
  738. label.Position = ud(0, 0, 0, 0)
  739. label.TextColor3 = c3(255, 255, 255)
  740. label.TextStrokeTransparency = 0
  741. label.FontSize = Enum.FontSize.Size32
  742. label.Font = Enum.Font.SourceSansBold
  743. label.BorderSizePixel = 0
  744. label.TextScaled = true
  745. label.Text = text
  746. end
  747. framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  748. framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  749. framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  750. framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  751. --framesk5 = makeframe(scrn, .5, ud(.03, 0, .645, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  752. --framesk6 = makeframe(scrn, .5, ud(.03, 0, .715, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  753. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  754. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  755. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  756. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  757. --bar5 = makeframe(framesk5, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  758. --bar6 = makeframe(framesk6, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  759. text1 = makelabel(framesk1, '[C] Cometal Blast/Planet Shatter')
  760. text2 = makelabel(framesk2, '[V] Dark Void')
  761. text3 = makelabel(framesk3, '[X] Celestial Matter Distortion')
  762. text4 = makelabel(framesk4, '[Z] Galactic Lunge/Spiral Dispursion')
  763. --text5 = makelabel(framesk5, 'Rigormortis is basically finished, but before I release it as a public class, I need to make sure its balanced. Notify me if there are any problems. Thanks.')
  764. --text6 = makelabel(framesk6, 'A message from Brannon1964802')
  765. staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1))
  766. staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1))
  767. staminatext = makelabel(staminabar, 'Mana')
  768. stealthbar = makeframe(scrn, .5, ud(.23, 0, .78, 0), ud(.26, 0, .03, 0), c3(58 / 255, 125 / 255, 21 / 255))
  769. stealthcover = makeframe(stealthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 200 / 255, 0))
  770. stealthtext = makelabel(stealthbar, 'Stealth')
  771. healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
  772. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255))
  773. healthtext = makelabel(healthbar, 'Health')
  774. jumpstaminabar = makeframe(scrn, .5, ud(.5, 0, .78, 0), ud(.26, 0, .03, 0), c3(200 / 200, 158 / 255, 0))
  775. jumpstaminacover = makeframe(jumpstaminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(255 / 255, 255 / 255, 0))
  776. jumpstaminatext = makelabel(jumpstaminabar, 'Jump Stamina')
  777.  
  778. local stats=Instance.new('Folder',Character)
  779. stats.Name='Stats'
  780. local block=Instance.new('BoolValue',stats)
  781. block.Name='Block'
  782. block.Value=false
  783. local stun=Instance.new('BoolValue',stats)
  784. stun.Name='Stun'
  785. stun.Value=false
  786. local defense=Instance.new('NumberValue',stats)
  787. defense.Name='Defence'
  788. defense.Value=defensevalue
  789. local speed=Instance.new('NumberValue',stats)
  790. speed.Name='Speed'
  791. speed.Value=speedvalue
  792. local damagea=Instance.new('NumberValue',stats)
  793. damagea.Name='Damage'
  794. damagea.Value=damagevalue
  795.  
  796. function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
  797. local p = Instance.new('Part', par or workspace)
  798. p.CFrame = pos1
  799. p.Anchored = true
  800. p.Material = 'Plastic'
  801. p.CanCollide = false
  802. p.TopSurface = 0
  803. p.Size = Vector3.new(1, 1, 1)
  804. p.BottomSurface = 0
  805. p.Transparency = trans
  806. p.FormFactor = 'Custom'
  807. nooutline(p)
  808. local mesh = Instance.new('SpecialMesh', p)
  809. mesh.Scale = size
  810. if id ~= nil and type == nil then
  811. mesh.MeshId = 'rbxassetid://'..id
  812. elseif id == nil and type ~= nil then
  813. mesh.MeshType = type
  814. elseif id == nil and type == nil then
  815. mesh.MeshType = 'Brick'
  816. end
  817. coroutine.wrap(function()
  818. for i = 0, delay1, .1 do
  819. wait(1 / 60)
  820. p.CFrame = p.CFrame
  821. mesh.Scale = mesh.Scale + howmuch
  822. p.Transparency = p.Transparency + trans1
  823. end
  824. p:Destroy()
  825. end)()
  826. return p
  827. end
  828.  
  829. function clangy(cframe)
  830. wait(1 / 60)
  831. local clang = {}
  832. local dis = 0
  833. local part = Instance.new('Part', nil)
  834. part.CFrame = cframe
  835. part.Anchored = true
  836. part.CanCollide = false
  837. part.BrickColor = BrickColor.new('New Yeller')
  838. part.FormFactor = 'Custom'
  839. part.Name = 'clanger'
  840. part.Size = Vector3.new(.2, .2, .2)
  841. part.TopSurface = 10
  842. part.BottomSurface = 10
  843. part.RightSurface = 10
  844. part.LeftSurface = 10
  845. part.BackSurface = 10
  846. part.FrontSurface = 10
  847. --part.Material='Neon'
  848. part:BreakJoints()
  849. local mesh = Instance.new('BlockMesh', part)
  850. coroutine.wrap(function()
  851. for i = 1, 7 do
  852. wait(1 / 60)
  853. dis = dis + .2
  854. local partc = part:clone()
  855. partc.Parent = workspace
  856. partc.CFrame = part.CFrame * euler(dis, 0, 0)
  857. partc.CFrame = partc.CFrame * cf(0, dis, 0)
  858. table.insert(clang, partc)
  859. end
  860. for i, v in pairs(clang) do
  861. coroutine.wrap(function()
  862. for i = 1, 10 do
  863. wait(.01)
  864. v.Transparency = v.Transparency + .1
  865. end
  866. v:destroy()
  867. end)()
  868. end
  869. end)()
  870. end
  871. --damage effects
  872. function circle(color, pos1)
  873. local p = Instance.new('Part', m)
  874. p.BrickColor = BrickColor.new(color)
  875. p.CFrame = pos1
  876. p.Anchored = true
  877. p.Material = 'Plastic'
  878. p.CanCollide = false
  879. p.TopSurface = 0
  880. p.Size = Vector3.new(1, 1, 1)
  881. p.BottomSurface = 0
  882. p.Transparency = 0.35
  883. p.FormFactor = 'Custom'
  884. local mesh = Instance.new('CylinderMesh', p)
  885. mesh.Scale = Vector3.new(0, 0, 0)
  886. coroutine.wrap(function()
  887. for i = 0, 5, .1 do
  888. wait(1 / 60)
  889. p.CFrame = p.CFrame
  890. mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5)
  891. p.Transparency = p.Transparency + .025
  892. end
  893. p:Destroy()
  894. end)()
  895. end
  896. function firespaz1(color, pos1)
  897. local p = Instance.new('Part', m)
  898. p.BrickColor = BrickColor.new(color)
  899. p.CFrame = pos1
  900. p.Anchored = true
  901. p.Material = 'Plastic'
  902. p.CanCollide = false
  903. p.TopSurface = 0
  904. p.Size = Vector3.new(1, 1, 1)
  905. p.BottomSurface = 0
  906. p.Transparency = 0.5
  907. p.FormFactor = 'Custom'
  908. local mesh = Instance.new('BlockMesh', p)
  909. mesh.Scale = Vector3.new(1, 1, 1)
  910. coroutine.wrap(function()
  911. for i = 0, 15, .1 do
  912. wait(1 / 30)
  913. p.CFrame = p.CFrame * cf(0, .1, 0)
  914. mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1)
  915. p.Transparency = p.Transparency + .025
  916. end
  917. p:Destroy()
  918. end)()
  919. end
  920.  
  921. function pickrandom(tablesa)
  922. local randomized = tablesa[math.random(1, #tablesa)]
  923. return randomized
  924. end
  925. function sound(id,pitch,volume,par,last)
  926. local s=Instance.new('Sound',par or Torso)
  927. s.SoundId='rbxassetid://'..id
  928. s.Pitch=pitch or 1
  929. s.Volume=volume or 1
  930. wait()
  931. s:play()
  932. game.Debris:AddItem(s,last or 120)
  933. end
  934. function clangy(cframe)
  935. wait(1 / 60)
  936. local clang = {}
  937. local dis = 0
  938. local part = Instance.new('Part', nil)
  939. part.CFrame = cframe
  940. part.Anchored = true
  941. part.CanCollide = false
  942. part.BrickColor = BrickColor.new('New Yeller')
  943. part.FormFactor = 'Custom'
  944. part.Name = 'clanger'
  945. part.Size = Vector3.new(.2, .2, .2)
  946. part.TopSurface = 10
  947. part.BottomSurface = 10
  948. part.RightSurface = 10
  949. part.LeftSurface = 10
  950. part.BackSurface = 10
  951. part.FrontSurface = 10
  952. --part.Material='Neon'
  953. part:BreakJoints()
  954. local mesh = Instance.new('BlockMesh', part)
  955. coroutine.wrap(function()
  956. for i = 1, 7 do
  957. wait(1 / 60)
  958. dis = dis + .2
  959. local partc = part:clone()
  960. partc.Parent = workspace
  961. partc.CFrame = part.CFrame * euler(dis, 0, 0)
  962. partc.CFrame = partc.CFrame * cf(0, dis, 0)
  963. table.insert(clang, partc)
  964. end
  965. for i, v in pairs(clang) do
  966. coroutine.wrap(function()
  967. for i = 1, 10 do
  968. wait(.01)
  969. v.Transparency = v.Transparency + .1
  970. end
  971. v:destroy()
  972. end)()
  973. end
  974. end)()
  975. end
  976. --damage effects
  977. --Effects
  978. so = function(id, par, vol, pit)
  979. co_resume(co_create(function()
  980. local sou = Instance.new("Sound",par)
  981. sou.Volume = vol
  982. sou.Pitch = pit
  983. sou.SoundId = id
  984. wait()
  985. sou:play()
  986. game:GetService("Debris"):AddItem(sou, 10)
  987. end))
  988. end
  989.  
  990. function getclosest(obj,dis, player)
  991. if player then
  992. return (player.Torso.CFrame.p - obj).magnitude < dis
  993. end
  994. local list = {}
  995. for i, v in pairs(workspace:GetChildren()) do
  996. if v:IsA("Model") then
  997. if v:findFirstChild("Torso") then
  998. if v ~= Character then
  999. if (v.Torso.Position - obj).magnitude <= dis then
  1000. table.insert(list, v)
  1001. end
  1002. end
  1003. end
  1004. end
  1005. end
  1006. return list
  1007. end
  1008.  
  1009. function tag(hum, player)
  1010. local creator = Instance.new('ObjectValue', hum)
  1011. creator.Value = player
  1012. creator.Name = 'creator'
  1013. end
  1014. function untag(hum)
  1015. if hum ~= nil then
  1016. local tag = hum:findFirstChild("creator")
  1017. if tag ~= nil then
  1018. tag.Parent = nil
  1019. end
  1020. end
  1021. end
  1022.  
  1023. function tagplayer(h)
  1024. coroutine.wrap(function()
  1025. tag(h, player)
  1026. wait(1)
  1027. untag(h)
  1028. end)()
  1029. end
  1030.  
  1031. function randomizer(percent)
  1032. local randomized = math.random(0, 100)
  1033. if randomized <= percent then
  1034. return true
  1035. elseif randomized >= percent then
  1036. return false
  1037. end
  1038. end
  1039.  
  1040. function turncrit()
  1041. co_resume(co_create(function()
  1042. print'CRITICAL!'
  1043. crit = true
  1044. wait(.25)
  1045. crit = false
  1046. end))
  1047. end
  1048.  
  1049. --[[function damage(hit, mind, maxd, knock, type, prop)
  1050. --
  1051. to apply it to a player directly, make the first arg go to the players torso
  1052. 1 - normal type(damage and knockback)
  1053. 2 - drain type(damage no knockback)
  1054. 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
  1055. 4 - heal(heals target)
  1056. 5 - subtracts enemies defense
  1057. 6 - subtracts enemies speed
  1058. 7 -
  1059.  
  1060. if hit.Material == 'Metal' then
  1061. local pos = cf(0, 1, -1)
  1062. CreateSound(pickrandom(clangsounds),math.random(100,150)/100,1,Torso,6)
  1063. coroutine.wrap(function()
  1064. for i = 1, 4 do
  1065. clangy(Torso.CFrame * pos * CFrame.Angles(0, rad(math.random(0, 360)), 0))
  1066. end
  1067. end)()
  1068. end
  1069. if hit.Parent == nil then
  1070. return
  1071. end
  1072. local h = hit.Parent:FindFirstChild("Humanoid")
  1073. for i, v in pairs(hit.Parent:children()) do
  1074. if v:IsA("Humanoid") then
  1075. h = v
  1076. end
  1077. end
  1078. if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
  1079. h = hit.Parent.Parent:FindFirstChild('Humanoid')
  1080. end
  1081. if hit.Parent:IsA('Hat') then
  1082. hit = hit.Parent.Parent:findFirstChild('Head')
  1083. end
  1084. local D = math.random(mind, maxd)*damagea.Value
  1085. if h then
  1086. makegui(h.Parent.Head.CFrame, tostring(math.floor(D+.5)))
  1087. end
  1088. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1089. if type == 1 then
  1090. tagplayer(h)
  1091. local asd = randomizer(critchance)
  1092. if asd == true then
  1093. turncrit()
  1094. end
  1095. if crit == false then
  1096. h.Health = h.Health - D
  1097. else
  1098. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  1099. end
  1100. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  1101. local vp = Instance.new('BodyVelocity')
  1102. vp.P = 500
  1103. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1104. vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
  1105. if knock > 0 then
  1106. vp.Parent = hit.Parent.Torso
  1107. end
  1108. game:GetService("Debris"):AddItem(vp, .5)
  1109. elseif type == 2 then
  1110. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  1111. local asd = randomizer(critchance)
  1112. if asd == true then
  1113. turncrit()
  1114. end
  1115. if crit == false then
  1116. h.Health = h.Health - D
  1117. else
  1118. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  1119. end
  1120. tagplayer(h)
  1121. elseif type == 3 then
  1122. tagplayer(h)
  1123. local asd = randomizer(critchance)
  1124. if asd == true then
  1125. turncrit()
  1126. end
  1127. if crit == false then
  1128. h.Health = h.Health - D
  1129. else
  1130. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  1131. end
  1132. Character.Humanoid.Health = Character.Humanoid.Health + D / 2
  1133. so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
  1134. for i = 1, 10 do
  1135. firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
  1136. end
  1137. elseif type == 4 then
  1138. h.Health = h.Health + D
  1139. so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
  1140. circle('Dark green', h.Parent.Torso.CFrame * cf(0, -2.5, 0))
  1141. end
  1142. end
  1143. end]]--
  1144.  
  1145. function subtractstamina(k)
  1146. if stamina >= k then
  1147. stamina = stamina - k
  1148. end
  1149. end
  1150.  
  1151. local function weldBetween(a, b)
  1152. local weldd = Instance.new("ManualWeld")
  1153. weldd.Part0 = a
  1154. weldd.Part1 = b
  1155. weldd.C0 = cf()
  1156. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1157. weldd.Parent = a
  1158. return weldd
  1159. end
  1160.  
  1161.  
  1162. function nooutline(part)
  1163. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1164. end
  1165.  
  1166. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1167. local fp=it("Part")
  1168. fp.formFactor=formfactor
  1169. fp.Parent=parent
  1170. fp.Reflectance=reflectance
  1171. fp.Transparency=transparency
  1172. fp.CanCollide=false
  1173. fp.Locked=true
  1174. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1175. fp.Name=name
  1176. fp.Size=size
  1177. fp.Position=Character.Torso.Position
  1178. nooutline(fp)
  1179. fp.Material=material
  1180. fp:BreakJoints()
  1181. return fp
  1182. end
  1183.  
  1184. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1185. local mesh=it(Mesh)
  1186. mesh.Parent=part
  1187. if Mesh=="SpecialMesh" then
  1188. mesh.MeshType=meshtype
  1189. mesh.MeshId=meshid
  1190. end
  1191. mesh.Offset=offset
  1192. mesh.Scale=scale
  1193. return mesh
  1194. end
  1195.  
  1196. function weld(parent,part0,part1,c0,c1)
  1197. local weld=it("Weld")
  1198. weld.Parent=parent
  1199. weld.Part0=part0
  1200. weld.Part1=part1
  1201. weld.C0=c0
  1202. weld.C1=c1
  1203. return weld
  1204. end
  1205.  
  1206.  
  1207. local function CFrameFromTopBack(at, top, back)
  1208. local right = top:Cross(back)
  1209. return cf(at.x, at.y, at.z,
  1210. right.x, top.x, back.x,
  1211. right.y, top.y, back.y,
  1212. right.z, top.z, back.z)
  1213. end
  1214.  
  1215. function Triangle(a, b, c)
  1216. local edg1 = (c-a):Dot((b-a).unit)
  1217. local edg2 = (a-b):Dot((c-b).unit)
  1218. local edg3 = (b-c):Dot((a-c).unit)
  1219. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1220. a, b, c = a, b, c
  1221. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1222. a, b, c = b, c, a
  1223. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1224. a, b, c = c, a, b
  1225. else
  1226. assert(false, "unreachable")
  1227. end
  1228.  
  1229. local len1 = (c-a):Dot((b-a).unit)
  1230. local len2 = (b-a).magnitude - len1
  1231. local width = (a + (b-a).unit*len1 - c).magnitude
  1232.  
  1233. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1234.  
  1235. local list = {}
  1236.  
  1237. local TrailColor = ("Dark grey")
  1238.  
  1239. if len1 > 0.01 then
  1240. local w1 = Instance.new('WedgePart', m)
  1241. game:GetService("Debris"):AddItem(w1,5)
  1242. w1.Material = "SmoothPlastic"
  1243. w1.FormFactor = 'Custom'
  1244. w1.BrickColor = BrickColor.new(TrailColor)
  1245. w1.Transparency = 0
  1246. w1.Reflectance = 0
  1247. w1.Material = "SmoothPlastic"
  1248. w1.CanCollide = false
  1249. NoOutline(w1)
  1250. local sz = Vector3.new(0.2, width, len1)
  1251. w1.Size = sz
  1252. local sp = Instance.new("SpecialMesh",w1)
  1253. sp.MeshType = "Wedge"
  1254. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1255. w1:BreakJoints()
  1256. w1.Anchored = true
  1257. w1.Parent = workspace
  1258. w1.Transparency = 0.7
  1259. table.insert(Effects,{w1,"Disappear",.01})
  1260. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*cf(0,width/2,len1/2)
  1261. table.insert(list,w1)
  1262. end
  1263.  
  1264. if len2 > 0.01 then
  1265. local w2 = Instance.new('WedgePart', m)
  1266. game:GetService("Debris"):AddItem(w2,5)
  1267. w2.Material = "SmoothPlastic"
  1268. w2.FormFactor = 'Custom'
  1269. w2.BrickColor = BrickColor.new(TrailColor)
  1270. w2.Transparency = 0
  1271. w2.Reflectance = 0
  1272. w2.Material = "SmoothPlastic"
  1273. w2.CanCollide = false
  1274. NoOutline(w2)
  1275. local sz = Vector3.new(0.2, width, len2)
  1276. w2.Size = sz
  1277. local sp = Instance.new("SpecialMesh",w2)
  1278. sp.MeshType = "Wedge"
  1279. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1280. w2:BreakJoints()
  1281. w2.Anchored = true
  1282. w2.Parent = workspace
  1283. w2.Transparency = 0.7
  1284. table.insert(Effects,{w2,"Disappear",.01})
  1285. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*cf(0,width/2,-len1 - len2/2)
  1286. table.insert(list,w2)
  1287. end
  1288. return unpack(list)
  1289. end
  1290.  
  1291.  
  1292. so = function(id,par,vol,pit)
  1293. co_resume(co_create(function()
  1294. local sou = Instance.new("Sound",par or workspace)
  1295. sou.Volume=vol
  1296. sou.Pitch=pit or 1
  1297. sou.SoundId=id
  1298. FatEvent:wait()
  1299. sou:play()
  1300. game:GetService("Debris"):AddItem(sou,6)
  1301. end))
  1302. end
  1303.  
  1304. function clerp(a,b,t)
  1305. local qa = {QuaternionFromCFrame(a)}
  1306. local qb = {QuaternionFromCFrame(b)}
  1307. local ax, ay, az = a.x, a.y, a.z
  1308. local bx, by, bz = b.x, b.y, b.z
  1309. local _t = 1-t
  1310. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1311. end
  1312.  
  1313. local clerp = cf().lerp
  1314.  
  1315. function QuaternionFromCFrame(cf)
  1316. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1317. local trace = m00 + m11 + m22
  1318. if trace > 0 then
  1319. local s = math.sqrt(1 + trace)
  1320. local recip = 0.5/s
  1321. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1322. else
  1323. local i = 0
  1324. if m11 > m00 then
  1325. i = 1
  1326. end
  1327. if m22 > (i == 0 and m00 or m11) then
  1328. i = 2
  1329. end
  1330. if i == 0 then
  1331. local s = math.sqrt(m00-m11-m22+1)
  1332. local recip = 0.5/s
  1333. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1334. elseif i == 1 then
  1335. local s = math.sqrt(m11-m22-m00+1)
  1336. local recip = 0.5/s
  1337. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1338. elseif i == 2 then
  1339. local s = math.sqrt(m22-m00-m11+1)
  1340. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1341. end
  1342. end
  1343. end
  1344.  
  1345. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1346. local xs, ys, zs = x + x, y + y, z + z
  1347. local wx, wy, wz = w*xs, w*ys, w*zs
  1348. local xx = x*xs
  1349. local xy = x*ys
  1350. local xz = x*zs
  1351. local yy = y*ys
  1352. local yz = y*zs
  1353. local zz = z*zs
  1354. return cf(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1355. end
  1356.  
  1357. function QuaternionSlerp(a, b, t)
  1358. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1359. local startInterp, finishInterp;
  1360. if cosTheta >= 0.0001 then
  1361. if (1 - cosTheta) > 0.0001 then
  1362. local theta = math.acos(cosTheta)
  1363. local invSinTheta = 1/sin(theta)
  1364. startInterp = sin((1-t)*theta)*invSinTheta
  1365. finishInterp = sin(t*theta)*invSinTheta
  1366. else
  1367. startInterp = 1-t
  1368. finishInterp = t
  1369. end
  1370. else
  1371. if (1+cosTheta) > 0.0001 then
  1372. local theta = math.acos(-cosTheta)
  1373. local invSinTheta = 1/sin(theta)
  1374. startInterp = sin((t-1)*theta)*invSinTheta
  1375. finishInterp = sin(t*theta)*invSinTheta
  1376. else
  1377. startInterp = t-1
  1378. finishInterp = t
  1379. end
  1380. end
  1381. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1382. end
  1383.  
  1384. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, cf(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1385. local PartOnRay = workspace.FindPartOnRay
  1386. local RayNew = Ray.new
  1387. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1388. return PartOnRay(workspace,RayNew(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1389. end
  1390.  
  1391. function makegui(cframe, text)
  1392. local a = math.random(-10, 10) / 100
  1393. local c = Instance.new("Part")
  1394. c.Transparency = 1
  1395. Instance.new("BodyGyro").Parent = c
  1396. c.Parent = workspace
  1397. c.CFrame = cf(cframe.p + Vector3.new(0, 1.5, 0))
  1398. local f = Instance.new("BodyPosition")
  1399. f.P = 2000
  1400. f.D = 100
  1401. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1402. f.position = c.Position + Vector3.new(0, 3, 0)
  1403. f.Parent = c
  1404. game:GetService("Debris"):AddItem(c, .5 + 6)
  1405. c.CanCollide = false
  1406. c.Parent = workspace
  1407. c.CanCollide = false
  1408. local bg = Instance.new('BillboardGui', c)
  1409. bg.Adornee = c
  1410. bg.Size = UDim2.new(1, 0, 1, 0)
  1411. bg.StudsOffset = Vector3.new(0, 0, 0)
  1412. bg.AlwaysOnTop = false
  1413. local tl = Instance.new('TextLabel', bg)
  1414. tl.BackgroundTransparency = 1
  1415. tl.Size = UDim2.new(1, 0, 1, 0)
  1416. tl.Text = text
  1417. tl.Font = 'SourceSansBold'
  1418. tl.FontSize = 'Size42'
  1419. if crit == true then
  1420. tl.TextColor3 = Color3.new(180 / 255, 0, 0)
  1421. else
  1422. tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
  1423. end
  1424. tl.TextStrokeTransparency = 0
  1425. tl.TextScaled = true
  1426. tl.TextWrapped = true
  1427. coroutine.wrap(function()
  1428. wait(2)
  1429. for i = 1, 10 do
  1430. FatEvent:wait()
  1431. c.Transparency = 1
  1432. tl.TextTransparency = tl.TextTransparency + .1
  1433. end
  1434. end)()
  1435. end
  1436.  
  1437. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1438. if hit.Parent==nil then
  1439. return
  1440. end
  1441. local h=hit.Parent:FindFirstChild("Humanoid")
  1442. for _,v in pairs(hit.Parent:children()) do
  1443. if v:IsA("Humanoid") then
  1444. h=v
  1445. end
  1446. end
  1447. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1448. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1449. end
  1450. if hit.Parent.className=="Hat" then
  1451. hit=hit.Parent.Parent:findFirstChild("Head")
  1452. end
  1453. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1454. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1455. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1456. return
  1457. end]]
  1458. -- hs(hit,1.2)
  1459. --[[ c=Instance.new("ObjectValue")
  1460. c.Name="creator"
  1461. c.Value=game:service("Players").LocalPlayer
  1462. c.Parent=h
  1463. game:GetService("Debris"):AddItem(c,.5)]]--
  1464. --Damage=math.random(minim,maxim)*damagea.Value/defense.Value
  1465. -- h:TakeDamage(Damage)
  1466. local blocked=false
  1467. block=hit.Parent:findFirstChild("Block")
  1468. if block~=nil then
  1469. print(block.className)
  1470. if block.className=="NumberValue" then
  1471. if block.Value>0 then
  1472. blocked=true
  1473. if decreaseblock==nil then
  1474. block.Value=block.Value-1
  1475. end
  1476. end
  1477. end
  1478. if block.className=="IntValue" then
  1479. if block.Value>0 then
  1480. blocked=true
  1481. if decreaseblock~=nil then
  1482. block.Value=block.Value-1
  1483. end
  1484. end
  1485. end
  1486. end
  1487. if blocked==false then
  1488. -- h:TakeDamage(Damage)
  1489. local D = math.random(minim, maxim)*damagea.Value
  1490. if h.Parent:FindFirstChild('Stats') then
  1491. D=D/h.Parent:FindFirstChild('Stats').Defence.Value
  1492. elseif not h.Parent:FindFirstChild('Stats') then
  1493. D=D
  1494. end
  1495. --h.Health=h.Health-D
  1496. game.ReplicatedStorage.Remotes.HealthEvent:FireServer(h, D, 1)
  1497. hit.Parent.Humanoid:TakeDamage(D)
  1498. makegui(hit.Parent.Head.CFrame,tostring(math.floor(D+.5)))
  1499. --showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
  1500. else
  1501. local D = math.random(minim, maxim)*damagea.Value
  1502. if h.Parent:FindFirstChild('Stats') then
  1503. D=D/h.Parent:FindFirstChild('Stats').Defence.Value
  1504. elseif not h.Parent:FindFirstChild('Stats') then
  1505. D=D
  1506. end
  1507. --h.Health=h.Health-(D/2)
  1508. game.ReplicatedStorage.Remotes.HealthEvent:FireServer(h, D/2, 1)
  1509. --TagService:NewTag(h.Parent, Player, 'Rigormortis', D)
  1510. makegui(hit.Parent.Head.CFrame,tostring(math.floor(D+.5)))
  1511. -- showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  1512. end
  1513. if Type=="Knockdown" then
  1514. local humanoid=hit.Parent.Humanoid
  1515. humanoid.PlatformStand=true
  1516. co_resume(co_create(function(Humanoid)
  1517. FatEvent:wait()
  1518. Humanoid.PlatformStand=false
  1519. end),humanoid)
  1520. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1521. --hit.CFrame=cf(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*euler(math.pi/4,0,0)
  1522. local bodvol=Instance.new("BodyVelocity")
  1523. bodvol.velocity=angle*knockback
  1524. bodvol.P=5000
  1525. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1526. bodvol.Parent=hit
  1527. rl=Instance.new("BodyAngularVelocity")
  1528. rl.P=3000
  1529. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1530. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1531. rl.Parent=hit
  1532. game:GetService("Debris"):AddItem(bodvol,.5)
  1533. game:GetService("Debris"):AddItem(rl,.5)
  1534. elseif Type=="Normal" then
  1535. so("http://www.roblox.com/asset/?id=344936315",hit,1,math.random(100,200)/100)
  1536. vp=Instance.new("BodyVelocity")
  1537. vp.P=500
  1538. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1539. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1540. if KnockbackType==1 then
  1541. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1542. elseif KnockbackType==2 then
  1543. vp.velocity=Property.CFrame.lookVector*knockback
  1544. end
  1545. if knockback>0 then
  1546. vp.Parent=hit.Parent.Torso
  1547. end
  1548. game:GetService("Debris"):AddItem(vp,.5)
  1549. elseif Type=="SlashLifeSteal" then
  1550. so("http://www.roblox.com/asset/?id=344936315",hit,1,math.random(100,200)/100)
  1551. Humanoid.Health = Humanoid.Health+math.random(1,2)/2.5
  1552. vp=Instance.new("BodyVelocity")
  1553. vp.P=500
  1554. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1555. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1556. if KnockbackType==1 then
  1557. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1558. elseif KnockbackType==2 then
  1559. vp.velocity=Property.CFrame.lookVector*knockback
  1560. end
  1561. if knockback>0 then
  1562. vp.Parent=hit.Parent.Torso
  1563. end
  1564. game:GetService("Debris"):AddItem(vp,.5)
  1565. elseif Type=="SlashLifeSteal2" then
  1566. so("http://www.roblox.com/asset/?id=344936315",hit,1,math.random(100,200)/100)
  1567. Humanoid.Health = Humanoid.Health+math.random(2,3)/2.5
  1568. vp=Instance.new("BodyVelocity")
  1569. vp.P=500
  1570. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1571. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1572. if KnockbackType==1 then
  1573. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1574. elseif KnockbackType==2 then
  1575. vp.velocity=Property.CFrame.lookVector*knockback
  1576. end
  1577. if knockback>0 then
  1578. vp.Parent=hit.Parent.Torso
  1579. end
  1580. game:GetService("Debris"):AddItem(vp,.5)
  1581. elseif Type=="BlackHoleDamage" then
  1582. --so("http://www.roblox.com/asset/?id=344936315",hit,1,math.random(100,200)/100)
  1583. Humanoid.Health = Humanoid.Health+math.random(2,4)/5
  1584. --bp = Instance.new("BodyPosition")
  1585. --bp.P=2000
  1586. --bp.D=100
  1587. --bp.maxForce=Vector3.new(9999,9999,9999)
  1588. --bp.position=hit.Parent.Torso.Position
  1589. --bp.Parent=hit.Parent.Torso
  1590. --game:GetService("Debris"):AddItem(bp,1)
  1591. local floatingvelocity = Instance.new("BodyVelocity")
  1592. floatingvelocity.Parent = hit.Parent.Torso
  1593. floatingvelocity.Velocity = Vector3.new(0,math.random(2.5,5),0)
  1594. game:GetService("Debris"):AddItem(floatingvelocity,1)
  1595. elseif Type=="BlackHoleDamage2" then
  1596. --so("http://www.roblox.com/asset/?id=344936315",hit,1,math.random(100,200)/100)
  1597. vp=Instance.new("BodyVelocity")
  1598. vp.P=500
  1599. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1600. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1601. if KnockbackType==1 then
  1602. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1603. elseif KnockbackType==2 then
  1604. vp.velocity=Property.CFrame.lookVector*knockback
  1605. end
  1606. if knockback>0 then
  1607. vp.Parent=hit.Parent.Torso
  1608. end
  1609. game:GetService("Debris"):AddItem(vp,.5)
  1610. elseif Type=="Up" then
  1611. local bodyVelocity=Instance.new("BodyVelocity")
  1612. bodyVelocity.velocity=vt(0,60,0)
  1613. bodyVelocity.P=5000
  1614. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1615. bodyVelocity.Parent=hit
  1616. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1617. rl=Instance.new("BodyAngularVelocity")
  1618. rl.P=3000
  1619. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1620. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1621. rl.Parent=hit
  1622. game:GetService("Debris"):AddItem(rl,.5)
  1623. elseif Type=="Snare" then
  1624. wait()
  1625. bp=Instance.new("BodyPosition")
  1626. bp.P=2000
  1627. bp.D=100
  1628. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1629. bp.position=hit.Parent.Torso.Position
  1630. bp.Parent=hit.Parent.Torso
  1631. game:GetService("Debris"):AddItem(bp,1)
  1632. elseif Type=="Target" then
  1633. so("http://www.roblox.com/asset/?id=199144144",hit,1,math.random(150,200)/100)
  1634. vp=Instance.new("BodyVelocity")
  1635. vp.P=500
  1636. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1637. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1638. if KnockbackType==1 then
  1639. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1640. elseif KnockbackType==2 then
  1641. vp.velocity=Property.CFrame.lookVector*knockback
  1642. end
  1643. if knockback>0 then
  1644. vp.Parent=hit.Parent.Torso
  1645. end
  1646. game:GetService("Debris"):AddItem(vp,.5)
  1647. end
  1648. local debounce=Instance.new("BoolValue")
  1649. debounce.Name="DebounceHit"
  1650. debounce.Parent=hit.Parent
  1651. debounce.Value=true
  1652. game:GetService("Debris"):AddItem(debounce,Delay)
  1653. c=Instance.new("ObjectValue")
  1654. c.Name="creator"
  1655. c.Value=Player
  1656. c.Parent=h
  1657. game:GetService("Debris"):AddItem(c,.3)
  1658. -- CRIT=false
  1659. -- hitDeb=true
  1660. --AttackPos=6
  1661. end
  1662. end
  1663.  
  1664. function MagniDamage(Part,magni,mindam,maxdam,knock,Type)
  1665. for _,c in pairs(workspace:children()) do
  1666. local hum=c:findFirstChild("Humanoid")
  1667. if hum~=nil then
  1668. local head=c:findFirstChild("Torso")
  1669. if head~=nil then
  1670. local targ=head.Position-Part.Position
  1671. local mag=targ.magnitude
  1672. if mag<=magni and c.Name~=Player.Name then
  1673. Damagefunc(head,mindam,maxdam,knock,Type,RootPart,.2,1,3,1)
  1674. end
  1675. end
  1676. end
  1677. end
  1678. end
  1679.  
  1680. function JumpEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1681. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1682. prt.Anchored = true
  1683. prt.CanCollide=false
  1684. prt.CFrame = cframe*angles(math_rad_90,0,0)
  1685. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1686. game:GetService("Debris"):AddItem(prt, 10)
  1687. co_resume(co_create(function(Part, Mesh)
  1688. for i = 0, 1, delay do
  1689. FatEvent:wait()
  1690. Part.CFrame = Part.CFrame
  1691. Part.Transparency = i
  1692. Mesh.Scale = Mesh.Scale + vt(x2, y2, z2)
  1693. end
  1694. Part.Parent = nil
  1695. end), prt, msh)
  1696. end
  1697.  
  1698. function OrbEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1699. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1700. prt.Anchored = true
  1701. prt.CanCollide=false
  1702. prt.CFrame = cframe*angles(rad(math.random(-90,90)),rad(math.random(-90,90)),rad(math.random(-90,90)))
  1703. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1704. game:GetService("Debris"):AddItem(prt, 10)
  1705. co_resume(co_create(function(Part, Mesh)
  1706. for i = 0, 1, delay do
  1707. FatEvent:wait()
  1708. Part.CFrame = Part.CFrame
  1709. Part.Transparency = i
  1710. Mesh.Scale = Mesh.Scale + vt(x2, y2, z2)
  1711. end
  1712. Part.Parent = nil
  1713. end), prt, msh)
  1714. end
  1715.  
  1716.  
  1717.  
  1718. function BlockShockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1719. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1720. prt.Anchored = true
  1721. prt.CFrame = cframe*angles(rad(mr(-90,90)),rad(mr(-90,90)),rad(mr(-90,90)))
  1722. --prt.Material = "Neon"
  1723. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1724. game:GetService("Debris"):AddItem(prt, 10)
  1725. co_resume(co_create(function(Part, Mesh)
  1726. for i = 0, 1, delay do
  1727. FatEvent:wait()
  1728. Part.CFrame = Part.CFrame*angles(rad(mr(-90,90)),rad(mr(-90,90)),rad(mr(-90,90)))
  1729. Part.Transparency = i
  1730. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1731. end
  1732. pcall(workspace.Destroy,Part)
  1733. end), prt, msh)
  1734. end
  1735.  
  1736. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1737. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1738. prt.Anchored = true
  1739. prt.CFrame = cframe
  1740. --prt.Material = "Neon"
  1741. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1742. game:GetService("Debris"):AddItem(prt, 10)
  1743. co_resume(co_create(function(Part, Mesh)
  1744. for i = 0, 1, delay do
  1745. FatEvent:wait()
  1746. Part.CFrame = Part.CFrame
  1747. Part.Transparency = i
  1748. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1749. end
  1750. Part.Parent = nil
  1751. end), prt, msh)
  1752. end
  1753.  
  1754. canwalk=true
  1755. canidle=true
  1756. cloaked=false
  1757. cloaked2=false
  1758. portal=false
  1759. usedstealth=false
  1760. invisible=false
  1761. Face.Parent=nil
  1762. candoublejump=true
  1763. MMouse=mouse
  1764.  
  1765. TrailSound = Instance.new("Sound",Torso)
  1766. TrailSound.Pitch = 2
  1767. TrailSound.Volume = 0.25
  1768. TrailSound.Looped = true
  1769. TrailSound.SoundId = "http://www.roblox.com/asset/?id=338601253"
  1770.  
  1771. TrailSound2 = Instance.new("Sound",Torso)
  1772. TrailSound2.Pitch = 0.5
  1773. TrailSound2.Volume = 0.25
  1774. TrailSound2.Looped = true
  1775. TrailSound2.SoundId = "http://www.roblox.com/asset/?id=338601253"
  1776.  
  1777. --DarkRiftF=function(s,DemMags)
  1778. --while rifting== true do
  1779. --wait()
  1780. --PWN={}
  1781. --for _,v in pairs(workspace:children()) do
  1782. --if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  1783. --if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  1784. --if v~=Character and (v.Torso.Position-refpart.Position).magnitude<=DemMags then
  1785. --table.insert(PWN,v.Torso)
  1786. --end
  1787. --end
  1788. --end
  1789. --end
  1790. --for _,t in pairs(PWN) do
  1791. --Mag=(refpart.Position-t.Position).magnitude/2
  1792. ----t.Parent.Humanoid:TakeDamage(1)
  1793. --rl=it("BodyAngularVelocity")
  1794. --rl.P=2000
  1795. --rl.maxTorque=vt(9999,9999,9999)
  1796. --rl.angularvelocity=vt(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  1797. --rl.Parent=t
  1798. --game:GetService("Debris"):AddItem(rl,.1)
  1799. --if Mag<=2 then
  1800. --t.Parent.Humanoid:TakeDamage(.5)
  1801. --else
  1802. --vl=it("BodyVelocity")
  1803. --vl.P=2000
  1804. --vl.maxForce=vt(50000000000,50000000000,50000000000)
  1805. --vl.velocity=(t.Position-refpart.Position).unit*-(70/(Mag))
  1806. --vl.Parent=t
  1807. --game:GetService("Debris"):AddItem(vl,.1)
  1808. --end
  1809. --end
  1810. --wait(.08)
  1811. --end
  1812. --end
  1813.  
  1814. function Cloak()
  1815. cloaked=true
  1816. so("http://roblox.com/asset/?id=178452217",Torso,0.5,1)
  1817. for _,v in pairs(Torso.Parent:children()) do
  1818. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1819. co_resume(co_create(function()
  1820. for i=0,1,0.1 do
  1821. wait()
  1822. TrailEffect.Enabled = true
  1823. --v.CanCollide = false
  1824. speed.Value = 0.1
  1825. CloakEffect.Enabled = true
  1826. CloakEffect2.Enabled = true
  1827. CloakEffectLight.Enabled = true
  1828. v.Transparency=v.Transparency+0.1
  1829. end
  1830. GhostEffect.Enabled = true
  1831. CloakEffectLight2.Enabled = true
  1832. defense.Value=0.6
  1833. Humanoid.CameraOffset = Vector3.new(0, 1, 0)
  1834. TrailSound:Play()
  1835. TrailSound2:Play()
  1836. TrailEffect.Enabled = true
  1837. v.CanCollide = false
  1838. speed.Value = 0.1
  1839. v.Transparency=1
  1840. CloakEffect.Enabled = false
  1841. CloakEffect2.Enabled = false
  1842. CloakEffectLight.Enabled = false
  1843. end))
  1844. end
  1845. if v.className=="Hat" then
  1846. hatp=v.Handle
  1847. co_resume(co_create(function(hatty)
  1848. for i=0,1,0.1 do
  1849. wait()
  1850. hatty.Transparency=hatty.Transparency+0.1
  1851. end
  1852. hatty.Transparency=1
  1853. end),hatp)
  1854. end
  1855. end
  1856. for _,v in pairs(m:children()) do
  1857. if v.className=="Part" then
  1858. co_resume(co_create(function()
  1859. for i=0,1,0.1 do
  1860. wait()
  1861. v.Transparency=v.Transparency+0.1
  1862. end
  1863. v.Transparency=1
  1864. end))
  1865. end
  1866. end
  1867. for _,v in pairs(m2:children()) do
  1868. if v.className=="Part" then
  1869. co_resume(co_create(function()
  1870. for i=0,1,0.1 do
  1871. wait()
  1872. v.Transparency=v.Transparency+0.1
  1873. end
  1874. v.Transparency=1
  1875. end))
  1876. end
  1877. end
  1878. for _,v in pairs(m3:children()) do
  1879. if v.className=="Part" then
  1880. co_resume(co_create(function()
  1881. for i=0,1,0.1 do
  1882. wait()
  1883. v.Transparency=v.Transparency+0.1
  1884. end
  1885. v.Transparency=1
  1886. end))
  1887. end
  1888. end
  1889. end
  1890.  
  1891. function UnCloak()
  1892. cloaked=false
  1893. so("http://roblox.com/asset/?id=178452217",Torso,0.5,1.2)
  1894. for _,v in pairs(Torso.Parent:children()) do
  1895. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1896. co_resume(co_create(function()
  1897. for i=0,1,0.1 do
  1898. wait()
  1899. TrailEffect.Enabled = false
  1900. speed.Value = 1.25
  1901. TrailEffect.Enabled = false
  1902. CloakEffect.Enabled = true
  1903. CloakEffect2.Enabled = true
  1904. CloakEffectLight.Enabled = true
  1905. v.Transparency=v.Transparency-0.1
  1906. end
  1907. GhostEffect.Enabled = false
  1908. CloakEffectLight2.Enabled = false
  1909. defense.Value=0.9
  1910. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  1911. TrailSound:Stop()
  1912. TrailSound2:Stop()
  1913. speed.Value = 1.25
  1914. v.Transparency=0
  1915. CloakEffect.Enabled = false
  1916. CloakEffect2.Enabled = false
  1917. CloakEffectLight.Enabled = false
  1918. end))
  1919. end
  1920. if v.className=="Hat" then
  1921. hatp=v.Handle
  1922. co_resume(co_create(function(hatty)
  1923. for i=0,1,0.1 do
  1924. wait()
  1925. hatty.Transparency=hatty.Transparency-0.1
  1926. end
  1927. hatty.Transparency=0
  1928. end),hatp)
  1929. end
  1930. end
  1931. for _,v in pairs(m:children()) do
  1932. if v.className=="Part" then
  1933. co_resume(co_create(function()
  1934. for i=0,1,0.1 do
  1935. wait()
  1936. v.Transparency=v.Transparency-0.1
  1937. end
  1938. v.Transparency=0
  1939. end))
  1940. end
  1941. end
  1942. for _,v in pairs(m2:children()) do
  1943. if v.className=="Part" then
  1944. co_resume(co_create(function()
  1945. for i=0,1,0.1 do
  1946. wait()
  1947. v.Transparency=v.Transparency-0.1
  1948. end
  1949. v.Transparency=0
  1950. end))
  1951. end
  1952. end
  1953. for _,v in pairs(m3:children()) do
  1954. if v.className=="Part" then
  1955. co_resume(co_create(function()
  1956. for i=0,1,0.1 do
  1957. wait()
  1958. v.Transparency=v.Transparency-0.1
  1959. end
  1960. v.Transparency=0
  1961. end))
  1962. end
  1963. end
  1964. end
  1965.  
  1966. function Cloak2()
  1967. cloaked2=true
  1968. so("http://roblox.com/asset/?id=178452217",Torso,0.5,1)
  1969. for _,v in pairs(Torso.Parent:children()) do
  1970. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1971. co_resume(co_create(function()
  1972. for i=0,1,0.1 do
  1973. wait()
  1974. CloakEffect.Enabled = true
  1975. CloakEffect2.Enabled = true
  1976. CloakEffectLight.Enabled = true
  1977. v.Transparency=v.Transparency+0.1
  1978. end
  1979. v.Transparency=1
  1980. CloakEffect.Enabled = false
  1981. CloakEffect2.Enabled = false
  1982. CloakEffectLight.Enabled = false
  1983. end))
  1984. end
  1985. if v.className=="Hat" then
  1986. hatp=v.Handle
  1987. co_resume(co_create(function(hatty)
  1988. for i=0,1,0.1 do
  1989. wait()
  1990. hatty.Transparency=hatty.Transparency+0.1
  1991. end
  1992. hatty.Transparency=1
  1993. end),hatp)
  1994. end
  1995. end
  1996. for _,v in pairs(m:children()) do
  1997. if v.className=="Part" then
  1998. co_resume(co_create(function()
  1999. for i=0,1,0.1 do
  2000. wait()
  2001. v.Transparency=v.Transparency+0.1
  2002. end
  2003. v.Transparency=1
  2004. end))
  2005. end
  2006. end
  2007. for _,v in pairs(m2:children()) do
  2008. if v.className=="Part" then
  2009. co_resume(co_create(function()
  2010. for i=0,1,0.1 do
  2011. wait()
  2012. v.Transparency=v.Transparency+0.1
  2013. end
  2014. v.Transparency=1
  2015. end))
  2016. end
  2017. end
  2018. for _,v in pairs(m3:children()) do
  2019. if v.className=="Part" then
  2020. co_resume(co_create(function()
  2021. for i=0,1,0.1 do
  2022. wait()
  2023. v.Transparency=v.Transparency+0.1
  2024. end
  2025. v.Transparency=1
  2026. end))
  2027. end
  2028. end
  2029. end
  2030.  
  2031. function UnCloak2()
  2032. cloaked2=false
  2033. so("http://roblox.com/asset/?id=178452217",Torso,0.5,1.2)
  2034. for _,v in pairs(Torso.Parent:children()) do
  2035. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2036. co_resume(co_create(function()
  2037. for i=0,1,0.1 do
  2038. wait()
  2039. CloakEffect.Enabled = true
  2040. CloakEffect2.Enabled = true
  2041. CloakEffectLight.Enabled = true
  2042. v.Transparency=v.Transparency-0.1
  2043. end
  2044. v.Transparency=0
  2045. CloakEffect.Enabled = false
  2046. CloakEffect2.Enabled = false
  2047. CloakEffectLight.Enabled = false
  2048. end))
  2049. end
  2050. if v.className=="Hat" then
  2051. hatp=v.Handle
  2052. co_resume(co_create(function(hatty)
  2053. for i=0,1,0.1 do
  2054. wait()
  2055. hatty.Transparency=hatty.Transparency-0.1
  2056. end
  2057. hatty.Transparency=0
  2058. end),hatp)
  2059. end
  2060. end
  2061. for _,v in pairs(m:children()) do
  2062. if v.className=="Part" then
  2063. co_resume(co_create(function()
  2064. for i=0,1,0.1 do
  2065. wait()
  2066. v.Transparency=v.Transparency-0.1
  2067. end
  2068. v.Transparency=0
  2069. end))
  2070. end
  2071. end
  2072. for _,v in pairs(m2:children()) do
  2073. if v.className=="Part" then
  2074. co_resume(co_create(function()
  2075. for i=0,1,0.1 do
  2076. wait()
  2077. v.Transparency=v.Transparency-0.1
  2078. end
  2079. v.Transparency=0
  2080. end))
  2081. end
  2082. end
  2083. for _,v in pairs(m3:children()) do
  2084. if v.className=="Part" then
  2085. co_resume(co_create(function()
  2086. for i=0,1,0.1 do
  2087. wait()
  2088. v.Transparency=v.Transparency-0.1
  2089. end
  2090. v.Transparency=0
  2091. end))
  2092. end
  2093. end
  2094. end
  2095.  
  2096. function GottaFlip()
  2097. attack=true
  2098. for i=0,1,0.5 do
  2099. FatEvent:wait()
  2100. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(0,0,0),0.3)
  2101. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,0),0.3)
  2102. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(75),-math_rad_90,0),0.3)
  2103. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(75),math_rad_90,0),0.3)
  2104. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2105. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2106. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2107. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2108. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2109. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2110. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2111. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2112. end
  2113. for i=0,1,0.08 do
  2114. FatEvent:wait()
  2115. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(rad(-10),0,0),0.3)
  2116. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-10),0,0),0.3)
  2117. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(205),-math_rad_90,0),0.3)
  2118. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(205),math_rad_90,0),0.3)
  2119. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2120. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2121. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2122. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2123. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2124. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2125. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2126. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2127. end
  2128. for i=0,1,0.02 do
  2129. FatEvent:wait()
  2130. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(0,0,0),0.3)
  2131. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,0),0.3)
  2132. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(150),-math_rad_90,0),0.3)
  2133. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(150),math_rad_90,0),0.3)
  2134. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.65,0)*angles(0,0,-math_rad_90),0.45)
  2135. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2136. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.65,0)*angles(0,0,-math_rad_90),0.45)
  2137. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.65,0)*angles(0,0,math_rad_90),0.45)
  2138. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.65,0)*angles(0,0,math_rad_90),0.45)
  2139. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2140. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.65,0)*angles(0,0,math_rad_90),0.45)
  2141. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.65,0)*angles(0,0,-math_rad_90),0.45)
  2142. end
  2143. attack=false
  2144. end
  2145.  
  2146. function attackone()
  2147. if cloaked==true then
  2148. speed.Value = 1.25
  2149. UnCloak()
  2150. end
  2151. attack=true
  2152. for i=0,1,0.15 do
  2153. FatEvent:wait()
  2154. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1)*angles(0,0,-math_rad_30),0.3)
  2155. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,math_rad_30),0.3)
  2156. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(75),0,rad(75)),0.3)
  2157. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(rad(-20),rad(190),-math_rad_90),0.3)
  2158. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2159. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2160. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2161. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2162. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2163. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2164. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2165. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2166. end
  2167. con1=Glove1Finger1ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2168. con2=Glove1Finger2ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2169. con3=Glove1Finger3ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2170. con4=Glove1Finger4ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2171. so("http://roblox.com/asset/?id=338586299",LeftArm,1,1.1)
  2172. for i=0,1,0.15 do
  2173. FatEvent:wait()
  2174. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.2)*angles(rad(10),0,math_rad_60),0.45)
  2175. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,-math_rad_60),0.45)
  2176. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(rad(75),0,rad(-45)),0.45)
  2177. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(-40),0,rad(-40)),0.45)
  2178. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2179. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2180. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2181. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2182. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2183. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2184. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2185. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2186. end
  2187. con1:disconnect()
  2188. con2:disconnect()
  2189. con3:disconnect()
  2190. con4:disconnect()
  2191. attack=false
  2192. end
  2193.  
  2194. function attacktwo()
  2195. if cloaked==true then
  2196. speed.Value = 1.25
  2197. UnCloak()
  2198. end
  2199. attack=true
  2200. for i=0,1,0.15 do
  2201. FatEvent:wait()
  2202. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1)*angles(0,0,math_rad_30),0.3)
  2203. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,-math_rad_30),0.3)
  2204. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(rad(-20),rad(160),math_rad_90),0.3)
  2205. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(75),0,rad(-75)),0.3)
  2206. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2207. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2208. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2209. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2210. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2211. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2212. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2213. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2214. end
  2215. con1=Glove2Finger1ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2216. con2=Glove2Finger2ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2217. con3=Glove2Finger3ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2218. con4=Glove2Finger4ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2219. so("http://roblox.com/asset/?id=338586318",RightArm,1,1.1)
  2220. for i=0,1,0.15 do
  2221. FatEvent:wait()
  2222. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.2)*angles(rad(10),0,-math_rad_60),0.45)
  2223. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,math_rad_60),0.45)
  2224. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(-40),0,rad(40)),0.45)
  2225. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(rad(75),0,math_rad_45),0.45)
  2226. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2227. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2228. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2229. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2230. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2231. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2232. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2233. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2234. end
  2235. con1:disconnect()
  2236. con2:disconnect()
  2237. con3:disconnect()
  2238. con4:disconnect()
  2239. attack=false
  2240. end
  2241.  
  2242. function attackthree()
  2243. if cloaked==true then
  2244. speed.Value = 1.25
  2245. UnCloak()
  2246. end
  2247. canidle=false
  2248. canwalk=false
  2249. attack=true
  2250. for i=0,1,0.6 do
  2251. FatEvent:wait()
  2252. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2)*angles(rad(10),0,0),0.45)
  2253. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,0),0.45)
  2254. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math_rad_45,0,0),0.45)
  2255. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.25)*angles(math_rad_45,0,0),0.45)
  2256. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(rad(-10),math_rad_90,0)*angles(0,0,0),0.3)
  2257. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-20),-math_rad_90,0)*angles(rad(-5),0,0),0.3)
  2258. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2259. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2260. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2261. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2262. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2263. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2264. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2265. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2266. end
  2267. for i=0,1,0.15 do
  2268. FatEvent:wait()
  2269. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2)*angles(rad(-10),0,0),0.3)
  2270. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-10),0,0),0.3)
  2271. RW.C0=clerp(RW.C0,cf(1.5,0.75,0)*angles(rad(105),math_rad_45,math_rad_90),0.3)
  2272. LW.C0=clerp(LW.C0,cf(-1.5,0.75,0)*angles(rad(105),rad(-45),-math_rad_90),0.3)
  2273. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(rad(-10),math_rad_90,0)*angles(0,0,0),0.3)
  2274. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-20),-math_rad_90,0)*angles(rad(-5),0,0),0.3)
  2275. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2276. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2277. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2278. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2279. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2280. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2281. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2282. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2283. end
  2284. canidle=true
  2285. canwalk=true
  2286. con1=Glove1Finger1ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2287. con2=Glove1Finger2ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2288. con3=Glove1Finger3ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2289. con4=Glove1Finger4ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2290. con5=Glove2Finger1ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2291. con6=Glove2Finger2ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2292. con7=Glove2Finger3ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2293. con8=Glove2Finger4ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2294. so("http://roblox.com/asset/?id=338586331",Torso,1,1.1)
  2295. for i=0,1,0.15 do
  2296. FatEvent:wait()
  2297. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1)*angles(rad(10),0,0),0.45)
  2298. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,0),0.45)
  2299. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(rad(75),math_rad_45,rad(-75)),0.45)
  2300. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.25)*angles(rad(75),rad(-45),rad(75)),0.45)
  2301. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2302. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2303. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2304. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2305. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2306. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2307. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2308. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2309. end
  2310. con1:disconnect()
  2311. con2:disconnect()
  2312. con3:disconnect()
  2313. con4:disconnect()
  2314. con5:disconnect()
  2315. con6:disconnect()
  2316. con7:disconnect()
  2317. con8:disconnect()
  2318. attack=false
  2319. end
  2320.  
  2321. function attackfour()
  2322. if cloaked==true then
  2323. speed.Value = 1.25
  2324. UnCloak()
  2325. end
  2326. attack=true
  2327. for i=0,1,0.15 do
  2328. FatEvent:wait()
  2329. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(rad(10),0,rad(75)),0.3)
  2330. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,rad(-15)),0.3)
  2331. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(-math_rad_90,0,math_rad_90),0.3)
  2332. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math_rad_90,0,-math_rad_90),0.3)
  2333. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2334. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2335. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2336. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2337. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2338. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2339. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2340. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2341. end
  2342. con1=Glove1Finger1ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2343. con2=Glove1Finger2ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2344. con3=Glove1Finger3ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2345. con4=Glove1Finger4ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2346. con5=Glove2Finger1ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2347. con6=Glove2Finger2ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2348. con7=Glove2Finger3ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2349. con8=Glove2Finger4ClawFinger.Touched:connect(function(hit) Damagefunc(hit,5,10,5,"SlashLifeSteal",RootPart,.2,1) end)
  2350. so("http://roblox.com/asset/?id=338586299",Torso,1,1.3)
  2351. for i=0,1,0.125 do
  2352. FatEvent:wait()
  2353. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(rad(-10),0,rad(0-360*i)),0.45)
  2354. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(0,0,0),0.45)
  2355. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(-math_rad_90,0,math_rad_90),0.45)
  2356. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math_rad_90,0,-math_rad_90),0.45)
  2357. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2358. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2359. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2360. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2361. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2362. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2363. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2364. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2365. end
  2366. con1:disconnect()
  2367. con2:disconnect()
  2368. con3:disconnect()
  2369. con4:disconnect()
  2370. con5:disconnect()
  2371. con6:disconnect()
  2372. con7:disconnect()
  2373. con8:disconnect()
  2374. attack=false
  2375. end
  2376.  
  2377. function SpiralDispursion()
  2378. if cloaked==true then
  2379. speed.Value = 1.25
  2380. UnCloak()
  2381. end
  2382. attack=true
  2383. con1=Glove1Finger1ClawFinger.Touched:connect(function(hit) Damagefunc(hit,7,14,5,"SlashLifeSteal",RootPart,.2,1) end)
  2384. con2=Glove1Finger2ClawFinger.Touched:connect(function(hit) Damagefunc(hit,7,14,5,"SlashLifeSteal",RootPart,.2,1) end)
  2385. con3=Glove1Finger3ClawFinger.Touched:connect(function(hit) Damagefunc(hit,7,14,5,"SlashLifeSteal",RootPart,.2,1) end)
  2386. con4=Glove1Finger4ClawFinger.Touched:connect(function(hit) Damagefunc(hit,7,14,5,"SlashLifeSteal",RootPart,.2,1) end)
  2387. con5=Glove2Finger1ClawFinger.Touched:connect(function(hit) Damagefunc(hit,7,14,5,"SlashLifeSteal",RootPart,.2,1) end)
  2388. con6=Glove2Finger2ClawFinger.Touched:connect(function(hit) Damagefunc(hit,7,14,5,"SlashLifeSteal",RootPart,.2,1) end)
  2389. con7=Glove2Finger3ClawFinger.Touched:connect(function(hit) Damagefunc(hit,7,14,5,"SlashLifeSteal",RootPart,.2,1) end)
  2390. con8=Glove2Finger4ClawFinger.Touched:connect(function(hit) Damagefunc(hit,7,14,5,"SlashLifeSteal",RootPart,.2,1) end)
  2391. for i=1,4 do
  2392. so("http://roblox.com/asset/?id=338586331",Torso,1,math.random(120,140)/100)
  2393. for i=0,1,0.125 do
  2394. FatEvent:wait()
  2395. Torso.Velocity=RootPart.CFrame.lookVector*25
  2396. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(0,rad(-180),rad(0-360*i)),0.45)
  2397. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(0,0,0),0.45)
  2398. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(-math_rad_90,0,math_rad_90),0.45)
  2399. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math_rad_90,0,-math_rad_90),0.45)
  2400. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2401. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2402. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2403. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2404. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2405. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2406. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2407. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2408. end
  2409. end
  2410. con1:disconnect()
  2411. con2:disconnect()
  2412. con3:disconnect()
  2413. con4:disconnect()
  2414. con5:disconnect()
  2415. con6:disconnect()
  2416. con7:disconnect()
  2417. con8:disconnect()
  2418. for i=0,1,0.12 do
  2419. FatEvent:wait()
  2420. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2)*angles(rad(0+360*i),0,0),0.3)
  2421. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(20),0,0),0.3)
  2422. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math_rad_90,0,-math_rad_30),0.3)
  2423. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math_rad_90,0,math_rad_30),0.3)
  2424. RH.C0=clerp(RH.C0,cf(1,0.5,-1)*angles(rad(-10),math_rad_90,0)*angles(rad(-5),0,0),0.3)
  2425. LH.C0=clerp(LH.C0,cf(-1,0.5,-1)*angles(rad(-10),-math_rad_90,0)*angles(rad(-5),0,0),0.3)
  2426. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2427. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2428. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2429. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2430. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2431. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2432. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2433. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2434. end
  2435. attack=false
  2436. end
  2437.  
  2438. function GalacticLunge()
  2439. if cloaked==true then
  2440. speed.Value = 1.25
  2441. UnCloak()
  2442. end
  2443. canidle=false
  2444. canwalk=false
  2445. attack=true
  2446. for i=1,1 do
  2447. for i=0,1,0.125 do
  2448. FatEvent:wait()
  2449. Torso.Velocity=RootPart.CFrame.lookVector*50
  2450. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,4)*angles(rad(0+360*i),0,0),0.3)
  2451. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-10),0,0),0.3)
  2452. RW.C0=clerp(RW.C0,cf(1.5,0.75,0)*angles(rad(105),math_rad_45,math_rad_90),0.3)
  2453. LW.C0=clerp(LW.C0,cf(-1.5,0.75,0)*angles(rad(105),rad(-45),-math_rad_90),0.3)
  2454. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(rad(-10),math_rad_90,0)*angles(0,0,0),0.3)
  2455. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-20),-math_rad_90,0)*angles(rad(-5),0,0),0.3)
  2456. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2457. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2458. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2459. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2460. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2461. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2462. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2463. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2464. end
  2465. end
  2466. for i=0,1,0.4 do
  2467. FatEvent:wait()
  2468. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2)*angles(rad(-10),0,0),0.3)
  2469. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-10),0,0),0.3)
  2470. RW.C0=clerp(RW.C0,cf(1.5,0.75,0)*angles(rad(75),math_rad_45,math_rad_90),0.3)
  2471. LW.C0=clerp(LW.C0,cf(-1.5,0.75,0)*angles(rad(75),rad(-45),-math_rad_90),0.3)
  2472. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(rad(-10),math_rad_90,0)*angles(0,0,0),0.3)
  2473. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-20),-math_rad_90,0)*angles(rad(-5),0,0),0.3)
  2474. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2475. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2476. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2477. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2478. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2479. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2480. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2481. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2482. end
  2483. canidle=true
  2484. canwalk=true
  2485. con1=Glove1Finger1ClawFinger.Touched:connect(function(hit) Damagefunc(hit,10,20,5,"SlashLifeSteal",RootPart,.2,1) end)
  2486. con2=Glove1Finger2ClawFinger.Touched:connect(function(hit) Damagefunc(hit,10,20,5,"SlashLifeSteal",RootPart,.2,1) end)
  2487. con3=Glove1Finger3ClawFinger.Touched:connect(function(hit) Damagefunc(hit,10,20,5,"SlashLifeSteal",RootPart,.2,1) end)
  2488. con4=Glove1Finger4ClawFinger.Touched:connect(function(hit) Damagefunc(hit,10,20,5,"SlashLifeSteal",RootPart,.2,1) end)
  2489. con5=Glove2Finger1ClawFinger.Touched:connect(function(hit) Damagefunc(hit,10,20,5,"SlashLifeSteal",RootPart,.2,1) end)
  2490. con6=Glove2Finger2ClawFinger.Touched:connect(function(hit) Damagefunc(hit,10,20,5,"SlashLifeSteal",RootPart,.2,1) end)
  2491. con7=Glove2Finger3ClawFinger.Touched:connect(function(hit) Damagefunc(hit,10,20,5,"SlashLifeSteal",RootPart,.2,1) end)
  2492. con8=Glove2Finger4ClawFinger.Touched:connect(function(hit) Damagefunc(hit,10,20,5,"SlashLifeSteal",RootPart,.2,1) end)
  2493. so("http://roblox.com/asset/?id=338586331",Torso,1,math.random(120,140)/100)
  2494. for i=0,1,0.15 do
  2495. FatEvent:wait()
  2496. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1)*angles(rad(10),0,0),0.45)
  2497. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,0),0.45)
  2498. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(rad(75),math_rad_45,rad(-75)),0.45)
  2499. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.25)*angles(rad(75),rad(-45),rad(75)),0.45)
  2500. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2501. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2502. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2503. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2504. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2505. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2506. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2507. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2508. end
  2509. con1:disconnect()
  2510. con2:disconnect()
  2511. con3:disconnect()
  2512. con4:disconnect()
  2513. con5:disconnect()
  2514. con6:disconnect()
  2515. con7:disconnect()
  2516. con8:disconnect()
  2517. attack=false
  2518. end
  2519.  
  2520. function CelestialMatterDistortion()
  2521. if cloaked==true then
  2522. UnCloak()
  2523. end
  2524. invisible=true
  2525. attack=true
  2526. for i=0,1,0.12 do
  2527. FatEvent:wait()
  2528. Humanoid.WalkSpeed = 16*speed.Value
  2529. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(0,0,0),0.3)
  2530. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,0),0.3)
  2531. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math_rad_90,0,rad(-45)),0.3)
  2532. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math_rad_90,0,math_rad_45),0.3)
  2533. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2534. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2535. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2536. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2537. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2538. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2539. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2540. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2541. end
  2542. Humanoid.WalkSpeed = 0*speed.Value
  2543. canidle=false
  2544. canwalk=false
  2545. for i=0,1,0.08 do
  2546. FatEvent:wait()
  2547. Humanoid.WalkSpeed = 0*speed.Value
  2548. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.1)*angles(math_rad_45,0,math_rad_45),0.3)
  2549. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-20),rad(20),rad(-45)),0.3)
  2550. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math_rad_45,0,math_rad_45),0.3)
  2551. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(-math_rad_30,0,-math_rad_30),0.3)
  2552. RH.C0=clerp(RH.C0,cf(0.9,-1,0.45)*angles(rad(-35),math_rad_45,0)*angles(math_rad_15,0,0),0.3)
  2553. LH.C0=clerp(LH.C0,cf(-1,0,-1)*angles(math_rad_45,rad(-105),0)*angles(rad(25),0,0),0.3)
  2554. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2555. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2556. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2557. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2558. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2559. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2560. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2561. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2562. end
  2563. Head.Transparency = 1
  2564. Cloak2()
  2565. for i=0,1,0.1 do
  2566. FatEvent:wait()
  2567. Humanoid.WalkSpeed = 0*speed.Value
  2568. Head.Transparency = 1
  2569. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.1)*angles(math_rad_45,0,math_rad_45),0.3)
  2570. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-20),rad(20),rad(-45)),0.3)
  2571. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math_rad_45,0,math_rad_45),0.3)
  2572. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(-math_rad_30,0,-math_rad_30),0.3)
  2573. RH.C0=clerp(RH.C0,cf(0.9,-1,0.45)*angles(rad(-35),math_rad_45,0)*angles(math_rad_15,0,0),0.3)
  2574. LH.C0=clerp(LH.C0,cf(-1,0,-1)*angles(math_rad_45,rad(-105),0)*angles(rad(25),0,0),0.3)
  2575. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2576. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2577. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2578. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2579. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2580. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2581. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2582. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2583. end
  2584. wait(0.5)
  2585. Head.Transparency = 1
  2586. --Eye1.Transparency = 0.5
  2587. --Eye2.Transparency = 0.5
  2588. Humanoid.WalkSpeed = 16*speed.Value
  2589. canidle=true
  2590. canwalk=true
  2591. attack=false
  2592. wait(5)
  2593. UnCloak2()
  2594. invisible=false
  2595. end
  2596.  
  2597. function DemolishingGroundPound()
  2598. if cloaked==true then
  2599. UnCloak()
  2600. end
  2601. canidle=false
  2602. canwalk=false
  2603. attack=true
  2604. Humanoid.WalkSpeed = 0*speed.Value
  2605. for i=0,1,0.08 do
  2606. FatEvent:wait()
  2607. Torso.Velocity=RootPart.CFrame.lookVector*25
  2608. Humanoid.WalkSpeed = 0*speed.Value
  2609. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+2*i)*angles(rad(-15-15*i),0,0),0.3)
  2610. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(30+15*i),0,0),0.3)
  2611. RW.C0=clerp(RW.C0,cf(1,0.75+0.25*i,-0.5+0.5*i)*angles(rad(135+30*i),0,rad(-15)),0.3)
  2612. LW.C0=clerp(LW.C0,cf(-1,0.75+0.25*i,-0.5+0.5*i)*angles(rad(135+30*i),0,math_rad_15),0.3)
  2613. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(rad(-20-15*i),math_rad_90,0)*angles(rad(-10),0,0),0.3)
  2614. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-20-15*i),-math_rad_90,0)*angles(rad(-10),0,0),0.3)
  2615. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2616. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2617. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2618. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2619. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2620. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2621. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2622. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2623. end
  2624. for i=0,1,0.5 do
  2625. FatEvent:wait()
  2626. Humanoid.WalkSpeed = 0*speed.Value
  2627. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)*angles(rad(135),0,0),0.6)
  2628. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-45),0,0),0.6)
  2629. RW.C0=clerp(RW.C0,cf(1,0.75,-0.5)*angles(rad(205),0,rad(-15)),0.6)
  2630. LW.C0=clerp(LW.C0,cf(-1,0.75,-0.5)*angles(rad(205),0,math_rad_15),0.6)
  2631. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(rad(-20),math_rad_90,0)*angles(rad(-10),0,0),0.6)
  2632. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-20),-math_rad_90,0)*angles(rad(-10),0,0),0.6)
  2633. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2634. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2635. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2636. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2637. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2638. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2639. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2640. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2641. end
  2642. hitfloor=nil
  2643. while hitfloor==nil do
  2644. FatEvent:wait()
  2645. hitfloor,posfloor=rayCast(Head.Position,(cf(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2646. end
  2647. Col=hitfloor.BrickColor
  2648. refpart=part(3,workspace,"SmoothPlastic",0,1,Col,"Effect",vt())
  2649. refpart.Anchored=true
  2650. refpart.Parent=workspace
  2651. refpart.CFrame=cf(posfloor)
  2652. game:GetService("Debris"):AddItem(refpart,3)
  2653. for i=1,20 do
  2654. local Color=hitfloor.BrickColor
  2655. local Materials=hitfloor.Material
  2656. local groundpart=part(3,workspace,"SmoothPlastic",0,0,Color,"Ground",vt(math.random(10,50)/100,math.random(10,50)/100,math.random(10,50)/100))
  2657. groundpart.Anchored=false
  2658. groundpart.Material=Materials
  2659. groundpart.CanCollide=true
  2660. groundpart.Friction = 0.1
  2661. groundpart.Velocity=Vector3.new(math.random(-25,25),math.random(50,75),math.random(-25,25))
  2662. groundpart.CFrame=cf(posfloor)*cf(math.random(-250,250)/100,0,math.random(-250,250)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2663. local actualgroundpart=part(3,workspace,"SmoothPlastic",0,0,Color,"Ground",vt(math.random(100,200)/100,math.random(100,200)/100,math.random(100,200)/100))
  2664. actualgroundpart.Anchored=true
  2665. actualgroundpart.Material=Materials
  2666. actualgroundpart.CanCollide=false
  2667. actualgroundpart.Friction = 1
  2668. actualgroundpart.CFrame=cf(posfloor)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2669. game:GetService("Debris"):AddItem(actualgroundpart,10)
  2670. game:GetService("Debris"):AddItem(groundpart,10)
  2671. co_resume(co_create(function()
  2672. wait(5)
  2673.  
  2674. while true do
  2675. FatEvent:wait()
  2676. --groundpart.Size=Vector3.new(groundpart.Size.x+0.025,groundpart.Size.y+0.025,groundpart.Size.z+0.025)
  2677. --actualgroundpart.Size=Vector3.new(actualgroundpart.Size.x+0.025,actualgroundpart.Size.y+0.025,actualgroundpart.Size.z+0.025)
  2678. groundpart.Transparency=groundpart.Transparency+0.025
  2679. actualgroundpart.Transparency=actualgroundpart.Transparency+0.05
  2680. --JumpEffect(Col,cf(groundpart.Position),1,1,1,1,1,1,0.1)
  2681. --JumpEffect(Col,cf(actualgroundpart.Position),1,1,1,1,1,1,0.1)
  2682. end
  2683. end))
  2684. end
  2685. so("http://roblox.com/asset/?id=200632875",Torso,1,1)
  2686. so("http://roblox.com/asset/?id=263610131",Torso,1,1)
  2687. so("http://roblox.com/asset/?id=263610111",Torso,1,1)
  2688. JumpEffect(Col,cf(refpart.Position),1,1,1,1,1,4,0.05)
  2689. JumpEffect(Col,cf(refpart.Position),1,1,1,1,1,1,0.025)
  2690. MagniDamage(refpart,12,15,20,10,"Normal")
  2691. for i=0,1,0.4 do
  2692. FatEvent:wait()
  2693. Humanoid.WalkSpeed = 0*speed.Value
  2694. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)*angles(rad(135+15*i),0,0),0.6)
  2695. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-45-15*i),0,0),0.6)
  2696. RW.C0=clerp(RW.C0,cf(1,0.75,-0.5)*angles(rad(205+15*i),0,rad(-15)),0.6)
  2697. LW.C0=clerp(LW.C0,cf(-1,0.75,-0.5)*angles(rad(205+15*i),0,math_rad_15),0.6)
  2698. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(rad(-20-15*i),math_rad_90,0)*angles(rad(-10),0,0),0.6)
  2699. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-20-15*i),-math_rad_90,0)*angles(rad(-10),0,0),0.6)
  2700. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2701. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2702. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2703. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2704. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2705. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2706. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2707. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2708. end
  2709. for i=0,1,0.05 do
  2710. FatEvent:wait()
  2711. Humanoid.WalkSpeed = 0*speed.Value
  2712. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2.5)*angles(math_rad_90,0,0),0.45)
  2713. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-45),0,0),0.45)
  2714. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(rad(180),0,rad(-15)),0.45)
  2715. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(rad(180),0,math_rad_15),0.45)
  2716. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(0,math_rad_90,0)*angles(rad(-5),0,0),0.45)
  2717. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(0,-math_rad_90,0)*angles(rad(-5),0,0),0.45)
  2718. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2719. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2720. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2721. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2722. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2723. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2724. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2725. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2726. end
  2727. for i=0,1,0.15 do
  2728. FatEvent:wait()
  2729. Humanoid.WalkSpeed = 0*speed.Value
  2730. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.1)*angles(math_rad_45,0,0),0.45)
  2731. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-20),0,0),0.45)
  2732. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math_rad_45,0,math_rad_15),0.45)
  2733. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math_rad_45,0,rad(-15)),0.45)
  2734. RH.C0=clerp(RH.C0,cf(0.9,-1,0)*angles(rad(-15),math_rad_90,0)*angles(0,0,0),0.45)
  2735. LH.C0=clerp(LH.C0,cf(-1,0.8,-0.8)*angles(rad(35),-math_rad_90,0)*angles(0,0,0),0.45)
  2736. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2737. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2738. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2739. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2740. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2741. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2742. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2743. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2744. end
  2745. Humanoid.WalkSpeed = 16*speed.Value
  2746. canidle=true
  2747. canwalk=true
  2748. attack=false
  2749. end
  2750.  
  2751. function CometalBlast()
  2752. attack=true
  2753. canidle=false
  2754. canwalk=false
  2755. for i=0,1,0.12 do
  2756. FatEvent:wait()
  2757. Humanoid.WalkSpeed = 0*speed.Value
  2758. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(rad(10),0,math_rad_30),0.45)
  2759. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,-math_rad_30),0.45)
  2760. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(rad(75),0,-math_rad_60),0.45)
  2761. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(-15),0,-math_rad_30),0.45)
  2762. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(rad(10),math_rad_90,0)*angles(rad(-2.5),0,0),0.45)
  2763. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-45),-math_rad_90,0)*angles(rad(-2.5),0,0),0.45)
  2764. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2765. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2766. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2767. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2768. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2769. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2770. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2771. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2772. end
  2773. so("http://roblox.com/asset/?id=199145659",LeftArm,1,math.random(150,200)/100)
  2774. for i=0,1,0.12 do
  2775. FatEvent:wait()
  2776. Humanoid.WalkSpeed = 0*speed.Value
  2777. OrbEffect(TorsoColor,LeftArm.CFrame*cf(0,-1,0),0.1,0.1,0.1,0.5,0.5,0.5,0.1)
  2778. BlockShockwave(TorsoColor,LeftArm.CFrame*cf(0,-1,0),0.1,0.1,0.1,0.5,0.5,0.5,0.1)
  2779. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(rad(10),0,math_rad_30),0.45)
  2780. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,-math_rad_30),0.45)
  2781. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(rad(75),0,-math_rad_60),0.45)
  2782. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(-15),0,-math_rad_30),0.45)
  2783. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(rad(10),math_rad_90,0)*angles(rad(-2.5),0,0),0.45)
  2784. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-45),-math_rad_90,0)*angles(rad(-2.5),0,0),0.45)
  2785. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2786. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2787. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2788. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2789. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2790. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2791. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2792. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2793. end
  2794. canidle=true
  2795. canwalk=true
  2796. for i=0,1,0.08 do
  2797. FatEvent:wait()
  2798. Humanoid.WalkSpeed = 16*speed.Value
  2799. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(0,0,rad(-75)),0.45)
  2800. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(0,0,rad(75)),0.45)
  2801. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(-15),0,math_rad_30),0.45)
  2802. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(0,rad(-15),-math_rad_90),0.45)
  2803. --RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(0,math_rad_90,0)*angles(rad(-2.5),0,0),0.45)
  2804. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(0,-math_rad_90,0)*angles(rad(-2.5),0,0),0.45)
  2805. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2806. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2807. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2808. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2809. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2810. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2811. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2812. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2813. end
  2814. canidle=false
  2815. canwalk=false
  2816. refpart=part(3,workspace,"SmoothPlastic",0,1,Col,"Effect",vt())
  2817. refpart.Anchored=true
  2818. refpart.CFrame=RootPart.CFrame*cf(0,0,-10)
  2819. game:GetService("Debris"):AddItem(refpart,3)
  2820. for i=1,20 do
  2821. local groundpart=part(3,workspace,"SmoothPlastic",0,0,TorsoColor,"Ground",vt(math.random(100,200)/100,math.random(100,200)/100,math.random(100,200)/100))
  2822. groundpart.Anchored=false
  2823. groundpart.Material="Neon"
  2824. groundpart.CanCollide=false
  2825. groundpart.Friction = 0.1
  2826. groundpart.Velocity=Vector3.new(math.random(-50,50),math.random(75,100),math.random(-50,50))
  2827. groundpart.CFrame=cf(refpart.Position)*cf(math.random(-250,250)/100,0,math.random(-250,250)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2828. game:GetService("Debris"):AddItem(groundpart,5)
  2829. co_resume(co_create(function()
  2830. while true do
  2831.  
  2832. FatEvent:wait()
  2833. --groundpart.Size=Vector3.new(groundpart.Size.x+0.025,groundpart.Size.y+0.025,groundpart.Size.z+0.025)
  2834. --actualgroundpart.Size=Vector3.new(actualgroundpart.Size.x+0.025,actualgroundpart.Size.y+0.025,actualgroundpart.Size.z+0.025)
  2835. groundpart.Transparency=groundpart.Transparency+0.025
  2836. --JumpEffect(Col,cf(groundpart.Position),1,1,1,1,1,1,0.1)
  2837. --JumpEffect(Col,cf(actualgroundpart.Position),1,1,1,1,1,1,0.1)
  2838. end
  2839. end))
  2840. end
  2841. so("http://roblox.com/asset/?id=199145534",refpart,1,math.random(150,200)/100)
  2842. for i=1,math.random(3,6) do
  2843. OrbEffect(TorsoColor,cf(refpart.Position),1,1,1,1,1,1,0.025)
  2844. Shockwave(TorsoColor,cf(refpart.Position),1,1,1,1,1,1,0.025)
  2845. end
  2846. MagniDamage(refpart,20,8,16,20,"Normal")
  2847. Humanoid.Jump=true
  2848. Torso.Velocity=Vector3.new(0,7.5,0)
  2849. Torso.Velocity=RootPart.CFrame.lookVector*-75
  2850. for i=1,math.random(3,6) do
  2851. OrbEffect(TorsoColor,LeftArm.CFrame*cf(0,-1,0),0.1,0.1,0.1,0.5,0.5,0.5,0.075)
  2852. BlockShockwave(TorsoColor,LeftArm.CFrame*cf(0,-1,0),0.1,0.1,0.1,0.5,0.5,0.5,0.075)
  2853. end
  2854. for i=0,1,0.08 do
  2855. FatEvent:wait()
  2856. Humanoid.WalkSpeed = 0*speed.Value
  2857. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,2,0)*angles(rad(-20-45*i),0,0),0.45)
  2858. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(20),0,0),0.45)
  2859. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(75),math_rad_45,math_rad_15),0.45)
  2860. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(75),rad(-45),rad(-15)),0.45)
  2861. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math_rad_45,math_rad_90,0)*angles(rad(-7.5),0,0),0.45)
  2862. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math_rad_45,-math_rad_90,0)*angles(rad(-7.5),0,0),0.45)
  2863. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2864. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2865. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2866. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2867. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2868. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2869. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2870. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2871. end
  2872. canidle=true
  2873. canwalk=true
  2874. attack=false
  2875. end
  2876.  
  2877. function BlackHole()
  2878. if cloaked==true then
  2879. UnCloak()
  2880. end
  2881. canidle=false
  2882. canwalk=false
  2883. attack=true
  2884. Humanoid.Jump=true
  2885. so("http://roblox.com/asset/?id=199145761",Torso,1,math.random(75,125)/100)
  2886. for i=1,2 do
  2887. for i=0,1,0.12 do
  2888. FatEvent:wait()
  2889. Torso.Velocity = vt(0, 20, 0)
  2890. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(0,0,rad(0+360*i)),0.3)
  2891. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-20),0,0),0.3)
  2892. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(-10),0,math_rad_15),0.3)
  2893. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(-10),0,rad(-15)),0.3)
  2894. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(rad(-10),math_rad_90,0)*angles(rad(-10),0,0),0.3)
  2895. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-10),-math_rad_90,0)*angles(rad(-10),0,0),0.3)
  2896. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2897. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2898. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2899. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2900. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  2901. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  2902. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  2903. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  2904. BlockShockwave(TorsoColor,LeftLeg.CFrame*cf(0,-1,0),1,1,1,0.5,0.5,0.5,0.1)
  2905. BlockShockwave(TorsoColor,RightLeg.CFrame*cf(0,-1,0),1,1,1,0.5,0.5,0.5,0.1)
  2906. end
  2907. end
  2908. so("http://roblox.com/asset/?id=199145659",RightArm,1,math.random(100,150)/100)
  2909. for i=0,1,0.04 do
  2910. FatEvent:wait()
  2911. Torso.Velocity = vt(0, 4, 0)
  2912. OrbEffect(TorsoColor,RightArm.CFrame*cf(0,-1,0),0.5,0.5,0.5,0.5,0.5,0.5,0.075)
  2913. BlockShockwave(TorsoColor,RightArm.CFrame*cf(0,-1,0),0.5,0.5,0.5,0.5,0.5,0.5,0.075)
  2914. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(rad(-10),0,rad(-45)),0.3)
  2915. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,math_rad_45),0.3)
  2916. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(105),0,rad(75)),0.3)
  2917. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(75),0,math_rad_45),0.3)
  2918. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(rad(-15),math_rad_90,0)*angles(rad(-5),0,0),0.3)
  2919. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math_rad_15,-math_rad_90,0)*angles(rad(-5),0,0),0.3)
  2920. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  2921. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  2922. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  2923. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  2924. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2925. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2926. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  2927. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  2928. BlockShockwave(TorsoColor,LeftLeg.CFrame*cf(0,-1,0),1,1,1,0.5,0.5,0.5,0.1)
  2929. BlockShockwave(TorsoColor,RightLeg.CFrame*cf(0,-1,0),1,1,1,0.5,0.5,0.5,0.1)
  2930. end
  2931. portal=true
  2932. portalrefpart=part(3,workspace,"SmoothPlastic",0,1,Col,"Effect",vt())
  2933. portalrefpart.Anchored=true
  2934. portalrefpart.CFrame=Head.CFrame*cf(0,0,-15)
  2935. game:GetService("Debris"):AddItem(portalrefpart,3)
  2936. portalrefpart2=part(3,workspace,"SmoothPlastic",0,1,Col,"Effect",vt())
  2937. portalrefpart2.Anchored=true
  2938. portalrefpart2.CFrame=Head.CFrame*cf(0,0,-15)
  2939. game:GetService("Debris"):AddItem(portalrefpart2,10)
  2940. so("http://roblox.com/asset/?id=203691653",portalrefpart,1,math.random(100,150)/100)
  2941. so("http://roblox.com/asset/?id=203691562",portalrefpart,1,math.random(100,150)/100)
  2942. for i=1,math.random(3,6) do
  2943. OrbEffect(TorsoColor,cf(portalrefpart.Position),2,2,2,2,2,2,0.025)
  2944. BlockShockwave(TorsoColor,cf(portalrefpart.Position),2,2,2,2,2,2,0.025)
  2945. end
  2946. co_resume(co_create(function()
  2947. while portalrefpart.Parent==workspace do
  2948. FatEvent:wait()
  2949. local PWN={}
  2950. for _,v in pairs(workspace:children()) do
  2951. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  2952. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  2953. if v~=Character and (v.Torso.Position-portalrefpart.Position).magnitude<=35 then
  2954. table.insert(PWN,v.Torso)
  2955. end
  2956. end
  2957. end
  2958. end
  2959. for _,t in pairs(PWN) do
  2960. local Mag=(portalrefpart.Position-t.Position).magnitude/2
  2961. --t.Parent.Humanoid:TakeDamage(1)
  2962. rl=it("BodyAngularVelocity")
  2963. rl.P=2000
  2964. rl.maxTorque=vt(9999,9999,9999)
  2965. rl.angularvelocity=vt(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  2966. rl.Parent=t
  2967. game:GetService("Debris"):AddItem(rl,.1)
  2968. if Mag<=2 then
  2969. --t.Parent.Humanoid:TakeDamage(.5)
  2970. else
  2971. vl=it("BodyVelocity")
  2972. vl.P=2000
  2973. vl.maxForce=vt(9999,9999,9999)
  2974. vl.velocity=(t.Position-portalrefpart.Position).unit*-(50/(Mag))
  2975. vl.Parent=t
  2976. game:GetService("Debris"):AddItem(vl,.1)
  2977. end
  2978. end
  2979. so("http://roblox.com/asset/?id=203691610",portalrefpart,1,math.random(100,150)/100)
  2980. MagniDamage(portalrefpart,35,1,2,1,"BlackHoleDamage")
  2981. OrbEffect(TorsoColor,cf(portalrefpart.Position),2,2,2,2,2,2,0.075)
  2982. BlockShockwave(TorsoColor,cf(portalrefpart.Position),2,2,2,2,2,2,0.05)
  2983. end
  2984. if portalrefpart.Parent~=workspace then
  2985. end
  2986. so("http://roblox.com/asset/?id=203691699",portalrefpart2,1,math.random(100,150)/100)
  2987. for i=0,1,0.08 do
  2988. FatEvent:wait()
  2989. for i=1,math.random(3,6) do
  2990. OrbEffect(TorsoColor,cf(portalrefpart2.Position),20,20,20,-1.5,-1.5,-1.5,0.075)
  2991. BlockShockwave(TorsoColor,cf(portalrefpart2.Position),20,20,20,-1.5,-1.5,-1.5,0.075)
  2992. end
  2993. end
  2994. wait(0.5)
  2995. so("http://roblox.com/asset/?id=203691510",portalrefpart2,1,math.random(100,150)/100)
  2996. so("http://roblox.com/asset/?id=199145534",portalrefpart2,1,math.random(100,150)/100)
  2997. --MagniDamage(portalrefpart2,50,10,20,10,"BlackHoleDamage2")
  2998. for i=1,math.random(3,6) do
  2999. OrbEffect(TorsoColor,cf(portalrefpart2.Position),0.1,0.1,0.1,2,2,2,0.025)
  3000. BlockShockwave(TorsoColor,cf(portalrefpart2.Position),0.1,0.1,0.1,2,2,2,0.025)
  3001. end
  3002. end))
  3003. for i=0,1,0.08 do
  3004. FatEvent:wait()
  3005. Torso.Velocity = vt(0, 4, 0)
  3006. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(rad(10),0,math_rad_45),0.3)
  3007. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-10),0,rad(-45)),0.3)
  3008. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(rad(75),0,rad(-45)),0.3)
  3009. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math_rad_30,0,-math_rad_30),0.3)
  3010. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math_rad_15,math_rad_90,0)*angles(rad(-2.5),0,0),0.3)
  3011. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-15),-math_rad_90,0)*angles(rad(-2.5),0,0),0.3)
  3012. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  3013. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  3014. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  3015. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  3016. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  3017. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  3018. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  3019. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  3020. BlockShockwave(TorsoColor,LeftLeg.CFrame*cf(0,-1,0),1,1,1,0.5,0.5,0.5,0.1)
  3021. BlockShockwave(TorsoColor,RightLeg.CFrame*cf(0,-1,0),1,1,1,0.5,0.5,0.5,0.1)
  3022. end
  3023. canidle=true
  3024. canwalk=true
  3025. attack=false
  3026. end
  3027.  
  3028. function DoubleJump()
  3029. --candoublejump=false
  3030. canidle=false
  3031. canwalk=false
  3032. attack=true
  3033. Torso.Velocity = vt(0, 70, 0)
  3034. JumpEffect("Light stone grey",cf(Torso.Position),0.1,0.1,0.75,0.75,0.75,0.5,0.075)
  3035. so("http://roblox.com/asset/?id=161006221",Torso,0.5,math.random(150,200)/100)
  3036. for i=0,1,0.12 do
  3037. FatEvent:wait()
  3038. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2)*angles(rad(0+360*i),0,0),0.3)
  3039. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(20),0,0),0.3)
  3040. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math_rad_90,0,-math_rad_30),0.3)
  3041. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math_rad_90,0,math_rad_30),0.3)
  3042. RH.C0=clerp(RH.C0,cf(1,0.5,-1)*angles(rad(-10),math_rad_90,0)*angles(rad(-5),0,0),0.3)
  3043. LH.C0=clerp(LH.C0,cf(-1,0.5,-1)*angles(rad(-10),-math_rad_90,0)*angles(rad(-5),0,0),0.3)
  3044. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  3045. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  3046. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  3047. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  3048. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  3049. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  3050. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  3051. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  3052. end
  3053. canidle=true
  3054. canwalk=true
  3055. attack=false
  3056. --wait(2)
  3057. --candoublejump=true
  3058. end
  3059.  
  3060. kill_connections[2]=mouse.Button1Down:connect(function()
  3061. if attack==false then
  3062. if attacktype==1 then
  3063. attacktype=2
  3064. attackone()
  3065. elseif attacktype==2 then
  3066. attacktype=3
  3067. attacktwo()
  3068. elseif attacktype==3 then
  3069. attacktype=4
  3070. attackthree()
  3071. elseif attacktype==4 then
  3072. attacktype=1
  3073. attackfour()
  3074. end
  3075. end
  3076. co_resume(co_create(function()
  3077. for i=1,50 do
  3078. if attack==false then
  3079. FatEvent:wait()
  3080. end
  3081. end
  3082. if attack==false then
  3083. attacktype=1
  3084. end
  3085. end))
  3086. end)
  3087.  
  3088. kill_connections[3]=mouse.KeyDown:connect(function(k)
  3089. k=k:lower()
  3090. if k=='e' and attack==false and usedstealth==false and invisible==false then
  3091. if cloaked==false and stealth>=50 then
  3092. usedstealth=true
  3093. Cloak()
  3094. wait(0.5)
  3095. usedstealth=false
  3096. elseif cloaked==true then
  3097. usedstealth=true
  3098. UnCloak()
  3099. wait(0.5)
  3100. usedstealth=false
  3101. end
  3102. while cloaked==true and stealth>=0 do
  3103. FatEvent:wait()
  3104. stealth = stealth-1/1.5
  3105. if Humanoid.Health>30 then
  3106. Torso.Velocity=RootPart.CFrame.lookVector*(25*Humanoid.Health/50)
  3107. elseif Humanoid.Health<30 then
  3108. Torso.Velocity=RootPart.CFrame.lookVector*20
  3109. end
  3110. end
  3111. if stealth<=0 then
  3112. UnCloak()
  3113. end
  3114. end
  3115. --[[if k=='t' and attack==false then
  3116. GottaFlip()
  3117. end]]--
  3118. if k=='z' then
  3119. if attack==false and cloaked==true and cooldown1>=co1 and stamina>=skill1stam then
  3120. cooldown1=0
  3121. subtractstamina(skill1stam)
  3122. SpiralDispursion()
  3123. elseif attack==false and cloaked==false and cooldown1>=co1 and stamina>=skill1stam then
  3124. cooldown1=cooldown1/2
  3125. subtractstamina(skill1stam)
  3126. GalacticLunge()
  3127. end
  3128. end
  3129. if k=='x' and attack==false and stealth>=30 and cooldown2>=co2 and stamina>=skill2stam then
  3130. cooldown2=0
  3131. subtractstamina(skill2stam)
  3132. stealth = stealth-30
  3133. CelestialMatterDistortion()
  3134. end
  3135. if k=='c' then
  3136. if attack==false and cloaked==true and cooldown3>=co3 and stamina>=skill3stam then
  3137. cooldown3=0
  3138. subtractstamina(skill3stam)
  3139. DemolishingGroundPound()
  3140. elseif attack==false and cloaked==false and cooldown3>=co3 and stamina>=skill3stam then
  3141. cooldown3=cooldown3/2
  3142. subtractstamina(skill3stam)
  3143. CometalBlast()
  3144. end
  3145. end
  3146. if k=='v' and attack==false and cooldown4>=co4 and stamina>=skill4stam then
  3147. cooldown4=0
  3148. subtractstamina(skill4stam)
  3149. BlackHole()
  3150. end
  3151. if k==' ' and attack==false and cloaked==false and Anim=="Jump" and jumpstamina==100 then
  3152. DoubleJump()
  3153. jumpstamina=0
  3154. end
  3155. end)
  3156.  
  3157. kill_connections[4]=mouse.KeyUp:connect(function(k)
  3158. k=k:lower()
  3159. end)
  3160.  
  3161. local s2=c3(104/255,104/255,104/255)
  3162. local inc=2
  3163. local min=function(a,b)
  3164. return a>b and b or a
  3165. end
  3166.  
  3167.  
  3168. function updateskills(dt)
  3169. local add=inc*dt
  3170. local ddt=1.5*dt
  3171. cooldown1 = (cooldown1 <= co1 and cooldown1 + add) or cooldown1
  3172. cooldown2 = (cooldown2 <= co2 and cooldown2 + add) or cooldown2
  3173. cooldown3 = (cooldown3 <= co3 and cooldown3 + add) or cooldown3
  3174. cooldown4 = (cooldown4 <= co4 and cooldown4 + add) or cooldown4
  3175.  
  3176. bar4.BackgroundColor3=(stamina<=skill1stam and s2) or skillcolorscheme
  3177. bar3.BackgroundColor3=(stamina<=skill2stam and s2) or skillcolorscheme
  3178. bar2.BackgroundColor3=(stamina<=skill4stam and s2) or skillcolorscheme
  3179. bar1.BackgroundColor3=(stamina<=skill3stam and s2) or skillcolorscheme
  3180.  
  3181. stamina = (stamina <= maxstamina and stamina + recovermana * ddt) or maxstamina
  3182. stealth = (stealth <= maxstealth and stealth + recoverstealth * ddt) or maxstealth
  3183. jumpstamina = (jumpstamina <= maxjumpstamina and jumpstamina + recoverjumpstamina * ddt) or maxjumpstamina
  3184.  
  3185.  
  3186. if stealth >= maxstealth then
  3187. stealth=100
  3188. end
  3189. if cooldown1 >= co1 then
  3190. cooldown1=20
  3191. end
  3192. if cooldown2 >= co2 then
  3193. cooldown2=30
  3194. end
  3195. if cooldown3 >= co3 then
  3196. cooldown3=40
  3197. end
  3198. if cooldown4 >= co4 then
  3199. cooldown4=100
  3200. end
  3201. end
  3202.  
  3203.  
  3204. local TS = healthcover.TweenSize
  3205.  
  3206.  
  3207. kill_connections[5]=game:GetService'RunService'.Heartbeat:connect(function(dt)
  3208. updateskills(dt)
  3209. TS(healthcover, ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5)
  3210. TS(staminacover, ud(1 * (stamina / maxstamina), 0, 1, 0), 'Out', 'Quad', .5)
  3211. TS(stealthcover, ud(1 * (stealth / maxstealth), 0, 1, 0), 'Out', 'Quad', .5)
  3212. TS(jumpstaminacover, ud(1 * (jumpstamina / maxjumpstamina), 0, 1, 0), 'Out', 'Quad', .5)
  3213. TS(bar4,ud(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
  3214. TS(bar3,ud(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
  3215. TS(bar1,ud(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
  3216. TS(bar2,ud(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
  3217. end)
  3218.  
  3219. local function Clean()
  3220. for i = 1,#kill_connections do
  3221. pcall(function()kill_connections[i]:disconnect()end)
  3222. end
  3223. for i,v in pairs(Character:GetChildren'') do
  3224. if v.ClassName=='Model' then
  3225. v.Parent=workspace
  3226. v.Children.CanCollide = true
  3227. end
  3228. end
  3229. error('script ended c:')
  3230. end
  3231.  
  3232. kill_connections[6]=Character.Humanoid.Died:connect(Clean)
  3233.  
  3234.  
  3235. local sine = 0
  3236. local change = 1
  3237. local val = 0
  3238.  
  3239. --[[local LastPoint=EffectReference.CFrame*cf(0,EffectReference.Size.Y/1.5,0)
  3240. local Point=EffectReference.CFrame*cf(0,EffectReference.Size.Y/1.5,0)
  3241. effect("Really black",0,LastPoint,Point)
  3242. LastPoint=Point]]--
  3243.  
  3244. FatEvent:connect(function()
  3245. sine = sine + change
  3246. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3247. local velderp=RootPart.Velocity.y
  3248. hitfloor,posfloor=rayCast(RootPart.Position,(cf(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  3249. if equipped==true or equipped==false then
  3250. if attack==false then
  3251. idle=idle+1
  3252. else
  3253. idle=0
  3254. end
  3255.  
  3256. if not bar1.Parent then
  3257. Clean()
  3258. end
  3259.  
  3260. if RootPart.Velocity.y > 1 and hitfloor==nil then
  3261. Anim="Jump"
  3262. if attack==false and cloaked==false then
  3263. Humanoid.WalkSpeed=16*speed.Value
  3264. change=2
  3265. FatEvent:wait()
  3266. --JumpEffect("Light stone grey",cf(Torso.Position),0.1,0.1,0.75,0.75,0.75,0.5,0.025)
  3267. --Torso.Velocity = RootPart.Velocity*Vector3.new(0,1.5,0)
  3268. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(rad(-10),0,0),0.3)
  3269. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-10),0,0),0.3)
  3270. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(-20),0,rad(20)),0.3)
  3271. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(-20),0,rad(-20)),0.3)
  3272. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(rad(-10),math_rad_90,0)*angles(0,0,0),0.3)
  3273. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-20),-math_rad_90,0)*angles(rad(-5),0,0),0.3)
  3274. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  3275. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  3276. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  3277. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  3278. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  3279. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  3280. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  3281. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  3282. else
  3283. if attack==false and cloaked==true then
  3284. FatEvent:wait()
  3285. Humanoid.WalkSpeed=16*speed.Value
  3286. change=2
  3287. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(rad(75),0,0),0.3)
  3288. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-45),0,0),0.3)
  3289. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(-15),-math_rad_30,rad(20)),0.3)
  3290. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(-15),math_rad_30,rad(-20)),0.3)
  3291. RH.C0=clerp(RH.C0,cf(1,-0.9,0.1)*angles(rad(-15),rad(75),0)*angles(rad(-10),0,0),0.3)
  3292. LH.C0=clerp(LH.C0,cf(-1,-0.9,0.1)*angles(rad(-15),rad(-75),0)*angles(rad(-10),0,0),0.3)
  3293. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  3294. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  3295. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  3296. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  3297. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  3298. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  3299. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  3300. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  3301. end
  3302. end
  3303. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  3304. Anim="Fall"
  3305. if attack==false and cloaked==false then
  3306. FatEvent:wait()
  3307. Humanoid.WalkSpeed=16*speed.Value
  3308. change=2
  3309. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(rad(10),0,0),0.3)
  3310. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10),0,0),0.3)
  3311. RW.C0=clerp(RW.C0,cf(1.5,0.75,0)*angles(rad(-10),0,rad(135)),0.3)
  3312. LW.C0=clerp(LW.C0,cf(-1.5,0.75,0)*angles(rad(-10),0,rad(-135)),0.3)
  3313. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(rad(-20),math_rad_90,0)*angles(rad(-20),0,0),0.3)
  3314. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(rad(-20),-math_rad_90,0)*angles(rad(-20),0,0),0.3)
  3315. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(-0.15,-0.15,-0.15)*angles(rad(-10),0,rad(10)),0.45)
  3316. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(-0.25,-0.15,0)*angles(0,0,rad(20)),0.45)
  3317. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(-0.45,-0.35,0.1)*angles(rad(10),0,math_rad_30),0.45)
  3318. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-0.15,0,0)*angles(0,0,rad(10)),0.45)
  3319. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0.15,-0.15,-0.15)*angles(rad(-10),0,rad(-10)),0.45)
  3320. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0.25,-0.15,0)*angles(0,0,rad(-20)),0.45)
  3321. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0.45,-0.35,0.1)*angles(rad(10),0,-math_rad_30),0.45)
  3322. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0.15,0,0)*angles(0,0,rad(-10)),0.45)
  3323. else
  3324. if attack==false and cloaked==true then
  3325. FatEvent:wait()
  3326. Humanoid.WalkSpeed=16*speed.Value
  3327. change=2
  3328. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(rad(75),0,0),0.3)
  3329. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-45),0,0),0.3)
  3330. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(-15),-math_rad_30,rad(20)),0.3)
  3331. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(-15),math_rad_30,rad(-20)),0.3)
  3332. RH.C0=clerp(RH.C0,cf(1,-0.9,0.1)*angles(rad(-15),rad(75),0)*angles(rad(-10),0,0),0.3)
  3333. LH.C0=clerp(LH.C0,cf(-1,-0.9,0.1)*angles(rad(-15),rad(-75),0)*angles(rad(-10),0,0),0.3)
  3334. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  3335. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  3336. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  3337. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  3338. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  3339. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  3340. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  3341. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  3342. end
  3343. end
  3344. elseif torvel<1 and hitfloor~=nil then
  3345. Anim="Idle"
  3346. if attack==false then
  3347. FatEvent:wait()
  3348. Humanoid.WalkSpeed=16*speed.Value
  3349. change=2
  3350. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1+0.1*cos(sine/15))*angles(rad(10-2.5*cos(sine/15)),0,rad(-45)),0.3)
  3351. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(10-2.5*cos(sine/15))+ -sin(sine/15)/15,rad(0-2.5*cos(sine/15))+ -sin(sine/15)/15,math_rad_45),0.3)
  3352. RW.C0=clerp(RW.C0,cf(1.5,0.55+0.05*cos(sine/15)+ -sin(sine/15)/15,0)*angles(math_rad_15,0,rad(15+5*cos(sine/15))),0.3)
  3353. LW.C0=clerp(LW.C0,cf(-1,0.55+0.05*cos(sine/15)+ sin(sine/15)/15,-0.5)*angles(rad(105+5*cos(sine/15))+ -sin(sine/15)/15,0,math_rad_45),0.3)
  3354. RH.C0=clerp(RH.C0,cf(1.1,-0.9-0.05*cos(sine/15),0.1)*angles(rad(-10-2.5*cos(sine/15)),rad(75),0)*angles(rad(-5-2.5*cos(sine/15)),0,0),0.3)
  3355. LH.C0=clerp(LH.C0,cf(-1.2,-0.9-0.15*cos(sine/15),0.1)*angles(rad(15-2.5*cos(sine/15)),-math_rad_60,0)*angles(rad(-10+2.5*cos(sine/15)),0,0),0.3)
  3356. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  3357. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  3358. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  3359. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  3360. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  3361. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  3362. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  3363. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  3364. else
  3365. if attack==true and canidle==true then
  3366. FatEvent:wait()
  3367. Humanoid.WalkSpeed=16*speed.Value
  3368. change=2
  3369. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(0,math_rad_90,0)*angles(rad(-5),0,0),0.3)
  3370. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(0,-math_rad_90,0)*angles(rad(-5),0,0),0.3)
  3371. end
  3372. end
  3373. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  3374. Anim="Walk"
  3375. if attack==false and cloaked==false then
  3376. FatEvent:wait()
  3377. Humanoid.WalkSpeed=16*speed.Value
  3378. change=2
  3379. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.25+0.2*cos(sine/3.5)+ -sin(sine/3.5)/7)*angles(rad(20),0+RootPart.RotVelocity.Y/30,rad(-60+5*cos(sine/7))),0.3)
  3380. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0+0.05*cos(sine/3.5))*angles(0,rad(2.5*cos(sine/7)),rad(60-5*cos(sine/7))+Head.RotVelocity.Y/15),0.3)
  3381. RW.C0=clerp(RW.C0,cf(1.5,0.55+0.05*cos(sine/3.5)+ -sin(sine/3.5)/7,0)*angles(rad(10),-math_rad_30,rad(60+5*cos(sine/3.5))),0.3)
  3382. LW.C0=clerp(LW.C0,cf(-1,0.55+0.05*cos(sine/3.5)+ sin(sine/3.5)/7,-0.5)*angles(rad(105+5*cos(sine/7)),0,math_rad_45),0.3)
  3383. RH.C0=clerp(RH.C0,cf(0.9+0.25*cos(sine/7)/2,-1.1-0.25*cos(sine/7)/2,0.25*cos(sine/7)/2)*angles(rad(-15-45*cos(sine/7))+ -sin(sine/7)/2.5,rad(90-5*cos(sine/7)),0)*angles(rad(-20*cos(sine/7)),0,0),0.3)
  3384. LH.C0=clerp(LH.C0,cf(-1-0.25*cos(sine/7)/2,-0.65+0.25*cos(sine/7)/2,-0.25*cos(sine/7)/2)*angles(rad(-15+45*cos(sine/7))+ sin(sine/7)/2.5,rad(-90-5*cos(sine/7)),0)*angles(rad(-30*cos(sine/7)),0,0),0.3)
  3385. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(-0.25,0,0)*angles(0,0,math_rad_15),0.45)
  3386. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(-0.25,0,0)*angles(0,0,math_rad_15),0.45)
  3387. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(-0.25,0,0)*angles(0,0,math_rad_15),0.45)
  3388. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0.25,0,0)*angles(0,0,rad(-15)),0.45)
  3389. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  3390. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  3391. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(-1.5,-0.6,0)*angles(0,0,math_rad_90),0.45)
  3392. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(1.5,-0.6,0)*angles(0,0,-math_rad_90),0.45)
  3393. else
  3394. if attack==true and canwalk==true then
  3395. FatEvent:wait()
  3396. Humanoid.WalkSpeed=16*speed.Value
  3397. change=2
  3398. RH.C0=clerp(RH.C0,cf(1,-1-0.25*cos(sine/7)/2,0.5*cos(sine/7)/2)*angles(rad(-25-45*cos(sine/7))+ -sin(sine/7)/2.5,math_rad_90,0)*angles(0,0,0),0.3)
  3399. LH.C0=clerp(LH.C0,cf(-1,-1+0.25*cos(sine/7)/2,-0.5*cos(sine/7)/2)*angles(rad(-25+45*cos(sine/7))+ sin(sine/7)/2.5,-math_rad_90,0)*angles(0,0,0),0.3)
  3400. end
  3401. end
  3402. elseif torvel>=22 and hitfloor~=nil then
  3403. Anim="Run"
  3404. if attack==false and cloaked==true then
  3405. FatEvent:wait()
  3406. Humanoid.WalkSpeed=16*speed.Value
  3407. change=2
  3408. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(rad(75),0,0),0.3)
  3409. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(rad(-45),0,0),0.3)
  3410. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(rad(-15),-math_rad_30,rad(20)),0.3)
  3411. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(rad(-15),math_rad_30,rad(-20)),0.3)
  3412. RH.C0=clerp(RH.C0,cf(1,-0.9,0.1)*angles(rad(-15),rad(75),0)*angles(rad(-10),0,0),0.3)
  3413. LH.C0=clerp(LH.C0,cf(-1,-0.9,0.1)*angles(rad(-15),rad(-75),0)*angles(rad(-10),0,0),0.3)
  3414. Finger1Handleweld.C0=clerp(Finger1Handleweld.C0,cf(0,0,0),0.45)
  3415. Finger2Handleweld.C0=clerp(Finger2Handleweld.C0,cf(0,0,0),0.45)
  3416. Finger3Handleweld.C0=clerp(Finger3Handleweld.C0,cf(0,0,0),0.45)
  3417. Finger4Handleweld.C0=clerp(Finger4Handleweld.C0,cf(0,0,0),0.45)
  3418. Glove2Finger1Handleweld.C0=clerp(Glove2Finger1Handleweld.C0,cf(0,0,0),0.45)
  3419. Glove2Finger2Handleweld.C0=clerp(Glove2Finger2Handleweld.C0,cf(0,0,0),0.45)
  3420. Glove2Finger3Handleweld.C0=clerp(Glove2Finger3Handleweld.C0,cf(0,0,0),0.45)
  3421. Glove2Finger4Handleweld.C0=clerp(Glove2Finger4Handleweld.C0,cf(0,0,0),0.45)
  3422. end
  3423. end
  3424. end
  3425. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement