Advertisement
memberhero

test

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