AxeuerAlt

Untitled

May 29th, 2019
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 197.29 KB | None | 0 0
  1.  
  2.  
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,game,owner = owner,game
  5. local RealPlayer = Player
  6. do
  7. print("FE Compatibility code by Mokiros")
  8. local rp = RealPlayer
  9. script.Parent = rp.Character
  10.  
  11. --RemoteEvent for communicating
  12. local Event = Instance.new("RemoteEvent")
  13. Event.Name = "UserInput_Event"
  14.  
  15. --Fake event to make stuff like Mouse.KeyDown work
  16. local function fakeEvent()
  17. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  18. t.connect = t.Connect
  19. return t
  20. end
  21.  
  22. --Creating fake input objects with fake variables
  23. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  24. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  25. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  26. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  27. end}
  28. --Merged 2 functions into one by checking amount of arguments
  29. CAS.UnbindAction = CAS.BindAction
  30.  
  31. --This function will trigger the events that have been :Connect()'ed
  32. local function te(self,ev,...)
  33. local t = m[ev]
  34. if t and t._fakeEvent then
  35. for _,f in pairs(t.Functions) do
  36. f(...)
  37. end
  38. end
  39. end
  40. m.TrigEvent = te
  41. UIS.TrigEvent = te
  42.  
  43. Event.OnServerEvent:Connect(function(plr,io)
  44. if plr~=rp then return end
  45. m.Target = io.Target
  46. m.Hit = io.Hit
  47. if not io.isMouse then
  48. local b = io.UserInputState == Enum.UserInputState.Begin
  49. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  50. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  51. end
  52. for _,t in pairs(CAS.Actions) do
  53. for _,k in pairs(t.Keys) do
  54. if k==io.KeyCode then
  55. t.Function(t.Name,io.UserInputState,io)
  56. end
  57. end
  58. end
  59. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  60. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  61. end
  62. end)
  63. Event.Parent = NLS([==[
  64. local Player = game:GetService("Players").LocalPlayer
  65. local Event = script:WaitForChild("UserInput_Event")
  66.  
  67. local Mouse = Player:GetMouse()
  68. local UIS = game:GetService("UserInputService")
  69. local input = function(io,a)
  70. if a then return end
  71. --Since InputObject is a client-side instance, we create and pass table instead
  72. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76.  
  77. local h,t
  78. --Give the server mouse data 30 times every second, but only if the values changed
  79. --If player is not moving their mouse, client won't fire events
  80. while wait(1/30) do
  81. if h~=Mouse.Hit or t~=Mouse.Target then
  82. h,t=Mouse.Hit,Mouse.Target
  83. Event:FireServer({isMouse=true,Target=t,Hit=h})
  84. end
  85. end]==],Player.Character)
  86.  
  87. ----Sandboxed game object that allows the usage of client-side methods and services
  88. --Real game object
  89. local _rg = game
  90.  
  91. --Metatable for fake service
  92. local fsmt = {
  93. __index = function(self,k)
  94. local s = rawget(self,"_RealService")
  95. if s then return s[k] end
  96. end,
  97. __newindex = function(self,k,v)
  98. local s = rawget(self,"_RealService")
  99. if s then s[k]=v end
  100. end,
  101. __call = function(self,...)
  102. local s = rawget(self,"_RealService")
  103. if s then return s(...) end
  104. end
  105. }
  106. local function FakeService(t,RealService)
  107. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  108. return setmetatable(t,fsmt)
  109. end
  110.  
  111. --Fake game object
  112. local g = {
  113. GetService = function(self,s)
  114. return self[s]
  115. end,
  116. Players = FakeService({
  117. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  118. },"Players"),
  119. UserInputService = FakeService(UIS,"UserInputService"),
  120. ContextActionService = FakeService(CAS,"ContextActionService"),
  121. }
  122. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  123. g.service = g.GetService
  124.  
  125. g.RunService = FakeService({
  126. RenderStepped = _rg:GetService("RunService").Heartbeat,
  127. BindToRenderStep = function(self,name,_,fun)
  128.  
  129. end,
  130. UnbindFromRenderStep = function(self,name)
  131. self._btrs[name]:Disconnect()
  132. end,
  133. },"RunService")
  134.  
  135. setmetatable(g,{
  136. __index=function(self,s)
  137. return _rg:GetService(s) or typeof(_rg[s])=="function"
  138. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  139. end,
  140. __newindex = fsmt.__newindex,
  141. __call = fsmt.__call
  142. })
  143. --Changing owner to fake player object to support owner:GetMouse()
  144. game,owner = g,g.Players.LocalPlayer
  145. end
  146. --------------------------------------------------
  147.  
  148. --God Slayer
  149.  
  150.  
  151.  
  152.  
  153. --[[wait(0.1)
  154. -------------------------------
  155. local p=game:service("Players").LocalPlayer
  156. if p.Name=="Reruderu" then
  157. p:Kick("go away, skid who uses crappy decompilers,v3rmie skid.")
  158. elseif p.Name=="Rerumu" then
  159. p:Kick("no thanks, skid who uses crappy decompilers that they didnt make.also being an pathetic v3rmie kid")
  160. end]]
  161. local p=game:service("Players").LocalPlayer
  162. local char=p.Character
  163. script.Parent=char
  164. local torso=char.Torso
  165. local hed=char.Head
  166. local larm=char:FindFirstChild("Left Arm")
  167. local rarm=char:FindFirstChild("Right Arm")
  168. local lleg=char:FindFirstChild("Left Leg")
  169. local rleg=char:FindFirstChild("Right Leg")
  170. local hum=char.Humanoid
  171. local cam=workspace.CurrentCamera
  172. local root=char.HumanoidRootPart
  173. local mouse=p:GetMouse()
  174. local hb=game:service("RunService").Heartbeat
  175. local rs=game:service("RunService").Stepped
  176. hum.MaxHealth=math.huge
  177. hum.Health=hum.MaxHealth
  178. local pgui=Instance.new("ScreenGui",p.PlayerGui)
  179. random={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  180. local run = 30
  181. local normal = 16
  182. local color = "Really black"
  183. local color2 = "Really blue"
  184. local righteyebrickcolor = "Really blue"
  185. local NumCol = 0,0,255
  186. local GodSlayer = true
  187. local Full = false
  188. hum.WalkSpeed = 5
  189. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  190. -------------------
  191. local drinks="10722059"
  192. local m="41707332"
  193. local tx="41708701"
  194. local ragesong="590156873"
  195. local breaks="368270172"
  196. local scream="527276541"
  197. local Shirt = "rbxassetid://427841675"
  198. local Pants = "rbxassetid://428282416"
  199. -------------------
  200.  
  201.  
  202. function swait(num)
  203. if num==0 or num==nil then
  204. game:service'RunService'.Stepped:wait(0)
  205. else
  206. for i=0,num do
  207. game:service'RunService'.Stepped:wait(0)
  208. end
  209. end
  210. end
  211.  
  212. function chatfunc(text)
  213. local chat = coroutine.wrap(function()
  214. if char:FindFirstChild("TalkingBillBoard")~= nil then
  215. char:FindFirstChild("TalkingBillBoard"):destroy()
  216. end
  217. local naeeym2 = Instance.new("BillboardGui",char)
  218. naeeym2.Size = UDim2.new(0,100,0,40)
  219. naeeym2.StudsOffset = Vector3.new(0,3,0)
  220. naeeym2.Adornee = char.Head
  221. naeeym2.Name = "TalkingBillBoard"
  222. local tecks2 = Instance.new("TextLabel",naeeym2)
  223. tecks2.BackgroundTransparency = 1
  224. tecks2.BorderSizePixel = 0
  225. tecks2.Text = ""
  226. tecks2.Font = "Fantasy"
  227. tecks2.TextSize = 30
  228. tecks2.TextStrokeTransparency = 0
  229. tecks2.TextColor3 = Color3.new(.6,0,0)
  230. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  231. tecks2.Size = UDim2.new(1,0,0.5,0)
  232. local tecks3 = Instance.new("TextLabel",naeeym2)
  233. tecks3.BackgroundTransparency = 1
  234. tecks3.BorderSizePixel = 0
  235. tecks3.Text = ""
  236. tecks3.Font = "Fantasy"
  237. tecks3.TextSize = 30
  238. tecks3.TextStrokeTransparency = 0
  239. tecks3.TextColor3 = Color3.new(0,0,255)
  240. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  241. tecks3.Size = UDim2.new(1,0,0.5,0)
  242. for i = 1,string.len(text),1 do
  243. tecks2.Text = string.sub(text,1,i)
  244. tecks3.Text = string.sub(text,1,i)
  245. wait(0.01)
  246. end
  247. wait(2)
  248. for i = 1, 50 do
  249. swait()
  250. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  251. tecks2.Rotation = tecks2.Rotation - .8
  252. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  253. tecks2.TextTransparency = tecks2.TextTransparency + .04
  254. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  255. tecks3.Rotation = tecks2.Rotation + .8
  256. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  257. tecks3.TextTransparency = tecks2.TextTransparency + .04
  258. end
  259. naeeym2:Destroy()
  260. end)
  261. chat()
  262. end
  263. function onChatted(msg)
  264. chatfunc(msg)
  265. end
  266. p.Chatted:connect(onChatted)
  267. coroutine.resume(coroutine.create(function()
  268. wait(2)
  269. chatfunc("Allow me to show you what happens when I break my limiter..")
  270. end))
  271.  
  272.  
  273. local s0=Instance.new("Sound",char)
  274. s0.SoundId="rbxassetid://"..ragesong
  275. s0.Volume=1999
  276. s0.Pitch=1
  277. s0.Looped=true
  278.  
  279.  
  280. local s02=Instance.new("Sound",char)
  281. s02.SoundId="rbxassetid://978788235"
  282. s02.Volume=1999
  283. s02.Pitch=1
  284. s02.Looped=false
  285. s02:Play()
  286.  
  287. function Sound(ID,Parent,Vol,Pitch,Loop)
  288. local S0 = Instance.new("Sound",Parent)
  289. S0.SoundId = ID
  290. S0.Volume = Vol
  291. S0.Looped = Loop
  292. S0.Pitch = Pitch
  293. wait(.1)
  294. S0:Play()
  295. end
  296. function weld(a, b, acf)
  297. local w = Instance.new("Weld", a)
  298. w.Part0 = a
  299. w.Part1 = b
  300. w.C0 = acf
  301. end
  302.  
  303.  
  304. wait(9)
  305. char.Head.face:Destroy()
  306. local reye = Instance.new("Part", char)
  307. reye.CanCollide = false
  308. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  309. reye.Material = "Neon"
  310. reye.Size = Vector3.new(.15,.15,.15)
  311. weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
  312. m1 = Instance.new("SpecialMesh", reye)
  313. m1.MeshType = "Sphere"
  314. m1.Scale = Vector3.new(0.9,0.9,0.9)
  315. reye.Locked = true
  316. reye.Name = "re"
  317.  
  318. local leye = Instance.new("Part", char)
  319. leye.CanCollide = false
  320. leye.BrickColor = BrickColor.new(righteyebrickcolor)
  321. leye.Material = "Neon"
  322. leye.Size = Vector3.new(.15,.15,.15)
  323. weld(leye, char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0))
  324. local m = Instance.new("SpecialMesh", leye)
  325. m.MeshType = "Sphere"
  326. m.Scale = Vector3.new(0.9,0.9,0.9)
  327. leye.Locked = true
  328. leye.Name = "le"
  329.  
  330. coroutine.resume(coroutine.create(function(Part,Weld)
  331. while Part.Parent~=nil do
  332. wait(2)
  333. for i=0,1,0.2 do
  334. wait()
  335. m.Scale = Vector3.new(.9,.9-.8*i,.5)
  336. end
  337. for i=0,1,0.2 do
  338. wait()
  339. m.Scale = Vector3.new(.9,.9+.8*i,.5)
  340. end
  341. end
  342. end),leye,weld)
  343.  
  344. coroutine.resume(coroutine.create(function(Part,Weld)
  345. while Part.Parent~=nil do
  346. wait(2)
  347. for z=0,1,0.2 do
  348. wait()
  349. m1.Scale = Vector3.new(.9,.9-.8*z,.5)
  350. end
  351. for z=0,1,0.2 do
  352. wait()
  353. m1.Scale = Vector3.new(.9,.9+.8*z,.5)
  354. end
  355. end
  356. end),reye,weld)
  357.  
  358.  
  359.  
  360. function fnt(pos,dist,splr)
  361. if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
  362. local list = {}
  363. for i,v in pairs(workspace:GetChildren())do
  364. if v:IsA("Model")then
  365. if v:findFirstChild("Torso")then
  366. if v ~= char then
  367. if(v.Torso.Position -pos).magnitude <= dist then
  368. table.insert(list,v)
  369. end
  370. end
  371. end
  372. end
  373. end
  374. return list
  375. end
  376. function fnp(pos,dist,splr)
  377. if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
  378. local list = {}
  379. for i,v in pairs(workspace:GetChildren())do
  380. if v:IsA("Part")then
  381. if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then
  382. if(v.Position -pos).magnitude <= dist then
  383. table.insert(list,v)
  384. end
  385. end
  386. end
  387. end
  388. return list
  389. end
  390. fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld
  391. local wld = Instance.new("Weld", wp1)
  392. wld.Part0 = wp0
  393. wld.Part1 = wp1
  394. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  395. end
  396. local trans=false
  397. ------------------------------------
  398. ------------------------------------
  399. anim="idle"
  400. local sine=0
  401. local add=0
  402. local value=0
  403. local ffing=false
  404. local msgs=0
  405. attack=false
  406. NoAnims=false
  407. ----preparing character----
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414. function NoOutline(Part)
  415. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  416. end
  417. function lerp(a, b, t) -- Linear interpolation
  418. return a + (b - a)*t
  419. end
  420.  
  421. function slerp(a, b, t) --Spherical interpolation
  422. dot = a:Dot(b)
  423. if dot > 0.99999 or dot < -0.99999 then
  424. return t <= 0.5 and a or b
  425. else
  426. r = math.acos(dot)
  427. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  428. end
  429. end
  430.  
  431. function matrixInterpolate(a, b, t)
  432. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  433. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  434. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  435. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  436. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  437. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  438. local t = v1:Dot(v2)
  439. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  440. return CFrame.new()
  441. end
  442. return CFrame.new(
  443. v0.x, v0.y, v0.z,
  444. v1.x, v1.y, v1.z,
  445. v2.x, v2.y, v2.z,
  446. v3.x, v3.y, v3.z)
  447. end
  448. ----------------------------------------------------
  449. function genWeld(a,b)
  450. local w = Instance.new("Weld",a)
  451. w.Part0 = a
  452. w.Part1 = b
  453. return w
  454. end
  455. function weld(a, b)
  456. local weld = Instance.new("Weld")
  457. weld.Name = "W"
  458. weld.Part0 = a
  459. weld.Part1 = b
  460. weld.C0 = a.CFrame:inverse() * b.CFrame
  461. weld.Parent = a
  462. return weld;
  463. end
  464. ----------------------------------------------------
  465. function Lerp(c1,c2,al)
  466. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  467. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  468. for i,v in pairs(com1) do
  469. com1[i] = v+(com2[i]-v)*al
  470. end
  471. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  472. end
  473. ----------------------------------------------------
  474.  
  475.  
  476.  
  477. fw(torso, larm, -1.5, 0.5, 0)
  478. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  479. fw(torso, rarm, 1.5, 0.5, 0)
  480. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  481. fw(torso, hed, 0, 1.5, 0)
  482. fw(torso, lleg, -0.5, -1, 0)
  483. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  484. fw(torso, rleg, 0.5, -1, 0)
  485. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  486. fw(root, torso, 0, -1, 0)
  487. torso.Weld.C1 = CFrame.new(0, -1, 0)
  488. --------------rot------------
  489. local r=0
  490. local radd=0.04
  491. coroutine.wrap(function()
  492. while rs:wait() do
  493. r=r+radd
  494. end
  495. end)()
  496. attack = false
  497. -----------------------------
  498.  
  499. -----------------------------
  500.  
  501.  
  502. if trans == false then
  503. attack=true
  504. NoAnims=true
  505. hum.WalkSpeed=0
  506.  
  507. local fx = Instance.new("Sound",char)
  508. fx.SoundId="rbxassetid://"..drinks
  509. fx.Volume=0
  510. fx.Pitch=1
  511. fx:Play()
  512.  
  513.  
  514.  
  515.  
  516. fx.SoundId="rbxassetid://"..breaks
  517. fx.Volume=10
  518. fx:Play()
  519.  
  520.  
  521.  
  522.  
  523. print("drinked")
  524.  
  525.  
  526.  
  527. coroutine.wrap(function()
  528. while trans == false do
  529. wait(0.2)
  530. local ef = Instance.new("Part",char)
  531. ef.Name="pulse"
  532. ef.BrickColor=BrickColor.new(color2)
  533. ef.Material="Neon"
  534. ef.Shape="Ball"
  535. ef.CanCollide=false
  536. ef.Anchored=true
  537. ef.Size=Vector3.new(1,1,1)
  538. ef.CFrame=root.CFrame
  539.  
  540. local ef2 = ef:Clone()
  541. ef2.Parent=ef
  542. ef2.BrickColor=BrickColor.new(color)
  543. ef2.Name="call"
  544. ef2.Size=Vector3.new(1,1,1)
  545. local em=Instance.new("SpecialMesh",ef2)
  546. em.MeshId="rbxassetid://3270017"
  547. em.Scale=Vector3.new(1,1,0.0001)
  548.  
  549. local ef3 = ef2:Clone()
  550. ef3.Parent=ef
  551. ef3.Name="aura"
  552. ef3.CFrame=root.CFrame
  553. local em2=ef3.Mesh
  554. em2.MeshId="rbxassetid://20329976"
  555. em2.Scale=Vector3.new(1,0.4,1)
  556.  
  557. local ef4 = ef3:Clone()
  558. ef4.Parent=ef
  559. local em3=ef4.Mesh
  560.  
  561. local ef5 = ef2:Clone()
  562. ef5.Parent=ef
  563. local em4=ef5.Mesh
  564.  
  565. coroutine.wrap(function()
  566. for i = 1, 60 do
  567. rs:wait()
  568. ef.Size=ef.Size+Vector3.new(1,1,1)
  569. ef.Transparency=ef.Transparency+1/60
  570. ef2.Size=ef2.Size+Vector3.new(1,0.3,1)
  571. ef2.Transparency=ef2.Transparency+1/60
  572. em.Scale=em.Scale+Vector3.new(1,1,0)
  573. ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r)
  574. ef3.Size=ef3.Size+Vector3.new(1,0.3,1)
  575. ef3.Transparency=ef3.Transparency+1/60
  576. ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
  577. em2.Scale=em2.Scale+Vector3.new(1,0.3,1)
  578. ef4.Size=ef4.Size+Vector3.new(1,0.3,1)
  579. ef4.Transparency=ef4.Transparency+1/60
  580. ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0)
  581. em3.Scale=em3.Scale+Vector3.new(1,0.3,1)
  582. ef5.Transparency=ef5.Transparency+1/60
  583. em4.Scale=em4.Scale+Vector3.new(1,1,0)
  584. ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r)
  585. end
  586. ef:Destroy()
  587. ef2:Destroy()
  588. ef3:Destroy()
  589. ef4:Destroy()
  590. ef5:Destroy()
  591. end)()
  592. end
  593. local ef = Instance.new("Part",char)
  594. ef.Name="pulse"
  595. ef.BrickColor=BrickColor.new(color2)
  596. ef.Material="Neon"
  597. ef.Shape="Ball"
  598. ef.CanCollide=false
  599. ef.Anchored=true
  600. ef.Size=Vector3.new(1,1,1)
  601. ef.CFrame=root.CFrame
  602. local em=Instance.new("SpecialMesh",ef)
  603. em.MeshId="rbxassetid://9982590"
  604. em.Scale=Vector3.new(1,0.3,1)
  605.  
  606. local ef2 = ef:Clone()
  607. ef2.Parent=ef
  608. ef2.Name="aura"
  609. ef2.CFrame=root.CFrame
  610. ef2.Mesh:Destroy()
  611.  
  612. local ef3 = ef:Clone()
  613. ef3.Parent=ef
  614. ef3.Name="aura"
  615. ef3.CFrame=root.CFrame
  616. ef3.Mesh:Destroy()
  617. local em2=Instance.new("SpecialMesh",ef3)
  618. em2.MeshId="rbxassetid://20329976"
  619. em2.Scale=Vector3.new(1,0.3,1)
  620.  
  621. coroutine.wrap(function()
  622. for i = 1, 250 do
  623. ef.Size=ef.Size+Vector3.new(2,2,2)
  624. ef.Transparency=ef.Transparency+1/160
  625. em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6)
  626. ef.CFrame=root.CFrame*CFrame.Angles(r,r,r)
  627. ef3.Transparency=ef3.Transparency+1/160
  628. ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
  629. em2.Scale=em2.Scale+Vector3.new(2,0.8,2)
  630. ef2.Size=ef2.Size+Vector3.new(2,2,2)
  631. ef2.Transparency=ef2.Transparency+1/160
  632. rs:wait()
  633. end
  634. ef:Destroy()
  635. ef2:Destroy()
  636. ef3:Destroy()
  637. s02:Destroy()
  638.  
  639. end)()
  640. end)()
  641.  
  642. for i = 1, 270 do
  643. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25)
  644. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25)
  645. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25)
  646. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25)
  647. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25)
  648. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  649. rs:wait()
  650. end
  651. wait(8.7)
  652. s0:Play()
  653. trans=true
  654. print("screamed")
  655. for i,v in pairs(char:GetChildren()) do
  656. if v:FindFirstChild("Handle") then
  657. v.Handle.Transparency=1
  658. end
  659. end
  660. hum.WalkSpeed=normal
  661. NoAnims=false
  662. attack=false
  663. end
  664.  
  665.  
  666. ------effects------
  667.  
  668. ypcall(function()
  669. shirt = Instance.new("Shirt", char)
  670. shirt.Name = "Shirt"
  671. pants = Instance.new("Pants", char)
  672. pants.Name = "Pants"
  673. char.Shirt.ShirtTemplate = Shirt
  674. char.Pants.PantsTemplate = Pants
  675. end)
  676.  
  677. char["Body Colors"].HeadColor = BrickColor.new("Dirt brown")
  678. char["Body Colors"].TorsoColor = BrickColor.new("Dirt brown")
  679. char["Body Colors"].LeftArmColor = BrickColor.new("Dirt brown")
  680. char["Body Colors"].RightArmColor = BrickColor.new("Dirt brown")
  681.  
  682.  
  683.  
  684. hum = char.Humanoid
  685.  
  686. function CreateMesh(parent, id, x, y, z, texture)
  687. local m=Instance.new("SpecialMesh", parent)
  688. m.MeshType = "FileMesh"
  689. m.MeshId=id
  690. if texture ~= nil then
  691. m.TextureId=texture
  692. end
  693. m.Scale = Vector3.new(x,y,z)
  694. end
  695.  
  696. local euler = CFrame.fromEulerAnglesXYZ
  697.  
  698. Hat=function()
  699. hat = Instance.new("Part", char)
  700. CreateMesh(hat, "rbxassetid://667528488", 1.1, 1.1, 1.1,"rbxassetid://845828015")
  701. hat.Name = "PurpleHair"
  702. hat.Locked = true
  703. hat.BrickColor = BrickColor.new("Dark indigo")
  704. hat.CanCollide=true
  705. hat.Size=Vector3.new(1,1,1)
  706. hatw = Instance.new("Weld",hat)
  707. hatw.Part0=hat
  708. hatw.Part1=char['Head']
  709. hatw.C0=CFrame.new(-0.1,-0.4,0)
  710. hatw.C1=euler(math.rad(0),math.rad(0),math.rad(0))
  711. end
  712.  
  713.  
  714. Hat2=function()
  715. hat2 = Instance.new("Part", char)
  716. CreateMesh(hat2, "rbxassetid://943649996", 0.5, 0.5, 0.5,"rbxassetid://943650208")
  717. hat2.Name = "DisguiseScarf"
  718. hat2.Locked = true
  719. hat2.BrickColor = BrickColor.new("Dark indigo")
  720. hat2.CanCollide=true
  721. hat2.Size=Vector3.new(1,1,1)
  722. hat2w = Instance.new("Weld",hat2)
  723. hat2w.Part0=hat2
  724. hat2w.Part1=char['Head']
  725. hat2w.C0=CFrame.new(0,0.5,0)
  726. hat2w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
  727. end
  728.  
  729. Hat()
  730. Hat2()
  731.  
  732. hum.MaxHealth=math.huge
  733. hum.Health=hum.MaxHealth
  734.  
  735.  
  736. Debounces = {
  737. CanAttack = true;
  738. NoIdl = false;
  739. Slashing = false;
  740. Slashed = false;
  741. RPunch = false;
  742. RPunched = false;
  743. LPunch = false;
  744. LPunched = false;
  745. }
  746. local Touche = {char.Name, }
  747.  
  748.  
  749.  
  750.  
  751.  
  752. CV="Really blue"
  753.  
  754. local txt = Instance.new("BillboardGui", char)
  755. txt.Adornee = char .Head
  756. txt.Name = "_status"
  757. txt.Size = UDim2.new(2, 0, 1.2, 0)
  758. txt.StudsOffset = Vector3.new(-9, 11, 0)
  759. local text = Instance.new("TextLabel", txt)
  760. text.Size = UDim2.new(10, 0, 7, 0)
  761. text.FontSize = "Size24"
  762. text.TextScaled = true
  763. text.TextTransparency = 0
  764. text.BackgroundTransparency = 1
  765. text.TextTransparency = 0
  766. text.TextStrokeTransparency = 0
  767. text.Font = "Antique"
  768. text.TextStrokeColor3 = Color3.new(0,0,255)
  769.  
  770. v=Instance.new("Part")
  771. v.Name = "ColorBrick"
  772. v.Parent=p.Character
  773. v.FormFactor="Symmetric"
  774. v.Anchored=true
  775. v.CanCollide=false
  776. v.BottomSurface="Smooth"
  777. v.TopSurface="Smooth"
  778. v.Size=Vector3.new(10,5,3)
  779. v.Transparency=1
  780. v.CFrame=char.Torso.CFrame
  781. v.BrickColor=BrickColor.new(CV)
  782. v.Transparency=1
  783. text.TextColor3 = Color3.new(0,0,0)
  784. v.Shape="Block"
  785. text.Text = "God Slayer"
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793. rarm.Touched:connect(function(ht)
  794. hit = ht.Parent
  795. if ht and hit:IsA("Model") then
  796. if hit:FindFirstChild("Humanoid") then
  797. if hit.Name ~= p.Name then
  798. if Debounces.RPunch == true and Debounces.RPunched == false then
  799. Debounces.RPunched = true
  800. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  801. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  802. if Debounces.ks==true then
  803. z = Instance.new("Sound",hed)
  804. z.SoundId = "rbxassetid://588693156"
  805. z.Pitch = ptz[math.random(1,#ptz)]
  806. z.Volume = 20
  807. z:Play()
  808. end
  809. wait(.2)
  810. Debounces.RPunched = false
  811. end
  812. end
  813. end
  814. elseif ht and hit:IsA("Hat") then
  815. if hit.Parent.Name ~= p.Name then
  816. if hit.Parent:FindFirstChild("Humanoid") then
  817. if Debounces.RPunch == true and Debounces.RPunched == false then
  818. Debounces.RPunched = true
  819. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  820. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  821. if Debounces.ks==true then
  822. z = Instance.new("Sound",hed)
  823. z.SoundId = "rbxassetid://588693156"
  824. z.Pitch = ptz[math.random(1,#ptz)]
  825. z.Volume = 20
  826. z:Play()
  827. end
  828. wait(.2)
  829. Debounces.RPunched = false
  830. end
  831. end
  832. end
  833. end
  834. end)
  835. larm.Touched:connect(function(ht)
  836. hit = ht.Parent
  837. if ht and hit:IsA("Model") then
  838. if hit:FindFirstChild("Humanoid") then
  839. if hit.Name ~= p.Name then
  840. if Debounces.LPunch == true and Debounces.LPunched == false then
  841. Debounces.LPunched = true
  842. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  843. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  844. if Debounces.ks2==true then
  845. z = Instance.new("Sound",hed)
  846. z.SoundId = "rbxassetid://588693156"
  847. z.Pitch = ptz[math.random(1,#ptz)]
  848. z.Volume = 20
  849. z:Play()
  850. end
  851. wait(.2)
  852. Debounces.LPunched = false
  853. end
  854. end
  855. end
  856. elseif ht and hit:IsA("Hat") then
  857. if hit.Parent.Name ~= p.Name then
  858. if hit.Parent:FindFirstChild("Humanoid") then
  859. if Debounces.LPunch == true and Debounces.LPunched == false then
  860. Debounces.LPunched = true
  861. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  862. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  863. if Debounces.ks2==true then
  864. z = Instance.new("Sound",hed)
  865. z.SoundId = "rbxassetid://588693156"
  866. z.Pitch = ptz[math.random(1,#ptz)]
  867. z.Volume = 20
  868. z:Play()
  869. end
  870. wait(.2)
  871. Debounces.LPunched = false
  872. end
  873. end
  874. end
  875. end
  876. end)
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885. local attacktype = 1
  886. local attack = false
  887.  
  888.  
  889.  
  890. function attackone()
  891. Debounces.RPunch = true
  892. Debounces.LPunch = true
  893. attack = true
  894. NoAnims = true
  895. for i = 1, 3 do
  896. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  897. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  898. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  899. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  900. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  901. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  902. if Debounces.on == false then break end
  903. wait()
  904. end
  905. attack = false
  906. NoAnims = false
  907. Debounces.RPunch = false
  908. Debounces.LPunch = false
  909. end
  910.  
  911. function attacktwo()
  912. Debounces.RPunch = true
  913. Debounces.LPunch = true
  914. NoAnims = true
  915. attack = true
  916. for i = 1, 3 do
  917. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  918. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  919. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  920. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  921. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  922. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  923. if Debounces.on == false then break end
  924. wait()
  925. end
  926. attack = false
  927. NoAnims = false
  928. Debounces.RPunch = false
  929. Debounces.LPunch = false
  930.  
  931. end
  932.  
  933.  
  934. function attackthree()
  935. Debounces.RPunch = true
  936. Debounces.LPunch = true
  937. NoAnims = true
  938. attack = true
  939. for i = 1, 3 do
  940. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  941. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  942. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  943. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  944. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  945. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  946. if Debounces.on == false then break end
  947. wait()
  948. end
  949. attack = false
  950. NoAnims = false
  951. Debounces.RPunch = false
  952. Debounces.LPunch = false
  953. end
  954.  
  955.  
  956. function attackfour()
  957. Debounces.RPunch = true
  958. Debounces.LPunch = true
  959. NoAnims = true
  960. attack = true
  961. for i = 1, 3 do
  962. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  963. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  964. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  965. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  966. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  967. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  968. if Debounces.on == false then break end
  969. wait()
  970. end
  971. attack = false
  972. NoAnims = false
  973. Debounces.RPunch = false
  974. Debounces.LPunch = false
  975. end
  976.  
  977.  
  978. mouse.Button1Down:connect(function()
  979. if attack == false and attacktype == 1 then
  980. attacktype = 2
  981. attackone()
  982. elseif attack == false and attacktype == 2 then
  983. attacktype = 3
  984. attacktwo()
  985. elseif attack == false and attacktype == 3 then
  986. attacktype = 4
  987. attackthree()
  988. elseif attack == false and attacktype == 4 then
  989. attacktype = 1
  990. attackfour()
  991. end
  992. end)
  993.  
  994.  
  995. --[[function Transformation()
  996. hum.WalkSpeed = 0
  997. local Portal = Instance.new("Model",char)
  998. local prt1 = Instance.new("Model",Portal)
  999. local prt2 = Instance.new("Model",Portal)
  1000. local prt3 = Instance.new("Model",Portal)
  1001. for i = 1,7 do
  1002. local p = Instance.new("Part",prt1)
  1003. p.Locked = true
  1004. p.Anchored = true
  1005. p.Transparency = 1
  1006. p.CanCollide = false
  1007. p.BrickColor = BrickColor.new("Really red")
  1008. p.TopSurface = 0
  1009. p.Material = "Neon"
  1010. p.BottomSurface = 0
  1011. p.Size = Vector3.new(1,1,1)
  1012. local m = Instance.new("SpecialMesh",p)
  1013. m.Name = 'm'
  1014. m.Scale = Vector3.new(1,1,1)
  1015. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1016. end for i = 1,7 do
  1017. local p = Instance.new("Part",prt2)
  1018. p.Locked = true
  1019. p.Anchored = true
  1020. p.CanCollide = false
  1021. p.Transparency = 1
  1022. p.BrickColor = BrickColor.new("Really black")
  1023. p.TopSurface = 0
  1024. p.Material = "Neon"
  1025. p.BottomSurface = 0
  1026. p.Size = Vector3.new(1,1,1)
  1027. local m = Instance.new("SpecialMesh",p)
  1028. m.Name = 'm'
  1029. m.Scale = Vector3.new(1,1,1)
  1030. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1031. end for i = 1,7 do
  1032. local p = Instance.new("Part",prt3)
  1033. p.Locked = true
  1034. p.Anchored = true
  1035. p.CanCollide = false
  1036. p.Transparency = 1
  1037. p.BrickColor = BrickColor.new("Really red")
  1038. p.TopSurface = 0
  1039. p.Material = "Neon"
  1040. p.BottomSurface = 0
  1041. p.Size = Vector3.new(1,1,1)
  1042. local m = Instance.new("SpecialMesh",p)
  1043. m.Name = 'm'
  1044. m.Scale = Vector3.new(1,1,1)
  1045. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1046. end
  1047. local Rot,Rate,Dist,Size = 0,65,65,1
  1048. coroutine.wrap(function()
  1049. while wait()do
  1050. if _DEBOUNCE then break end
  1051. for i,v in pairs(prt1:GetChildren())do
  1052. v.Transparency = v.Transparency -0.035
  1053. v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist)
  1054. v.m.Scale = Vector3.new(Size,Size,Size)
  1055. end for i,v in pairs(prt2:GetChildren())do
  1056. v.Transparency = v.Transparency -0.035
  1057. v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist)
  1058. v.m.Scale = Vector3.new(Size,Size,Size)
  1059. end for i,v in pairs(prt3:GetChildren())do
  1060. v.Transparency = v.Transparency -0.035
  1061. v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0)
  1062. v.m.Scale = Vector3.new(Size,Size,Size)
  1063. end
  1064. Rot = Rot >= 360 and 0 or Rot +Rate
  1065. end end)()
  1066. wait(0.75)
  1067. for i = 1,90 do
  1068. Rate = Rate -(2.3/3)
  1069. Dist = Dist -(1.5/3)
  1070. wait()
  1071. end
  1072. wait(1)
  1073. for i = 1,30 do
  1074. Rate = Rate -(2.3/3)
  1075. Dist = Dist +0.5
  1076. wait()
  1077. end
  1078. wait(2)
  1079. for i = 1,30 do
  1080. Rate = Rate +(9.2/3)
  1081. Dist = Dist -1.75
  1082. wait()
  1083. end
  1084. wait(0.75)
  1085. for i = 1,6 do
  1086. Rate = Rate -4
  1087. Dist = Dist +0.5
  1088. wait()
  1089. end
  1090. Rate = 0
  1091. Dist = 6
  1092. wait(2)
  1093. for i = 1,90 do
  1094. Rate = Rate +0.5
  1095. Dist = Dist +0.2
  1096. wait()
  1097. end
  1098. wait(1)
  1099. for i = 1,30 do
  1100. Dist = Dist -(24/30)
  1101. Size = Size +0.05
  1102. wait()
  1103. end
  1104. -- Scream in pain
  1105.  
  1106.  
  1107. coroutine.resume(coroutine.create(function()
  1108. wait(2)
  1109. game.Lighting.TimeOfDay = "00:00:00"
  1110.  
  1111. hat.Transparency = 1
  1112. Hat3=function()
  1113. hat3 = Instance.new("Part", char)
  1114. CreateMesh(hat3, "rbxassetid://667528488", 1.1, 1.1, 1.1)
  1115. hat3.Name = "RedHair"
  1116. hat3.Locked = true
  1117. hat3.BrickColor = BrickColor.new("Maroon")
  1118. hat3.CanCollide=true
  1119. hat3.Size=Vector3.new(1,1,1)
  1120. hat3w = Instance.new("Weld",hat3)
  1121. hat3w.Part0=hat3
  1122. hat3w.Part1=char['Head']
  1123. hat3w.C0=CFrame.new(-0.1,-0.4,0)
  1124. hat3w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
  1125. end
  1126.  
  1127.  
  1128.  
  1129. ypcall(function()
  1130. shirt = Instance.new("Shirt", char)
  1131. shirt.Name = "Shirt"
  1132. pants = Instance.new("Pants", char)
  1133. pants.Name = "Pants"
  1134. char.Shirt.ShirtTemplate = "rbxassetid://519769931"
  1135. char.Pants.PantsTemplate = "rbxassetid://519770250"
  1136. end)
  1137.  
  1138. ragesong2 = "492913801"
  1139. s02=Instance.new("Sound",char)
  1140. s02.SoundId="rbxassetid://"..ragesong2
  1141. s02.Volume=1999
  1142. s02.Pitch=1
  1143. s02.Looped=true
  1144. righteyebrickcolor = "Really red"
  1145. s0:Stop()
  1146. wait(0.01)
  1147. s02:Play()
  1148. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  1149. leye.BrickColor = BrickColor.new(righteyebrickcolor)
  1150. text.TextStrokeColor3 = Color3.new(255,0,0)
  1151. hat.BrickColor = BrickColor.new("Maroon")
  1152. Hat3()
  1153. end))
  1154.  
  1155.  
  1156. tran = 0
  1157. for i,v in pairs(char:GetChildren()) do
  1158. if v.Name == "Head" or v.Name == "Torso" or v.Name == "Torso" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" then
  1159. Glow1 = Color3.new(.6,0,.1)
  1160. Glow2 = Color3.new(0,0,0)
  1161.  
  1162. GlowParticle = Instance.new("ParticleEmitter",v)
  1163. GlowParticle.LightEmission = 1
  1164. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  1165. GlowParticle.Size = NumberSequence.new(0,2)
  1166.  
  1167. GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845"
  1168. GlowParticle.Transparency = NumberSequence.new(tran,1)
  1169. GlowParticle.LockedToPart = true
  1170. GlowParticle.Lifetime = NumberRange.new(0.5)
  1171. GlowParticle.Rate= 300
  1172. GlowParticle.Speed =NumberRange.new(0)
  1173. end end
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187. coroutine.wrap(function()
  1188. for i = 1,3 do
  1189. wait()
  1190. end end)()
  1191. wait(1.65)
  1192. _DEBOUNCE = true
  1193. wait()
  1194. Portal:Destroy()
  1195. coroutine.wrap(function()
  1196. local Pos = char.Torso.Position
  1197. local BOOSH = Instance.new("Sound",Workspace)
  1198. BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159"
  1199. BOOSH.Volume = 1
  1200. BOOSH.Pitch = 0.675
  1201. local Fuse = Instance.new("Sound",Workspace)
  1202. Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908"
  1203. Fuse.Volume = 1
  1204. Fuse.Pitch = 0.25
  1205. local BOOSH2 = Instance.new("Sound",Workspace)
  1206. BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793"
  1207. BOOSH2.Volume = 1
  1208. BOOSH2.Pitch = 0.25
  1209. local dsound = true
  1210. local PewPew = Instance.new("Sound",Workspace)
  1211. PewPew.Name = "PewPew"
  1212. PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534"
  1213. PewPew.Volume = 1
  1214. PewPew.Pitch = 0.32
  1215. local function GetHumanoids()
  1216. local Characters = {}
  1217. for i,v in pairs(Workspace:GetChildren())do
  1218. if v:IsA("Model")then
  1219. local Hu = v:findFirstChild("Humanoid")
  1220. local Torso = v:findFirstChild("Torso")
  1221. if Hu and Torso and v.Name ~= p.Name then
  1222. table.insert(Characters,Torso)
  1223. end end end
  1224. return Characters
  1225. end
  1226. local function Boom()
  1227. for i = 1,25 do
  1228. for _,v in pairs(GetHumanoids())do
  1229. if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then
  1230. local h = v.Parent:findFirstChild("Humanoid")
  1231. if h then
  1232. local Moar =(Pos - v.Position).unit
  1233.  
  1234.  
  1235. end end end
  1236. local p = Instance.new("Part",char)
  1237. p.Name = "BlastRing"
  1238. p.TopSurface = 0
  1239. p.BottomSurface = 0
  1240. p.CanCollide = false
  1241. p.Anchored = true
  1242. p.BrickColor = BrickColor.new("Really red")
  1243. p.Size = Vector3.new(1,1,1)
  1244. p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
  1245. local rm = Instance.new("SpecialMesh",p)
  1246. rm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1247. rm.Name = "BlastMesh"
  1248. rm.Scale = Vector3.new(1,1,1)
  1249. coroutine.wrap(function()
  1250. for n = 1,15 do
  1251. rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2
  1252. if 2 +i/5 == 1.2 then
  1253. rm.Scale = rm.Scale + Vector3.new(0,0.9,0)
  1254. end
  1255. p.Transparency = n/15
  1256. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0)
  1257. wait()
  1258. end
  1259. p:Destroy()
  1260. end)()
  1261. local p = Instance.new("Part",char)
  1262. p.TopSurface = 0
  1263. p.BottomSurface = 0
  1264. p.formFactor = "Symmetric"
  1265. p.Size = Vector3.new(1,1,1)
  1266. p.Anchored = true
  1267. p.CanCollide = false
  1268. p.BrickColor = BrickColor.new("Really red")
  1269. p.CFrame = CFrame.new(Pos)
  1270. local m = Instance.new("BlockMesh",p)
  1271. coroutine.wrap(function()
  1272. for x = 1,48 do
  1273. m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2
  1274. p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50)
  1275. p.Transparency = x/48
  1276. Wait()
  1277. end
  1278. p:Destroy()
  1279. end)()
  1280. Game:GetService("Debris"):AddItem(p,5)
  1281. local p = Instance.new("Part",char)
  1282. p.Name = "BlastRing"
  1283. p.TopSurface = 0
  1284. p.BottomSurface = 0
  1285. p.CanCollide = false
  1286. p.Anchored = true
  1287. p.BrickColor = BrickColor.new("Really black")
  1288. p.Size = Vector3.new(1,1,1)
  1289. p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
  1290. local m = Instance.new("SpecialMesh",p)
  1291. m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1292. m.Scale = Vector3.new(1,0.25,1)
  1293. coroutine.wrap(function()
  1294. for n = 1,13 do
  1295. m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
  1296. if 1 +i/5 == 1.2 then
  1297. m.Scale = m.Scale + Vector3.new(0,0.9,0)
  1298. end
  1299. p.Transparency = n/13
  1300. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
  1301. Wait()
  1302. end
  1303. p:Destroy()
  1304. end)()
  1305. Wait(0.1)
  1306. end for i = 10,19 do
  1307. local p = Instance.new("Part",char)
  1308. p.Name = "BlastRing"
  1309. p.TopSurface = 0
  1310. p.BottomSurface = 0
  1311. p.CanCollide = false
  1312. p.Anchored = true
  1313. p.BrickColor = BrickColor.new("Really red")
  1314. p.Size = Vector3.new(1,1,1)
  1315. p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
  1316. local m = Instance.new("SpecialMesh",p)
  1317. m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1318. m.Scale = Vector3.new(1,0.25,1)
  1319. coroutine.wrap(function()
  1320. for n = 1,13 do
  1321. m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
  1322. if 1 +i/5 == 1.2 then
  1323. m.Scale = m.Scale + Vector3.new(0,0.9,0)
  1324. end
  1325. p.Transparency = n/13
  1326. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
  1327. Wait()
  1328. end
  1329. p:Destroy()
  1330. end)()
  1331. local p = Instance.new("Part",char)
  1332. p.Name = "BlastRing"
  1333. p.TopSurface = 0
  1334. p.BottomSurface = 0
  1335. p.CanCollide = false
  1336. p.Anchored = true
  1337. p.BrickColor = BrickColor.new("Really black")
  1338. p.Size = Vector3.new(1,1,1)
  1339. p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
  1340. p.Parent = workspace
  1341. local m = Instance.new("SpecialMesh",p)
  1342. m.Name = "BlastMesh"
  1343. m.Scale = Vector3.new(0.1,0.1,0.1)
  1344. m.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1345. coroutine.wrap(function()
  1346. for n = 1,15 do
  1347. m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2
  1348. if 3+i/5 == 1.2 then
  1349. m.Scale = m.Scale + Vector3.new(0,0.9,0)
  1350. end
  1351. p.Transparency = n/15
  1352. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0)
  1353. Wait()
  1354. end
  1355. p:Destroy()
  1356. end)()
  1357. for _,v in pairs(GetHumanoids())do
  1358. if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then
  1359. local h = v.Parent:findFirstChild("Humanoid")
  1360. if h then
  1361. local Moar =(Pos - v.Position).unit
  1362.  
  1363.  
  1364. end end end
  1365. Wait(0.1)
  1366. end for i = 30,37 do
  1367. for _,v in pairs(GetHumanoids())do
  1368. if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then
  1369. local h = v.Parent:findFirstChild("Humanoid")
  1370. if h then
  1371. local Moar =(Pos - v.Position).unit
  1372.  
  1373.  
  1374. end end end end
  1375. dsound = false
  1376. wait(6.5)
  1377. for i = 1,30 do
  1378. BOOSH.Volume = BOOSH.Volume -0.033
  1379. BOOSH2.Volume = BOOSH.Volume
  1380. Fuse.Volume = BOOSH.Volume
  1381. Wait()
  1382. end
  1383. BOOSH:Stop()
  1384. BOOSH2:Stop()
  1385. Fuse:Stop()
  1386. end
  1387. BOOSH2:Play()
  1388. Fuse:Play()
  1389. BOOSH:Play()
  1390. Boom()
  1391. end)()
  1392. hum.WalkSpeed = 5
  1393. end]]
  1394.  
  1395.  
  1396. GroundWave = function()
  1397. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1398. local Colors = {"Really blue", "Really blue"}
  1399. local wave = Instance.new("Part", torso)
  1400. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1401. wave.Anchored = true
  1402. wave.CanCollide = false
  1403. wave.Locked = true
  1404. wave.Size = Vector3.new(1, 1, 1)
  1405. wave.TopSurface = "Smooth"
  1406. wave.BottomSurface = "Smooth"
  1407. wave.Transparency = 0.35
  1408. wave.CFrame = HandCF
  1409. wm = Instance.new("SpecialMesh", wave)
  1410. wm.MeshId = "rbxassetid://3270017"
  1411. coroutine.wrap(function()
  1412. for i = 1, 14, 1 do
  1413. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  1414. wave.Size = wm.Scale
  1415. wave.CFrame = HandCF
  1416. wave.Transparency = i/14
  1417. wait()
  1418. end
  1419. wait()
  1420. wave:Destroy()
  1421. end)()
  1422. end
  1423.  
  1424.  
  1425.  
  1426. function BurningEff(part)
  1427. local eff1 = Instance.new("ParticleEmitter",part)
  1428. eff1.Size = NumberSequence.new(.1)
  1429. eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  1430. eff1.LightEmission = 1
  1431. eff1.Lifetime = NumberRange.new(1)
  1432. eff1.Speed = NumberRange.new(0)
  1433. eff1.Rate = 100
  1434. eff1.Texture = "rbxassetid://284205403"
  1435. eff1.Acceleration = Vector3.new(0,10,0)
  1436. eff1.Color = ColorSequence.new(Color3.new(0,0,255))
  1437. local eff2 = Instance.new("ParticleEmitter",part)
  1438. eff2.Size = NumberSequence.new(.1)
  1439. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  1440. eff2.LightEmission = 1
  1441. eff2.Lifetime = NumberRange.new(0.2)
  1442. eff2.Speed = NumberRange.new(0)
  1443. eff2.Rate = 100
  1444. eff2.Texture = "rbxassetid://347504259"
  1445. eff2.Acceleration = Vector3.new(0,10,0)
  1446. eff2.Color = ColorSequence.new(Color3.new(0,0,255))
  1447. local eff3 = Instance.new("ParticleEmitter",part)
  1448. eff3.Size = NumberSequence.new(0.2)
  1449. eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  1450. eff3.LightEmission = 1
  1451. eff3.Lifetime = NumberRange.new(1)
  1452. eff3.Speed = NumberRange.new(0)
  1453. eff3.Rate = 100
  1454. eff3.Texture = "rbxassetid://284205403"
  1455. eff3.Acceleration = Vector3.new(0,10,0)
  1456. eff3.Color = ColorSequence.new(Color3.new(0,0,255))
  1457. end
  1458.  
  1459.  
  1460. function FullPower()
  1461. NoAnims = true
  1462. attack = true
  1463.  
  1464.  
  1465.  
  1466. Full = true
  1467.  
  1468.  
  1469. for i = 1, 40 do
  1470. wait()
  1471. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head
  1472. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso
  1473. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm
  1474. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm
  1475. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg
  1476. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg
  1477. end
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487. for i = 1, 20 do
  1488. wait()
  1489. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head
  1490. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)--torso
  1491. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)), 0.2)--arm
  1492. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)), 0.2)--arm
  1493. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg
  1494. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg
  1495. end
  1496.  
  1497. s0:Destroy()
  1498. ragesong = "397952612"
  1499. wait(0.001)
  1500. s02 = Instance.new("Sound",char)
  1501. s02.Volume = 90
  1502. s02.SoundId = "rbxassetid://"..ragesong
  1503. s02.Looped = true
  1504. s02.Pitch = 1
  1505. wait(0.001)
  1506. s02:Play()
  1507.  
  1508.  
  1509. local selectionBoxOfTorso = Instance.new("SelectionBox",torso)
  1510. selectionBoxOfTorso.Adornee = torso
  1511. selectionBoxOfTorso.Color = BrickColor.new("Really blue")
  1512. selectionBoxOfTorso.LineThickness = 0.01
  1513. selectionBoxOfTorso.Transparency = 0
  1514.  
  1515. local selectionBoxOfRightArm = Instance.new("SelectionBox",char["Right Arm"])
  1516. selectionBoxOfRightArm.Adornee = char["Right Arm"]
  1517. selectionBoxOfRightArm.Color = BrickColor.new("Really blue")
  1518. selectionBoxOfRightArm.LineThickness = 0.01
  1519. selectionBoxOfRightArm.Transparency = 0
  1520.  
  1521. local selectionBoxOfRightLeg = Instance.new("SelectionBox",char["Right Leg"])
  1522. selectionBoxOfRightLeg.Adornee = char["Right Leg"]
  1523. selectionBoxOfRightLeg.Color = BrickColor.new("Really blue")
  1524. selectionBoxOfRightLeg.LineThickness = 0.01
  1525. selectionBoxOfRightLeg.Transparency = 0
  1526.  
  1527. local selectionBoxOfLeftArm = Instance.new("SelectionBox",char["Left Arm"])
  1528. selectionBoxOfLeftArm.Adornee = char["Left Arm"]
  1529. selectionBoxOfLeftArm.Color = BrickColor.new("Really blue")
  1530. selectionBoxOfLeftArm.LineThickness = 0.01
  1531. selectionBoxOfLeftArm.Transparency = 0
  1532.  
  1533. local selectionBoxOfLeftLeg = Instance.new("SelectionBox",char["Left Leg"])
  1534. selectionBoxOfLeftLeg.Adornee = char["Left Leg"]
  1535. selectionBoxOfLeftLeg.Color = BrickColor.new("Really blue")
  1536. selectionBoxOfLeftLeg.LineThickness = 0.01
  1537. selectionBoxOfLeftLeg.Transparency = 0
  1538.  
  1539. BurningEff(reye)
  1540.  
  1541. LightOnBody = Instance.new("PointLight", hed)
  1542. LightOnBody.Brightness = 3000
  1543. LightOnBody.Range = 20
  1544. LightOnBody.Color = Color3.new(0, 0, 255)
  1545.  
  1546. r = game:GetService("RunService").RenderStepped
  1547. Activated = true
  1548. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  1549. Debri = coroutine.wrap(function()
  1550. repeat
  1551. local p = Instance.new('Part',torso)
  1552. p.formFactor = 'Custom'
  1553. p.Size = Vector3.new(1,1,1)
  1554. p.BrickColor = workspace.Base.BrickColor
  1555. p.CanCollide = false
  1556. p.Transparency = 0
  1557. p.Anchored = true
  1558. p.Locked=true
  1559. p.Material = workspace.Base.Material
  1560. s = math.random(1,40)/10
  1561. local m = Instance.new("BlockMesh",p)
  1562. m.Scale = Vector3.new(s,s,s)
  1563. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  1564. --[[coroutine.wrap(function()
  1565. wait(2)
  1566. while Charging == true do
  1567. wait(2)
  1568. GroundWave1()
  1569. wait(2)
  1570. end
  1571. end)()]]--
  1572.  
  1573. spawn(function()
  1574. while r:wait() do
  1575. if p.Transparency >= 1 then p:Destroy() break end
  1576. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  1577. p.Transparency = p.Transparency+0.01
  1578. end
  1579. end)
  1580. wait(.3)
  1581. until Activated == false
  1582. end)
  1583. Debri()
  1584.  
  1585. l = game.Lighting
  1586. l.TimeOfDay = 1
  1587. game.Lighting.Ambient = Color3.new(0,0,0)
  1588. l.Brightness = 0.1
  1589.  
  1590.  
  1591. spawn(function()
  1592. while wait(2)
  1593. do
  1594. GroundWave()
  1595. end
  1596. end)
  1597.  
  1598.  
  1599. local eColors = {"Really blue", "Really blue"}
  1600. coroutine.resume(coroutine.create(function()
  1601. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  1602. local magz = (Part0 - Part1).magnitude
  1603. local curpos = Part0
  1604. local trz = {-Offset,Offset}
  1605. for i=1,Times do
  1606. local li = Instance.new("Part", torso)
  1607. li.Name = "Lightning"
  1608. li.TopSurface =0
  1609. li.Material = "Neon"
  1610. li.BottomSurface = 0
  1611. li.Anchored = true
  1612. li.Locked = true
  1613. li.Transparency = Trans or 0.4
  1614. li.BrickColor = BrickColor.new(Color)
  1615. li.formFactor = "Custom"
  1616. li.CanCollide = false
  1617. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  1618. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1619. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1620. if Times == i then
  1621. local magz2 = (curpos - Part1).magnitude
  1622. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1623. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1624. else
  1625. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1626. end
  1627. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1628. game.Debris:AddItem(li,.1)
  1629. end
  1630. end
  1631.  
  1632. BodyParts = {}
  1633. for _, v in pairs(char:GetChildren()) do
  1634. if v:IsA("Part") then
  1635. table.insert(BodyParts, v)
  1636. end
  1637. end
  1638.  
  1639. Bounding = {} -- Calculate the bounding boxes
  1640. for _, v in pairs(BodyParts) do
  1641. local temp = {X=nil, Y=nil, Z=nil}
  1642. temp.X = v.Size.X/2 * 10
  1643. temp.Y = v.Size.Y/2 * 10
  1644. temp.Z = v.Size.Z/2 * 10
  1645. Bounding[v.Name] = temp
  1646. end
  1647.  
  1648. while wait(lightspeed) do
  1649. lightspeed = math.random(0.1,0.2)
  1650. local Body1 = BodyParts[math.random(#BodyParts)]
  1651. local Body2 = BodyParts[math.random(#BodyParts)]
  1652. local Pos1 = Vector3.new(
  1653. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  1654. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  1655. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  1656. )
  1657. local Pos2 = Vector3.new(
  1658. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  1659. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  1660. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  1661. )
  1662. local SPos1 = Body1.Position + Pos1
  1663. local SPos2 = Body2.Position + Pos2
  1664. Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56)
  1665. end
  1666. end))
  1667. for i = 1, 20 do
  1668. wait()
  1669. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.3,.2)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.4)--head
  1670. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)--torso
  1671. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(60)), 0.2)--arm
  1672. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(-60)), 0.2)--arm
  1673. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4)--leg
  1674. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4)--leg
  1675. end
  1676.  
  1677.  
  1678. attack = false
  1679. NoAnims = false
  1680. end
  1681.  
  1682. function weld5(part0, part1, c0, c1)
  1683. weeld=Instance.new("Weld", part0)
  1684. weeld.Part0=part0
  1685. weeld.Part1=part1
  1686. weeld.C0=c0
  1687. weeld.C1=c1
  1688. return weeld
  1689. end
  1690.  
  1691.  
  1692.  
  1693. Grab = false
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699. fat = Instance.new("BindableEvent",script)
  1700. fat.Name = "Heartbeat"
  1701.  
  1702. script:WaitForChild("Heartbeat")
  1703.  
  1704. frame = 1/30
  1705. tf = 0
  1706. 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.
  1707. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  1708. lastframe = tick()
  1709. script.Heartbeat:Fire() --ayy lmao
  1710.  
  1711. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  1712. tf = tf + s
  1713. if tf >= frame then
  1714. if allowframeloss then
  1715. script.Heartbeat:Fire()
  1716. lastframe=tick()
  1717. else
  1718. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  1719. for i=1, math.floor(tf/frame) do
  1720. script.Heartbeat:Fire()
  1721. end
  1722. lastframe=tick()
  1723. end
  1724. if tossremainder then
  1725. tf = 0
  1726. else
  1727. tf = tf - frame * math.floor(tf/frame)
  1728. end
  1729. end
  1730. end)
  1731.  
  1732. function Swait(NUMBER)
  1733. if NUMBER == 0 or NUMBER == nil then
  1734. fat.Event:wait()
  1735. else
  1736. for i = 1, NUMBER do
  1737. fat.Event:wait()
  1738. end
  1739. end
  1740. end
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746. function GrabAndDrag()
  1747. NoAnims = true
  1748. attack = true
  1749.  
  1750. if Grab == false then
  1751.  
  1752. for i = 1, 20 do
  1753. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  1754. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
  1755. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1756. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1757. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  1758. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  1759. if Debounces.on == false then break end
  1760. rs:wait(2)
  1761. end
  1762. con1=larm.Touched:connect(function(hit) -- this is grab
  1763. ht = hit.Parent
  1764. hum1=ht:FindFirstChild('Humanoid')
  1765. if hum1 ~= nil then
  1766.  
  1767.  
  1768.  
  1769.  
  1770. z = Instance.new("Sound",char)
  1771. z.SoundId = "rbxassetid://227194112"
  1772. z.Volume = 90
  1773. wait(.1)
  1774. z:Play()
  1775. hum1.PlatformStand=true
  1776. gp = ht
  1777. Grab = true
  1778. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  1779. asd.Parent = larm
  1780. asd.Name = "asd"
  1781. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1782.  
  1783.  
  1784. --[[ elseif hum1 == nil then
  1785. con1:disconnect()
  1786. wait() return]]
  1787. end
  1788. end)
  1789.  
  1790.  
  1791. for i = 1, 20 do
  1792. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  1793. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  1794. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  1795. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  1796. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  1797. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  1798. if Debounces.on == false then break end
  1799. rs:wait(2)
  1800. end
  1801. con1:disconnect()
  1802.  
  1803. if gp == nil then
  1804. attack = false
  1805. NoAnims = false
  1806. return end
  1807.  
  1808.  
  1809.  
  1810. --[[for i = 1, 16 do
  1811. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
  1812. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
  1813. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  1814. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1815. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
  1816. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  1817. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  1818. if Debounces.on == false then end
  1819. rs:wait()
  1820. end]]--
  1821. for i = 1, 16 do
  1822. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  1823. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-73)), 0.3)
  1824. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1825. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  1826. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  1827. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  1828. if Debounces.on == false then end
  1829. rs:wait()
  1830. end
  1831.  
  1832.  
  1833. coroutine.resume(coroutine.create(function()
  1834. local BF = Instance.new("BodyVelocity",hed)
  1835. BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1836. BF.velocity = root.CFrame.lookVector*120
  1837. wait(2.5)
  1838. BF:remove()
  1839. end))
  1840.  
  1841.  
  1842.  
  1843. z = Instance.new("Sound",char)
  1844. z.SoundId = "rbxassetid://138223085"
  1845. z.Volume = 90
  1846. wait(.1)
  1847. z:Play()
  1848.  
  1849. coroutine.resume(coroutine.create(function()
  1850. for i=1,78 do
  1851. wait()
  1852. MagicBlock(BrickColor.new("Really blue"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
  1853. wait(0.01)
  1854. MagicBlock(BrickColor.new("Really black"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
  1855. end
  1856. end))
  1857.  
  1858. coroutine.resume(coroutine.create(function()
  1859. Grabee = gp:FindFirstChild("Torso")
  1860. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  1861. wait(0.01)
  1862. for i = 1,78 do
  1863. wait(0.01)
  1864. for i=1, 5 do
  1865. p=Instance.new("Part")
  1866. p.FrontSurface=par.TopSurface
  1867. p.Material=par.Material
  1868. p.BottomSurface=0
  1869. p.Anchored=true p.CanCollide=false
  1870. p.BrickColor=par.BrickColor
  1871. p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5))
  1872. p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  1873. p.Parent=char
  1874. game:GetService("Debris"):AddItem(p,2+i*.1)
  1875. if math.random(1,5)==5 then
  1876. coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
  1877. end
  1878. end
  1879. end
  1880.  
  1881. end))
  1882.  
  1883. coroutine.resume(coroutine.create(function()
  1884. Grabee = gp:FindFirstChild("Torso")
  1885. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  1886. wait(0.01)
  1887.  
  1888. for i=1, 78 do
  1889. wait(0.01)
  1890. for i=1, 1 do
  1891. p=Instance.new("Part")
  1892. p.TopSurface=par.TopSurface
  1893. p.BottomSurface=par.BottomSurface
  1894. p.Material=par.Material
  1895. p.BottomSurface=0
  1896. p.Anchored=false p.CanCollide=false
  1897. p.BrickColor=par.BrickColor
  1898. p.formFactor="Custom"
  1899. p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12)
  1900. p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20)
  1901. p.Parent=char
  1902. game:GetService("Debris"):AddItem(p,3+i*.1)
  1903. p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4)
  1904. p.RotVelocity=p.Velocity
  1905. if math.random(1,5)==5 then
  1906. coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
  1907. end
  1908. end
  1909. Swait(.025)
  1910. end
  1911.  
  1912. end))
  1913. for i = 1, 100 do
  1914. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  1915. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-13)), 0.3)
  1916. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  1917. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  1918. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3)
  1919. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3)
  1920. if Debounces.on == false then end
  1921. rs:wait()
  1922. end
  1923. asd:Destroy()
  1924. gp = nil
  1925. hum1.Health = 0
  1926. attack = false
  1927. ht = nil
  1928. NoAnims = false
  1929. Grab = false
  1930. end
  1931. end
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943. function FindNearestTorso(Position,Distance,SinglePlayer)
  1944. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1945. local List = {}
  1946. for i,v in pairs(workspace:GetChildren())do
  1947. if v:IsA("Model")then
  1948. if v:findFirstChild("Torso")then
  1949. if v ~= char then
  1950. if(v.Torso.Position -Position).magnitude <= Distance then
  1951. table.insert(List,v)
  1952. end
  1953. end
  1954. end
  1955. end
  1956. end
  1957. return List
  1958. end
  1959.  
  1960.  
  1961.  
  1962. function Ring()
  1963.  
  1964.  
  1965. local effspwn = Instance.new("Part")
  1966. local model = Instance.new("Model")
  1967. game.Debris:AddItem(model, 20)
  1968. model.Name = "smasheffects"
  1969. model.Parent = workspace
  1970. effspwn.Name = "spwnr"
  1971. effspwn.Size = Vector3.new(1, 1, 1)
  1972. effspwn.Anchored = true
  1973. effspwn.CanCollide = false
  1974. effspwn.Transparency = 1
  1975. effspwn.CFrame = root.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  1976. effspwn.Parent = model
  1977.  
  1978. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  1979. if v:FindFirstChild('Humanoid') then
  1980. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1981. v.Humanoid.PlatformStand = true
  1982. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200
  1983. end
  1984. end
  1985. coroutine.resume(coroutine.create(function()
  1986. local shok = Instance.new("Part")
  1987. shok.Name = "wring1"
  1988. shok.BrickColor = BrickColor.new("Really blue")
  1989. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1990. shok.Size = Vector3.new(1, 1, 1)
  1991. shok.Anchored = true
  1992. shok.Material = "Neon"
  1993. shok.Transparency = 0.25
  1994. shok.CanCollide = false
  1995. shok.Parent = model
  1996. game.Debris:AddItem(shok, 12)
  1997. local mesh = Instance.new("SpecialMesh")
  1998. mesh.MeshType = "FileMesh"
  1999. mesh.MeshId = "rbxassetid://3270017"
  2000. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  2001. mesh.Parent = shok
  2002. for e = 1, 30 do
  2003. wait()
  2004. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  2005. shok.Transparency = shok.Transparency + 0.002
  2006. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2007. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2008. end
  2009. for e = 1, 38 do
  2010. wait()
  2011. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  2012. shok.Transparency = shok.Transparency + 0.002
  2013. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2014. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2015. end
  2016. for e = 1, 24 do
  2017. wait()
  2018. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  2019. shok.Transparency = shok.Transparency + 0.03
  2020. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2021. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2022. end
  2023. end))
  2024. coroutine.resume(coroutine.create(function()
  2025. local shok = Instance.new("Part")
  2026. shok.Name = "wring2"
  2027. shok.BrickColor = BrickColor.new("Really blue")
  2028. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2029. shok.Size = Vector3.new(1, 1, 1)
  2030. shok.Anchored = true
  2031. shok.Material = "Neon"
  2032. shok.Transparency = 0.25
  2033. shok.CanCollide = false
  2034. shok.Parent = model
  2035. game.Debris:AddItem(shok, 12)
  2036. local mesh = Instance.new("SpecialMesh")
  2037. mesh.MeshType = "FileMesh"
  2038. mesh.MeshId = "rbxassetid://3270017"
  2039. mesh.Scale = Vector3.new(12, 12, 0.05)
  2040. mesh.Parent = shok
  2041. for e = 1, 30 do
  2042. wait()
  2043. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  2044. shok.Transparency = shok.Transparency + 0.002
  2045. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2046. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2047. end
  2048. for e = 1, 38 do
  2049. wait()
  2050. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  2051. shok.Transparency = shok.Transparency + 0.002
  2052. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2053. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2054. end
  2055. for e = 1, 24 do
  2056. wait()
  2057. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  2058. shok.Transparency = shok.Transparency + 0.03
  2059. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2060. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2061. end
  2062. end))
  2063.  
  2064. coroutine.resume(coroutine.create(function()
  2065. local shok = Instance.new("Part")
  2066. shok.Name = "shokwve"
  2067. shok.BrickColor = BrickColor.new("Really black")
  2068. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  2069. shok.Size = Vector3.new(1, 1, 1)
  2070. shok.Anchored = true
  2071. shok.Material = "Neon"
  2072. shok.Transparency = 0.6
  2073. shok.CanCollide = false
  2074. shok.Parent = model
  2075. game.Debris:AddItem(shok, 12)
  2076. local mesh = Instance.new("SpecialMesh")
  2077. mesh.MeshType = "FileMesh"
  2078. mesh.MeshId = "rbxassetid://489415447"
  2079. mesh.Scale = Vector3.new(1, 1, 1)
  2080. mesh.Parent = shok
  2081. for e = 1, 12 do
  2082. wait()
  2083. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  2084. shok.Transparency = shok.Transparency + 0.002
  2085. end
  2086. for e = 1, 32 do
  2087. wait()
  2088. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  2089. shok.Transparency = shok.Transparency + 0.002
  2090. end
  2091. for e = 1, 24 do
  2092. wait()
  2093. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  2094. shok.Transparency = shok.Transparency + 0.03
  2095. end
  2096. end))
  2097. coroutine.resume(coroutine.create(function()
  2098. local shok = Instance.new("Part")
  2099. shok.Name = "shock2"
  2100. shok.BrickColor = BrickColor.new("Really black")
  2101. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2102. shok.Size = Vector3.new(1, 1, 1)
  2103. shok.Anchored = true
  2104. shok.Material = "Neon"
  2105. shok.Transparency = 0.35
  2106. shok.CanCollide = false
  2107. shok.Parent = model
  2108. game.Debris:AddItem(shok, 12)
  2109. local mesh = Instance.new("SpecialMesh")
  2110. mesh.MeshType = "FileMesh"
  2111. mesh.MeshId = "rbxassetid://489415447"
  2112. mesh.Scale = Vector3.new(12, 12, 12)
  2113. mesh.Parent = shok
  2114. for e = 1, 15 do
  2115. wait()
  2116. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2117. shok.Transparency = shok.Transparency + 0.004
  2118. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2119. end
  2120. for e = 1, 16 do
  2121. wait()
  2122. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2123. shok.Transparency = shok.Transparency + 0.004
  2124. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2125. end
  2126. for e = 1, 12 do
  2127. wait()
  2128. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2129. shok.Transparency = shok.Transparency + 0.06
  2130. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2131. end
  2132. end))
  2133. coroutine.resume(coroutine.create(function()
  2134. local shok = Instance.new("Part")
  2135. shok.Name = "shock3"
  2136. shok.BrickColor = BrickColor.new("Really blue")
  2137. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2138. shok.Size = Vector3.new(1, 1, 1)
  2139. shok.Anchored = true
  2140. shok.Material = "Neon"
  2141. shok.Transparency = 0.35
  2142. shok.CanCollide = false
  2143. shok.Parent = model
  2144. game.Debris:AddItem(shok, 12)
  2145. local mesh = Instance.new("SpecialMesh")
  2146. mesh.MeshType = "FileMesh"
  2147. mesh.MeshId = "rbxassetid://489415447"
  2148. mesh.Scale = Vector3.new(12, 12, 12)
  2149. mesh.Parent = shok
  2150. for e = 1, 15 do
  2151. wait()
  2152. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2153. shok.Transparency = shok.Transparency + 0.004
  2154. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2155. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2156. end
  2157. for e = 1, 16 do
  2158. wait()
  2159. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2160. shok.Transparency = shok.Transparency + 0.004
  2161. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2162. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2163. end
  2164. for e = 1, 12 do
  2165. wait()
  2166. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2167. shok.Transparency = shok.Transparency + 0.06
  2168. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2169. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2170. end
  2171. end))
  2172.  
  2173. end
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181. it=Instance.new
  2182. vt=Vector3.new
  2183. cf=CFrame.new
  2184.  
  2185. function NoOutline(Part)
  2186. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2187. end
  2188.  
  2189.  
  2190. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2191. local fp=it("Part")
  2192. fp.formFactor=formfactor
  2193. fp.Parent=parent
  2194. fp.Reflectance=reflectance
  2195. fp.Transparency=transparency
  2196. fp.CanCollide=false
  2197. fp.Locked=true
  2198. fp.BrickColor=brickcolor
  2199. fp.Name=name
  2200. fp.Size=size
  2201. fp.Position=torso.Position
  2202. NoOutline(fp)
  2203. fp.Material="SmoothPlastic"
  2204. fp:BreakJoints()
  2205. return fp
  2206. end
  2207.  
  2208.  
  2209.  
  2210. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2211. local mesh=it(Mesh)
  2212. mesh.Parent=part
  2213. if Mesh=="SpecialMesh" then
  2214. mesh.MeshType=meshtype
  2215. if meshid~="nil" then
  2216. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2217. end
  2218. end
  2219. mesh.Offset=offset
  2220. mesh.Scale=scale
  2221. return mesh
  2222. end
  2223.  
  2224. function weld(parent,part0,part1,c0)
  2225. local weld=it("Weld")
  2226. weld.Parent=parent
  2227. weld.Part0=part0
  2228. weld.Part1=part1
  2229. weld.C0=c0
  2230. return weld
  2231. end
  2232.  
  2233.  
  2234. function swait(num)
  2235. if num==0 or num==nil then
  2236. game:service'RunService'.Stepped:wait(0)
  2237. else
  2238. for i=0,num do
  2239. game:service'RunService'.Stepped:wait(0)
  2240. end
  2241. end
  2242. end
  2243.  
  2244.  
  2245.  
  2246.  
  2247. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2248. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2249. end
  2250.  
  2251. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2252. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2253. prt.Anchored=true
  2254. prt.CFrame=cframe
  2255. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2256. --http://www.roblox.com/asset/?id=4770560
  2257. game:GetService("Debris"):AddItem(prt,2)
  2258. CF=prt.CFrame
  2259. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2260. for i=0,1,0.2 do
  2261. wait()
  2262. Part.CFrame=CF*cf(0,0,-0.4)
  2263. end
  2264. for i=0,1,delay do
  2265. wait()
  2266. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  2267. Mesh.Scale=Mesh.Scale
  2268. end
  2269. for i=0,1,0.1 do
  2270. wait()
  2271. Part.Transparency=i
  2272. end
  2273. Part.Parent=nil
  2274. end),prt,msh,CF)
  2275. end
  2276.  
  2277. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2278. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2279. prt.Anchored=true
  2280. prt.Material = "SmoothPlastic"
  2281. prt.CFrame=cframe
  2282. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2283. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2284. game:GetService("Debris"):AddItem(prt,5)
  2285. coroutine.resume(coroutine.create(function(Part,Mesh)
  2286. for i=0,1,delay do
  2287. swait()
  2288. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2289. Part.Transparency=i
  2290. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2291. end
  2292. Part.Parent=nil
  2293. end),prt,msh)
  2294. end
  2295.  
  2296. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2297. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2298. prt.Anchored=true
  2299. prt.Material = "Neon"
  2300. prt.CFrame=cframe
  2301. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2302. game:GetService("Debris"):AddItem(prt,5)
  2303. coroutine.resume(coroutine.create(function(Part,Mesh)
  2304. local rtype = rottype
  2305. for i=0,1,delay do
  2306. swait()
  2307. if rtype == 1 then
  2308. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2309. elseif rtype == 2 then
  2310. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2311. end
  2312. Part.Transparency=i
  2313. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2314. end
  2315. Part.Parent=nil
  2316. end),prt,msh)
  2317. end
  2318.  
  2319. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2320. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2321. prt.Anchored=true
  2322. prt.CFrame=cframe
  2323. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2324. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2325. game:GetService("Debris"):AddItem(prt,5)
  2326. coroutine.resume(coroutine.create(function(Part,Mesh)
  2327. for i=0,1,delay do
  2328. wait()
  2329. Part.Transparency=i
  2330. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2331. end
  2332. Part.Parent=nil
  2333. end),prt,msh)
  2334. end
  2335.  
  2336. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2337. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2338. prt.Anchored=false
  2339. prt.CFrame=cframe
  2340. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2341. local wld=weld(prt,prt,Parent,cframe)
  2342. game:GetService("Debris"):AddItem(prt,5)
  2343. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2344. for i=0,1,delay do
  2345. wait()
  2346. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2347. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2348. Part.Transparency=i
  2349. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2350. end
  2351. Part.Parent=nil
  2352. end),prt,msh,wld)
  2353. end
  2354.  
  2355. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2356. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2357. prt.Anchored=false
  2358. prt.CFrame=cframe
  2359. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2360. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2361. game:GetService("Debris"):AddItem(prt,5)
  2362. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2363. for i=0,1,delay do
  2364. wait()
  2365. Weld.C0=euler(i*20,0,0)
  2366. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2367. Part.Transparency=i
  2368. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2369. end
  2370. Part.Parent=nil
  2371. end),prt,msh,wld)
  2372. end
  2373.  
  2374. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2375. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2376. prt.Anchored=true
  2377. prt.CFrame=cframe
  2378. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2379. game:GetService("Debris"):AddItem(prt,2)
  2380. coroutine.resume(coroutine.create(function(Part,Mesh)
  2381. for i=0,1,delay do
  2382. wait()
  2383. Part.CFrame=Part.CFrame
  2384. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2385. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2386. prt2.Anchored=true
  2387. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2388. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2389. game:GetService("Debris"):AddItem(prt2,2)
  2390. coroutine.resume(coroutine.create(function(Part,Mesh)
  2391. for i=0,1,0.1 do
  2392. wait()
  2393. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2394. end
  2395. Part.Parent=nil
  2396. end),prt2,msh2)
  2397. end
  2398. for i=0,1,delay*2 do
  2399. wait()
  2400. Part.CFrame=Part.CFrame
  2401. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2402. end
  2403. Part.Parent=nil
  2404. end),prt,msh)
  2405. end
  2406.  
  2407. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2408. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2409. prt.Anchored=true
  2410. prt.CFrame=cframe
  2411. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2412. game:GetService("Debris"):AddItem(prt,2)
  2413. coroutine.resume(coroutine.create(function(Part,Mesh)
  2414. for i=0,1,delay do
  2415. wait()
  2416. Part.CFrame=Part.CFrame
  2417. Part.Transparency=i
  2418. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2419. end
  2420. Part.Parent=nil
  2421. end),prt,msh)
  2422. end
  2423.  
  2424. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2425. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2426. prt.Anchored=true
  2427. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2428. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2429. game:GetService("Debris"):AddItem(prt,2)
  2430. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2431. CF=Part.CFrame
  2432. Numbb=0
  2433. randnumb=math.random()/10
  2434. rand1=math.random()/10
  2435. for i=0,1,rand1 do
  2436. wait()
  2437. CF=CF*cf(0,math.random()/2,0)
  2438. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2439. Part.CFrame=CF*euler(Numbb,0,0)
  2440. Part.Transparency=i
  2441. Numbb=Numbb+randnumb
  2442. end
  2443. Part.Parent=nil
  2444. end),prt,CF,Numbb,randnumb)
  2445. end
  2446.  
  2447. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2448. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2449. prt.Anchored=true
  2450. prt.CFrame=cframe
  2451. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2452. game:GetService("Debris"):AddItem(prt,5)
  2453. coroutine.resume(coroutine.create(function(Part,Mesh)
  2454. for i=0,1,delay do
  2455. wait()
  2456. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2457. Part.Transparency=i
  2458. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2459. end
  2460. Part.Parent=nil
  2461. end),prt,msh)
  2462. end
  2463.  
  2464. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2465. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2466. prt.Anchored=true
  2467. prt.CFrame=cframe
  2468. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2469. game:GetService("Debris"):AddItem(prt,2)
  2470. coroutine.resume(coroutine.create(function(Part,Mesh)
  2471. for i=0,1,delay do
  2472. wait()
  2473. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2474. Part.Transparency=i
  2475. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2476. end
  2477. Part.Parent=nil
  2478. end),prt,msh)
  2479. end
  2480.  
  2481. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2482. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2483. prt.Anchored=true
  2484. prt.CFrame=cframe*cf(x,y,z)
  2485. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2486. game:GetService("Debris"):AddItem(prt,5)
  2487. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2488. local num=math.random()
  2489. local num2=math.random(-3,2)+math.random()
  2490. local numm=0
  2491. for i=0,1,delay*2 do
  2492. swait()
  2493. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2494. Part.Transparency=i
  2495. numm=numm+0.01
  2496. end
  2497. Part.Parent=nil
  2498. Mesh.Parent=nil
  2499. end),prt,msh,x,y,z)
  2500. end
  2501.  
  2502.  
  2503.  
  2504. function newRay(start,face,range,wat)
  2505. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  2506. hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  2507. return rey,hit,pos
  2508. end
  2509.  
  2510. function Landing()
  2511. MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2512. MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  2513. MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2514. MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2515. MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  2516. MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2517.  
  2518. MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2519. MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  2520. MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2521. end
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532. function nooutline(part)
  2533. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  2534. end
  2535.  
  2536.  
  2537.  
  2538.  
  2539. function debris(cfremz, thepart, amt)
  2540. for j = 1, amt do
  2541. do
  2542. local pr = Instance.new("Part")
  2543. nooutline(pr)
  2544. pr.Name = "debrisobeb"
  2545. pr.Anchored = true
  2546. pr.BrickColor = thepart.BrickColor
  2547. pr.CanCollide = true
  2548. pr.Material = thepart.Material
  2549. pr.Transparency = thepart.Transparency
  2550. pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
  2551. pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  2552. pr.Parent = workspace
  2553. game.Debris:AddItem(pr, 25)
  2554. delay(15, function()
  2555. if pr then
  2556. pr.CanCollide = false
  2557. pr.Anchored = false
  2558. end
  2559. end)
  2560. end
  2561. end
  2562. for c = 1, amt do
  2563. do
  2564. local pr2 = Instance.new("Part")
  2565. nooutline(pr2)
  2566. pr2.Name = "moredebr"
  2567. pr2.Anchored = false
  2568. pr2.BrickColor = thepart.BrickColor
  2569. pr2.CanCollide = false
  2570. pr2.Material = thepart.Material
  2571. pr2.Transparency = thepart.Transparency
  2572. pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18))
  2573. pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  2574. pr2.Parent = workspace
  2575. pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75))
  2576. pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35))
  2577. game.Debris:AddItem(pr2, 45)
  2578. delay(2, function()
  2579. pr2.CanCollide = true
  2580. wait(10)
  2581. if pr2 then
  2582. pr2.CanCollide = false
  2583. end
  2584. end)
  2585. end
  2586. end
  2587. end
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598. function AirSlam()
  2599. NoAnims = true
  2600. attack = true
  2601. for i = 1, 20 do
  2602. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  2603. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  2604. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
  2605. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  2606. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  2607. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
  2608. if Debounces.on == false then break end
  2609. wait()
  2610. end
  2611. wait(0.5)
  2612.  
  2613.  
  2614. coroutine.resume(coroutine.create(function()
  2615. MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2616. MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  2617. MagicBlock(BrickColor.new("Really blue"),root.CFrame,10*2.5,10*2.5,10*2.5,5.5*2.5,5.5*2.5,5.5*2.5,0.15)
  2618. end))
  2619.  
  2620. Sound("http://www.roblox.com/asset?id = 180199750",char,90,1,false)
  2621.  
  2622. hum.WalkSpeed = 50
  2623. BV = Instance.new("BodyVelocity", torso)
  2624. BV.maxForce = Vector3.new(0,200000,0)
  2625. BV.P = 100000
  2626. BV.velocity = Vector3.new(0,150,0)
  2627. for i = 1, 20 do
  2628. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
  2629. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  2630. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  2631. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
  2632. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  2633. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  2634. if Debounces.on == false then break end
  2635. wait()
  2636. end
  2637. BV:Destroy()
  2638.  
  2639. coroutine.resume(coroutine.create(function()
  2640. for i = 1, 2880, 48 do
  2641. torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0))
  2642. rs:wait(4)
  2643. end
  2644. torso.Weld.C1 = CFrame.new(0, -1, 0)
  2645. end))
  2646.  
  2647. for i = 1, 30 do
  2648. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  2649. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
  2650. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  2651. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  2652. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  2653. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  2654. if Debounces.on == false then break end
  2655. wait()
  2656. end
  2657.  
  2658. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  2659. for i = 1, 20 do
  2660. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0), math.rad(0)),0.3)
  2661. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad (0), math.rad(0)), 0.3)
  2662. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  2663. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), 0.3)
  2664. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  2665. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3)
  2666. if Debounces.on == false then break end
  2667. wait()
  2668. end
  2669. end
  2670. local ry,ht,ps=nil,nil,nil
  2671. while ht==nil do
  2672. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  2673. wait()
  2674. end
  2675. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  2676. if par then
  2677. local cfremz = CFrame.new(loc)
  2678. debris(cfremz, par, 50)
  2679. end
  2680. coroutine.resume(coroutine.create(function()
  2681. Ring()
  2682. end))
  2683. Landing()
  2684. Sound("rbxassetid://514867425",char,90,1,false)
  2685. hum.WalkSpeed = 5
  2686. for i = 1, 25 do
  2687. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2)
  2688. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2)
  2689. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2)
  2690. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2)
  2691. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2)
  2692. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2)
  2693. if Debounces.on == false then break end
  2694. wait()
  2695. end
  2696. wait(0.2)
  2697. attack = false
  2698. NoAnims = false
  2699. end
  2700.  
  2701.  
  2702.  
  2703. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  2704. local p = Instance.new("Part")
  2705. p.Parent = parent
  2706. p.Size = Vector3.new(1,1,1)
  2707. p.Transparency = transparency
  2708. p.Reflectance = reflectance
  2709. p.CanCollide = false
  2710. p.BrickColor = brickcolor
  2711. p.Material = material
  2712. return p
  2713. end
  2714.  
  2715.  
  2716. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  2717. local weld = Instance.new("Weld")
  2718. weld.Parent = parent
  2719. weld.Part0 = part0
  2720. weld.Part1 = part1
  2721. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  2722. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  2723. return weld
  2724. end
  2725.  
  2726.  
  2727.  
  2728. --[[HandleR = Instance.new("Part")
  2729. HandleR.BrickColor = BrickColor.new("Really blue")
  2730. HandleR.Material = "Neon"
  2731. HandleR.Transparency = 0.3
  2732. HandleR.Size = Vector3.new(1,0.8,4)
  2733. HandleR.CFrame = sorb.CFrame
  2734. HandleRM = Instance.new("SpecialMesh",HandleR)
  2735. HandleRM.MeshId = "rbxasset://fonts/sword.mesh"
  2736. HandleRM.Scale = Vector3.new(1,1,1)
  2737.  
  2738. HandleL = Instance.new("Part")
  2739. HandleL.BrickColor = BrickColor.new("Really blue")
  2740. HandleL.Material = "Neon"
  2741. HandleL.Transparency = 0.3
  2742. HandleL.Size = Vector3.new(1,0.8,4)
  2743. HandleL.CFrame = sorb2.CFrame
  2744. HandleLM = Instance.new("SpecialMesh",HandleL)
  2745. HandleLM.MeshId = "rbxasset://fonts/sword.mesh"
  2746. HandleLM.Scale = Vector3.new(1,1,1)]]
  2747.  
  2748.  
  2749. local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
  2750. CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2751. local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
  2752. CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2753.  
  2754.  
  2755. v3 = Vector3.new
  2756. rad=math.rad
  2757.  
  2758. kiblade = Instance.new("Part",char)
  2759. kiblade.Name = "Blade"
  2760. kiblade.Size = v3(1,5,1)
  2761. kiblade.Transparency = 1
  2762. kiblade.BrickColor = BrickColor.new("Really blue")
  2763. kiblade.Position = v3(999,999,999)
  2764. kiblade.CanCollide = false
  2765. kiblademesh = Instance.new("SpecialMesh",kiblade)
  2766. kiblademesh.MeshType = "FileMesh"
  2767. kiblademesh.MeshId = "rbxassetid://898849476"
  2768. kiblademesh.Scale = v3(0.01,0.008,0.01)
  2769. kiweld7 = Instance.new("Weld",kiblade)
  2770. kiweld7.Part0 = rarm
  2771. kiweld7.Part1 = kiblade
  2772. kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
  2773. kiblade1 = Instance.new("Part",char)
  2774. kiblade1.Name = "Blade"
  2775. kiblade1.Transparency = 1
  2776. kiblade1.Size = v3(0.1,0.1,0.1)
  2777. kiblade1.Position = v3(999,999,999)
  2778. kiblade1.CanCollide = false
  2779. kiblademesh = Instance.new("SpecialMesh",kiblade1)
  2780. kiblademesh.MeshType = "Sphere"
  2781. kiblademesh.Scale = v3(1,1,1)
  2782. kiweld = Instance.new("Weld",kiblade1)
  2783. kiweld.Part0 = rarm
  2784. kiweld.Part1 = kiblade1
  2785. kiweld.C0 = CFrame.new(0,-1,0)
  2786. kiblade2 = Instance.new("Part",char)
  2787. kiblade2.Name = "Blade"
  2788. kiblade2.Size = v3(0.1,0.1,0.1)
  2789. kiblade2.Transparency = 1
  2790. kiblade2.Position = v3(999,999,999)
  2791. kiblade2.CanCollide = false
  2792. kiblademesh = Instance.new("SpecialMesh",kiblade2)
  2793. kiblademesh.MeshType = "Sphere"
  2794. kiblademesh.Scale = v3(1,1,1)
  2795. kiweld = Instance.new("Weld",kiblade2)
  2796. kiweld.Part0 = rarm
  2797. kiweld.Part1 = kiblade2
  2798. kiweld.C0 = CFrame.new(0,-4.5,0)
  2799. torso = game.Players.LocalPlayer.Character.Torso
  2800. head = game.Players.LocalPlayer.Character.Head
  2801. torso1 = Instance.new("Attachment",kiblade1)
  2802. head1 = Instance.new("Attachment",kiblade2)
  2803. trail = Instance.new("Trail",torso)
  2804. trail.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
  2805. trail.Attachment0 = torso1
  2806. trail.Attachment1 = head1
  2807. trail.Lifetime = 0.5
  2808. trail.Enabled = false
  2809.  
  2810.  
  2811.  
  2812.  
  2813. kiblade2 = Instance.new("Part",char)
  2814. kiblade2.Name = "Blade"
  2815. kiblade2.Size = v3(1,5,1)
  2816. kiblade2.Transparency = 1
  2817. kiblade2.BrickColor = BrickColor.new("Really blue")
  2818. kiblade2.Position = v3(999,999,999)
  2819. kiblade2.CanCollide = false
  2820. kiblademesh2 = Instance.new("SpecialMesh",kiblade2)
  2821. kiblademesh2.MeshType = "FileMesh"
  2822. kiblademesh2.MeshId = "rbxassetid://898849476"
  2823. kiblademesh2.Scale = v3(0.01,0.008,0.01)
  2824. kiweld72 = Instance.new("Weld",kiblade2)
  2825. kiweld72.Part0 = larm
  2826. kiweld72.Part1 = kiblade2
  2827. kiweld72.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
  2828. kiblade12 = Instance.new("Part",char)
  2829. kiblade12.Name = "Blade"
  2830. kiblade12.Transparency = 1
  2831. kiblade12.Size = v3(0.1,0.1,0.1)
  2832. kiblade12.Position = v3(999,999,999)
  2833. kiblade12.CanCollide = false
  2834. kiblademesh2 = Instance.new("SpecialMesh",kiblade12)
  2835. kiblademesh2.MeshType = "Sphere"
  2836. kiblademesh2.Scale = v3(1,1,1)
  2837. kiweld2 = Instance.new("Weld",kiblade12)
  2838. kiweld2.Part0 = larm
  2839. kiweld2.Part1 = kiblade12
  2840. kiweld2.C0 = CFrame.new(0,-1,0)
  2841. kiblade22 = Instance.new("Part",char)
  2842. kiblade22.Name = "Blade"
  2843. kiblade22.Size = v3(0.1,0.1,0.1)
  2844. kiblade22.Transparency = 1
  2845. kiblade22.Position = v3(999,999,999)
  2846. kiblade22.CanCollide = false
  2847. kiblademesh2 = Instance.new("SpecialMesh",kiblade22)
  2848. kiblademesh2.MeshType = "Sphere"
  2849. kiblademesh2.Scale = v3(1,1,1)
  2850. kiweld2 = Instance.new("Weld",kiblade22)
  2851. kiweld2.Part0 = larm
  2852. kiweld2.Part1 = kiblade22
  2853. kiweld2.C0 = CFrame.new(0,-4.5,0)
  2854. torso2 = game.Players.LocalPlayer.Character.Torso
  2855. head2 = game.Players.LocalPlayer.Character.Head
  2856. torso12 = Instance.new("Attachment",kiblade12)
  2857. head12 = Instance.new("Attachment",kiblade22)
  2858. trail2 = Instance.new("Trail",torso2)
  2859. trail2.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
  2860. trail2.Attachment0 = torso12
  2861. trail2.Attachment1 = head12
  2862. trail2.Lifetime = 0.5
  2863. trail2.Enabled = false
  2864.  
  2865.  
  2866.  
  2867. local Gibs = game.Workspace
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880. function Kill(Character)
  2881. Character.Humanoid.Health = 0
  2882. local poo = Instance.new("IntValue",Character)
  2883. poo.Name = "haha nope"
  2884. local svch = Character
  2885. local hum = Character:findFirstChild("Humanoid")
  2886. Character.Archivable = true
  2887. local chrclone = Character:clone()
  2888. Character.Archivable = false
  2889.  
  2890. local ch = chrclone:GetChildren()
  2891. local i
  2892. for i = 1,#ch do
  2893. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  2894. ch[i]:remove()
  2895. end
  2896. end
  2897. local function Scan(ch)
  2898. local e
  2899. for e = 1,#ch do
  2900. Scan(ch[e]:GetChildren())
  2901. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2902. ch[e]:remove()
  2903. end
  2904. end
  2905. end
  2906. Scan(chrclone:GetChildren())
  2907.  
  2908. local hum2 = chrclone:findFirstChild("Humanoid")
  2909.  
  2910.  
  2911. if hum2 ~= nil then
  2912. hum2.Name = "Humanoid2"
  2913. hum2.PlatformStand = true
  2914. hum2.Sit = true
  2915. hum2.MaxHealth = 0
  2916. hum2.Health = 0
  2917. end
  2918.  
  2919. local ch = Character:GetChildren()
  2920. local i
  2921. for i = 1,#ch do
  2922. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2923. ch[i]:remove()
  2924. end
  2925. end
  2926.  
  2927. wait(0.2)
  2928.  
  2929. local ch = Character:GetChildren()
  2930. local i
  2931. for i = 1,#ch do
  2932. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2933. ch[i]:remove()
  2934. end
  2935. end
  2936. Character = chrclone
  2937. local Torso = Character.Torso
  2938. local movevector = Vector3.new()
  2939.  
  2940. if Torso then
  2941. local Head = Character:FindFirstChild("Head")
  2942. local Limb = Character:FindFirstChild("Right Arm")
  2943. if Limb then
  2944.  
  2945. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  2946. local Joint = Instance.new("Glue")
  2947. Joint.Name = "RightShoulder"
  2948. Joint.Part0 = Torso
  2949. Joint.Part1 = Limb
  2950. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2951. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2952. Joint.Parent = Torso
  2953.  
  2954. local B = Instance.new("Part")
  2955. B.TopSurface = 0
  2956. B.BottomSurface = 0
  2957. B.formFactor = "Symmetric"
  2958. B.Size = Vector3.new(1, 1, 1)
  2959. B.Transparency = 1
  2960. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2961. B.Parent = Character
  2962. local W = Instance.new("Weld")
  2963. W.Part0 = Limb
  2964. W.Part1 = B
  2965. W.C0 = CFrame.new(0, -0.5, 0)
  2966. W.Parent = Limb
  2967.  
  2968. end
  2969. local Limb = Character:FindFirstChild("Left Arm")
  2970. if Limb then
  2971.  
  2972. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  2973. local Joint = Instance.new("Glue")
  2974. Joint.Name = "LeftShoulder"
  2975. Joint.Part0 = Torso
  2976. Joint.Part1 = Limb
  2977. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2978. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2979. Joint.Parent = Torso
  2980.  
  2981. local B = Instance.new("Part")
  2982. B.TopSurface = 0
  2983. B.BottomSurface = 0
  2984. B.formFactor = "Symmetric"
  2985. B.Size = Vector3.new(1, 1, 1)
  2986. B.Transparency = 1
  2987. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2988. B.Parent = Character
  2989. local W = Instance.new("Weld")
  2990. W.Part0 = Limb
  2991. W.Part1 = B
  2992. W.C0 = CFrame.new(0, -0.5, 0)
  2993. W.Parent = Limb
  2994.  
  2995. end
  2996. local Limb = Character:FindFirstChild("Right Leg")
  2997. if Limb then
  2998.  
  2999. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  3000. local Joint = Instance.new("Glue")
  3001. Joint.Name = "RightHip"
  3002. Joint.Part0 = Torso
  3003. Joint.Part1 = Limb
  3004. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3005. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3006. Joint.Parent = Torso
  3007.  
  3008. local B = Instance.new("Part")
  3009. B.TopSurface = 0
  3010. B.BottomSurface = 0
  3011. B.formFactor = "Symmetric"
  3012. B.Size = Vector3.new(1, 1, 1)
  3013. B.Transparency = 1
  3014. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3015. B.Parent = Character
  3016. local W = Instance.new("Weld")
  3017. W.Part0 = Limb
  3018. W.Part1 = B
  3019. W.C0 = CFrame.new(0, -0.5, 0)
  3020. W.Parent = Limb
  3021.  
  3022. end
  3023. local Limb = Character:FindFirstChild("Left Leg")
  3024. if Limb then
  3025.  
  3026. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  3027. local Joint = Instance.new("Glue")
  3028. Joint.Name = "LeftHip"
  3029. Joint.Part0 = Torso
  3030. Joint.Part1 = Limb
  3031. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3032. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3033. Joint.Parent = Torso
  3034.  
  3035. local B = Instance.new("Part")
  3036. B.TopSurface = 0
  3037. B.BottomSurface = 0
  3038. B.formFactor = "Symmetric"
  3039. B.Size = Vector3.new(1, 1, 1)
  3040. B.Transparency = 1
  3041. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3042. B.Parent = Character
  3043. local W = Instance.new("Weld")
  3044. W.Part0 = Limb
  3045. W.Part1 = B
  3046. W.C0 = CFrame.new(0, -0.5, 0)
  3047. W.Parent = Limb
  3048.  
  3049. end
  3050. --[
  3051. local Bar = Instance.new("Part")
  3052. Bar.TopSurface = 0
  3053. Bar.BottomSurface = 0
  3054. Bar.formFactor = "Symmetric"
  3055. Bar.Size = Vector3.new(1, 1, 1)
  3056. Bar.Transparency = 1
  3057. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  3058. Bar.Parent = Character
  3059. local Weld = Instance.new("Weld")
  3060. Weld.Part0 = Torso
  3061. Weld.Part1 = Bar
  3062. Weld.C0 = CFrame.new(0, 0.5, 0)
  3063. Weld.Parent = Torso
  3064. --]]
  3065. end
  3066. Character.Parent = Gibs
  3067. game.Debris:AddItem(Character, 12)
  3068. if movevector ~= Vector3.new() then
  3069. for i = 1,10 do
  3070. wait()
  3071. Torso.Velocity = Vector3.new(0,0,-100)
  3072. Head.Velocity = movevector * 200
  3073. end
  3074. end
  3075. end
  3076.  
  3077.  
  3078.  
  3079. function SpinSlice()
  3080. NoAnims = true
  3081. attack = true
  3082.  
  3083.  
  3084. Sound("rbxassetid://588738949",char,90,1,false)
  3085. kiblade.Transparency = 0
  3086. kiblade2.Transparency = 0
  3087. trail.Enabled = true
  3088. trail2.Enabled = true
  3089.  
  3090. hum.WalkSpeed = 0
  3091. for i = 1,40 do
  3092. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  3093. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
  3094. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
  3095. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(90)), 0.5)--arm
  3096. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-90)), 0.5)--arm
  3097. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3098. if Debounces.on == false then break end
  3099. wait()
  3100. end
  3101.  
  3102.  
  3103. coroutine.resume(coroutine.create(function()
  3104. local BF = Instance.new("BodyVelocity",hed)
  3105. BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3106. BF.velocity = root.CFrame.lookVector*120
  3107. wait(2.0)
  3108. BF:remove()
  3109. end))
  3110.  
  3111. coroutine.resume(coroutine.create(function()
  3112. Sound("rbxassetid://588734356",char,90,1,false)
  3113. wait(.1)
  3114. Sound("rbxassetid://588734356",char,90,1,false)
  3115. wait(.1)
  3116. Sound("rbxassetid://588734356",char,90,1,false)
  3117. wait(.1)
  3118. Sound("rbxassetid://588734356",char,90,1,false)
  3119. wait(.1)
  3120. Sound("rbxassetid://588734356",char,90,1,false)
  3121. wait(.1)
  3122. Sound("rbxassetid://588734356",char,90,1,false)
  3123. wait(.1)
  3124. Sound("rbxassetid://588734356",char,90,1,false)
  3125. wait(.1)
  3126. Sound("rbxassetid://588734356",char,90,1,false)
  3127. end))
  3128. local HitBox = Instance.new("Part",rarm)
  3129. HitBox.Size = Vector3.new(1,5,1)
  3130. HitBox.CanCollide = false
  3131. HitBox.Transparency = 1
  3132. local HitBox2 = Instance.new("Weld",HitBox)
  3133. HitBox2.Part0 = rarm
  3134. HitBox2.Part1 = HitBox
  3135. HitBox2.C0 = CFrame.new(0,-1.8,0)
  3136. HitBox.Touched:connect(function(hit)
  3137. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
  3138. Kill(hit.Parent)
  3139. hit.Parent.Humanoid.PlatformStand = true
  3140. end
  3141. end)
  3142.  
  3143. local HitBox2 = Instance.new("Part",larm)
  3144. HitBox2.Size = Vector3.new(1,5,1)
  3145. HitBox2.CanCollide = false
  3146. HitBox2.Transparency = 1
  3147. local HitBox22 = Instance.new("Weld",HitBox2)
  3148. HitBox22.Part0 = larm
  3149. HitBox22.Part1 = HitBox2
  3150. HitBox22.C0 = CFrame.new(0,-1.8,0)
  3151. HitBox2.Touched:connect(function(hit)
  3152. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
  3153. Kill(hit.Parent)
  3154. hit.Parent.Humanoid.PlatformStand = true
  3155. end
  3156. end)
  3157.  
  3158. for i = 1,40 do
  3159. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  3160. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
  3161. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
  3162. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(90)), 0.5)--arm
  3163. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)), 0.5)--arm
  3164. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3165. root.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0)
  3166. if Debounces.on == false then break end
  3167. wait()
  3168. end
  3169. kiblade.Transparency = 1
  3170. kiblade2.Transparency = 1
  3171. trail.Enabled = false
  3172. trail2.Enabled = false
  3173. HitBox:Destroy()
  3174. HitBox2:Destroy()
  3175. hum.WalkSpeed = 5
  3176. attack = false
  3177. NoAnims = false
  3178. end
  3179.  
  3180.  
  3181.  
  3182.  
  3183. function hito(partoz, magn, dmg, debtim)
  3184. for _, guy in pairs(workspace:GetChildren()) do
  3185. if guy:FindFirstChildOfClass("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  3186. do
  3187. local humz = guy:FindFirstChildOfClass("Humanoid")
  3188. local hed = guy:FindFirstChild("Head")
  3189. humz:TakeDamage(math.random(15,30)) if Full == true then guy:BreakJoints()
  3190. local db = Instance.new("StringValue")
  3191. db.Name = "alabo"
  3192. db.Parent = hed
  3193. delay(debtim, function()
  3194. db:Destroy()
  3195. end)
  3196. end
  3197. end
  3198. end
  3199. end
  3200. end
  3201.  
  3202.  
  3203.  
  3204. ang = CFrame.Angles
  3205. rd = math.rad
  3206. rd2 = math.random
  3207. ov = false
  3208.  
  3209.  
  3210.  
  3211. nooutline = function(i)
  3212. i.TopSurface = 10
  3213. end
  3214. makepart = function(l, m, n, o, p, q, r)
  3215. local s = Instance.new("Part")
  3216. s.BrickColor = BrickColor.new(l)
  3217. s.Name = m
  3218. s.Transparency = o
  3219. nooutline(s)
  3220. s.Reflectance = n
  3221. s.Material = p
  3222. s.Anchored = true
  3223. s.CanCollide = false
  3224. s.Locked = true
  3225. s.CFrame = r
  3226. s.Size = Vector3.new(0.2, 0.2, 0.2)
  3227. s.Parent = q
  3228. return s
  3229. end
  3230.  
  3231. makemesh = function(t, u, v, w)
  3232. local x = Instance.new("SpecialMesh")
  3233. x.MeshType = t
  3234. x.Scale = u
  3235. if t == "FileMesh" then
  3236. x.MeshId = v
  3237. end
  3238. x.Parent = w
  3239. return x
  3240. end
  3241.  
  3242. local H = {}
  3243.  
  3244.  
  3245. Barrage = function()
  3246. modz = Instance.new("Model")
  3247. modz.Name = "efx"
  3248. modz.Parent = char
  3249. ov = true
  3250. hum.AutoRotate = false
  3251. local aN = nil
  3252. local a9 = true
  3253. local aa = {}
  3254. local ab = {}
  3255. local b7 = {}
  3256. for j = 1, 16 do
  3257. local ac = Instance.new("Part")
  3258. nooutline(ac)
  3259. ac.Anchored = true
  3260. ac.Locked = true
  3261. ac.CanCollide = false
  3262. ac.Material = "Neon"
  3263. ac.Size = Vector3.new(1, 1, 1)
  3264. ac.Transparency = 1
  3265. ac.CFrame = CFrame.new(0, 1000, 0)
  3266. ac.Parent = modz
  3267. ac.BrickColor = BrickColor.new("Really blue")
  3268. makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
  3269. table.insert(aa, ac)
  3270. end
  3271. for j = 1, 40 do
  3272. local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
  3273. makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
  3274. table.insert(ab, a3)
  3275. end
  3276. for j = 1, 30 do
  3277. local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
  3278. makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
  3279. table.insert(b7, a3)
  3280. end
  3281. local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
  3282. local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
  3283. for I,aO in pairs(H) do
  3284. if aO.Parent == rarm or aO.Parent == larm then
  3285. aN = aO.Transparency
  3286. aO.Transparency = 1
  3287. end
  3288. end
  3289. local a8 = Instance.new("BodyGyro")
  3290. a8.MaxTorque = Vector3.new(1050, 3000, 750)
  3291. a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
  3292. a8.P = 580000
  3293. a8.D = 250
  3294. a8.Parent = root
  3295. coroutine.resume(coroutine.create(function()
  3296. while a8 do
  3297. swait()
  3298. a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
  3299. end
  3300. end))
  3301. local af = 0
  3302. local ag = 0
  3303. repeat
  3304. ag = ag + 1
  3305. if af == 0 then
  3306. af = 1
  3307. else
  3308. af = af % 14 + 1
  3309. end
  3310. coroutine.resume(coroutine.create(function()
  3311. local ah = aa[af]
  3312. local ai = ab[af]
  3313. local aj = ab[af + 14]
  3314. local ba = b7[af]
  3315. ah.Size = Vector3.new(1, 1, 2)
  3316. ah.CFrame = cf(root.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-200, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p)
  3317. ah.Transparency = 0.25
  3318. ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
  3319. ai.Transparency = 0.35
  3320. ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
  3321. aj.Transparency = 0.45
  3322. aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
  3323. aj.CFrame = ah.CFrame * ang(0, rd(90), rd(90))
  3324. if af % 2 == 1 then
  3325. ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
  3326. else
  3327. if af % 2 == 0 then
  3328. ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
  3329. end
  3330. end
  3331. ba.CFrame = ah.CFrame * cf(0, 0, -8)
  3332. ba.Transparency = 0.4
  3333. ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
  3334. local bb = ah.CFrame * cf(0, 0, -5)
  3335. local bc = aj.CFrame * cf(0, -0.1, 0)
  3336. local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100)
  3337. local ak = false
  3338. for j = 1, 12 do
  3339. swait()
  3340. local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j))
  3341. local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {char}, true, true)
  3342. if a1 and ak == false then
  3343. ak = true
  3344. local a3 = makepart("Really blue", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
  3345. do
  3346. local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
  3347. game.Debris:AddItem(a3, 0.5)
  3348. local a5 = rd2(1, 12)
  3349. if a5 == 6 then
  3350. hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8)))
  3351. else
  3352. hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10)
  3353. end
  3354. coroutine.resume(coroutine.create(function()
  3355. for I = 1, 4 do
  3356. swait()
  3357. a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8)
  3358. a3.Transparency = a3.Transparency + 0.2
  3359. end
  3360. a3:Destroy()
  3361. end))
  3362. end
  3363. end
  3364. ah.Size = ah.Size:lerp(Vector3.new(2, 2, 12), 0.5)
  3365. ah.CFrame = ah.CFrame:lerp(bb, 1)
  3366. ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
  3367. ah.Transparency = ah.Transparency + 0.0725
  3368. ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
  3369. ai.Transparency = ai.Transparency + 0.06
  3370. aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
  3371. aj.CFrame = aj.CFrame:lerp(bc, 0.3)
  3372. aj.Transparency = aj.Transparency + 0.05
  3373. ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
  3374. ba.CFrame = ba.CFrame:lerp(bd, 0.3)
  3375. ba.Transparency = ba.Transparency + 0.06
  3376. end
  3377. end))
  3378. swait()
  3379. until ov == false
  3380. for I,aO in pairs(H) do
  3381. if aO.Parent == rarm or aO.Parent == larm then
  3382. aO.Transparency = aN
  3383. end
  3384. end
  3385. b8:Destroy()
  3386. b9:Destroy()
  3387. a8:Destroy()
  3388. hum.AutoRotate = true
  3389. ov = false
  3390. wait(1)
  3391. for I,al in pairs(aa) do
  3392. al:Destroy()
  3393. end
  3394. for I,am in pairs(ab) do
  3395. am:Destroy()
  3396. end
  3397. for I,be in pairs(b7) do
  3398. be:Destroy()
  3399. end
  3400. end
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406.  
  3407. function Kneel()
  3408.  
  3409. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  3410. if v:FindFirstChild('Humanoid') then
  3411.  
  3412. hum2 = v:FindFirstChild('Humanoid')
  3413. hum2.PlatformStand=true
  3414.  
  3415. end
  3416. end
  3417. end
  3418.  
  3419. --[[mouse.KeyDown:connect(function(key)
  3420. if key == "l" and Trans == false and Strength then
  3421. Transformation()
  3422. Trans = true
  3423. end
  3424. end)]]
  3425.  
  3426.  
  3427.  
  3428. mouse.KeyDown:connect(function(key)
  3429. if key == "z" then
  3430. GrabAndDrag()
  3431. end
  3432. end)
  3433.  
  3434.  
  3435. mouse.KeyDown:connect(function(key)
  3436. if key == "x" then
  3437. AirSlam()
  3438. end
  3439. end)
  3440.  
  3441.  
  3442.  
  3443. mouse.KeyDown:connect(function(key)
  3444. if key == "c" then
  3445. SpinSlice()
  3446. end
  3447. end)
  3448.  
  3449.  
  3450. mouse.KeyDown:connect(function(key)
  3451. if key == "p" and Full == false then
  3452. FullPower()
  3453. end
  3454. end)
  3455.  
  3456. mouse.KeyDown:connect(function(key)
  3457. if key == "1" then
  3458. Sound("rbxassetid://966268002",char,90,1,false)
  3459. Kneel()
  3460. end
  3461. end)
  3462.  
  3463. mouse.KeyDown:connect(function(key)
  3464. if key == "v" then
  3465. if ov == false then
  3466. hed.Weld.C0 = hed.Weld.C0 * CFrame.Angles(0,0,0)
  3467. wait()
  3468. local ChatService = game:GetService("Chat")
  3469. wait()
  3470. local ChatService = game:GetService("Chat")
  3471. coroutine.resume(coroutine.create(function()
  3472. s = 0
  3473. repeat
  3474. s = s + 1
  3475. Barrage()
  3476. wait()
  3477. until not ov
  3478. end))
  3479. if Full == true then
  3480. coroutine.resume(coroutine.create(function()
  3481. s = 0
  3482. repeat
  3483. s = s + 1
  3484. Barrage()
  3485. wait()
  3486. until not ov
  3487. end))
  3488. end
  3489. mouse.KeyUp:connect(function(key)
  3490. if key == "v" then
  3491. wait(0.4)
  3492. ov = false
  3493. wait(0.1)
  3494. end
  3495. end)
  3496. end
  3497. end
  3498. end)
  3499.  
  3500.  
  3501.  
  3502.  
  3503.  
  3504. -----animations-----
  3505.  
  3506. game:GetService("RunService").RenderStepped:connect(function()
  3507. char.Humanoid.FreeFalling:connect(function(f)
  3508. if f then
  3509. ffing = true
  3510. else
  3511. ffing = false
  3512. end
  3513. end)
  3514. sine = sine + add
  3515. if ffing==true then
  3516. anim="jump"
  3517. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3518. anim="idle"
  3519. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3520. anim = "walk"
  3521. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3522. anim = "run"
  3523. end
  3524.  
  3525. if NoAnims==false then
  3526. if anim=="idle" then
  3527. add=0.5
  3528. if trans == false then
  3529. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  3530. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  3531. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  3532. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
  3533. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
  3534. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  3535. else
  3536. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  3537. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
  3538. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
  3539. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.6,-0.6)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-90)), 0.5)--arm
  3540. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.6,-.6)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.5)--arm
  3541. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3542. end
  3543.  
  3544. elseif anim=="walk" then
  3545. add=0.5
  3546. if trans == false then
  3547. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/3.5)/3,0)*CFrame.Angles(math.rad(-10),0,0),0.25)
  3548. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/7)/2,-0.15+-math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/7)/2,0,0.05),0.25)
  3549. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/7)/2,-0.15+math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/7)/2,0,-0.05),0.25)
  3550. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/7)/7,0+math.sin(sine/14)/7)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/2,0,-6+-math.sin(sine/14)/7),0.1)
  3551. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/10)/14,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
  3552. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),0.25)
  3553. else
  3554. change = 0.5
  3555. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 3), -math.sin(sine / 6) / 4) * CFrame.Angles(math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(-10 - 2 * math.cos(sine / 3))), 0.2)
  3556. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 3), math.sin(sine / 6) / 4) * CFrame.Angles(-math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(10 + 2 * math.cos(sine / 3))), 0.2)
  3557. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8 + 2 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.2)
  3558. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.15 * math.cos(sine / 6) / 5, -0.15 + math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + -math.sin(sine / 6) / 2.7, 0, 0), 0.4)
  3559. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 + 0.15 * math.cos(sine / 6) / 5, -0.15 + -math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + math.sin(sine / 6) / 2.7, 0, 0), 0.4)
  3560. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.07 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-4 + 1 * math.cos(sine / 3)), 0, math.rad(0)), 0.2)
  3561. end
  3562.  
  3563. elseif anim=="run" then
  3564. add=0.5
  3565. if trans == false then
  3566. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/2)/3,0)*CFrame.Angles(math.rad(-37),0,0),0.025)
  3567. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/4)/2,-0.15+-math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/4)/2,0,0.05),0.25)
  3568. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/4)/2,-0.15+math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/4)/2,0,-0.05),0.25)
  3569. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,-6),0.25)
  3570. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,6),0.25)
  3571. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),0,0),0.25)
  3572. else
  3573. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,1+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-70),0,0),0.25)
  3574. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  3575. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  3576. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6),0.25)
  3577. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6),0.25)
  3578. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25)
  3579. end
  3580.  
  3581. elseif anim=="jump" then
  3582. add=0.5
  3583. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0+-math.cos(sine/14)/7,.5+-math.cos(sine/14)/7,0+-math.cos(sine/14)/7)*CFrame.Angles(math.rad(0),0,0),0.05)
  3584. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25)
  3585. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25)
  3586. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25)
  3587. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25)
  3588. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3589.  
  3590. end
  3591. end
  3592.  
  3593. end)
  3594.  
  3595.  
  3596. --[[l = game.Lighting
  3597. l.TimeOfDay = 1
  3598. game.Lighting.Ambient = Color3.new(0,0,0)
  3599. l.Brightness = 0.1]]--
  3600. --//====================================================\\--
  3601. --|| ONLY 90s KIDS REMEMBER
  3602. --|| ABYSS EYE BY SHACKLUSTER
  3603. --\\====================================================//--
  3604. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3605. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3606. do
  3607. print("FE Compatibility code by Mokiros")
  3608. script.Parent = Player.Character
  3609.  
  3610. --RemoteEvent for communicating
  3611. local Event = Instance.new("RemoteEvent")
  3612. Event.Name = "UserInput_Event"
  3613.  
  3614. --Fake event to make stuff like Mouse.KeyDown work
  3615. local function fakeEvent()
  3616. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  3617. t.connect = t.Connect
  3618. return t
  3619. end
  3620.  
  3621. --Creating fake input objects with fake variables
  3622. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  3623. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  3624. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  3625. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  3626. end}
  3627. --Merged 2 functions into one by checking amount of arguments
  3628. CAS.UnbindAction = CAS.BindAction
  3629.  
  3630. --This function will trigger the events that have been :Connect()'ed
  3631. local function te(self,ev,...)
  3632. local t = m[ev]
  3633. if t and t._fakeEvent and t.Function then
  3634. t.Function(...)
  3635. end
  3636. end
  3637. m.TrigEvent = te
  3638. UIS.TrigEvent = te
  3639.  
  3640. Event.OnServerEvent:Connect(function(plr,io)
  3641. if plr~=Player then return end
  3642. if io.isMouse then
  3643. m.Target = io.Target
  3644. m.Hit = io.Hit
  3645. else
  3646. local b = io.UserInputState == Enum.UserInputState.Begin
  3647. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  3648. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  3649. end
  3650. for _,t in pairs(CAS.Actions) do
  3651. for _,k in pairs(t.Keys) do
  3652. if k==io.KeyCode then
  3653. t.Function(t.Name,io.UserInputState,io)
  3654. end
  3655. end
  3656. end
  3657. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  3658. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  3659. end
  3660. end)
  3661. Event.Parent = NLS([==[
  3662. local Player = game:GetService("Players").LocalPlayer
  3663. local Event = script:WaitForChild("UserInput_Event")
  3664.  
  3665. local UIS = game:GetService("UserInputService")
  3666. local input = function(io,a)
  3667. if a then return end
  3668. --Since InputObject is a client-side instance, we create and pass table instead
  3669. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  3670. end
  3671. UIS.InputBegan:Connect(input)
  3672. UIS.InputEnded:Connect(input)
  3673.  
  3674. local Mouse = Player:GetMouse()
  3675. local h,t
  3676. --Give the server mouse data 30 times every second, but only if the values changed
  3677. --If player is not moving their mouse, client won't fire events
  3678. while wait(1/30) do
  3679. if h~=Mouse.Hit or t~=Mouse.Target then
  3680. h,t=Mouse.Hit,Mouse.Target
  3681. Event:FireServer({isMouse=true,Target=t,Hit=h})
  3682. end
  3683. end]==],Player.Character)
  3684. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  3685. end
  3686.  
  3687. wait(0.2)
  3688.  
  3689. print("Edit by Oof#0397 and idk.#0151")
  3690. warn("______________________________")
  3691.  
  3692. Player = owner
  3693. PlayerGui = Player.PlayerGui
  3694. Cam = workspace.CurrentCamera
  3695. Backpack = Player.Backpack
  3696. Character = Player.Character
  3697. Humanoid = Character.Humanoid
  3698. RootPart = Character["HumanoidRootPart"]
  3699. Torso = Character["Torso"]
  3700. Head = Character["Head"]
  3701. RightArm = Character["Right Arm"]
  3702. LeftArm = Character["Left Arm"]
  3703. RightLeg = Character["Right Leg"]
  3704. LeftLeg = Character["Left Leg"]
  3705. RootJoint = RootPart["RootJoint"]
  3706. Neck = Torso["Neck"]
  3707. RightShoulder = Torso["Right Shoulder"]
  3708. LeftShoulder = Torso["Left Shoulder"]
  3709. RightHip = Torso["Right Hip"]
  3710. LeftHip = Torso["Left Hip"]
  3711.  
  3712. IT = Instance.new
  3713. CF = CFrame.new
  3714. VT = Vector3.new
  3715. RAD = math.rad
  3716. C3 = Color3.new
  3717. UD2 = UDim2.new
  3718. BRICKC = BrickColor.new
  3719. ANGLES = CFrame.Angles
  3720. EULER = CFrame.fromEulerAnglesXYZ
  3721. COS = math.cos
  3722. ACOS = math.acos
  3723. SIN = math.sin
  3724. ASIN = math.asin
  3725. ABS = math.abs
  3726. MRANDOM = math.random
  3727. FLOOR = math.floor
  3728.  
  3729. --//=================================\\
  3730. --|| USEFUL VALUES
  3731. --\\=================================//
  3732.  
  3733. Animation_Speed = 3
  3734. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  3735. local Speed = 25
  3736. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3737. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3738. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  3739. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  3740. local DAMAGEMULTIPLIER = 69
  3741. local ANIM = "Idle"
  3742. local ATTACK = false
  3743. local EQUIPPED = false
  3744. local HOLD = false
  3745. local COMBO = 1
  3746. local Rooted = false
  3747. local SINE = 0
  3748. local KEYHOLD = false
  3749. local CHANGE = 2 / Animation_Speed
  3750. local WALKINGANIM = false
  3751. local VALUE1 = false
  3752. local VALUE2 = false
  3753. local ROBLOXIDLEANIMATION = IT("Animation")
  3754. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  3755. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  3756. --ROBLOXIDLEANIMATION.Parent = Humanoid
  3757. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  3758. WEAPONGUI.Name = "Weapon GUI"
  3759. local Effects = IT("Folder", Character)
  3760. Effects.Name = "Effects"
  3761. local ANIMATOR = Humanoid.Animator
  3762. local ANIMATE = Character.Animate
  3763. local UNANCHOR = true
  3764. local FADERS = false
  3765.  
  3766. --//=================================\\
  3767. --\\=================================//
  3768.  
  3769.  
  3770. --//=================================\\
  3771. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  3772. --\\=================================//
  3773.  
  3774. ArtificialHB = Instance.new("BindableEvent", script)
  3775. ArtificialHB.Name = "ArtificialHB"
  3776.  
  3777. script:WaitForChild("ArtificialHB")
  3778.  
  3779. frame = Frame_Speed
  3780. tf = 0
  3781. allowframeloss = false
  3782. tossremainder = false
  3783. lastframe = tick()
  3784. script.ArtificialHB:Fire()
  3785.  
  3786. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3787. tf = tf + s
  3788. if tf >= frame then
  3789. if allowframeloss then
  3790. ArtificialHB:Fire()
  3791. lastframe = tick()
  3792. else
  3793. for i = 1, math.floor(tf / frame) do
  3794. ArtificialHB:Fire()
  3795. end
  3796. lastframe = tick()
  3797. end
  3798. if tossremainder then
  3799. tf = 0
  3800. else
  3801. tf = tf - frame * math.floor(tf / frame)
  3802. end
  3803. end
  3804. end)
  3805.  
  3806. --//=================================\\
  3807. --\\=================================//
  3808.  
  3809. --//=================================\\
  3810. --|| SOME FUNCTIONS
  3811. --\\=================================//
  3812.  
  3813. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  3814. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  3815. end
  3816.  
  3817. function PositiveAngle(NUMBER)
  3818. if NUMBER >= 0 then
  3819. NUMBER = 0
  3820. end
  3821. return NUMBER
  3822. end
  3823.  
  3824. function NegativeAngle(NUMBER)
  3825. if NUMBER <= 0 then
  3826. NUMBER = 0
  3827. end
  3828. return NUMBER
  3829. end
  3830.  
  3831. function Swait(NUMBER)
  3832. if NUMBER == 0 or NUMBER == nil then
  3833. ArtificialHB.Event:wait()
  3834. else
  3835. for i = 1, NUMBER do
  3836. ArtificialHB.Event:wait()
  3837. end
  3838. end
  3839. end
  3840.  
  3841. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  3842. local NEWMESH = IT(MESH)
  3843. if MESH == "SpecialMesh" then
  3844. NEWMESH.MeshType = MESHTYPE
  3845. if MESHID ~= "nil" and MESHID ~= "" then
  3846. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  3847. end
  3848. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  3849. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  3850. end
  3851. end
  3852. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  3853. NEWMESH.Scale = SCALE
  3854. NEWMESH.Parent = PARENT
  3855. return NEWMESH
  3856. end
  3857.  
  3858. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  3859. local NEWPART = IT("Part")
  3860. NEWPART.formFactor = FORMFACTOR
  3861. NEWPART.Reflectance = REFLECTANCE
  3862. NEWPART.Transparency = TRANSPARENCY
  3863. NEWPART.CanCollide = false
  3864. NEWPART.Locked = true
  3865. NEWPART.Anchored = true
  3866. if ANCHOR == false then
  3867. NEWPART.Anchored = false
  3868. end
  3869. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  3870. NEWPART.Name = NAME
  3871. NEWPART.Size = SIZE
  3872. NEWPART.Position = Torso.Position
  3873. NEWPART.Material = MATERIAL
  3874. NEWPART:BreakJoints()
  3875. NEWPART.Parent = PARENT
  3876. return NEWPART
  3877. end
  3878.  
  3879. local function weldBetween(a, b)
  3880. local weldd = Instance.new("ManualWeld")
  3881. weldd.Part0 = a
  3882. weldd.Part1 = b
  3883. weldd.C0 = CFrame.new()
  3884. weldd.C1 = b.CFrame:inverse() * a.CFrame
  3885. weldd.Parent = a
  3886. return weldd
  3887. end
  3888.  
  3889.  
  3890. function QuaternionFromCFrame(cf)
  3891. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3892. local trace = m00 + m11 + m22
  3893. if trace > 0 then
  3894. local s = math.sqrt(1 + trace)
  3895. local recip = 0.5 / s
  3896. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  3897. else
  3898. local i = 0
  3899. if m11 > m00 then
  3900. i = 1
  3901. end
  3902. if m22 > (i == 0 and m00 or m11) then
  3903. i = 2
  3904. end
  3905. if i == 0 then
  3906. local s = math.sqrt(m00 - m11 - m22 + 1)
  3907. local recip = 0.5 / s
  3908. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  3909. elseif i == 1 then
  3910. local s = math.sqrt(m11 - m22 - m00 + 1)
  3911. local recip = 0.5 / s
  3912. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  3913. elseif i == 2 then
  3914. local s = math.sqrt(m22 - m00 - m11 + 1)
  3915. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  3916. end
  3917. end
  3918. end
  3919.  
  3920. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3921. local xs, ys, zs = x + x, y + y, z + z
  3922. local wx, wy, wz = w * xs, w * ys, w * zs
  3923. local xx = x * xs
  3924. local xy = x * ys
  3925. local xz = x * zs
  3926. local yy = y * ys
  3927. local yz = y * zs
  3928. local zz = z * zs
  3929. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  3930. end
  3931.  
  3932. function QuaternionSlerp(a, b, t)
  3933. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  3934. local startInterp, finishInterp;
  3935. if cosTheta >= 0.0001 then
  3936. if (1 - cosTheta) > 0.0001 then
  3937. local theta = ACOS(cosTheta)
  3938. local invSinTheta = 1 / SIN(theta)
  3939. startInterp = SIN((1 - t) * theta) * invSinTheta
  3940. finishInterp = SIN(t * theta) * invSinTheta
  3941. else
  3942. startInterp = 1 - t
  3943. finishInterp = t
  3944. end
  3945. else
  3946. if (1 + cosTheta) > 0.0001 then
  3947. local theta = ACOS(-cosTheta)
  3948. local invSinTheta = 1 / SIN(theta)
  3949. startInterp = SIN((t - 1) * theta) * invSinTheta
  3950. finishInterp = SIN(t * theta) * invSinTheta
  3951. else
  3952. startInterp = t - 1
  3953. finishInterp = t
  3954. end
  3955. end
  3956. 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
  3957. end
  3958.  
  3959. function Clerp(a, b, t)
  3960. local qa = {QuaternionFromCFrame(a)}
  3961. local qb = {QuaternionFromCFrame(b)}
  3962. local ax, ay, az = a.x, a.y, a.z
  3963. local bx, by, bz = b.x, b.y, b.z
  3964. local _t = 1 - t
  3965. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  3966. end
  3967.  
  3968. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  3969. local frame = IT("Frame")
  3970. frame.BackgroundTransparency = TRANSPARENCY
  3971. frame.BorderSizePixel = BORDERSIZEPIXEL
  3972. frame.Position = POSITION
  3973. frame.Size = SIZE
  3974. frame.BackgroundColor3 = COLOR
  3975. frame.BorderColor3 = BORDERCOLOR
  3976. frame.Name = NAME
  3977. frame.Parent = PARENT
  3978. return frame
  3979. end
  3980.  
  3981. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  3982. local label = IT("TextLabel")
  3983. label.BackgroundTransparency = 1
  3984. label.Size = UD2(1, 0, 1, 0)
  3985. label.Position = UD2(0, 0, 0, 0)
  3986. label.TextColor3 = TEXTCOLOR
  3987. label.TextStrokeTransparency = STROKETRANSPARENCY
  3988. label.TextTransparency = TRANSPARENCY
  3989. label.FontSize = TEXTFONTSIZE
  3990. label.Font = TEXTFONT
  3991. label.BorderSizePixel = BORDERSIZEPIXEL
  3992. label.TextScaled = false
  3993. label.Text = TEXT
  3994. label.Name = NAME
  3995. label.Parent = PARENT
  3996. return label
  3997. end
  3998.  
  3999. function NoOutlines(PART)
  4000. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  4001. end
  4002.  
  4003. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  4004. local NEWWELD = IT(TYPE)
  4005. NEWWELD.Part0 = PART0
  4006. NEWWELD.Part1 = PART1
  4007. NEWWELD.C0 = C0
  4008. NEWWELD.C1 = C1
  4009. NEWWELD.Parent = PARENT
  4010. return NEWWELD
  4011. end
  4012.  
  4013. local S = IT("Sound")
  4014. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  4015. local NEWSOUND = nil
  4016. coroutine.resume(coroutine.create(function()
  4017. NEWSOUND = S:Clone()
  4018. NEWSOUND.Parent = PARENT
  4019. NEWSOUND.Volume = VOLUME
  4020. NEWSOUND.Pitch = PITCH
  4021. NEWSOUND.SoundId = "rbxassetid://"..ID
  4022. NEWSOUND:play()
  4023. if DOESLOOP == true then
  4024. NEWSOUND.Looped = true
  4025. else
  4026. repeat wait(1) until NEWSOUND.Playing == false
  4027. NEWSOUND:remove()
  4028. end
  4029. end))
  4030. return NEWSOUND
  4031. end
  4032.  
  4033. function CFrameFromTopBack(at, top, back)
  4034. local right = top:Cross(back)
  4035. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  4036. end
  4037.  
  4038. function R_RANDOM(CFRAME,DIST)
  4039. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  4040. end
  4041.  
  4042. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  4043. function WACKYEFFECT(Table)
  4044. local TYPE = (Table.EffectType or "Sphere")
  4045. local SIZE = (Table.Size or VT(1,1,1))
  4046. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  4047. local TRANSPARENCY = (Table.Transparency or 0)
  4048. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  4049. local CFRAME = (Table.CFrame or Torso.CFrame)
  4050. local MOVEDIRECTION = (Table.MoveToPos or nil)
  4051. local ROTATION1 = (Table.RotationX or 0)
  4052. local ROTATION2 = (Table.RotationY or 0)
  4053. local ROTATION3 = (Table.RotationZ or 0)
  4054. local MATERIAL = (Table.Material or "Neon")
  4055. local COLOR = (Table.Color or C3(1,1,1))
  4056. local TIME = (Table.Time or 45)
  4057. local SOUNDID = (Table.SoundID or nil)
  4058. local SOUNDPITCH = (Table.SoundPitch or nil)
  4059. local SOUNDVOLUME = (Table.SoundVolume or nil)
  4060. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  4061. local BOOMERANG = (Table.Boomerang or 0)
  4062. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  4063. coroutine.resume(coroutine.create(function()
  4064. local PLAYSSOUND = false
  4065. local SOUND = nil
  4066. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  4067. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  4068. PLAYSSOUND = true
  4069. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  4070. end
  4071. EFFECT.Color = COLOR
  4072. local MSH = nil
  4073. if TYPE == "Sphere" then
  4074. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  4075. elseif TYPE == "Block" or TYPE == "Box" then
  4076. MSH = IT("BlockMesh",EFFECT)
  4077. MSH.Scale = SIZE
  4078. elseif TYPE == "Wave" then
  4079. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  4080. elseif TYPE == "Ring" then
  4081. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  4082. elseif TYPE == "Slash" then
  4083. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  4084. elseif TYPE == "Round Slash" then
  4085. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  4086. elseif TYPE == "Swirl" then
  4087. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  4088. elseif TYPE == "Skull" then
  4089. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  4090. elseif TYPE == "Crystal" then
  4091. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  4092. end
  4093. if MSH ~= nil then
  4094. local BOOMR1 = 1+BOOMERANG/50
  4095. local BOOMR2 = 1+SIZEBOOMERANG/50
  4096. local MOVESPEED = nil
  4097. if MOVEDIRECTION ~= nil then
  4098. if USEBOOMERANGMATH == true then
  4099. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  4100. else
  4101. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  4102. end
  4103. end
  4104. local GROWTH = nil
  4105. if USEBOOMERANGMATH == true then
  4106. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  4107. else
  4108. GROWTH = (SIZE - ENDSIZE)
  4109. end
  4110. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  4111. if TYPE == "Block" then
  4112. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4113. else
  4114. EFFECT.CFrame = CFRAME
  4115. end
  4116. if USEBOOMERANGMATH == true then
  4117. for LOOP = 1, TIME+1 do
  4118. Swait()
  4119. MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  4120. if TYPE == "Wave" then
  4121. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  4122. end
  4123. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  4124. if TYPE == "Block" then
  4125. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4126. else
  4127. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  4128. end
  4129. if MOVEDIRECTION ~= nil then
  4130. local ORI = EFFECT.Orientation
  4131. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  4132. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  4133. end
  4134. end
  4135. else
  4136. for LOOP = 1, TIME+1 do
  4137. Swait()
  4138. MSH.Scale = MSH.Scale - GROWTH/TIME
  4139. if TYPE == "Wave" then
  4140. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  4141. end
  4142. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  4143. if TYPE == "Block" then
  4144. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4145. else
  4146. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  4147. end
  4148. if MOVEDIRECTION ~= nil then
  4149. local ORI = EFFECT.Orientation
  4150. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  4151. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  4152. end
  4153. end
  4154. end
  4155. EFFECT.Transparency = 1
  4156. if PLAYSSOUND == false then
  4157. EFFECT:remove()
  4158. else
  4159. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  4160. EFFECT:remove()
  4161. end
  4162. else
  4163. if PLAYSSOUND == false then
  4164. EFFECT:remove()
  4165. else
  4166. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  4167. EFFECT:remove()
  4168. end
  4169. end
  4170. end))
  4171. end
  4172.  
  4173. function MakeForm(PART,TYPE)
  4174. if TYPE == "Cyl" then
  4175. local MSH = IT("CylinderMesh",PART)
  4176. elseif TYPE == "Ball" then
  4177. local MSH = IT("SpecialMesh",PART)
  4178. MSH.MeshType = "Sphere"
  4179. elseif TYPE == "Wedge" then
  4180. local MSH = IT("SpecialMesh",PART)
  4181. MSH.MeshType = "Wedge"
  4182. end
  4183. end
  4184.  
  4185. Debris = game:GetService("Debris")
  4186.  
  4187. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  4188. local DIRECTION = CF(StartPos,EndPos).lookVector
  4189. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  4190. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  4191. end
  4192.  
  4193. local DECAL = IT("Decal")
  4194. function MagicRing()
  4195. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),true)
  4196. local MESH = IT("BlockMesh",RING)
  4197. local BOTTOMTEXTURE = DECAL:Clone()
  4198. BOTTOMTEXTURE.Parent = RING
  4199. BOTTOMTEXTURE.Face = "Bottom"
  4200. BOTTOMTEXTURE.Name = "BottomTexture"
  4201. local TOPTEXTURE = DECAL:Clone()
  4202. TOPTEXTURE.Parent = RING
  4203. TOPTEXTURE.Face = "Top"
  4204. TOPTEXTURE.Name = "TopTexture"
  4205. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  4206. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  4207. BOTTOMTEXTURE.Color3 = C3(0,0,0)
  4208. TOPTEXTURE.Color3 = C3(0,0,0)
  4209. return RING,MESH,TOPTEXTURE,BOTTOMTEXTURE
  4210. end
  4211.  
  4212. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  4213. coroutine.resume(coroutine.create(function()
  4214. local FADE = IT("Model",Effects)
  4215. if PARENT ~= nil then
  4216. FADE.Parent = PARENT
  4217. end
  4218. FADE.Name = "FadingEffect"
  4219. for _, c in pairs(Character:GetChildren()) do
  4220. if c.ClassName == "Part" then
  4221. c.CanCollide = false
  4222. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Crimson"), c.Name, c.Size, true)
  4223. FADER.CFrame = c.CFrame
  4224. FADER.Color = COLOR
  4225. if FADER.Name == "Head" then
  4226. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  4227. elseif FADER.Name == "HumanoidRootPart" then
  4228. FADE.PrimaryPart = FADER
  4229. FADER.Transparency = 1
  4230. end
  4231. end
  4232. end
  4233. local TRANS = 0.25/TIMER
  4234. local DIST = nil
  4235. if MOVEDIRECTION ~= nil then
  4236. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  4237. end
  4238. for i = 1, TIMER do
  4239. Swait()
  4240. for _, c in pairs(FADE:GetChildren()) do
  4241. if c.ClassName == "Part" then
  4242. c.Transparency = c.Transparency + TRANS
  4243. end
  4244. end
  4245. if MOVEDIRECTION ~= nil then
  4246. local ORI = FADE.PrimaryPart.Orientation
  4247. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  4248. end
  4249. end
  4250. FADE:remove()
  4251. end))
  4252. end
  4253.  
  4254. --//=================================\\
  4255. --|| GUIS AND MISC
  4256. --\\=================================//
  4257.  
  4258. local EYE = CreatePart(3, Character, "Neon", 0, 0, BRICKC("Crimson"), "TheEye", VT(0.16,0.16,0.16), true)
  4259. MakeForm(EYE,"Ball")
  4260. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(-0.15, 0.2, -0.57) * ANGLES(RAD(0), RAD(15), RAD(0)) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4261. local BLADE = CreatePart(3, Effects, "Fabric", 0, 0, BRICKC("Really black"), "Abyssal_Sword", VT(1, 7.6, 1), true)
  4262. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93117521", "1015990846", VT(1,1,1), VT(0,0,0))
  4263. BLADE.CFrame = RootPart.CFrame * CF(0.4,1,4) * ANGLES(RAD(195), RAD(15), RAD(15))
  4264.  
  4265. local SKILLTEXTCOLOR = C3(0,0,0)
  4266. local SKILLFONT = "Fantasy"
  4267. local SKILLTEXTSIZE = 4
  4268. local SKILLTEXTSIZE2 = 12
  4269.  
  4270. local ATTACKS = {"Abyssal Reee - Z","Abyssal Zoom - X","Shadow Poof - C","Black Blast - V","Super S I P - Q"}
  4271.  
  4272. for i = 1, #ATTACKS do
  4273. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  4274. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Skill text")
  4275. SKILLTEXT.TextXAlignment = "Right"
  4276. SKILLTEXT.Rotation = i*3
  4277. end
  4278.  
  4279. local BMUSIC = IT("Sound",RootPart)
  4280. local VOLUME = 5
  4281. local PITCH = 1
  4282. local SONGID = 1074563286
  4283. local A = IT("Attachment",Torso)
  4284.  
  4285. coroutine.resume(coroutine.create(function()
  4286. while wait(1) do
  4287. if FADERS == true then
  4288. coroutine.resume(coroutine.create(function()
  4289. local R,M,T,B = MagicRing()
  4290. R.Anchored = false
  4291. CreateWeldOrSnapOrMotor("Weld", EYE, EYE, R, CF(0,0,0), CF(0, 0, 0))
  4292. local R2,M2,T2,B2 = MagicRing()
  4293. R2.Anchored = false
  4294. CreateWeldOrSnapOrMotor("Weld", EYE, EYE, R2, CF(0,0,0), CF(0, 0, 0))
  4295. for i = 1, 35 do
  4296. Swait()
  4297. M.Scale = M.Scale + VT(1,0,1)*1.2
  4298. T.Transparency = i/35
  4299. B.Transparency = i/35
  4300. M2.Scale = M2.Scale + VT(1,0,1)*0.6
  4301. T2.Transparency = i/35
  4302. B2.Transparency = i/35
  4303. end
  4304. R:Remove()
  4305. R2:Remove()
  4306. end))
  4307. end
  4308. end
  4309. end))
  4310.  
  4311. --//=================================\\
  4312. --|| DAMAGING
  4313. --\\=================================//
  4314.  
  4315. function ApplyDamage(Humanoid,Damage)
  4316. Damage = Damage * DAMAGEMULTIPLIER
  4317. if Humanoid.Health < 2000 then
  4318. if Humanoid.Health - Damage > 0 then
  4319. Humanoid.Health = Humanoid.Health - Damage
  4320. else
  4321. Humanoid.Parent:BreakJoints()
  4322. end
  4323. else
  4324. Humanoid.Parent:BreakJoints()
  4325. end
  4326. end
  4327.  
  4328. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  4329. for index, CHILD in pairs(workspace:GetDescendants()) do
  4330. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4331. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4332. if HUM then
  4333. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4334. if TORSO then
  4335. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  4336. if INSTAKILL == true then
  4337. CHILD:BreakJoints()
  4338. else
  4339. local DMG = MRANDOM(MINDMG,MAXDMG)
  4340. ApplyDamage(HUM,DMG)
  4341. end
  4342. if FLING > 0 then
  4343. for _, c in pairs(CHILD:GetChildren()) do
  4344. if c:IsA("BasePart") then
  4345. local bv = Instance.new("BodyVelocity")
  4346. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4347. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  4348. bv.Parent = c
  4349. Debris:AddItem(bv,0.05)
  4350. end
  4351. end
  4352. end
  4353. end
  4354. end
  4355. end
  4356. end
  4357. end
  4358. end
  4359.  
  4360. --//=================================\\
  4361. --|| ATTACK FUNCTIONS AND STUFF
  4362. --\\=================================//
  4363.  
  4364. function Melee()
  4365. ATTACK = true
  4366. BLADE.CanCollide = true
  4367. Rooted = false
  4368. EQUIPPED = true
  4369. local HIT = function()
  4370. local HITS = {}
  4371. local TOUCH = BLADE.Touched:Connect(function(hit)
  4372. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  4373. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  4374. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  4375. if TORSO and HUM.Health > 0 then
  4376. local PASS = true
  4377. for i = 1, #HITS do
  4378. if HITS[i] == hit.Parent then
  4379. PASS = false
  4380. end
  4381. end
  4382. table.insert(HITS,hit.Parent)
  4383. if PASS == true then
  4384. ApplyDamage(HUM,MRANDOM(15,25))
  4385. end
  4386. end
  4387. end
  4388. end)
  4389. return TOUCH
  4390. end
  4391. if COMBO == 1 then
  4392. for i=0, 0.35, 0.1 / Animation_Speed do
  4393. Swait()
  4394. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  4395. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  4396. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4397. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4398. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  4399. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4400. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  4401. end
  4402. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  4403. local TOUCHED = HIT()
  4404. for i=0, 0.5, 0.1 / Animation_Speed do
  4405. Swait()
  4406. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  4407. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.9 / Animation_Speed)
  4408. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.8, 0.5, -0.7) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(15), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  4409. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4410. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  4411. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4412. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  4413. end
  4414. TOUCHED:Disconnect()
  4415. COMBO = 2
  4416. elseif COMBO == 2 then
  4417. for i=0, 0.35, 0.1 / Animation_Speed do
  4418. Swait()
  4419. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4420. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  4421. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(160), RAD(0), RAD(-5)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4422. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4423. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  4424. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4425. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  4426. end
  4427. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  4428. local TOUCHED = HIT()
  4429. for i=0, 0.35, 0.1 / Animation_Speed do
  4430. Swait()
  4431. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  4432. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  4433. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4434. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4435. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  4436. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4437. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  4438. end
  4439. TOUCHED:Disconnect()
  4440. for i=0, 0.2, 0.1 / Animation_Speed do
  4441. Swait()
  4442. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  4443. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  4444. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4445. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4446. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  4447. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4448. BLADE.CFrame = Clerp(BLADE.CFrame,RootPart.CFrame*CF(4,0.3,0) * ANGLES(RAD(195), RAD(-25), RAD(15)),0.4)
  4449. end
  4450. COMBO = 1
  4451. end
  4452. coroutine.resume(coroutine.create(function()
  4453. for i = 1, 50 do
  4454. Swait()
  4455. if ATTACK == true then
  4456. break
  4457. end
  4458. end
  4459. if ATTACK == false then
  4460. COMBO = 1
  4461. end
  4462. end))
  4463. BLADE.CanCollide = false
  4464. ATTACK = false
  4465. Rooted = false
  4466. EQUIPPED = false
  4467. end
  4468. function AbyssalShriek()
  4469. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  4470. ATTACK = true
  4471. Rooted = true
  4472. for i=0, 0.2, 0.1 / Animation_Speed do
  4473. Swait()
  4474. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4475. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4476. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4477. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4478. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  4479. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  4480. end
  4481. coroutine.resume(coroutine.create(function()
  4482. repeat
  4483. Swait()
  4484. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  4485. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  4486. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4487. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4488. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  4489. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  4490. until ATTACK == false
  4491. end))
  4492. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position+VT(0,1.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 15})
  4493. CreateSound(199978176,Head,5,1,false)
  4494. for i = 1, 60 do
  4495. Swait()
  4496. ApplyAoE(RootPart.Position,17,1,1,0,false)
  4497. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
  4498. if HITFLOOR then
  4499. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(20,1,20), Size2 = VT(25+MRANDOM(0,8),7,25+MRANDOM(0,8)), Transparency = 0.95, Transparency2 = 1, CFrame = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4500. end
  4501. local SIZE = VT(1,3,1)
  4502. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = SIZE*MRANDOM(10,65)/10, Transparency = 0.5, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(1,17),MRANDOM(0,12)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 5})
  4503. end
  4504. wait(0.2)
  4505. ATTACK = false
  4506. Rooted = false
  4507. end
  4508. end
  4509. function AbyssalDash()
  4510. ATTACK = true
  4511. Rooted = true
  4512. UNANCHOR = false
  4513. for i=0, 0.4, 0.1 / Animation_Speed do
  4514. Swait()
  4515. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4516. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4517. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4518. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4519. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  4520. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  4521. end
  4522. CreateSound(1177785010,Torso,2,1,false)
  4523. CreateSound(971125740,Torso,5,1,false)
  4524. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  4525. for index, CHILD in pairs(Character:GetChildren()) do
  4526. if CHILD:IsA("BasePart") then
  4527. CHILD.Transparency = CHILD.Transparency + 1
  4528. elseif CHILD:IsA("Accessory") then
  4529. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  4530. end
  4531. end
  4532. local HITS = {}
  4533. for i=0, 1, 0.1 / Animation_Speed do
  4534. Swait()
  4535. for index, CHILD in pairs(workspace:GetDescendants()) do
  4536. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4537. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4538. if HUM then
  4539. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4540. if TORSO then
  4541. if (TORSO.Position - RootPart.Position).Magnitude <= 25 then
  4542. local PASS = true
  4543. for E = 1, #HITS do
  4544. if HITS[E] == CHILD then
  4545. PASS = false
  4546. end
  4547. end
  4548. if PASS == true then
  4549. local DMG = MRANDOM(25,45)
  4550. ApplyDamage(HUM,DMG)
  4551. table.insert(HITS,CHILD)
  4552. end
  4553. end
  4554. end
  4555. end
  4556. end
  4557. end
  4558. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(25,0,25), Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-6) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
  4559. for i = 1, 2 do
  4560. RootPart.CFrame = RootPart.CFrame*CF(0,0,-1)
  4561. CharacterFade(C3(151, 0, 0),25,R_RANDOM(Torso.CFrame,1.25).p)
  4562. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
  4563. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4564. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(-25), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4565. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(-25), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4566. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  4567. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4568. end
  4569. end
  4570. for index, CHILD in pairs(Character:GetChildren()) do
  4571. if CHILD:IsA("BasePart") then
  4572. CHILD.Transparency = CHILD.Transparency - 1
  4573. elseif CHILD:IsA("Accessory") then
  4574. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  4575. end
  4576. end
  4577. for i=1, 25 do
  4578. Swait()
  4579. RootPart.CFrame = RootPart.CFrame*CF(0,0,-((25-i)/25))
  4580. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  4581. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4582. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4583. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4584. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-45)), 1 / Animation_Speed)
  4585. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-25), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4586. end
  4587. UNANCHOR = true
  4588. ATTACK = false
  4589. Rooted = false
  4590. end
  4591. function ShadowCloak()
  4592. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  4593. ATTACK = true
  4594. Rooted = false
  4595. UNANCHOR = false
  4596. FADERS = false
  4597. coroutine.resume(coroutine.create(function()
  4598. coroutine.resume(coroutine.create(function()
  4599. for i=1, 25 do
  4600. Swait()
  4601. RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  4602. end
  4603. end))
  4604. repeat
  4605. Swait()
  4606. BLADE.Transparency = Torso.Transparency
  4607. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  4608. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  4609. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4610. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4611. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  4612. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  4613. until ATTACK == false
  4614. end))
  4615. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
  4616. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  4617. for i = 1, 50 do
  4618. Swait()
  4619. CharacterFade(C3(151, 0, 0),12,R_RANDOM(Torso.CFrame,1.25).p)
  4620. for index, CHILD in pairs(Character:GetChildren()) do
  4621. if CHILD:IsA("BasePart") then
  4622. CHILD.Transparency = CHILD.Transparency + 1/50
  4623. elseif CHILD:IsA("Accessory") then
  4624. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  4625. end
  4626. end
  4627. end
  4628. for i = 1, 25 do
  4629. Swait()
  4630. CharacterFade(C3(151, 0, 0),12,R_RANDOM(Torso.CFrame,1.25).p)
  4631. end
  4632. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  4633. for i = 1, 5 do
  4634. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  4635. end
  4636. ApplyAoE(Torso.Position,15,12,22,150,false)
  4637. CreateSound(331666014,Torso,5,1,false)
  4638. for i = 1, 12 do
  4639. Swait()
  4640. CharacterFade(C3(151, 0, 0),12,R_RANDOM(Torso.CFrame,1.25).p)
  4641. end
  4642. for i = 1, 50 do
  4643. Swait()
  4644. CharacterFade(C3(151, 0, 0),12,R_RANDOM(Torso.CFrame,1.25).p)
  4645. for index, CHILD in pairs(Character:GetChildren()) do
  4646. if CHILD:IsA("BasePart") then
  4647. CHILD.Transparency = CHILD.Transparency - 1/50
  4648. elseif CHILD:IsA("Accessory") then
  4649. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  4650. end
  4651. end
  4652. end
  4653. UNANCHOR = true
  4654. ATTACK = false
  4655. Rooted = false
  4656. FADERS = true
  4657. end
  4658. end
  4659. function BlackBlast()
  4660. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  4661. ATTACK = true
  4662. Rooted = true
  4663. local GYRO = IT("BodyGyro",RootPart)
  4664. GYRO.D = 25
  4665. GYRO.P = 20000
  4666. GYRO.MaxTorque = VT(0,4000000,0)
  4667. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  4668. CreateSound(429459101,Torso,5,1.5,false)
  4669. local GYROING = true
  4670. coroutine.resume(coroutine.create(function()
  4671. repeat
  4672. Swait()
  4673. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  4674. until GYROING == false
  4675. GYRO:Remove()
  4676. end))
  4677. for i=0, 1, 0.1 / Animation_Speed do
  4678. Swait()
  4679. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4680. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4681. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4682. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4683. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  4684. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  4685. end
  4686. for i = 1, 13 do
  4687. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(i,0,i)*2, Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,7.5-i) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
  4688. end
  4689. CreateSound(1368637781,Torso,5,1.5,false)
  4690. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(12,12,12), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  4691. for index, CHILD in pairs(Character:GetChildren()) do
  4692. if CHILD:IsA("BasePart") then
  4693. CHILD.Transparency = CHILD.Transparency + 1
  4694. elseif CHILD:IsA("Accessory") then
  4695. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  4696. end
  4697. end
  4698. GYROING = false
  4699. coroutine.resume(coroutine.create(function()
  4700. coroutine.resume(coroutine.create(function()
  4701. for i=1, 25 do
  4702. Swait()
  4703. RootPart.CFrame = RootPart.CFrame*CF(0,0,(25-i)/25)
  4704. end
  4705. end))
  4706. repeat
  4707. Swait()
  4708. CharacterFade(C3(151, 0, 0),12,R_RANDOM(Torso.CFrame,1.25).p)
  4709. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  4710. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  4711. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4712. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4713. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  4714. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  4715. until ATTACK == false
  4716. end))
  4717. coroutine.resume(coroutine.create(function()
  4718. local BULLETCFRAME = RootPart.CFrame
  4719. local EXPLODED = false
  4720. coroutine.resume(coroutine.create(function()
  4721. repeat
  4722. Swait()
  4723. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(10,10,10), Transparency = 0.3, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  4724. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(25,25,25), Transparency = 0.8, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  4725. until EXPLODED == true
  4726. end))
  4727. for i=1, 50 do
  4728. Swait()
  4729. BULLETCFRAME = BULLETCFRAME*CF(0,0,-((50-i)/15))
  4730. local RAY,HIT,NORM = Raycast(BULLETCFRAME.p,BULLETCFRAME.lookVector,7,Character)
  4731. if RAY then
  4732. ApplyAoE(BULLETCFRAME.p,25,12,54,350,false)
  4733. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HIT,HIT+NORM) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 765590102, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 10})
  4734. break
  4735. end
  4736. end
  4737. wait(0.5)
  4738. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 0.7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  4739. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(50,50,50), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 1, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  4740. for E = 1, 3 do
  4741. for i = 1, 5 do
  4742. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  4743. end
  4744. end
  4745. ApplyAoE(BULLETCFRAME.p,125,25,75,250,false)
  4746. EXPLODED = true
  4747. for i = 1, 15 do
  4748. Swait()
  4749. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = BULLETCFRAME * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  4750. end
  4751. end))
  4752. wait(0.5)
  4753. for index, CHILD in pairs(Character:GetChildren()) do
  4754. if CHILD:IsA("BasePart") then
  4755. CHILD.Transparency = CHILD.Transparency - 1
  4756. elseif CHILD:IsA("Accessory") then
  4757. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  4758. end
  4759. end
  4760. ATTACK = false
  4761. Rooted = false
  4762. end
  4763. end
  4764. function NightmareFall()
  4765. if ANIM ~= "Fall" and ANIM ~= "Jump" and DAMAGEMULTIPLIER == 1 then
  4766. ATTACK = true
  4767. Rooted = true
  4768. EQUIPPED = true
  4769. CreateSound(160740121,Head,10,1,false)
  4770. for i=0, 2, 0.1 / Animation_Speed do
  4771. Swait()
  4772. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4773. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4774. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.4 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(120), RAD(0), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4775. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4776. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  4777. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4778. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  4779. end
  4780. for i=0, 2, 0.1 / Animation_Speed do
  4781. Swait()
  4782. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4783. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4784. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.15 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(140), RAD(0), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4785. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4786. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  4787. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4788. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  4789. end
  4790. local SIZE = 0
  4791. local POS = RootPart.Position+VT(0,150,0)
  4792. local BLOWN = false
  4793. coroutine.resume(coroutine.create(function()
  4794. coroutine.resume(coroutine.create(function()
  4795. repeat
  4796. Swait()
  4797. if SIZE > 0 then
  4798. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(SIZE,SIZE,SIZE)*2.5, Transparency = 0.3, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  4799. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(SIZE,SIZE,SIZE)*3, Transparency = 0.8, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  4800. end
  4801. until BLOWN == true
  4802. end))
  4803. repeat
  4804. Swait()
  4805. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(12), RAD(25)), 1 / Animation_Speed)
  4806. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(-15)), 1 / Animation_Speed)
  4807. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(180), RAD(15), RAD(17)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4808. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4809. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  4810. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4811. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  4812. until ATTACK == false
  4813. end))
  4814. wait(0.2)
  4815. for i = 1, 15 do
  4816. wait(MRANDOM(2,6)/45)
  4817. coroutine.resume(coroutine.create(function()
  4818. local CFRAME = CF(BLADE.Position,POS) * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(-90,90)))
  4819. local HEIGHT = 45/5
  4820. local DISTANCE = (BLADE.Position - POS).Magnitude
  4821. for i = 1, 45 do
  4822. Swait()
  4823. CFRAME = CFRAME * CF(0,(HEIGHT-(i/2.575))/45,-DISTANCE/45)
  4824. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0.3, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 0})
  4825. end
  4826. SIZE = SIZE + 1
  4827. end))
  4828. end
  4829. wait(2.5)
  4830. BLOWN = true
  4831. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(150,50,150), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 0.4, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  4832. for E = 1, 5 do
  4833. for i = 1, 5 do
  4834. WACKYEFFECT({Time = 50+(E*4), EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  4835. end
  4836. end
  4837. CreateSound(288641686,Effects,5,1,false)
  4838. CreateSound(592877506,Effects,5,1,false)
  4839. local HITS = {}
  4840. for index, CHILD in pairs(workspace:GetDescendants()) do
  4841. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4842. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4843. if HUM then
  4844. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4845. if TORSO then
  4846. if (TORSO.Position - RootPart.Position).Magnitude <= 175 then
  4847. local PASS = true
  4848. for E = 1, #HITS do
  4849. if HITS[E] == CHILD then
  4850. PASS = false
  4851. end
  4852. end
  4853. if PASS == true then
  4854. table.insert(HITS,CHILD)
  4855. end
  4856. end
  4857. end
  4858. end
  4859. end
  4860. end
  4861. if #HITS > 0 then
  4862. local DONE = false
  4863. local HUMS = {}
  4864. coroutine.resume(coroutine.create(function()
  4865. for E = 1, #HITS do
  4866. local HUM = HITS[E]:FindFirstChildOfClass("Humanoid")
  4867. table.insert(HUMS,HUM)
  4868. local TORSO = HITS[E]:FindFirstChild("Torso") or HITS[E]:FindFirstChild("UpperTorso")
  4869. local grav = Instance.new("BodyPosition",TORSO)
  4870. grav.D = 850
  4871. grav.P = 4000
  4872. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4873. grav.Position = TORSO.Position+VT(0,35,0)
  4874. CreateSound(592877506,TORSO,5,0.5,false)
  4875. if TORSO then
  4876. coroutine.resume(coroutine.create(function()
  4877. local B = IT("Attachment",TORSO)
  4878. local ChainLink = IT("Beam",Torso)
  4879. ChainLink.Texture = "rbxassetid://73042633"
  4880. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  4881. ChainLink.TextureSpeed = -1
  4882. ChainLink.FaceCamera = true
  4883. ChainLink.Width0 = 3
  4884. ChainLink.Width1 = 3
  4885. ChainLink.TextureLength = 3
  4886. ChainLink.Attachment0 = A
  4887. ChainLink.Attachment1 = B
  4888. ChainLink.CurveSize0 = 0
  4889. ChainLink.CurveSize1 = 0
  4890. ChainLink.FaceCamera = true
  4891. ChainLink.TextureMode = "Static"
  4892. ChainLink.Transparency = NumberSequence.new(0)
  4893. repeat
  4894. Swait()
  4895. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(2,2,2)*TORSO.Size.Z, Size2 = VT(0,0,0), Transparency = 0.6, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 35})
  4896. until DONE == true or HUM.Health < 1
  4897. B:Remove()
  4898. ChainLink:Remove()
  4899. grav:Remove()
  4900. if HUM.Health < 1 then
  4901. for E = 1, 2 do
  4902. for i = 1, 3 do
  4903. WACKYEFFECT({Time = 15, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/6, Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  4904. end
  4905. end
  4906. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(2,2,2)*TORSO.Size.Z, Size2 = VT(6,6,6)*TORSO.Size.Z, Transparency = 0.6, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 160772554, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  4907. for _, c in pairs(HITS[E]:GetChildren()) do
  4908. if c:IsA("BasePart") or c:IsA("Accessory") then
  4909. c:remove()
  4910. end
  4911. end
  4912. local BONES = {
  4913. Skull = {MeshId = 36869983,Size = VT(0.7,0.7,0.7)},
  4914. Ribs = {MeshId = 546760032,Size = VT(2.18, 1.884, 1.105)}
  4915. }
  4916. local SELECTABLEBONES = {
  4917. {MeshId = 546760045,Size = VT(0.468, 1.12, 0.346)},
  4918. {MeshId = 546760042,Size = VT(0.366, 0.991, 0.365)},
  4919. {MeshId = 546760029,Size = VT(0.441, 0.799, 0.347)},
  4920. {MeshId = 546760030,Size = VT(0.605, 0.843, 0.4)}
  4921. }
  4922. for i = 1, 9 do
  4923. local CHOSENPIECE = nil
  4924. if i == 1 then
  4925. CHOSENPIECE = BONES.Skull
  4926. elseif i == 2 then
  4927. CHOSENPIECE = BONES.Ribs
  4928. else
  4929. CHOSENPIECE = SELECTABLEBONES[MRANDOM(1,#SELECTABLEBONES)]
  4930. end
  4931. local BONE = CreatePart(3, HITS[E], "Neon", 0, 0, BRICKC("Salmon"), "RIP", CHOSENPIECE.Size, false)
  4932. BONE.CanCollide = true
  4933. BONE.CFrame = TORSO.CFrame*CF(MRANDOM(-10,10)/30,MRANDOM(-10,10)/30,MRANDOM(-10,10)/30)
  4934. if CHOSENPIECE.MeshId == 36869983 then
  4935. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1)/1.5, VT(0,0,0))
  4936. else
  4937. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1), VT(0,0,0))
  4938. end
  4939. end
  4940. end
  4941. end))
  4942. end
  4943. end
  4944. wait(1)
  4945. for i = 1, 250 do
  4946. Swait()
  4947. for E = 1, #HUMS do
  4948. if HUMS[E] then
  4949. if HUMS[E].Health > 0 then
  4950. HUMS[E].Health = HUMS[E].Health - 0.3
  4951. DAMAGEMULTIPLIER = DAMAGEMULTIPLIER + 0.0025
  4952. WACKYEFFECT({Time = 10, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(1.5,0,1.5)/20, Transparency = 0.9, Transparency2 = 1, CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  4953. end
  4954. end
  4955. end
  4956. end
  4957. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(1, 0, 1, 0), C3(0,0,0), C3(0, 0, 0), "OWEXTRADAMAGE")
  4958. local SKILLTEXT = CreateLabel(SKILLFRAME, "!You have increased damage!", SKILLTEXTCOLOR, SKILLTEXTSIZE2, SKILLFONT, 1, 2, 1, "AAAA")
  4959. coroutine.resume(coroutine.create(function()
  4960. CreateSound(743521450,Cam,5,0.6,false)
  4961. for E = 1, 75 do
  4962. Swait()
  4963. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency - 1/75
  4964. end
  4965. wait(4)
  4966. for E = 1, 25 do
  4967. Swait()
  4968. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency + 1/25
  4969. end
  4970. SKILLFRAME:Remove()
  4971. end))
  4972. DONE = true
  4973. for i = 1, 50 do
  4974. wait(0.5)
  4975. for i = 1, 3 do
  4976. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(DAMAGEMULTIPLIER-1,0.1,DAMAGEMULTIPLIER-1)*1.5, Transparency = 0.6, Transparency2 = 1, CFrame = CF(RootPart.CFrame*CF(0,-3.25,0).p) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 1, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 22})
  4977. end
  4978. end
  4979. DAMAGEMULTIPLIER = 1
  4980. end))
  4981. wait(0.2)
  4982. end
  4983. wait(0.4)
  4984. EQUIPPED = false
  4985. ATTACK = false
  4986. Rooted = false
  4987. end
  4988. end
  4989. function Laugh()
  4990. ATTACK = true
  4991. Rooted = true
  4992. CreateSound(160740121,Head,10,1,false)
  4993. for i=0, 0.5, 0.1 / Animation_Speed do
  4994. Swait()
  4995. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4996. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  4997. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.6 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4998. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.45 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4999. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  5000. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  5001. end
  5002. for i=1, 185 do
  5003. Swait()
  5004. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5005. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1 + 0.05 * SIN(SINE/2)) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  5006. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.55 + 0.15 * SIN(SINE/2), -0.7) * ANGLES(RAD(3 + 3 * SIN(SINE/2)), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5007. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.4 + 0.15 * SIN(SINE/2), -0.6) * ANGLES(RAD(3 + 3 * SIN(SINE/2)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5008. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  5009. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  5010. end
  5011. ATTACK = false
  5012. Rooted = false
  5013. end
  5014.  
  5015. --//=================================\\
  5016. --|| ASSIGN THINGS TO KEYS
  5017. --\\=================================//
  5018.  
  5019. function MouseDown(Mouse)
  5020. if ATTACK == false then
  5021. Melee()
  5022. end
  5023. end
  5024.  
  5025. function MouseUp(Mouse)
  5026. HOLD = false
  5027. end
  5028.  
  5029. function KeyDown(Key)
  5030. KEYHOLD = true
  5031. if Key == "z" and ATTACK == false then
  5032. AbyssalShriek()
  5033. end
  5034.  
  5035. if Key == "x" and ATTACK == false then
  5036. AbyssalDash()
  5037. end
  5038.  
  5039. if Key == "c" and ATTACK == false then
  5040. ShadowCloak()
  5041. end
  5042.  
  5043. if Key == "v" and ATTACK == false then
  5044. BlackBlast()
  5045. end
  5046.  
  5047. if Key == "q" and ATTACK == false then
  5048. NightmareFall()
  5049. end
  5050.  
  5051. if Key == "t" and ATTACK == false then
  5052. Laugh()
  5053. end
  5054. end
  5055.  
  5056. function KeyUp(Key)
  5057. KEYHOLD = false
  5058. end
  5059.  
  5060. Mouse.Button1Down:connect(function(NEWKEY)
  5061. MouseDown(NEWKEY)
  5062. end)
  5063. Mouse.Button1Up:connect(function(NEWKEY)
  5064. MouseUp(NEWKEY)
  5065. end)
  5066. Mouse.KeyDown:connect(function(NEWKEY)
  5067. KeyDown(NEWKEY)
  5068. end)
  5069. Mouse.KeyUp:connect(function(NEWKEY)
  5070. KeyUp(NEWKEY)
  5071. end)
  5072.  
  5073. --//=================================\\
  5074. --\\=================================//
  5075.  
  5076. function unanchor()
  5077. for _, c in pairs(Character:GetChildren()) do
  5078. if c:IsA("BasePart") and c ~= RootPart then
  5079. c.Anchored = false
  5080. end
  5081. end
  5082. if UNANCHOR == true then
  5083. RootPart.Anchored = false
  5084. else
  5085. RootPart.Anchored = true
  5086. end
  5087. end
  5088.  
  5089. --//=================================\\
  5090. --|| WRAP THE WHOLE SCRIPT UP
  5091. --\\=================================//
  5092.  
  5093. Humanoid.Changed:connect(function(Jump)
  5094. if Jump == "Jump" and (Disable_Jump == true) then
  5095. Humanoid.Jump = false
  5096. end
  5097. end)
  5098.  
  5099. while true do
  5100. Swait()
  5101. script.Parent = WEAPONGUI
  5102. ANIMATE.Parent = nil
  5103. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  5104. v:Stop();
  5105. end
  5106. SINE = SINE + CHANGE
  5107. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  5108. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  5109. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
  5110. local WALKSPEEDVALUE = 8 / (Humanoid.WalkSpeed / 16)
  5111. Humanoid.HipHeight = 1
  5112. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  5113. ANIM = "Jump"
  5114. if ATTACK == false then
  5115. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  5116. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  5117. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5118. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5119. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5120. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5121. end
  5122. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  5123. ANIM = "Fall"
  5124. if ATTACK == false then
  5125. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  5126. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  5127. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5128. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5129. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5130. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5131. end
  5132. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  5133. ANIM = "Idle"
  5134. if ATTACK == false then
  5135. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5136. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5137. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5138. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5139. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  5140. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  5141. end
  5142. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  5143. ANIM = "Walk"
  5144. if ATTACK == false then
  5145. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  5146. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5147. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5148. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5149. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-35)), 1 / Animation_Speed)
  5150. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-15), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  5151. end
  5152. end
  5153. if EQUIPPED == false then
  5154. if TORSOVELOCITY > 1 then
  5155. BLADE.CFrame = Clerp(BLADE.CFrame,RootPart.CFrame * CF(0.2,1.5 + 0.15 * SIN(SINE / 12),4) * ANGLES(RAD(195), RAD(15), RAD(15)),0.04)
  5156. else
  5157. BLADE.CFrame = Clerp(BLADE.CFrame,RootPart.CFrame * CF(1,1.5 + 0.15 * SIN(SINE / 12),4) * ANGLES(RAD(195), RAD(-25), RAD(15)),0.1)
  5158. end
  5159. end
  5160. if ANIM ~= "Walk" and FADERS == true then
  5161. if MRANDOM(1,7) == 1 then
  5162. CharacterFade(C3(151, 0, 0),65,R_RANDOM(Torso.CFrame,0.5).p)
  5163. end
  5164. end
  5165. unanchor()
  5166. if Rooted == false then
  5167. Disable_Jump = false
  5168. Humanoid.WalkSpeed = Speed+(DAMAGEMULTIPLIER/5)
  5169. elseif Rooted == true then
  5170. Disable_Jump = true
  5171. Humanoid.WalkSpeed = 0
  5172. end
  5173. BMUSIC.SoundId = "rbxassetid://"..SONGID
  5174. BMUSIC.Looped = true
  5175. BMUSIC.Pitch = PITCH
  5176. BMUSIC.Volume = VOLUME
  5177. BMUSIC.Playing = true
  5178. if BMUSIC.Parent ~= RootPart then
  5179. BMUSIC = IT("Sound",RootPart)
  5180. end
  5181. if Head:FindFirstChild("face") then
  5182. Head:FindFirstChild("face"):remove()
  5183. end
  5184. Humanoid.MaxHealth = "inf"
  5185. Humanoid.Health = "inf"
  5186. end
  5187.  
  5188. --//=================================\\
  5189. --\\=================================//
  5190.  
  5191. refit()
  5192.  
  5193.  
  5194.  
  5195. --//====================================================\\--
  5196. --|| END OF SCRIPT
  5197. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment