Advertisement
Guest User

Untitled

a guest
Apr 21st, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.07 KB | None | 0 0
  1. -- Created by Nebula_Zorua --
  2. -- Two invisible eyes..
  3. -- Two, invisible, monsterous eyes..
  4. -- Discord: Nebula the Zorua#6969
  5. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  6. -- Credit to makhail07 for the idea (lub u bby)
  7. wait(1)
  8.  
  9. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  10.  
  11. local plr = S.Players.LocalPlayer
  12. local char = plr.Character
  13. local hum = char:FindFirstChildOfClass'Humanoid'
  14. local rarm = char["Right Arm"]
  15. local larm= char["Left Arm"]
  16. local rleg= char["Right Leg"]
  17. local lleg = char["Left Leg"]
  18. local root = char:FindFirstChild'HumanoidRootPart'
  19. local torso = char.Torso
  20. local head = char.Head
  21. local sine = 0;
  22. local combo = 1;
  23. local lastClick = time()
  24. local change = 1;
  25. local runService = S.RunService
  26. local mouse = plr:GetMouse()
  27. local Attack = false
  28. local neutralAnims = true
  29. local GlitchTime = 0;
  30. local PaintBody = 'Black'
  31. local DeleteClothing = true
  32. local PlayerSize = 2
  33. local Debounces = {Debounces={}}
  34. local Hit = {}
  35. local BloodPuddles = {}
  36. local Teamed = {}
  37. hum.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  38. hum.MaxHealth = 1e4
  39. hum.Health = 1e4
  40. hum.Name = '13'
  41. Instance.new("ForceField",char).Visible = false
  42. function Debounces:New(name,cooldown)
  43. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  44. setmetatable(aaaaa,{__index = Debounces})
  45. Debounces.Debounces[name] = aaaaa
  46. return aaaaa
  47. end
  48.  
  49. function Debounces:Use(overrideUsable)
  50. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  51. if(self.Usable or overrideUsable)then
  52. self.Usable = false
  53. self.CoolingDown = true
  54. local LastUse = time()
  55. self.LastUse = LastUse
  56. delay(self.Cooldown or 2,function()
  57. if(self.LastUse == LastUse)then
  58. self.CoolingDown = false
  59. self.Usable = true
  60. end
  61. end)
  62. end
  63. end
  64.  
  65. function Debounces:Get(name)
  66. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  67. for i,v in next, Debounces.Debounces do
  68. if(i == name)then
  69. return v;
  70. end
  71. end
  72. end
  73.  
  74. function Debounces:GetProgressPercentage()
  75. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  76. if(self.CoolingDown and not self.Usable)then
  77. return math.max(
  78. math.floor(
  79. (
  80. (time()-self.LastUse)/self.Cooldown or 2
  81. )*100
  82. )
  83. )
  84. else
  85. return 100
  86. end
  87. end
  88.  
  89. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  90. local V3 = {N=Vector3.new}
  91. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge}
  92.  
  93. local Effects,Sounds = {},{};
  94. --Stop animations
  95. for _,v in next, hum:GetPlayingAnimationTracks() do
  96. v:Stop();
  97. end
  98.  
  99. pcall(game.Destroy,char:FindFirstChild'Animate')
  100. pcall(game.Destroy,hum:FindFirstChild'Animator')
  101.  
  102. -- Sounds
  103. Sounds['Wet'] = {Id=256738023,Loop=false,Pitch=1}
  104. Sounds['Swoosh1'] = {Id=320557353,Loop=false,Pitch=1,Volume=6}
  105. Sounds['Swoosh2'] = {Id=320557382,Loop=false,Pitch=1,Volume=6}
  106. Sounds['Swoosh3'] = {Id=320557413,Loop=false,Pitch=1,Volume=6}
  107. Sounds['Swoosh4'] = {Id=320557453,Loop=false,Pitch=1,Volume=6}
  108. Sounds['Swoosh5'] = {Id=320557487,Loop=false,Pitch=1,Volume=6}
  109. Sounds['Swoosh6'] = {Id=320557537,Loop=false,Pitch=1,Volume=6}
  110. Sounds['Swoosh7'] = {Id=320557563,Loop=false,Pitch=1,Volume=6}
  111. Sounds['Swoosh8'] = {Id=320557518,Loop=false,Pitch=1,Volume=6}
  112. Sounds['SmallBoom'] = {Id=341336485,Loop=false,Volume=5,Pitch=1}
  113. Sounds['ChaosBuster'] = {Id=333534812,Loop=false,Volume=5,Pitch=0.75}
  114. Sounds['Magic'] = {Id=315743350,Loop=false,Volume=5,Pitch=1}
  115. Sounds['ShrekRemix'] = {Id=163306929,Loop=true,Pitch=1,Volume = 4}
  116. Sounds['CreoDimension'] = {Id=927529620,Loop=true,Pitch=1,Volume=4}
  117. Sounds['BlackBlizzard'] = {Id=657626121,Loop=true,Pitch=1,Volume=4}
  118. Sounds['ColbreakzFantasy'] = {Id=876981900,Loop=true,Pitch=1,Volume=4}
  119. Sounds['NeflCrystals'] = {Id=340106355,Loop=true,Pitch=1,Volume=4}
  120. Sounds['EvilMortyRemix'] = {Id=1057401232,Loop=true,Pitch=1,Volume=10}
  121. Sounds['Astronaut13'] = {Id=723652641,Loop=true,Pitch=0.9,Volume=10}
  122. -- Functions
  123. local NewInstance = function(instance,parent,properties)
  124. local inst = Instance.new(instance,parent)
  125. if(properties)then
  126. for i,v in next, properties do
  127. pcall(function() inst[i] = v end)
  128. end
  129. end
  130. return inst;
  131. end
  132.  
  133.  
  134. ArtificialHB = NewInstance("BindableEvent", script,{
  135. Parent = script,
  136. Name = "Heartbeat",
  137. })
  138.  
  139. script:WaitForChild("Heartbeat")
  140.  
  141. frame = 1 / 60
  142. tf = 0
  143. allowframeloss = false
  144. tossremainder = false
  145. lastframe = tick()
  146. script.Heartbeat:Fire()
  147.  
  148. game:GetService("RunService").Heartbeat:connect(function(s, p)
  149. tf = tf + s
  150. if tf >= frame then
  151. if allowframeloss then
  152. script.Heartbeat:Fire()
  153. lastframe = tick()
  154. else
  155. for i = 1, math.floor(tf / frame) do
  156. script.Heartbeat:Fire()
  157. end
  158. lastframe = tick()
  159. end
  160. if tossremainder then
  161. tf = 0
  162. else
  163. tf = tf - frame * math.floor(tf / frame)
  164. end
  165. end
  166. end)
  167.  
  168. function swait(num)
  169. if num == 0 or num == nil then
  170. ArtificialHB.Event:wait()
  171. else
  172. for i = 0, num do
  173. ArtificialHB.Event:wait()
  174. end
  175. end
  176. end
  177.  
  178. function ClearChildrenWithClass(where,class,recursive)
  179. local children = (recursive and where:GetDescendants() or where:GetChildren())
  180. for _,v in next, children do
  181. if(v:IsA(class))then
  182. v:destroy()
  183. end
  184. end
  185. end
  186. function clerp(startCF,endCF,alpha)
  187. return startCF:lerp(endCF, alpha)
  188. end
  189. local sndFromData = function(data,parent)
  190. assert(typeof(data) == 'table',"sndFromData's first argument must be a table!")
  191. local snd = NewInstance("Sound",parent or char,{SoundId = "rbxassetid://"..data.Id,Looped=data.Loop or false,Pitch = data.Pitch or 1,Volume = data.Volume or 1})
  192. if(not snd.Looped)then
  193. snd.Ended:connect(function()
  194. snd:Stop()
  195. snd:destroy()
  196. end)
  197. end
  198. return snd;
  199. end
  200.  
  201. local FX = function(ID,vol,pitch,parent)
  202. local snd = NewInstance("Sound",parent or torso, {Pitch=pitch or 1, Volume = vol or 1,SoundId = "rbxassetid://"..ID})
  203. snd:Play()
  204. repeat wait() until snd.IsLoaded and snd.IsPlaying
  205. delay(snd.TimePosition+.5,function()
  206. snd:Stop()
  207. snd:Destroy()
  208. end)
  209. end
  210.  
  211. function Fragment(part,number,delayE)
  212. part.Anchored = true
  213. local Fragments = NewInstance("Folder",part.Parent,{Name='Fragmentation'})
  214. local Size = V3.N(part.Size.X/number,part.Size.Y/number,part.Size.Z/number)
  215. local Start = CF.N((part.CFrame.X-part.Size.X/2) + Size.X/2,(part.CFrame.Y-part.Size.Y/2) + Size.Y/2,(part.CFrame.Z-part.Size.Z/2) + Size.Z/2)
  216. for x = 0, number-1 do
  217. for y = 0, number-1 do
  218. for z = 0, number-1 do
  219. local frag = NewInstance('Part',Fragments,{Anchored=true,Size=Size,BrickColor=part.BrickColor,Material=part.Material,Transparency=part.Transparency,Reflectance=part.Reflectance,CanCollide=true,CFrame=CF.N(Start.X+x*Size.X,Start.Y+y*Size.Y,Start.Z+z*Size.Z)})
  220. if(delayE ~= false)then swait(delayE or nil) end
  221. end
  222. end
  223. end
  224. part:destroy()
  225. return Fragments
  226. end
  227. function halfit(v)
  228. v:ClearAllChildren()
  229. v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2)
  230. v.Name = v.Name.."Half"
  231.  
  232. local a = v:Clone()
  233. a.Parent = v.Parent
  234. a.CFrame = CF.N(1,1,-.5) * v.CFrame
  235. v.CFrame = CF.N(1,1,.5) * v.CFrame
  236. return a,v
  237. end
  238.  
  239. function Fragment2(v)
  240. v:ClearAllChildren()
  241. local Fragments = NewInstance("Folder",v.Parent,{Name='Fragmentation'})
  242. v.Archivable = true
  243. -- X
  244. v.Size = Vector3.new(v.Size.x/2,v.Size.y,v.Size.z)
  245. v.Name = v.Name.."Fragment"
  246.  
  247. local a = v:Clone()
  248. a.Parent = Fragments
  249. a.CFrame = CF.N(-.5,1,1) * a.CFrame
  250. v.CFrame = CF.N(.5,1,1) * v.CFrame
  251. -- Y
  252. v.Size = Vector3.new(v.Size.x,v.Size.y/2,v.Size.z)
  253.  
  254. local a = v:Clone()
  255. a.Parent = Fragments
  256. a.CFrame = CF.N(1,-.5,1) * a.CFrame
  257. v.CFrame = CF.N(1,.5,1) * v.CFrame
  258. -- Z
  259. v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2)
  260.  
  261. local a = v:Clone()
  262. a.Parent = Fragments
  263. a.CFrame = CF.N(1,1,-.5) * a.CFrame
  264. v.CFrame = CF.N(1,1,.5) * v.CFrame
  265.  
  266. v.Parent = Fragments
  267. return Fragments
  268. end
  269. function UnbindLoops()
  270. pcall(runService.UnbindFromRenderStep,runService,"N_Effects")
  271. pcall(runService.UnbindFromRenderStep,runService,"N_Animations")
  272. end;
  273.  
  274. UnbindLoops() -- Just so if the loops already exist from previously running a script using this template, there's no errors
  275.  
  276. -- Model
  277.  
  278. game:service'Lighting'.FogEnd = 100
  279. game:service'Lighting'.FogStart = 0
  280. game:service'Lighting'.FogColor = BrickColor.new'Black'.Color
  281. game:service'Lighting'.ClockTime = 22
  282.  
  283. local Sky = Instance.new("Sky",game:service'Lighting')
  284. Sky.MoonAngularSize = 30
  285. Sky.MoonTextureId = "http://www.roblox.com/asset/?id=156679858"
  286.  
  287.  
  288.  
  289. local Distorted = NewInstance("EqualizerSoundEffect",Music,{MidGain=0,HighGain=0,LowGain=0})
  290. ClearChildrenWithClass(char,"Decal",true)
  291. ClearChildrenWithClass(char,"Clothing",true)
  292.  
  293. -- Joints, etc
  294. if(PaintBody)then
  295. char['Body Colors'].LeftArmColor = BrickColor.new(PaintBody)
  296. char['Body Colors'].RightArmColor = BrickColor.new(PaintBody)
  297. char['Body Colors'].LeftLegColor = BrickColor.new(PaintBody)
  298. char['Body Colors'].RightLegColor = BrickColor.new(PaintBody)
  299. char['Body Colors'].TorsoColor = BrickColor.new(PaintBody)
  300. char['Body Colors'].HeadColor = BrickColor.new(PaintBody)
  301. end
  302.  
  303. local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
  304. FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  305. RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  306. LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  307. RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  308. LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
  309.  
  310. if(PlayerSize ~= 1)then
  311. for _,v in next, char:GetDescendants() do
  312. if(v:IsA'BasePart')then
  313. v.Size = v.Size * PlayerSize
  314. end
  315. end
  316. end
  317.  
  318. local LS = NewInstance('Motor',char,{Part0=torso,Part1=larm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  319. local RS = NewInstance('Motor',char,{Part0=torso,Part1=rarm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  320. local NK = NewInstance('Motor',char,{Part0=torso,Part1=head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  321. local LH = NewInstance('Motor',char,{Part0=torso,Part1=lleg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  322. local RH = NewInstance('Motor',char,{Part0=torso,Part1=rleg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  323. local RJ = NewInstance('Motor',char,{Part0=root,Part1=torso})
  324. --local HW = NewInstance('Motor',char,{Part0=rarm,Part1=Handle,C0 = CF.N(0,.5,0)})
  325. -- watevr
  326.  
  327. -- Default C0s
  328. local LSD=LS.C0
  329. local RSD=RS.C0
  330. local HD=NK.C0
  331. local TD=RJ.C0
  332. local LHD=LH.C0
  333. local RHD=RH.C0
  334.  
  335. -- Check State
  336. function CheckState(rPart)
  337. if(math.abs(rPart.Velocity.x) > 2 or math.abs(rPart.Velocity.z) > 2)then
  338. return 'Walk';
  339. end
  340. return 'Idle';
  341. end
  342.  
  343. -- Effect Functions
  344. function SphereFX(duration,color,scale,pos,endScale)
  345. local rng = Instance.new("Part", char)
  346. rng.Anchored = true
  347. rng.BrickColor = color
  348. rng.CanCollide = false
  349. rng.FormFactor = 3
  350. rng.Name = "Ring"
  351. rng.Size = Vector3.new(1,1,1)
  352. rng.Transparency = 0
  353. rng.TopSurface = 0
  354. rng.BottomSurface = 0
  355. rng.CFrame = pos
  356. local rngm = Instance.new("SpecialMesh", rng)
  357. rngm.MeshType = "Sphere"
  358. rngm.Scale = scale
  359. table.insert(Effects, {Frame = 0, Effect="Sphere", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = pos})
  360. return rng
  361. end
  362.  
  363. function BlastFX(duration,color,scale,pos,endScale)
  364. local rng = Instance.new("Part", char)
  365. rng.Anchored = true
  366. rng.BrickColor = color
  367. rng.CanCollide = false
  368. rng.FormFactor = 3
  369. rng.Name = "Ring"
  370. rng.Size = Vector3.new(1,1,1)
  371. rng.Transparency = 0
  372. rng.TopSurface = 0
  373. rng.BottomSurface = 0
  374. rng.CFrame = pos
  375. local rngm = Instance.new("SpecialMesh", rng)
  376. rngm.MeshType = "FileMesh"
  377. rngm.MeshId = 'rbxassetid://20329976'
  378. rngm.Scale = scale
  379. table.insert(Effects, {Frame = 0, Effect="Sphere", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = pos})
  380. return rng
  381. end
  382.  
  383. function BlockFX(duration,color,scale,pos,endScale)
  384. local rng = Instance.new("Part", char)
  385. rng.Anchored = true
  386. rng.BrickColor = color
  387. rng.CanCollide = false
  388. rng.FormFactor = 3
  389. rng.Name = "Ring"
  390. rng.Size = Vector3.new(1,1,1)
  391. rng.Transparency = 0
  392. rng.TopSurface = 0
  393. rng.BottomSurface = 0
  394. rng.CFrame = pos
  395. local rngm = Instance.new("BlockMesh", rng)
  396. rngm.Scale = scale
  397. table.insert(Effects, {Frame = 0, Effect="Block", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = pos})
  398. return rng
  399. end
  400.  
  401. function LaserFX(duration,color,cframe,scale,endScale)
  402. local rng = Instance.new("Part", char)
  403. rng.Anchored = true
  404. rng.BrickColor = color
  405. rng.CanCollide = false
  406. rng.FormFactor = 3
  407. rng.Material = Enum.Material.Neon
  408. rng.Name = "Laser"
  409. rng.Size = Vector3.new(.5,.5,.5)
  410. rng.Transparency = 0
  411. rng.TopSurface = 0
  412. rng.BottomSurface = 0
  413. rng.CFrame = cframe
  414. local rngm = Instance.new("CylinderMesh", rng)
  415. rngm.Scale = scale
  416. table.insert(Effects, {Frame = 0, Effect="Sphere", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = cframe})
  417. return rng
  418. end
  419.  
  420.  
  421. function BloodDrop(pos,dir,maxsize)
  422. local owo = NewInstance("Part",char,{Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.25,.25,.25), CanCollide = false})
  423. owo.CFrame=CF.N(pos,dir)
  424. local bv = Instance.new("BodyVelocity",owo)
  425. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  426. bv.velocity = CF.N(pos,dir+V3.N(M.RNG(-3,3)/30,M.RNG(-3,3)/30,M.RNG(-3,3)/30)).lookVector*15
  427. bv.Name = "MOVE"
  428. game:service'Debris':AddItem(bv,0.05)
  429. local touch
  430. touch = owo.Touched:connect(function(hit)
  431. if(hit.Anchored==true)then
  432. touch:disconnect()
  433. BloodPuddle(owo.Position+V3.N(0,1,0),10,maxsize,owo)
  434. owo:destroy()
  435. end
  436. end)
  437. end
  438. function BloodPuddle(position,range,maxSize,where)
  439. local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(
  440. position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range
  441. ),{where,char},false,true)
  442. if(hit)then
  443. if(BloodPuddles[hit])then
  444. BloodPuddles[hit].Frame = 0
  445. if(hit:FindFirstChild'CylinderMesh' and hit.CylinderMesh.Scale.Z < BloodPuddles[hit].MaxSize)then
  446. hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1)
  447. end
  448. else
  449. local Puddle = NewInstance('Part',workspace,{Material=BloodMaterial,BrickColor=BloodColor,Size=V3.N(1,.1,1),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'})
  450. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  451. BloodPuddles[Puddle] = {MaxSize=maxSize or 7,Frame=0}
  452. end
  453. end
  454. end
  455.  
  456.  
  457. function ShatterFX(duration,color,scale,cframe)
  458. local rng = Instance.new("Part", char)
  459. rng.Anchored = true
  460. rng.BrickColor = color
  461. rng.CanCollide = false
  462. rng.FormFactor = 3
  463. rng.Name = "Ring"
  464. rng.Size = Vector3.new(1,1,1)
  465. rng.Transparency = 0
  466. rng.TopSurface = 0
  467. rng.BottomSurface = 0
  468. rng.CFrame = cframe * CF.fEA(M.RNG(-50, 50), M.RNG(-50, 50), M.RNG(-50, 50))
  469. local rngm = Instance.new("SpecialMesh", rng)
  470. rngm.Scale = scale
  471. rngm.MeshType = "Sphere"
  472. table.insert(Effects, {Frame = 0, Effect="Shatter", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale,Position=rng.CFrame})
  473. end
  474.  
  475. function RingFX(duration,color,scale,pos,endScale)
  476. local type = type
  477. local rng = Instance.new("Part", char)
  478. rng.Anchored = true
  479. rng.BrickColor = color
  480. rng.CanCollide = false
  481. rng.FormFactor = 3
  482. rng.Name = "Ring"
  483. rng.Size = Vector3.new(1,1,1)
  484. rng.Transparency = 0
  485. rng.TopSurface = 0
  486. rng.BottomSurface = 0
  487. rng.CFrame = pos
  488. local rngm = Instance.new("SpecialMesh", rng)
  489. rngm.MeshId = "rbxassetid://3270017"
  490. rngm.Scale = scale
  491. table.insert(Effects, {Frame = 0, Effect="Sphere", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = pos})
  492. return rng
  493. end
  494.  
  495. function Shoot(StartCF,EndCF,Spread,Speed,Num,Color,Drop,MinDamage,MaxDamage)
  496. local Spread = V3.N(M.RNG(-Spread,Spread),M.RNG(-Spread,Spread),M.RNG(-Spread,Spread))
  497. local Start = StartCF.p
  498. local End = EndCF.p
  499. local SpreadPos = End + Spread
  500. local Look = CF.N((Start + SpreadPos) / 2, SpreadPos)
  501. local Count = Num
  502. spawn(function()
  503. repeat
  504. wait()
  505. local hit, pos = workspace:findPartOnRay(Ray.new(
  506. Start,(Look.lookVector).unit * Speed
  507. ),char,false,true)
  508. local dist = (Start-pos).magnitude
  509. local yScale = dist * (Speed / (Speed/2))
  510. local aa = CF.N((Start + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0)
  511. LaserFX(25,Color,aa,Vector3.new(1,yScale,1),Vector3.new(-1,yScale,-1))
  512. Start = Start + Look.lookVector * Speed
  513. Look = Look * CF.A(M.R(Drop or -1),0,0)
  514. Count = Count - 1
  515.  
  516. if(hit)then
  517. Count = 0
  518. MagniDamage(pos,10,MinDamage,MaxDamage,0,'Normal')
  519. end
  520. if(Count <= 0)then
  521. local sphere = SphereFX(25,Color,Vector3.new(5,5,5),CF.N(pos),Vector3.new(15,15,15))
  522. local ring = RingFX(25,Color,Vector3.new(6,6,6),CF.N(pos) * CF.A(0,M.R(90),0) * CF.A(M.R(M.RNG(-360,360)),M.R(M.RNG(-360,360)),M.R(M.RNG(-360,360))),Vector3.new(16,16,16))
  523. end
  524. until Count <= 0
  525. end)
  526. end
  527.  
  528. -- Effect Loop
  529.  
  530. runService:BindToRenderStep("N_Effects",Enum.RenderPriority.Character.Value + 2,function()
  531. for _,data in next, Effects do
  532. local frame,effect,duration = data.Frame,data.Effect,data.Duration
  533. local transparency = (frame / duration)
  534. local opacity = 1 - transparency
  535. if(frame > duration)then
  536. Effects[_] = nil
  537. end
  538. frame = frame + 1
  539. data.Frame = frame
  540. if(effect == 'Sphere')then
  541. local Part,Mesh,Scale,CF,eScale = data.Part,data.Mesh,data.Scale,data.Position,data.EndScale
  542. Mesh.Scale = Mesh.Scale:lerp(eScale, transparency/6)
  543. Part.Transparency = transparency
  544. if(frame > duration)then
  545. Part:destroy()
  546. end
  547. elseif(effect == 'Shatter')then
  548. local Part,Mesh,Scale,Position,Thingie,Thingie2,Inc = data.Part,
  549. data.Mesh,
  550. data.Scale,
  551. data.Position,
  552. (data.Thingie or 0),
  553. (data.Thingie2 or M.RNG(50, 100) / 100),
  554. (data.Inc or M.RNG() - M.RNG())
  555. Part.Transparency = transparency
  556. Position = Position * CF.N(0,Thingie2,0)
  557. Part.CFrame = Position * CF.fEA(Thingie,0,0)
  558. Thingie = Thingie + Inc
  559.  
  560. data.Position = Position
  561. data.Thingie = Thingie
  562. data.Thingie2 = Thingie2
  563. data.Inc = Inc
  564. elseif(effect == 'Block')then
  565. local Part,Mesh,Scale,CF,eScale = data.Part,data.Mesh,data.Scale,data.Position,data.EndScale
  566. Mesh.Scale = Mesh.Scale:lerp(eScale, transparency/6)
  567. Part.Transparency = transparency
  568. Part.CFrame = CF * CFrame.Angles(M.R(M.RNG(-360,360)),M.R(M.RNG(-360,360)),M.R(M.RNG(-360,360)))
  569. if(frame > duration)then
  570. Part:destroy()
  571. end
  572. end
  573. end
  574. for puddle,data in next, BloodPuddles do
  575. if(puddle.Transparency > 0.9)then
  576. BloodPuddles[puddle] = nil
  577. puddle:destroy()
  578. end
  579. data.Frame = data.Frame + 1
  580. if(data.Frame > 105)then
  581. local trans = (data.Frame-105)/30
  582. puddle.Transparency = trans
  583. if(puddle:FindFirstChild'CylinderMesh' and puddle.CylinderMesh.Scale.Z > 0)then
  584. puddle.CylinderMesh.Scale = puddle.CylinderMesh.Scale-V3.N(.1,0,.1)
  585. end
  586. else
  587. puddle.Transparency = 0
  588. end
  589. end
  590. end)
  591.  
  592.  
  593.  
  594. -- Nametag
  595. local naeeym2 = Instance.new("BillboardGui",char)
  596. naeeym2.AlwaysOnTop = true
  597. naeeym2.Size = UDim2.new(5,35,2,35)
  598. naeeym2.StudsOffset = Vector3.new(0,1,0)
  599. naeeym2.Adornee = head
  600. naeeym2.Name = "Name"
  601. naeeym2.PlayerToHideFrom = plr
  602. local tecks2 = Instance.new("TextLabel",naeeym2)
  603. tecks2.BackgroundTransparency = 1
  604. tecks2.TextScaled = true
  605. tecks2.BorderSizePixel = 0
  606. tecks2.Text = "13"
  607. tecks2.Font = "Antique"
  608. tecks2.TextSize = 30
  609. tecks2.TextStrokeTransparency = 0
  610. tecks2.TextColor3 = Color3.new(0,0,0)
  611. tecks2.TextStrokeColor3 = Color3.new(0.4,0.4,0.4)
  612. tecks2.Size = UDim2.new(1,0,0.5,0)
  613. tecks2.Parent = naeeym2
  614.  
  615. coroutine.wrap(function()
  616. while true do
  617. swait(15)
  618. hum.Health = hum.Health + 15
  619. local name = M.RNG(1,40)
  620. if(name == 1)then
  621. tecks2.Text = "Th1rdt3EM"
  622. elseif(name == 2)then
  623. tecks2.Text = "Three"
  624. elseif(name == 3)then
  625. tecks2.Text = "furdtean"
  626. elseif(name > 3 and name <= 6)then
  627. tecks2.Text = 'Astronaut'
  628. else
  629. tecks2.Text = "13"
  630. end
  631. if(time()-GlitchTime < .5)then
  632. tecks2.Text = tecks2.Text:gsub("",string.char(M.RNG(1,127)))
  633. end
  634. end
  635. end)()
  636.  
  637. -- Animation Loop
  638. runService:BindToRenderStep("N_Animations",Enum.RenderPriority.Character.Value + 1,function()
  639. sine=sine+change
  640. local GlitchEffect = M.RNG(1,500)
  641. hum.WalkSpeed = 8
  642. if(Music.TimePosition > 2.7 and Music.TimePosition < 2.75 or Music.TimePosition > 6.8 and Music.TimePosition < 6.9)then GlitchTime = time()+.45 elseif(Music.TimePosition > 7.6)then
  643. if(GlitchEffect == 1 and time()-GlitchTime >= .5)then
  644. GlitchTime = time()
  645. end
  646. end
  647. if(time()-GlitchTime < .5)then
  648. Distorted.MidGain = -25
  649. Distorted.LowGain = 10
  650. Distorted.HighGain = -25
  651. FT.Parent = torso
  652. RA.Parent = rarm
  653. LA.Parent = larm
  654. RL.Parent = rleg
  655. LL.Parent = lleg
  656. for _,v in next, char:GetDescendants() do
  657. if(v:IsA'DataModelMesh')then
  658. v.Offset = V3.N(M.RNG(-200,200)/100,M.RNG(-200,200)/100,M.RNG(-200,200)/100)
  659. end
  660. end
  661. else
  662. Distorted.MidGain = 0
  663. Distorted.LowGain = 0
  664. Distorted.HighGain = 0
  665. FT.Parent = nil
  666. RA.Parent = nil
  667. LA.Parent = nil
  668. RL.Parent = nil
  669. LL.Parent = nil
  670. for _,v in next, char:GetDescendants() do
  671. if(v:IsA'DataModelMesh')then
  672. v.Offset = V3.N(0,0,0)
  673. end
  674. end
  675. end
  676. if(neutralAnims)then
  677. if(CheckState(root) == 'Idle')then
  678. -- Idle anim
  679. RJ.C0 = RJ.C0:lerp(CF.N(0,.2*M.S(time()*16),0)*CF.A(.2*M.S(time()*16),0,0),.2)
  680. NK.C0 = NK.C0:lerp(HD*CF.A(-.2*M.S(time()*16),0,0),.2)
  681. RH.C0 = RH.C0:lerp(RHD*CF.N(0,.2*-M.S(time()*16),.2*M.S(time()*16))*CF.A(-.2*M.S(time()*16),0,0),.2)
  682. LH.C0 = LH.C0:lerp(LHD*CF.N(0,.2*-M.S(time()*16),.2*M.S(time()*16))*CF.A(-.2*M.S(time()*16),0,0),.2)
  683. RS.C0 = RS.C0:lerp(RSD*CF.A(0,0,.4*M.C(time()*16)),.2)
  684. LS.C0 = LS.C0:lerp(LSD*CF.A(0,0,.4*-M.C(time()*16)),.2)
  685. elseif(CheckState(root) == 'Walk')then
  686. -- Walk anim
  687. RH.C0 = RH.C0:lerp(RHD*CF.A(-M.R(35+45*M.C(time()*hum.WalkSpeed)),0,0)*CF.A(M.R(-25),0,0)*CF.N(0,-M.S(time()*hum.WalkSpeed/2)/2,0),.2)
  688. LH.C0 = LH.C0:lerp(LHD*CF.A(M.R(35+45*M.C(time()*hum.WalkSpeed)),0,0)*CF.A(M.R(-25),0,0)*CF.N(0,-M.S(time()*hum.WalkSpeed/2)/2,0),.2)
  689. RS.C0 = RS.C0:lerp(RSD*CF.A(-M.R(35+45*M.C(time()*hum.WalkSpeed)),0,0)*CF.A(M.R(-25),0,0),.2)
  690. LS.C0 = LS.C0:lerp(LSD*CF.A(M.R(35+45*M.C(time()*hum.WalkSpeed)),0,0)*CF.A(M.R(-25),0,0),.2)
  691. RJ.C0 = RJ.C0:lerp(CF.N(0,M.S(time()*hum.WalkSpeed/2)/2,0)*CF.A(M.R(25),0,0),.2)
  692. end
  693. end
  694. end)
  695.  
  696. -- Died event
  697.  
  698. hum.Died:connect(function() -- When the player dies
  699. UnbindLoops() -- Unbind all of the loops used
  700. end)
  701.  
  702.  
  703. -- Everything else
  704.  
  705. function GetTorso(char)
  706. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  707. end
  708.  
  709. function DealDamage(who,minDam,maxDam,Knock,Type)
  710. if(who)then
  711. local hum = who:FindFirstChildOfClass'Humanoid'
  712. local Damage = M.RNG(minDam,maxDam)
  713. local canHit = true
  714. if(hum)then
  715. for _, p in pairs(Hit) do
  716. if p[1] == hum then
  717. if(time() - p[2] < 0.1) then
  718. canHit = false
  719. else
  720. Hit[_] = nil
  721. end
  722. end
  723. end
  724. if(canHit)then
  725. if(hum.Health >= math.huge)then
  726. who:BreakJoints()
  727. else
  728. local player = S.Players:GetPlayerFromCharacter(who)
  729. if(not player or not Teamed[player])then
  730. if(Type == "Fire")then
  731. --idk..
  732. else
  733. local c = Instance.new("ObjectValue",hum)
  734. c.Name = "creator"
  735. c.Value = plr
  736. game:service'Debris':AddItem(c,0.35)
  737. hum.Health = hum.Health - Damage
  738. if(Type == 'Knockback' and GetTorso(who))then
  739. local angle = GetTorso(who).Position - root.Position + Vector3.new(0, 0, 0).unit
  740. local body = NewInstance('BodyVelocity',GetTorso(who),{
  741. P = 500,
  742. maxForce = V3.N(math.huge,0,math.huge),
  743. velocity = root.CFrame.lookVector * Knock + root.Velocity / 1.05
  744. })
  745. game:service'Debris':AddItem(body,.5)
  746. elseif(Type == 'Knockdown' and GetTorso(who))then
  747. local rek = GetTorso(who)
  748. print(rek)
  749. hum.PlatformStand = true
  750. delay(1,function()
  751. hum.PlatformStand = false
  752. end)
  753. local angle = (GetTorso(who).Position - (root.Position + Vector3.new(0, 0, 0))).unit
  754. local bodvol = NewInstance("BodyVelocity",rek,{
  755. velocity = angle * Knock,
  756. P = 5000,
  757. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  758. })
  759. local rl = NewInstance("BodyAngularVelocity",rek,{
  760. P = 3000,
  761. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  762. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  763. })
  764. game:GetService("Debris"):AddItem(bodvol, .5)
  765. game:GetService("Debris"):AddItem(rl, .5)
  766. end
  767. end
  768. end
  769. end
  770. table.insert(Hit,{hum,time()})
  771. end
  772. end
  773. end
  774. end
  775.  
  776. function MagniDamage(pos,radius,mindamage,maxdamage,knockback,damagetype)
  777. local Recursive
  778. Recursive = function(whom)
  779. for _,c in next, whom:children() do
  780. local hum = c:FindFirstChildOfClass'Humanoid'
  781. local hed = c:FindFirstChild'Torso' or c:FindFirstChild'UpperTorso' or c:FindFirstChild'LowerTorso'
  782. if(hum and hed)then
  783. local mag = (hed.CFrame.p - pos).magnitude
  784. if(mag <= radius and c ~= char)then
  785. DealDamage(c,mindamage,maxdamage,knockback,damagetype)
  786. end
  787. end
  788. Recursive(c)
  789. end
  790. end
  791. Recursive(workspace)
  792. end
  793.  
  794. function MagniHeal(pos,radius,heal,needsTeamed)
  795. for _,v in next, workspace:GetDescendants() do
  796. local player = S.Players:GetPlayerFromCharacter(v)
  797. local hum = v:FindFirstChildOfClass'Humanoid'
  798. if(hum and v:IsA'Model')then
  799. if(not needsTeamed or player and (not plr.Neutral and player.TeamColor == plr.TeamColor))then
  800. local pp = v.PrimaryPart or v:FindFirstChild'Torso' or v:FindFirstChild'UpperTorso' or v:FindFirstChild'LowerTorso'
  801. if(pp and (pp.CFrame.p-pos).magnitude <= radius)then
  802. hum.Health = hum.Health + heal
  803. end
  804. end
  805. end
  806. end
  807. end
  808.  
  809. --[[
  810. for _,v in next, workspace:GetDescendants() do
  811. if(v ~= char and v:FindFirstChildOfClass'Humanoid' and GetTorso(v) and plr:DistanceFromCharacter(GetTorso(v).CFrame.p) < 15)then
  812. for _,c in next, v:children() do
  813. coroutine.wrap(function()
  814. if(c:IsA'BasePart')then
  815. local a = halfit(c)
  816. a.Anchored = false
  817. c.Anchored = false
  818. local bodpos = Instance.new("BodyPosition",a)
  819. bodpos.D = 1e4
  820. bodpos.Position = a.Position + V3.N(M.RNG(-100,100),M.RNG(100,200),M.RNG(-100,100))
  821. local bodpos = Instance.new("BodyPosition",c)
  822. bodpos.D = 1e4
  823. bodpos.Position = c.Position + V3.N(M.RNG(-100,100),M.RNG(100,200),M.RNG(-100,100))
  824. end
  825. end)()
  826. end
  827. end
  828. end
  829. ]]
  830. function SpaceExplode(pos)
  831. local explode = NewInstance("Explosion",workspace,{Visible=false,DestroyJointRadiusPercent = 0,Position=pos,BlastPressure=10000,ExplosionType=Enum.ExplosionType.CratersAndDebris,BlastRadius=30})
  832. local explodeP = NewInstance("Part",workspace,{Anchored=true,CanCollide=false,CFrame=CF.N(pos),Transparency=1})
  833. local particles = NewInstance("ParticleEmitter",explodeP,{Enabled=false,Texture='rbxasset://textures/particles/sparkles_main.dds',Size=NumberSequence.new(3),LightInfluence=.5,Lifetime=NumberRange.new(1),Rate=250,RotSpeed=NumberRange.new(25),SpreadAngle=Vector2.new(360,360),Color=ColorSequence.new(Color3.new(0,0,0),Color3.new(.3,.3,.3)),Transparency=NumberSequence.new(0,1),Speed=NumberRange.new(50)})
  834. particles:Emit(2500)
  835. explode.Hit:connect(function(t,d)
  836. if(d <= explode.BlastRadius and t ~= explodeP and not char:IsAncestorOf(t))then
  837. local a = Fragment2(t)
  838. t.Anchored = false
  839. local bodpos = Instance.new("BodyPosition",t)
  840. bodpos.D = 1e4
  841. bodpos.Position = t.Position + V3.N(M.RNG(-100,100),M.RNG(100,200),M.RNG(-100,100))
  842. for _,a in next, a:children() do
  843. a.Anchored = false
  844. local bodpos = Instance.new("BodyPosition",a)
  845. bodpos.D = 1e4
  846. bodpos.Position = a.Position + V3.N(M.RNG(-100,100),M.RNG(100,200),M.RNG(-100,100))
  847. end
  848. end
  849. end)
  850. delay(1, function()
  851. explodeP:destroy()
  852. end)
  853. end
  854.  
  855. function Explode(pos)
  856. local explode = NewInstance("Explosion",workspace,{Visible=false,DestroyJointRadiusPercent = 0,Position=pos,BlastPressure=10000,ExplosionType=Enum.ExplosionType.CratersAndDebris,BlastRadius=30})
  857. local explodeP = NewInstance("Part",workspace,{Anchored=true,CanCollide=false,CFrame=CF.N(pos),Transparency=1})
  858. local particles = NewInstance("ParticleEmitter",explodeP,{Enabled=false,Texture='rbxasset://textures/particles/sparkles_main.dds',Size=NumberSequence.new(3),LightInfluence=.5,Lifetime=NumberRange.new(1),Rate=250,RotSpeed=NumberRange.new(25),SpreadAngle=Vector2.new(360,360),Color=ColorSequence.new(Color3.new(0,0,0),Color3.new(.3,.3,.3)),Transparency=NumberSequence.new(0,1),Speed=NumberRange.new(50)})
  859. particles:Emit(2500)
  860. explode.Hit:connect(function(t,d)
  861. if(d <= explode.BlastRadius and t ~= explodeP and not char:IsAncestorOf(t))then
  862. t:BreakJoints()
  863. end
  864. end)
  865. delay(1, function()
  866. explodeP:destroy()
  867. end)
  868. end
  869. function FragmentedSmash()
  870. Attack = true
  871. neutralAnims = false
  872. for i = 0, 1, 0.1 do
  873. swait()
  874. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0124750687, 0.0806899369, 0.797527909, 0.999973536, 0.00707971025, -0.00174606312, -0.00709000183, 0.888056755, -0.459679216, -0.00170379225, 0.459679425, 0.888083458),0.3)
  875. LH.C0 = clerp(LH.C0,CFrame.new(-0.992911518, -2.19722176, 0.263476431, 0.999878228, -0.00709000183, 0.0139080146, -9.7673139e-05, 0.888056755, 0.459733874, -0.0156106194, -0.459679216, 0.887947857),0.3)
  876. RH.C0 = clerp(RH.C0,CFrame.new(1.00195694, -2.19321394, 0.240732491, 0.999878228, -0.00709000183, 0.0139080146, -9.7673139e-05, 0.888056755, 0.459733874, -0.0156106194, -0.459679216, 0.887947857),0.3)
  877. LS.C0 = clerp(LS.C0,CFrame.new(-2.9985857, 1.23600769, 0.359443754, 0.999878228, -0.00421095407, -0.0150323557, -9.77925229e-05, -0.964603186, 0.26370576, -0.0156107098, -0.263672143, -0.964486003),0.3)
  878. RS.C0 = clerp(RS.C0,CFrame.new(3.00798082, 1.02948105, 0.236942679, 0.999878228, -0.00421202509, -0.0150319505, -9.76680021e-05, -0.964581847, 0.263783902, -0.0156106092, -0.263750285, -0.964464784),0.3)
  879. NK.C0 = clerp(NK.C0,CFrame.new(-4.57763526e-05, 2.99385953, -0.167541847, 1.00000012, 0, 9.31322575e-10, 0, 0.997965097, 0.0637644231, 9.31322575e-10, -0.0637643933, 0.997965038),0.3)
  880. end
  881. wait(.25)
  882. for i = 0, 1, 0.1 do
  883. swait()
  884. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0162220523, -3.28057575, -1.04076338, 0.999646187, -0.0140592707, -0.0225835219, 0.0139190033, -0.447028011, 0.894411683, -0.0226702448, -0.894409537, -0.446674198),0.3)
  885. LH.C0 = clerp(LH.C0,CFrame.new(-0.995434463, -2.54280162, 0.103460789, 0.999878228, -0.0153137166, 0.00301438384, -9.40344544e-05, 0.187221676, 0.982317746, -0.0156072918, -0.982198358, 0.187197477),0.3)
  886. RH.C0 = clerp(RH.C0,CFrame.new(0.999332726, -2.53378367, 0.0742077827, 0.999878228, -0.0153137166, 0.00301438384, -9.40344544e-05, 0.187221676, 0.982317746, -0.0156072918, -0.982198358, 0.187197477),0.3)
  887. LS.C0 = clerp(LS.C0,CFrame.new(-3.00734401, 1.78636146, -0.204609811, 0.999878228, 0.0048848032, -0.0148234647, -9.40344544e-05, -0.947858274, -0.318692297, -0.0156072918, 0.318654835, -0.947742343),0.3)
  888. RS.C0 = clerp(RS.C0,CFrame.new(3.00109315, 1.59880495, -0.207441658, 0.999878228, 0.00488352403, -0.0148238856, -9.40344544e-05, -0.947885811, -0.318610489, -0.0156072918, 0.318573087, -0.94776988),0.3)
  889. NK.C0 = clerp(NK.C0,CFrame.new(-6.10337302e-05, 2.99385333, -0.167541668, 1, 4.65661287e-10, 1.16415322e-09, 0, 0.997965038, 0.0637648106, 4.65661287e-10, -0.0637647808, 0.997964978),0.3)
  890. end
  891. SpaceExplode(torso.CFrame.p)
  892.  
  893. neutralAnims = true
  894. Attack = false
  895. end
  896. function Boom()
  897. neutralAnims = false
  898. Attack = true
  899. for i = 0, 1, 0.1 do
  900. swait()
  901. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0267966501, 0.00628957665, 0.118403517, 0.888822019, -0.00288028526, -0.458243728, 1.83618964e-09, 0.99998033, -0.00628535915, 0.458252817, 0.00558656547, 0.888804436),0.3)
  902. LH.C0 = clerp(LH.C0,CFrame.new(-1.13602376, -1.9913373, -0.0583203211, 0.881559432, 1.97843608e-09, 0.472073227, -0.00296715181, 0.99998033, 0.00554091716, -0.472063869, -0.00628535915, 0.881541908),0.3)
  903. RH.C0 = clerp(RH.C0,CFrame.new(1.13044202, -1.99142766, -0.0518710092, 0.881559432, 1.97843608e-09, 0.472073227, -0.00296715181, 0.99998033, 0.00554091716, -0.472063869, -0.00628535915, 0.881541908),0.3)
  904. LS.C0 = clerp(LS.C0,CFrame.new(-2.87729907, 0.999060631, 0.0152502041, 0.991834939, 0.126569927, 0.0156156719, -0.126680851, 0.991923511, 0.00632756483, -0.0146886408, -0.00825411081, 0.999858022),0.3)
  905. RS.C0 = clerp(RS.C0,CFrame.new(2.85624766, 0.825717211, -0.0160068981, -0.879796147, -0.475095063, 0.0156087577, 0.47522983, -0.879839301, 0.00628530141, 0.0107470751, 0.0129475296, 0.999858439),0.3)
  906. NK.C0 = clerp(NK.C0,CFrame.new(-0.0986121893, 2.99323964, -0.268526018, 0.888822138, -0.026346216, 0.457494676, -0.00288064196, 0.998005033, 0.0630696788, -0.458243549, -0.0573755801, 0.886972964),0.3)
  907. end
  908. wait(.5)
  909. for i = 0, .65, 0.1 do
  910. swait()
  911. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0267966501, 0.00628957665, 0.118403517, 0.888822019, -0.00288028526, -0.458243728, 1.83618964e-09, 0.99998033, -0.00628535915, 0.458252817, 0.00558656547, 0.888804436),0.3)
  912. LH.C0 = clerp(LH.C0,CFrame.new(-1.13602376, -1.9913373, -0.0583203211, 0.881559432, 1.97843608e-09, 0.472073227, -0.00296715181, 0.99998033, 0.00554091716, -0.472063869, -0.00628535915, 0.881541908),0.3)
  913. RH.C0 = clerp(RH.C0,CFrame.new(1.13044202, -1.99142766, -0.0518710092, 0.881559432, 1.97843608e-09, 0.472073227, -0.00296715181, 0.99998033, 0.00554091716, -0.472063869, -0.00628535915, 0.881541908),0.3)
  914. LS.C0 = clerp(LS.C0,CFrame.new(-2.87729907, 0.999060631, 0.0152502041, 0.991834939, 0.126569927, 0.0156156719, -0.126680851, 0.991923511, 0.00632756483, -0.0146886408, -0.00825411081, 0.999858022),0.3)
  915. RS.C0 = clerp(RS.C0,CFrame.new(2.64173985, 0.428497076, -0.0101612248, -0.879796147, -0.475095063, 0.0156087577, 0.47522983, -0.879839301, 0.00628530141, 0.0107470751, 0.0129475296, 0.999858439),0.3)
  916. NK.C0 = clerp(NK.C0,CFrame.new(-0.0986121893, 2.99323964, -0.268526018, 0.888822138, -0.026346216, 0.457494676, -0.00288064196, 0.998005033, 0.0630696788, -0.458243549, -0.0573755801, 0.886972964),0.3)
  917. end
  918. --BlockFX(duration,color,scale,pos,endScale)
  919. local p = mouse.Hit.p
  920. local start = time()
  921. delay(0, function()
  922. repeat wait() BlockFX(15,BrickColor.new'Black',V3.N(3,3,3),CF.N(p),V3.N(4,4,4)) until time()-start > 1.25
  923. Explode(p)
  924. end)
  925. BlockFX(45,BrickColor.new'Black',V3.N(3,3,3),rarm.CFrame*CF.N(0,-rarm.Size.Y/2,0),V3.N(9,9,9))
  926. for i = 0, .65, 0.1 do
  927. swait()
  928. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0267966501, 0.00628957665, 0.118403517, 0.888822019, -0.00288028526, -0.458243728, 1.83618964e-09, 0.99998033, -0.00628535915, 0.458252817, 0.00558656547, 0.888804436),0.3)
  929. LH.C0 = clerp(LH.C0,CFrame.new(-1.13602376, -1.9913373, -0.0583203211, 0.881559432, 1.97843608e-09, 0.472073227, -0.00296715181, 0.99998033, 0.00554091716, -0.472063869, -0.00628535915, 0.881541908),0.3)
  930. RH.C0 = clerp(RH.C0,CFrame.new(1.13044202, -1.99142766, -0.0518710092, 0.881559432, 1.97843608e-09, 0.472073227, -0.00296715181, 0.99998033, 0.00554091716, -0.472063869, -0.00628535915, 0.881541908),0.3)
  931. LS.C0 = clerp(LS.C0,CFrame.new(-2.87729907, 0.999060631, 0.0152502041, 0.991834939, 0.126569927, 0.0156156719, -0.126680851, 0.991923511, 0.00632756483, -0.0146886408, -0.00825411081, 0.999858022),0.3)
  932. RS.C0 = clerp(RS.C0,CFrame.new(2.85624766, 0.825717211, -0.0160068981, -0.879796147, -0.475095063, 0.0156087577, 0.47522983, -0.879839301, 0.00628530141, 0.0107470751, 0.0129475296, 0.999858439),0.3)
  933. NK.C0 = clerp(NK.C0,CFrame.new(-0.0986121893, 2.99323964, -0.268526018, 0.888822138, -0.026346216, 0.457494676, -0.00288064196, 0.998005033, 0.0630696788, -0.458243549, -0.0573755801, 0.886972964),0.3)
  934. end
  935. wait(.25)
  936. neutralAnims = true
  937. Attack = false
  938. end
  939. function Meteor()
  940. neutralAnims = false
  941. Attack = true
  942. for i = 0, 1, 0.1 do
  943. swait()
  944. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0223131552, -2.04613924, -1.43031895, 0.999952257, -0.00929827243, -0.00299749151, 0.00927900057, 0.807942808, 0.589187801, -0.0030566277, -0.589187562, 0.80799067),0.3)
  945. LH.C0 = clerp(LH.C0,CFrame.new(-1.0033766, 0.39615345, -0.423063278, 0.999878109, 0.00927900057, 0.0125550134, -9.8735909e-05, 0.807942808, -0.589260876, -0.0156114856, 0.589187801, 0.807845294),0.3)
  946. RH.C0 = clerp(RH.C0,CFrame.new(0.960870802, -1.8572216, -2.39271688, 0.999878109, -0.0101528121, 0.0118595241, -9.87424937e-05, 0.75552392, 0.655120969, -0.0156114763, -0.655042291, 0.755430818),0.3)
  947. LS.C0 = clerp(LS.C0,CFrame.new(-3.0046792, 0.857568204, -0.0285525322, 0.999878109, -0.0146704866, -0.00533898873, -9.87424937e-05, -0.347920358, 0.93752414, -0.0156114763, -0.937409401, -0.347879499),0.3)
  948. RS.C0 = clerp(RS.C0,CFrame.new(3.00213504, 0.943184912, -0.13698405, 0.999878109, -0.0146704866, -0.00533898873, -9.87424937e-05, -0.347920358, 0.93752414, -0.0156114763, -0.937409401, -0.347879499),0.3)
  949. NK.C0 = clerp(NK.C0,CFrame.new(-2.44036382e-05, 2.99386311, -0.167564437, 1, 2.0461157e-06, -8.96863639e-07, -1.98557973e-06, 0.99796474, 0.0637678504, 1.02538615e-06, -0.0637679994, 0.99796468),0.3)
  950. end
  951. wait(.25)
  952. for i = 0, 1, 0.1 do
  953. swait()
  954. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.051363945, -3.60286617, -3.29043484, 0.999872804, -0.0137674687, -0.00806680601, 0.0137160039, 0.483212173, 0.875395894, -0.00815400854, -0.875395119, 0.483339548),0.3)
  955. LH.C0 = clerp(LH.C0,CFrame.new(-0.996045709, -1.73839223, 0.0600171089, 0.999878228, 0.00310409069, 0.0153003354, -9.91220222e-05, 0.981277168, -0.192601174, -0.0156117193, 0.19257623, 0.981157899),0.3)
  956. RH.C0 = clerp(RH.C0,CFrame.new(0.987435639, -1.55498588, -0.69317311, 0.999878228, -0.00418921839, 0.015039484, -9.91220222e-05, 0.961603463, 0.274442703, -0.0156117193, -0.274410754, 0.961485863),0.3)
  957. LS.C0 = clerp(LS.C0,CFrame.new(-3.0160594, 1.11446631, -0.759037852, 0.999878228, 0.0153746856, -0.00271196151, -9.91220222e-05, -0.167454362, -0.985879958, -0.0156117193, 0.985760093, -0.167432487),0.3)
  958. RS.C0 = clerp(RS.C0,CFrame.new(2.99049282, 1.03188896, -0.883246303, 0.999878228, 0.0153746856, -0.00271196151, -9.91220222e-05, -0.167454362, -0.985879958, -0.0156117193, 0.985760093, -0.167432487),0.3)
  959. NK.C0 = clerp(NK.C0,CFrame.new(-2.51147103e-05, 2.99386525, -0.167563885, 1.00000024, 1.80862844e-06, -8.5355714e-07, -1.75042078e-06, 0.997964859, 0.063767463, 9.66712832e-07, -0.063767463, 0.997964919),0.3)
  960. end
  961. local meteor = NewInstance("Part",char,{BrickColor=BrickColor.new'Dark stone grey',Material=Enum.Material.Granite,Size=V3.N(5,5,5),CanCollide=false,CFrame = CF.N(mouse.Hit.p)*CF.N(0,200,0)})
  962. Instance.new("SpecialMesh",meteor).MeshType = Enum.MeshType.Sphere
  963. meteor.Touched:connect(function(touch)
  964. if(not touch:IsA'Terrain' and touch.CanCollide and touch.Transparency < .9 and not touch:IsDescendantOf(char))then
  965. meteor:Destroy()
  966. Explode(meteor.CFrame.p)
  967. end
  968.  
  969. end)
  970. wait(.25)
  971. neutralAnims = true
  972. Attack = false
  973. end
  974.  
  975.  
  976. mouse.KeyDown:connect(function(k)
  977. if(Attack)then return end
  978. if(k == 'z')then
  979. Meteor()
  980. elseif(k == 'x')then
  981. Boom()
  982. elseif(k == 'c')then
  983. FragmentedSmash()
  984. elseif(k == 'v')then
  985. SpaceExplode(mouse.Hit.p)
  986. elseif(k == 'm')then
  987. Music.Playing = not Music.Playing
  988. end
  989. end)
  990.  
  991. hum.Died:connect(function()
  992. SpaceExplode(torso.CFrame.p)
  993. end)
  994.  
  995. runService.RenderStepped:connect(function()
  996. if(not Attack and combo ~= 1 and time()-lastClick > 0.4)then
  997. combo = 1
  998. end
  999. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement