Advertisement
5325325325

Untitled

Oct 11th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 120.88 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = owner
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local h,t
  75. --Give the server mouse data 30 times every second, but only if the values changed
  76. --If player is not moving their mouse, client won't fire events
  77. while wait(1/30) do
  78. if h~=Mouse.Hit or t~=Mouse.Target then
  79. h,t=Mouse.Hit,Mouse.Target
  80. Event:FireServer({isMouse=true,Target=t,Hit=h})
  81. end
  82. end]==],Player.Character)
  83. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  84. end
  85.  
  86. --God Slayer
  87.  
  88.  
  89.  
  90.  
  91. --[[wait(0.1)
  92. -------------------------------
  93. local p=owner
  94. if p.Name=="Reruderu" then
  95. p:Kick("go away, skid who uses crappy decompilers,v3rmie skid.")
  96. elseif p.Name=="Rerumu" then
  97. p:Kick("no thanks, skid who uses crappy decompilers that they didnt make.also being an pathetic v3rmie kid")
  98. end]]
  99. local p=owner
  100. local char=p.Character
  101. script.Parent=char
  102. local torso=char.Torso
  103. local hed=char.Head
  104. local larm=char:FindFirstChild("Left Arm")
  105. local rarm=char:FindFirstChild("Right Arm")
  106. local lleg=char:FindFirstChild("Left Leg")
  107. local rleg=char:FindFirstChild("Right Leg")
  108. local hum=char.Humanoid
  109. local cam=workspace.CurrentCamera
  110. local root=char.HumanoidRootPart
  111. local hb=game:service("RunService").Heartbeat
  112. local rs=game:service("RunService").Stepped
  113. hum.MaxHealth=math.huge
  114. hum.Health=hum.MaxHealth
  115. local pgui=Instance.new("ScreenGui",p.PlayerGui)
  116. 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}
  117. local run = 30
  118. local normal = 16
  119. local color = "Really black"
  120. local color2 = "Really blue"
  121. local righteyebrickcolor = "Really blue"
  122. local NumCol = 0,0,255
  123. local GodSlayer = true
  124. local Full = false
  125. hum.WalkSpeed = 5
  126. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  127. -------------------
  128. local drinks="10722059"
  129. local m="41707332"
  130. local tx="41708701"
  131. local ragesong="590156873"
  132. local breaks="368270172"
  133. local scream="527276541"
  134. local Shirt = "rbxassetid://427841675"
  135. local Pants = "rbxassetid://428282416"
  136. -------------------
  137.  
  138.  
  139. function swait(num)
  140. if num==0 or num==nil then
  141. game:service'RunService'.Stepped:wait(0)
  142. else
  143. for i=0,num do
  144. game:service'RunService'.Stepped:wait(0)
  145. end
  146. end
  147. end
  148.  
  149. function chatfunc(text)
  150. local chat = coroutine.wrap(function()
  151. if char:FindFirstChild("TalkingBillBoard")~= nil then
  152. char:FindFirstChild("TalkingBillBoard"):destroy()
  153. end
  154. local naeeym2 = Instance.new("BillboardGui",char)
  155. naeeym2.Size = UDim2.new(0,100,0,40)
  156. naeeym2.StudsOffset = Vector3.new(0,3,0)
  157. naeeym2.Adornee = char.Head
  158. naeeym2.Name = "TalkingBillBoard"
  159. local tecks2 = Instance.new("TextLabel",naeeym2)
  160. tecks2.BackgroundTransparency = 1
  161. tecks2.BorderSizePixel = 0
  162. tecks2.Text = ""
  163. tecks2.Font = "Fantasy"
  164. tecks2.TextSize = 30
  165. tecks2.TextStrokeTransparency = 0
  166. tecks2.TextColor3 = Color3.new(.6,0,0)
  167. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  168. tecks2.Size = UDim2.new(1,0,0.5,0)
  169. local tecks3 = Instance.new("TextLabel",naeeym2)
  170. tecks3.BackgroundTransparency = 1
  171. tecks3.BorderSizePixel = 0
  172. tecks3.Text = ""
  173. tecks3.Font = "Fantasy"
  174. tecks3.TextSize = 30
  175. tecks3.TextStrokeTransparency = 0
  176. tecks3.TextColor3 = Color3.new(0,0,255)
  177. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  178. tecks3.Size = UDim2.new(1,0,0.5,0)
  179. for i = 1,string.len(text),1 do
  180. tecks2.Text = string.sub(text,1,i)
  181. tecks3.Text = string.sub(text,1,i)
  182. wait(0.01)
  183. end
  184. wait(2)
  185. for i = 1, 50 do
  186. swait()
  187. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  188. tecks2.Rotation = tecks2.Rotation - .8
  189. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  190. tecks2.TextTransparency = tecks2.TextTransparency + .04
  191. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  192. tecks3.Rotation = tecks2.Rotation + .8
  193. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  194. tecks3.TextTransparency = tecks2.TextTransparency + .04
  195. end
  196. naeeym2:Destroy()
  197. end)
  198. chat()
  199. end
  200. function onChatted(msg)
  201. chatfunc(msg)
  202. end
  203. p.Chatted:connect(onChatted)
  204. coroutine.resume(coroutine.create(function()
  205. wait(2)
  206. chatfunc("Allow me to show you what happens when I break my limiter..")
  207. end))
  208.  
  209.  
  210. local s0=Instance.new("Sound",char)
  211. s0.SoundId="rbxassetid://"..ragesong
  212. s0.Volume=1999
  213. s0.Pitch=1
  214. s0.Looped=true
  215.  
  216.  
  217. local s02=Instance.new("Sound",char)
  218. s02.SoundId="rbxassetid://978788235"
  219. s02.Volume=1999
  220. s02.Pitch=1
  221. s02.Looped=false
  222. s02:Play()
  223.  
  224. function Sound(ID,Parent,Vol,Pitch,Loop)
  225. local S0 = Instance.new("Sound",Parent)
  226. S0.SoundId = ID
  227. S0.Volume = Vol
  228. S0.Looped = Loop
  229. S0.Pitch = Pitch
  230. wait(.1)
  231. S0:Play()
  232. end
  233. function weld(a, b, acf)
  234. local w = Instance.new("Weld", a)
  235. w.Part0 = a
  236. w.Part1 = b
  237. w.C0 = acf
  238. end
  239.  
  240.  
  241. wait(9)
  242. char.Head.face:Destroy()
  243. local reye = Instance.new("Part", char)
  244. reye.CanCollide = false
  245. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  246. reye.Material = "Neon"
  247. reye.Size = Vector3.new(.15,.15,.15)
  248. weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
  249. m1 = Instance.new("SpecialMesh", reye)
  250. m1.MeshType = "Sphere"
  251. m1.Scale = Vector3.new(0.9,0.9,0.9)
  252. reye.Locked = true
  253. reye.Name = "re"
  254.  
  255. local leye = Instance.new("Part", char)
  256. leye.CanCollide = false
  257. leye.BrickColor = BrickColor.new(righteyebrickcolor)
  258. leye.Material = "Neon"
  259. leye.Size = Vector3.new(.15,.15,.15)
  260. weld(leye, char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0))
  261. local m = Instance.new("SpecialMesh", leye)
  262. m.MeshType = "Sphere"
  263. m.Scale = Vector3.new(0.9,0.9,0.9)
  264. leye.Locked = true
  265. leye.Name = "le"
  266.  
  267. coroutine.resume(coroutine.create(function(Part,Weld)
  268. while Part.Parent~=nil do
  269. wait(2)
  270. for i=0,1,0.2 do
  271. wait()
  272. m.Scale = Vector3.new(.9,.9-.8*i,.5)
  273. end
  274. for i=0,1,0.2 do
  275. wait()
  276. m.Scale = Vector3.new(.9,.9+.8*i,.5)
  277. end
  278. end
  279. end),leye,weld)
  280.  
  281. coroutine.resume(coroutine.create(function(Part,Weld)
  282. while Part.Parent~=nil do
  283. wait(2)
  284. for z=0,1,0.2 do
  285. wait()
  286. m1.Scale = Vector3.new(.9,.9-.8*z,.5)
  287. end
  288. for z=0,1,0.2 do
  289. wait()
  290. m1.Scale = Vector3.new(.9,.9+.8*z,.5)
  291. end
  292. end
  293. end),reye,weld)
  294.  
  295.  
  296.  
  297. function fnt(pos,dist,splr)
  298. if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
  299. local list = {}
  300. for i,v in pairs(workspace:GetChildren())do
  301. if v:IsA("Model")then
  302. if v:findFirstChild("Torso")then
  303. if v ~= char then
  304. if(v.Torso.Position -pos).magnitude <= dist then
  305. table.insert(list,v)
  306. end
  307. end
  308. end
  309. end
  310. end
  311. return list
  312. end
  313. function fnp(pos,dist,splr)
  314. if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
  315. local list = {}
  316. for i,v in pairs(workspace:GetChildren())do
  317. if v:IsA("Part")then
  318. if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then
  319. if(v.Position -pos).magnitude <= dist then
  320. table.insert(list,v)
  321. end
  322. end
  323. end
  324. end
  325. return list
  326. end
  327. fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld
  328. local wld = Instance.new("Weld", wp1)
  329. wld.Part0 = wp0
  330. wld.Part1 = wp1
  331. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  332. end
  333. local trans=false
  334. ------------------------------------
  335. ------------------------------------
  336. anim="idle"
  337. local sine=0
  338. local add=0
  339. local value=0
  340. local ffing=false
  341. local msgs=0
  342. attack=false
  343. NoAnims=false
  344. ----preparing character----
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351. function NoOutline(Part)
  352. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  353. end
  354. function lerp(a, b, t) -- Linear interpolation
  355. return a + (b - a)*t
  356. end
  357.  
  358. function slerp(a, b, t) --Spherical interpolation
  359. dot = a:Dot(b)
  360. if dot > 0.99999 or dot < -0.99999 then
  361. return t <= 0.5 and a or b
  362. else
  363. r = math.acos(dot)
  364. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  365. end
  366. end
  367.  
  368. function matrixInterpolate(a, b, t)
  369. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  370. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  371. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  372. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  373. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  374. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  375. local t = v1:Dot(v2)
  376. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  377. return CFrame.new()
  378. end
  379. return CFrame.new(
  380. v0.x, v0.y, v0.z,
  381. v1.x, v1.y, v1.z,
  382. v2.x, v2.y, v2.z,
  383. v3.x, v3.y, v3.z)
  384. end
  385. ----------------------------------------------------
  386. function genWeld(a,b)
  387. local w = Instance.new("Weld",a)
  388. w.Part0 = a
  389. w.Part1 = b
  390. return w
  391. end
  392. function weld(a, b)
  393. local weld = Instance.new("Weld")
  394. weld.Name = "W"
  395. weld.Part0 = a
  396. weld.Part1 = b
  397. weld.C0 = a.CFrame:inverse() * b.CFrame
  398. weld.Parent = a
  399. return weld;
  400. end
  401. ----------------------------------------------------
  402. function Lerp(c1,c2,al)
  403. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  404. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  405. for i,v in pairs(com1) do
  406. com1[i] = v+(com2[i]-v)*al
  407. end
  408. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  409. end
  410. ----------------------------------------------------
  411.  
  412.  
  413.  
  414. fw(torso, larm, -1.5, 0.5, 0)
  415. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  416. fw(torso, rarm, 1.5, 0.5, 0)
  417. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  418. fw(torso, hed, 0, 1.5, 0)
  419. fw(torso, lleg, -0.5, -1, 0)
  420. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  421. fw(torso, rleg, 0.5, -1, 0)
  422. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  423. fw(root, torso, 0, -1, 0)
  424. torso.Weld.C1 = CFrame.new(0, -1, 0)
  425. --------------rot------------
  426. local r=0
  427. local radd=0.04
  428. coroutine.wrap(function()
  429. while rs:wait() do
  430. r=r+radd
  431. end
  432. end)()
  433. attack = false
  434. -----------------------------
  435.  
  436. -----------------------------
  437.  
  438.  
  439. if trans == false then
  440. attack=true
  441. NoAnims=true
  442. hum.WalkSpeed=0
  443.  
  444. local fx = Instance.new("Sound",char)
  445. fx.SoundId="rbxassetid://"..drinks
  446. fx.Volume=0
  447. fx.Pitch=1
  448. fx:Play()
  449.  
  450.  
  451.  
  452.  
  453. fx.SoundId="rbxassetid://"..breaks
  454. fx.Volume=10
  455. fx:Play()
  456.  
  457.  
  458.  
  459.  
  460. print("drinked")
  461.  
  462.  
  463.  
  464. coroutine.wrap(function()
  465. while trans == false do
  466. wait(0.2)
  467. local ef = Instance.new("Part",char)
  468. ef.Name="pulse"
  469. ef.BrickColor=BrickColor.new(color2)
  470. ef.Material="Neon"
  471. ef.Shape="Ball"
  472. ef.CanCollide=false
  473. ef.Anchored=true
  474. ef.Size=Vector3.new(1,1,1)
  475. ef.CFrame=root.CFrame
  476.  
  477. local ef2 = ef:Clone()
  478. ef2.Parent=ef
  479. ef2.BrickColor=BrickColor.new(color)
  480. ef2.Name="call"
  481. ef2.Size=Vector3.new(1,1,1)
  482. local em=Instance.new("SpecialMesh",ef2)
  483. em.MeshId="rbxassetid://3270017"
  484. em.Scale=Vector3.new(1,1,0.0001)
  485.  
  486. local ef3 = ef2:Clone()
  487. ef3.Parent=ef
  488. ef3.Name="aura"
  489. ef3.CFrame=root.CFrame
  490. local em2=ef3.Mesh
  491. em2.MeshId="rbxassetid://20329976"
  492. em2.Scale=Vector3.new(1,0.4,1)
  493.  
  494. local ef4 = ef3:Clone()
  495. ef4.Parent=ef
  496. local em3=ef4.Mesh
  497.  
  498. local ef5 = ef2:Clone()
  499. ef5.Parent=ef
  500. local em4=ef5.Mesh
  501.  
  502. coroutine.wrap(function()
  503. for i = 1, 60 do
  504. rs:wait()
  505. ef.Size=ef.Size+Vector3.new(1,1,1)
  506. ef.Transparency=ef.Transparency+1/60
  507. ef2.Size=ef2.Size+Vector3.new(1,0.3,1)
  508. ef2.Transparency=ef2.Transparency+1/60
  509. em.Scale=em.Scale+Vector3.new(1,1,0)
  510. ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r)
  511. ef3.Size=ef3.Size+Vector3.new(1,0.3,1)
  512. ef3.Transparency=ef3.Transparency+1/60
  513. ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
  514. em2.Scale=em2.Scale+Vector3.new(1,0.3,1)
  515. ef4.Size=ef4.Size+Vector3.new(1,0.3,1)
  516. ef4.Transparency=ef4.Transparency+1/60
  517. ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0)
  518. em3.Scale=em3.Scale+Vector3.new(1,0.3,1)
  519. ef5.Transparency=ef5.Transparency+1/60
  520. em4.Scale=em4.Scale+Vector3.new(1,1,0)
  521. ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r)
  522. end
  523. ef:Destroy()
  524. ef2:Destroy()
  525. ef3:Destroy()
  526. ef4:Destroy()
  527. ef5:Destroy()
  528. end)()
  529. end
  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. local em=Instance.new("SpecialMesh",ef)
  540. em.MeshId="rbxassetid://9982590"
  541. em.Scale=Vector3.new(1,0.3,1)
  542.  
  543. local ef2 = ef:Clone()
  544. ef2.Parent=ef
  545. ef2.Name="aura"
  546. ef2.CFrame=root.CFrame
  547. ef2.Mesh:Destroy()
  548.  
  549. local ef3 = ef:Clone()
  550. ef3.Parent=ef
  551. ef3.Name="aura"
  552. ef3.CFrame=root.CFrame
  553. ef3.Mesh:Destroy()
  554. local em2=Instance.new("SpecialMesh",ef3)
  555. em2.MeshId="rbxassetid://20329976"
  556. em2.Scale=Vector3.new(1,0.3,1)
  557.  
  558. coroutine.wrap(function()
  559. for i = 1, 250 do
  560. ef.Size=ef.Size+Vector3.new(2,2,2)
  561. ef.Transparency=ef.Transparency+1/160
  562. em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6)
  563. ef.CFrame=root.CFrame*CFrame.Angles(r,r,r)
  564. ef3.Transparency=ef3.Transparency+1/160
  565. ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
  566. em2.Scale=em2.Scale+Vector3.new(2,0.8,2)
  567. ef2.Size=ef2.Size+Vector3.new(2,2,2)
  568. ef2.Transparency=ef2.Transparency+1/160
  569. rs:wait()
  570. end
  571. ef:Destroy()
  572. ef2:Destroy()
  573. ef3:Destroy()
  574. s02:Destroy()
  575.  
  576. end)()
  577. end)()
  578.  
  579. for i = 1, 270 do
  580. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25)
  581. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25)
  582. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25)
  583. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25)
  584. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25)
  585. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  586. rs:wait()
  587. end
  588. wait(8.7)
  589. s0:Play()
  590. trans=true
  591. print("screamed")
  592. for i,v in pairs(char:GetChildren()) do
  593. if v:FindFirstChild("Handle") then
  594. v.Handle.Transparency=1
  595. end
  596. end
  597. hum.WalkSpeed=normal
  598. NoAnims=false
  599. attack=false
  600. end
  601.  
  602.  
  603. ------effects------
  604.  
  605. ypcall(function()
  606. shirt = Instance.new("Shirt", char)
  607. shirt.Name = "Shirt"
  608. pants = Instance.new("Pants", char)
  609. pants.Name = "Pants"
  610. char.Shirt.ShirtTemplate = Shirt
  611. char.Pants.PantsTemplate = Pants
  612. end)
  613.  
  614. char["Body Colors"].HeadColor = BrickColor.new("Dirt brown")
  615. char["Body Colors"].TorsoColor = BrickColor.new("Dirt brown")
  616. char["Body Colors"].LeftArmColor = BrickColor.new("Dirt brown")
  617. char["Body Colors"].RightArmColor = BrickColor.new("Dirt brown")
  618.  
  619.  
  620.  
  621. hum = char.Humanoid
  622.  
  623. function CreateMesh(parent, id, x, y, z, texture)
  624. local m=Instance.new("SpecialMesh", parent)
  625. m.MeshType = "FileMesh"
  626. m.MeshId=id
  627. if texture ~= nil then
  628. m.TextureId=texture
  629. end
  630. m.Scale = Vector3.new(x,y,z)
  631. end
  632.  
  633. local euler = CFrame.fromEulerAnglesXYZ
  634.  
  635. Hat=function()
  636. hat = Instance.new("Part", char)
  637. CreateMesh(hat, "rbxassetid://667528488", 1.1, 1.1, 1.1,"rbxassetid://845828015")
  638. hat.Name = "PurpleHair"
  639. hat.Locked = true
  640. hat.BrickColor = BrickColor.new("Dark indigo")
  641. hat.CanCollide=true
  642. hat.Size=Vector3.new(1,1,1)
  643. hatw = Instance.new("Weld",hat)
  644. hatw.Part0=hat
  645. hatw.Part1=char['Head']
  646. hatw.C0=CFrame.new(-0.1,-0.4,0)
  647. hatw.C1=euler(math.rad(0),math.rad(0),math.rad(0))
  648. end
  649.  
  650.  
  651. Hat2=function()
  652. hat2 = Instance.new("Part", char)
  653. CreateMesh(hat2, "rbxassetid://943649996", 0.5, 0.5, 0.5,"rbxassetid://943650208")
  654. hat2.Name = "DisguiseScarf"
  655. hat2.Locked = true
  656. hat2.BrickColor = BrickColor.new("Dark indigo")
  657. hat2.CanCollide=true
  658. hat2.Size=Vector3.new(1,1,1)
  659. hat2w = Instance.new("Weld",hat2)
  660. hat2w.Part0=hat2
  661. hat2w.Part1=char['Head']
  662. hat2w.C0=CFrame.new(0,0.5,0)
  663. hat2w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
  664. end
  665.  
  666. Hat()
  667. Hat2()
  668.  
  669. hum.MaxHealth=math.huge
  670. hum.Health=hum.MaxHealth
  671.  
  672.  
  673. Debounces = {
  674. CanAttack = true;
  675. NoIdl = false;
  676. Slashing = false;
  677. Slashed = false;
  678. RPunch = false;
  679. RPunched = false;
  680. LPunch = false;
  681. LPunched = false;
  682. }
  683. local Touche = {char.Name, }
  684.  
  685.  
  686.  
  687.  
  688.  
  689. CV="Really blue"
  690.  
  691. local txt = Instance.new("BillboardGui", char)
  692. txt.Adornee = char .Head
  693. txt.Name = "_status"
  694. txt.Size = UDim2.new(2, 0, 1.2, 0)
  695. txt.StudsOffset = Vector3.new(-9, 11, 0)
  696. local text = Instance.new("TextLabel", txt)
  697. text.Size = UDim2.new(10, 0, 7, 0)
  698. text.FontSize = "Size24"
  699. text.TextScaled = true
  700. text.TextTransparency = 0
  701. text.BackgroundTransparency = 1
  702. text.TextTransparency = 0
  703. text.TextStrokeTransparency = 0
  704. text.Font = "Antique"
  705. text.TextStrokeColor3 = Color3.new(0,0,255)
  706.  
  707. v=Instance.new("Part")
  708. v.Name = "ColorBrick"
  709. v.Parent=p.Character
  710. v.FormFactor="Symmetric"
  711. v.Anchored=true
  712. v.CanCollide=false
  713. v.BottomSurface="Smooth"
  714. v.TopSurface="Smooth"
  715. v.Size=Vector3.new(10,5,3)
  716. v.Transparency=1
  717. v.CFrame=char.Torso.CFrame
  718. v.BrickColor=BrickColor.new(CV)
  719. v.Transparency=1
  720. text.TextColor3 = Color3.new(0,0,0)
  721. v.Shape="Block"
  722. text.Text = "God Slayer"
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. rarm.Touched:connect(function(ht)
  731. hit = ht.Parent
  732. if ht and hit:IsA("Model") then
  733. if hit:FindFirstChild("Humanoid") then
  734. if hit.Name ~= p.Name then
  735. if Debounces.RPunch == true and Debounces.RPunched == false then
  736. Debounces.RPunched = true
  737. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  738. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  739. if Debounces.ks==true then
  740. z = Instance.new("Sound",hed)
  741. z.SoundId = "rbxassetid://588693156"
  742. z.Pitch = ptz[math.random(1,#ptz)]
  743. z.Volume = 20
  744. z:Play()
  745. end
  746. wait(.2)
  747. Debounces.RPunched = false
  748. end
  749. end
  750. end
  751. elseif ht and hit:IsA("Hat") then
  752. if hit.Parent.Name ~= p.Name then
  753. if hit.Parent:FindFirstChild("Humanoid") then
  754. if Debounces.RPunch == true and Debounces.RPunched == false then
  755. Debounces.RPunched = true
  756. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  757. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  758. if Debounces.ks==true then
  759. z = Instance.new("Sound",hed)
  760. z.SoundId = "rbxassetid://588693156"
  761. z.Pitch = ptz[math.random(1,#ptz)]
  762. z.Volume = 20
  763. z:Play()
  764. end
  765. wait(.2)
  766. Debounces.RPunched = false
  767. end
  768. end
  769. end
  770. end
  771. end)
  772. larm.Touched:connect(function(ht)
  773. hit = ht.Parent
  774. if ht and hit:IsA("Model") then
  775. if hit:FindFirstChild("Humanoid") then
  776. if hit.Name ~= p.Name then
  777. if Debounces.LPunch == true and Debounces.LPunched == false then
  778. Debounces.LPunched = true
  779. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  780. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  781. if Debounces.ks2==true then
  782. z = Instance.new("Sound",hed)
  783. z.SoundId = "rbxassetid://588693156"
  784. z.Pitch = ptz[math.random(1,#ptz)]
  785. z.Volume = 20
  786. z:Play()
  787. end
  788. wait(.2)
  789. Debounces.LPunched = false
  790. end
  791. end
  792. end
  793. elseif ht and hit:IsA("Hat") then
  794. if hit.Parent.Name ~= p.Name then
  795. if hit.Parent:FindFirstChild("Humanoid") then
  796. if Debounces.LPunch == true and Debounces.LPunched == false then
  797. Debounces.LPunched = true
  798. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  799. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  800. if Debounces.ks2==true then
  801. z = Instance.new("Sound",hed)
  802. z.SoundId = "rbxassetid://588693156"
  803. z.Pitch = ptz[math.random(1,#ptz)]
  804. z.Volume = 20
  805. z:Play()
  806. end
  807. wait(.2)
  808. Debounces.LPunched = false
  809. end
  810. end
  811. end
  812. end
  813. end)
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822. local attacktype = 1
  823. local attack = false
  824.  
  825.  
  826.  
  827. function attackone()
  828. Debounces.RPunch = true
  829. Debounces.LPunch = true
  830. attack = true
  831. NoAnims = true
  832. for i = 1, 3 do
  833. 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)
  834. 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)
  835. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  836. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  837. 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)
  838. 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)
  839. if Debounces.on == false then break end
  840. wait()
  841. end
  842. attack = false
  843. NoAnims = false
  844. Debounces.RPunch = false
  845. Debounces.LPunch = false
  846. end
  847.  
  848. function attacktwo()
  849. Debounces.RPunch = true
  850. Debounces.LPunch = true
  851. NoAnims = true
  852. attack = true
  853. for i = 1, 3 do
  854. 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)
  855. 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)
  856. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  857. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  858. 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)
  859. 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)
  860. if Debounces.on == false then break end
  861. wait()
  862. end
  863. attack = false
  864. NoAnims = false
  865. Debounces.RPunch = false
  866. Debounces.LPunch = false
  867.  
  868. end
  869.  
  870.  
  871. function attackthree()
  872. Debounces.RPunch = true
  873. Debounces.LPunch = true
  874. NoAnims = true
  875. attack = true
  876. for i = 1, 3 do
  877. 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)
  878. 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)
  879. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  880. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  881. 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)
  882. 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)
  883. if Debounces.on == false then break end
  884. wait()
  885. end
  886. attack = false
  887. NoAnims = false
  888. Debounces.RPunch = false
  889. Debounces.LPunch = false
  890. end
  891.  
  892.  
  893. function attackfour()
  894. Debounces.RPunch = true
  895. Debounces.LPunch = true
  896. NoAnims = true
  897. attack = true
  898. for i = 1, 3 do
  899. 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)
  900. 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)
  901. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  902. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  903. 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)
  904. 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)
  905. if Debounces.on == false then break end
  906. wait()
  907. end
  908. attack = false
  909. NoAnims = false
  910. Debounces.RPunch = false
  911. Debounces.LPunch = false
  912. end
  913.  
  914.  
  915. mouse.Button1Down:connect(function()
  916. if attack == false and attacktype == 1 then
  917. attacktype = 2
  918. attackone()
  919. elseif attack == false and attacktype == 2 then
  920. attacktype = 3
  921. attacktwo()
  922. elseif attack == false and attacktype == 3 then
  923. attacktype = 4
  924. attackthree()
  925. elseif attack == false and attacktype == 4 then
  926. attacktype = 1
  927. attackfour()
  928. end
  929. end)
  930.  
  931.  
  932. --[[function Transformation()
  933. hum.WalkSpeed = 0
  934. local Portal = Instance.new("Model",char)
  935. local prt1 = Instance.new("Model",Portal)
  936. local prt2 = Instance.new("Model",Portal)
  937. local prt3 = Instance.new("Model",Portal)
  938. for i = 1,7 do
  939. local p = Instance.new("Part",prt1)
  940. p.Locked = true
  941. p.Anchored = true
  942. p.Transparency = 1
  943. p.CanCollide = false
  944. p.BrickColor = BrickColor.new("Really red")
  945. p.TopSurface = 0
  946. p.Material = "Neon"
  947. p.BottomSurface = 0
  948. p.Size = Vector3.new(1,1,1)
  949. local m = Instance.new("SpecialMesh",p)
  950. m.Name = 'm'
  951. m.Scale = Vector3.new(1,1,1)
  952. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  953. end for i = 1,7 do
  954. local p = Instance.new("Part",prt2)
  955. p.Locked = true
  956. p.Anchored = true
  957. p.CanCollide = false
  958. p.Transparency = 1
  959. p.BrickColor = BrickColor.new("Really black")
  960. p.TopSurface = 0
  961. p.Material = "Neon"
  962. p.BottomSurface = 0
  963. p.Size = Vector3.new(1,1,1)
  964. local m = Instance.new("SpecialMesh",p)
  965. m.Name = 'm'
  966. m.Scale = Vector3.new(1,1,1)
  967. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  968. end for i = 1,7 do
  969. local p = Instance.new("Part",prt3)
  970. p.Locked = true
  971. p.Anchored = true
  972. p.CanCollide = false
  973. p.Transparency = 1
  974. p.BrickColor = BrickColor.new("Really red")
  975. p.TopSurface = 0
  976. p.Material = "Neon"
  977. p.BottomSurface = 0
  978. p.Size = Vector3.new(1,1,1)
  979. local m = Instance.new("SpecialMesh",p)
  980. m.Name = 'm'
  981. m.Scale = Vector3.new(1,1,1)
  982. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  983. end
  984. local Rot,Rate,Dist,Size = 0,65,65,1
  985. coroutine.wrap(function()
  986. while wait()do
  987. if _DEBOUNCE then break end
  988. for i,v in pairs(prt1:GetChildren())do
  989. v.Transparency = v.Transparency -0.035
  990. v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist)
  991. v.m.Scale = Vector3.new(Size,Size,Size)
  992. end for i,v in pairs(prt2:GetChildren())do
  993. v.Transparency = v.Transparency -0.035
  994. v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist)
  995. v.m.Scale = Vector3.new(Size,Size,Size)
  996. end for i,v in pairs(prt3:GetChildren())do
  997. v.Transparency = v.Transparency -0.035
  998. v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0)
  999. v.m.Scale = Vector3.new(Size,Size,Size)
  1000. end
  1001. Rot = Rot >= 360 and 0 or Rot +Rate
  1002. end end)()
  1003. wait(0.75)
  1004. for i = 1,90 do
  1005. Rate = Rate -(2.3/3)
  1006. Dist = Dist -(1.5/3)
  1007. wait()
  1008. end
  1009. wait(1)
  1010. for i = 1,30 do
  1011. Rate = Rate -(2.3/3)
  1012. Dist = Dist +0.5
  1013. wait()
  1014. end
  1015. wait(2)
  1016. for i = 1,30 do
  1017. Rate = Rate +(9.2/3)
  1018. Dist = Dist -1.75
  1019. wait()
  1020. end
  1021. wait(0.75)
  1022. for i = 1,6 do
  1023. Rate = Rate -4
  1024. Dist = Dist +0.5
  1025. wait()
  1026. end
  1027. Rate = 0
  1028. Dist = 6
  1029. wait(2)
  1030. for i = 1,90 do
  1031. Rate = Rate +0.5
  1032. Dist = Dist +0.2
  1033. wait()
  1034. end
  1035. wait(1)
  1036. for i = 1,30 do
  1037. Dist = Dist -(24/30)
  1038. Size = Size +0.05
  1039. wait()
  1040. end
  1041. -- Scream in pain
  1042.  
  1043.  
  1044. coroutine.resume(coroutine.create(function()
  1045. wait(2)
  1046. game.Lighting.TimeOfDay = "00:00:00"
  1047.  
  1048. hat.Transparency = 1
  1049. Hat3=function()
  1050. hat3 = Instance.new("Part", char)
  1051. CreateMesh(hat3, "rbxassetid://667528488", 1.1, 1.1, 1.1)
  1052. hat3.Name = "RedHair"
  1053. hat3.Locked = true
  1054. hat3.BrickColor = BrickColor.new("Maroon")
  1055. hat3.CanCollide=true
  1056. hat3.Size=Vector3.new(1,1,1)
  1057. hat3w = Instance.new("Weld",hat3)
  1058. hat3w.Part0=hat3
  1059. hat3w.Part1=char['Head']
  1060. hat3w.C0=CFrame.new(-0.1,-0.4,0)
  1061. hat3w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
  1062. end
  1063.  
  1064.  
  1065.  
  1066. ypcall(function()
  1067. shirt = Instance.new("Shirt", char)
  1068. shirt.Name = "Shirt"
  1069. pants = Instance.new("Pants", char)
  1070. pants.Name = "Pants"
  1071. char.Shirt.ShirtTemplate = "rbxassetid://519769931"
  1072. char.Pants.PantsTemplate = "rbxassetid://519770250"
  1073. end)
  1074.  
  1075. ragesong2 = "492913801"
  1076. s02=Instance.new("Sound",char)
  1077. s02.SoundId="rbxassetid://"..ragesong2
  1078. s02.Volume=1999
  1079. s02.Pitch=1
  1080. s02.Looped=true
  1081. righteyebrickcolor = "Really red"
  1082. s0:Stop()
  1083. wait(0.01)
  1084. s02:Play()
  1085. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  1086. leye.BrickColor = BrickColor.new(righteyebrickcolor)
  1087. text.TextStrokeColor3 = Color3.new(255,0,0)
  1088. hat.BrickColor = BrickColor.new("Maroon")
  1089. Hat3()
  1090. end))
  1091.  
  1092.  
  1093. tran = 0
  1094. for i,v in pairs(char:GetChildren()) do
  1095. 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
  1096. Glow1 = Color3.new(.6,0,.1)
  1097. Glow2 = Color3.new(0,0,0)
  1098.  
  1099. GlowParticle = Instance.new("ParticleEmitter",v)
  1100. GlowParticle.LightEmission = 1
  1101. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  1102. GlowParticle.Size = NumberSequence.new(0,2)
  1103.  
  1104. GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845"
  1105. GlowParticle.Transparency = NumberSequence.new(tran,1)
  1106. GlowParticle.LockedToPart = true
  1107. GlowParticle.Lifetime = NumberRange.new(0.5)
  1108. GlowParticle.Rate= 300
  1109. GlowParticle.Speed =NumberRange.new(0)
  1110. end end
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124. coroutine.wrap(function()
  1125. for i = 1,3 do
  1126. wait()
  1127. end end)()
  1128. wait(1.65)
  1129. _DEBOUNCE = true
  1130. wait()
  1131. Portal:Destroy()
  1132. coroutine.wrap(function()
  1133. local Pos = char.Torso.Position
  1134. local BOOSH = Instance.new("Sound",Workspace)
  1135. BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159"
  1136. BOOSH.Volume = 1
  1137. BOOSH.Pitch = 0.675
  1138. local Fuse = Instance.new("Sound",Workspace)
  1139. Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908"
  1140. Fuse.Volume = 1
  1141. Fuse.Pitch = 0.25
  1142. local BOOSH2 = Instance.new("Sound",Workspace)
  1143. BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793"
  1144. BOOSH2.Volume = 1
  1145. BOOSH2.Pitch = 0.25
  1146. local dsound = true
  1147. local PewPew = Instance.new("Sound",Workspace)
  1148. PewPew.Name = "PewPew"
  1149. PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534"
  1150. PewPew.Volume = 1
  1151. PewPew.Pitch = 0.32
  1152. local function GetHumanoids()
  1153. local Characters = {}
  1154. for i,v in pairs(Workspace:GetChildren())do
  1155. if v:IsA("Model")then
  1156. local Hu = v:findFirstChild("Humanoid")
  1157. local Torso = v:findFirstChild("Torso")
  1158. if Hu and Torso and v.Name ~= p.Name then
  1159. table.insert(Characters,Torso)
  1160. end end end
  1161. return Characters
  1162. end
  1163. local function Boom()
  1164. for i = 1,25 do
  1165. for _,v in pairs(GetHumanoids())do
  1166. if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then
  1167. local h = v.Parent:findFirstChild("Humanoid")
  1168. if h then
  1169. local Moar =(Pos - v.Position).unit
  1170.  
  1171.  
  1172. end end end
  1173. local p = Instance.new("Part",char)
  1174. p.Name = "BlastRing"
  1175. p.TopSurface = 0
  1176. p.BottomSurface = 0
  1177. p.CanCollide = false
  1178. p.Anchored = true
  1179. p.BrickColor = BrickColor.new("Really red")
  1180. p.Size = Vector3.new(1,1,1)
  1181. 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)
  1182. local rm = Instance.new("SpecialMesh",p)
  1183. rm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1184. rm.Name = "BlastMesh"
  1185. rm.Scale = Vector3.new(1,1,1)
  1186. coroutine.wrap(function()
  1187. for n = 1,15 do
  1188. rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2
  1189. if 2 +i/5 == 1.2 then
  1190. rm.Scale = rm.Scale + Vector3.new(0,0.9,0)
  1191. end
  1192. p.Transparency = n/15
  1193. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0)
  1194. wait()
  1195. end
  1196. p:Destroy()
  1197. end)()
  1198. local p = Instance.new("Part",char)
  1199. p.TopSurface = 0
  1200. p.BottomSurface = 0
  1201. p.formFactor = "Symmetric"
  1202. p.Size = Vector3.new(1,1,1)
  1203. p.Anchored = true
  1204. p.CanCollide = false
  1205. p.BrickColor = BrickColor.new("Really red")
  1206. p.CFrame = CFrame.new(Pos)
  1207. local m = Instance.new("BlockMesh",p)
  1208. coroutine.wrap(function()
  1209. for x = 1,48 do
  1210. 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
  1211. p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50)
  1212. p.Transparency = x/48
  1213. Wait()
  1214. end
  1215. p:Destroy()
  1216. end)()
  1217. Game:GetService("Debris"):AddItem(p,5)
  1218. local p = Instance.new("Part",char)
  1219. p.Name = "BlastRing"
  1220. p.TopSurface = 0
  1221. p.BottomSurface = 0
  1222. p.CanCollide = false
  1223. p.Anchored = true
  1224. p.BrickColor = BrickColor.new("Really black")
  1225. p.Size = Vector3.new(1,1,1)
  1226. p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
  1227. local m = Instance.new("SpecialMesh",p)
  1228. m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1229. m.Scale = Vector3.new(1,0.25,1)
  1230. coroutine.wrap(function()
  1231. for n = 1,13 do
  1232. m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
  1233. if 1 +i/5 == 1.2 then
  1234. m.Scale = m.Scale + Vector3.new(0,0.9,0)
  1235. end
  1236. p.Transparency = n/13
  1237. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
  1238. Wait()
  1239. end
  1240. p:Destroy()
  1241. end)()
  1242. Wait(0.1)
  1243. end for i = 10,19 do
  1244. local p = Instance.new("Part",char)
  1245. p.Name = "BlastRing"
  1246. p.TopSurface = 0
  1247. p.BottomSurface = 0
  1248. p.CanCollide = false
  1249. p.Anchored = true
  1250. p.BrickColor = BrickColor.new("Really red")
  1251. p.Size = Vector3.new(1,1,1)
  1252. p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
  1253. local m = Instance.new("SpecialMesh",p)
  1254. m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1255. m.Scale = Vector3.new(1,0.25,1)
  1256. coroutine.wrap(function()
  1257. for n = 1,13 do
  1258. m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
  1259. if 1 +i/5 == 1.2 then
  1260. m.Scale = m.Scale + Vector3.new(0,0.9,0)
  1261. end
  1262. p.Transparency = n/13
  1263. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
  1264. Wait()
  1265. end
  1266. p:Destroy()
  1267. end)()
  1268. local p = Instance.new("Part",char)
  1269. p.Name = "BlastRing"
  1270. p.TopSurface = 0
  1271. p.BottomSurface = 0
  1272. p.CanCollide = false
  1273. p.Anchored = true
  1274. p.BrickColor = BrickColor.new("Really black")
  1275. p.Size = Vector3.new(1,1,1)
  1276. 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)
  1277. p.Parent = workspace
  1278. local m = Instance.new("SpecialMesh",p)
  1279. m.Name = "BlastMesh"
  1280. m.Scale = Vector3.new(0.1,0.1,0.1)
  1281. m.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1282. coroutine.wrap(function()
  1283. for n = 1,15 do
  1284. m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2
  1285. if 3+i/5 == 1.2 then
  1286. m.Scale = m.Scale + Vector3.new(0,0.9,0)
  1287. end
  1288. p.Transparency = n/15
  1289. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0)
  1290. Wait()
  1291. end
  1292. p:Destroy()
  1293. end)()
  1294. for _,v in pairs(GetHumanoids())do
  1295. if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then
  1296. local h = v.Parent:findFirstChild("Humanoid")
  1297. if h then
  1298. local Moar =(Pos - v.Position).unit
  1299.  
  1300.  
  1301. end end end
  1302. Wait(0.1)
  1303. end for i = 30,37 do
  1304. for _,v in pairs(GetHumanoids())do
  1305. if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then
  1306. local h = v.Parent:findFirstChild("Humanoid")
  1307. if h then
  1308. local Moar =(Pos - v.Position).unit
  1309.  
  1310.  
  1311. end end end end
  1312. dsound = false
  1313. wait(6.5)
  1314. for i = 1,30 do
  1315. BOOSH.Volume = BOOSH.Volume -0.033
  1316. BOOSH2.Volume = BOOSH.Volume
  1317. Fuse.Volume = BOOSH.Volume
  1318. Wait()
  1319. end
  1320. BOOSH:Stop()
  1321. BOOSH2:Stop()
  1322. Fuse:Stop()
  1323. end
  1324. BOOSH2:Play()
  1325. Fuse:Play()
  1326. BOOSH:Play()
  1327. Boom()
  1328. end)()
  1329. hum.WalkSpeed = 5
  1330. end]]
  1331.  
  1332.  
  1333. GroundWave = function()
  1334. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1335. local Colors = {"Really blue", "Really blue"}
  1336. local wave = Instance.new("Part", torso)
  1337. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1338. wave.Anchored = true
  1339. wave.CanCollide = false
  1340. wave.Locked = true
  1341. wave.Size = Vector3.new(1, 1, 1)
  1342. wave.TopSurface = "Smooth"
  1343. wave.BottomSurface = "Smooth"
  1344. wave.Transparency = 0.35
  1345. wave.CFrame = HandCF
  1346. wm = Instance.new("SpecialMesh", wave)
  1347. wm.MeshId = "rbxassetid://3270017"
  1348. coroutine.wrap(function()
  1349. for i = 1, 14, 1 do
  1350. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  1351. wave.Size = wm.Scale
  1352. wave.CFrame = HandCF
  1353. wave.Transparency = i/14
  1354. wait()
  1355. end
  1356. wait()
  1357. wave:Destroy()
  1358. end)()
  1359. end
  1360.  
  1361.  
  1362.  
  1363. function BurningEff(part)
  1364. local eff1 = Instance.new("ParticleEmitter",part)
  1365. eff1.Size = NumberSequence.new(.1)
  1366. eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  1367. eff1.LightEmission = 1
  1368. eff1.Lifetime = NumberRange.new(1)
  1369. eff1.Speed = NumberRange.new(0)
  1370. eff1.Rate = 100
  1371. eff1.Texture = "rbxassetid://284205403"
  1372. eff1.Acceleration = Vector3.new(0,10,0)
  1373. eff1.Color = ColorSequence.new(Color3.new(0,0,255))
  1374. local eff2 = Instance.new("ParticleEmitter",part)
  1375. eff2.Size = NumberSequence.new(.1)
  1376. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  1377. eff2.LightEmission = 1
  1378. eff2.Lifetime = NumberRange.new(0.2)
  1379. eff2.Speed = NumberRange.new(0)
  1380. eff2.Rate = 100
  1381. eff2.Texture = "rbxassetid://347504259"
  1382. eff2.Acceleration = Vector3.new(0,10,0)
  1383. eff2.Color = ColorSequence.new(Color3.new(0,0,255))
  1384. local eff3 = Instance.new("ParticleEmitter",part)
  1385. eff3.Size = NumberSequence.new(0.2)
  1386. eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  1387. eff3.LightEmission = 1
  1388. eff3.Lifetime = NumberRange.new(1)
  1389. eff3.Speed = NumberRange.new(0)
  1390. eff3.Rate = 100
  1391. eff3.Texture = "rbxassetid://284205403"
  1392. eff3.Acceleration = Vector3.new(0,10,0)
  1393. eff3.Color = ColorSequence.new(Color3.new(0,0,255))
  1394. end
  1395.  
  1396.  
  1397. function FullPower()
  1398. NoAnims = true
  1399. attack = true
  1400.  
  1401.  
  1402.  
  1403. Full = true
  1404.  
  1405.  
  1406. for i = 1, 40 do
  1407. wait()
  1408. 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
  1409. 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
  1410. 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
  1411. 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
  1412. 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
  1413. 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
  1414. end
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424. for i = 1, 20 do
  1425. wait()
  1426. 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
  1427. 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
  1428. 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
  1429. 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
  1430. 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
  1431. 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
  1432. end
  1433.  
  1434. s0:Destroy()
  1435. ragesong = "397952612"
  1436. wait(0.001)
  1437. s02 = Instance.new("Sound",char)
  1438. s02.Volume = 90
  1439. s02.SoundId = "rbxassetid://"..ragesong
  1440. s02.Looped = true
  1441. s02.Pitch = 1
  1442. wait(0.001)
  1443. s02:Play()
  1444.  
  1445.  
  1446. local selectionBoxOfTorso = Instance.new("SelectionBox",torso)
  1447. selectionBoxOfTorso.Adornee = torso
  1448. selectionBoxOfTorso.Color = BrickColor.new("Really blue")
  1449. selectionBoxOfTorso.LineThickness = 0.01
  1450. selectionBoxOfTorso.Transparency = 0
  1451.  
  1452. local selectionBoxOfRightArm = Instance.new("SelectionBox",char["Right Arm"])
  1453. selectionBoxOfRightArm.Adornee = char["Right Arm"]
  1454. selectionBoxOfRightArm.Color = BrickColor.new("Really blue")
  1455. selectionBoxOfRightArm.LineThickness = 0.01
  1456. selectionBoxOfRightArm.Transparency = 0
  1457.  
  1458. local selectionBoxOfRightLeg = Instance.new("SelectionBox",char["Right Leg"])
  1459. selectionBoxOfRightLeg.Adornee = char["Right Leg"]
  1460. selectionBoxOfRightLeg.Color = BrickColor.new("Really blue")
  1461. selectionBoxOfRightLeg.LineThickness = 0.01
  1462. selectionBoxOfRightLeg.Transparency = 0
  1463.  
  1464. local selectionBoxOfLeftArm = Instance.new("SelectionBox",char["Left Arm"])
  1465. selectionBoxOfLeftArm.Adornee = char["Left Arm"]
  1466. selectionBoxOfLeftArm.Color = BrickColor.new("Really blue")
  1467. selectionBoxOfLeftArm.LineThickness = 0.01
  1468. selectionBoxOfLeftArm.Transparency = 0
  1469.  
  1470. local selectionBoxOfLeftLeg = Instance.new("SelectionBox",char["Left Leg"])
  1471. selectionBoxOfLeftLeg.Adornee = char["Left Leg"]
  1472. selectionBoxOfLeftLeg.Color = BrickColor.new("Really blue")
  1473. selectionBoxOfLeftLeg.LineThickness = 0.01
  1474. selectionBoxOfLeftLeg.Transparency = 0
  1475.  
  1476. BurningEff(reye)
  1477.  
  1478. LightOnBody = Instance.new("PointLight", hed)
  1479. LightOnBody.Brightness = 3000
  1480. LightOnBody.Range = 20
  1481. LightOnBody.Color = Color3.new(0, 0, 255)
  1482.  
  1483. r = game:GetService("RunService").RenderStepped
  1484. Activated = true
  1485. 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}
  1486. Debri = coroutine.wrap(function()
  1487. repeat
  1488. local p = Instance.new('Part',torso)
  1489. p.formFactor = 'Custom'
  1490. p.Size = Vector3.new(1,1,1)
  1491. p.BrickColor = workspace.Base.BrickColor
  1492. p.CanCollide = false
  1493. p.Transparency = 0
  1494. p.Anchored = true
  1495. p.Locked=true
  1496. p.Material = workspace.Base.Material
  1497. s = math.random(1,40)/10
  1498. local m = Instance.new("BlockMesh",p)
  1499. m.Scale = Vector3.new(s,s,s)
  1500. 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())
  1501. --[[coroutine.wrap(function()
  1502. wait(2)
  1503. while Charging == true do
  1504. wait(2)
  1505. GroundWave1()
  1506. wait(2)
  1507. end
  1508. end)()]]--
  1509.  
  1510. spawn(function()
  1511. while r:wait() do
  1512. if p.Transparency >= 1 then p:Destroy() break end
  1513. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  1514. p.Transparency = p.Transparency+0.01
  1515. end
  1516. end)
  1517. wait(.3)
  1518. until Activated == false
  1519. end)
  1520. Debri()
  1521.  
  1522. l = game.Lighting
  1523. l.TimeOfDay = 1
  1524. game.Lighting.Ambient = Color3.new(0,0,0)
  1525. l.Brightness = 0.1
  1526.  
  1527.  
  1528. spawn(function()
  1529. while wait(2)
  1530. do
  1531. GroundWave()
  1532. end
  1533. end)
  1534.  
  1535.  
  1536. local eColors = {"Really blue", "Really blue"}
  1537. coroutine.resume(coroutine.create(function()
  1538. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  1539. local magz = (Part0 - Part1).magnitude
  1540. local curpos = Part0
  1541. local trz = {-Offset,Offset}
  1542. for i=1,Times do
  1543. local li = Instance.new("Part", torso)
  1544. li.Name = "Lightning"
  1545. li.TopSurface =0
  1546. li.Material = "Neon"
  1547. li.BottomSurface = 0
  1548. li.Anchored = true
  1549. li.Locked = true
  1550. li.Transparency = Trans or 0.4
  1551. li.BrickColor = BrickColor.new(Color)
  1552. li.formFactor = "Custom"
  1553. li.CanCollide = false
  1554. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  1555. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1556. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1557. if Times == i then
  1558. local magz2 = (curpos - Part1).magnitude
  1559. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1560. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1561. else
  1562. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1563. end
  1564. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1565. game.Debris:AddItem(li,.1)
  1566. end
  1567. end
  1568.  
  1569. BodyParts = {}
  1570. for _, v in pairs(char:GetChildren()) do
  1571. if v:IsA("Part") then
  1572. table.insert(BodyParts, v)
  1573. end
  1574. end
  1575.  
  1576. Bounding = {} -- Calculate the bounding boxes
  1577. for _, v in pairs(BodyParts) do
  1578. local temp = {X=nil, Y=nil, Z=nil}
  1579. temp.X = v.Size.X/2 * 10
  1580. temp.Y = v.Size.Y/2 * 10
  1581. temp.Z = v.Size.Z/2 * 10
  1582. Bounding[v.Name] = temp
  1583. end
  1584.  
  1585. while wait(lightspeed) do
  1586. lightspeed = math.random(0.1,0.2)
  1587. local Body1 = BodyParts[math.random(#BodyParts)]
  1588. local Body2 = BodyParts[math.random(#BodyParts)]
  1589. local Pos1 = Vector3.new(
  1590. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  1591. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  1592. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  1593. )
  1594. local Pos2 = Vector3.new(
  1595. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  1596. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  1597. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  1598. )
  1599. local SPos1 = Body1.Position + Pos1
  1600. local SPos2 = Body2.Position + Pos2
  1601. Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56)
  1602. end
  1603. end))
  1604. for i = 1, 20 do
  1605. wait()
  1606. 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
  1607. 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
  1608. 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
  1609. 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
  1610. 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
  1611. 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
  1612. end
  1613.  
  1614.  
  1615. attack = false
  1616. NoAnims = false
  1617. end
  1618.  
  1619. function weld5(part0, part1, c0, c1)
  1620. weeld=Instance.new("Weld", part0)
  1621. weeld.Part0=part0
  1622. weeld.Part1=part1
  1623. weeld.C0=c0
  1624. weeld.C1=c1
  1625. return weeld
  1626. end
  1627.  
  1628.  
  1629.  
  1630. Grab = false
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636. fat = Instance.new("BindableEvent",script)
  1637. fat.Name = "Heartbeat"
  1638.  
  1639. script:WaitForChild("Heartbeat")
  1640.  
  1641. frame = 1/30
  1642. tf = 0
  1643. 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.
  1644. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  1645. lastframe = tick()
  1646. script.Heartbeat:Fire() --ayy lmao
  1647.  
  1648. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  1649. tf = tf + s
  1650. if tf >= frame then
  1651. if allowframeloss then
  1652. script.Heartbeat:Fire()
  1653. lastframe=tick()
  1654. else
  1655. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  1656. for i=1, math.floor(tf/frame) do
  1657. script.Heartbeat:Fire()
  1658. end
  1659. lastframe=tick()
  1660. end
  1661. if tossremainder then
  1662. tf = 0
  1663. else
  1664. tf = tf - frame * math.floor(tf/frame)
  1665. end
  1666. end
  1667. end)
  1668.  
  1669. function Swait(NUMBER)
  1670. if NUMBER == 0 or NUMBER == nil then
  1671. fat.Event:wait()
  1672. else
  1673. for i = 1, NUMBER do
  1674. fat.Event:wait()
  1675. end
  1676. end
  1677. end
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683. function GrabAndDrag()
  1684. NoAnims = true
  1685. attack = true
  1686.  
  1687. if Grab == false then
  1688.  
  1689. for i = 1, 20 do
  1690. 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)
  1691. 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)
  1692. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1693. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1694. 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)
  1695. 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)
  1696. if Debounces.on == false then break end
  1697. rs:wait(2)
  1698. end
  1699. con1=larm.Touched:connect(function(hit) -- this is grab
  1700. ht = hit.Parent
  1701. hum1=ht:FindFirstChild('Humanoid')
  1702. if hum1 ~= nil then
  1703.  
  1704.  
  1705.  
  1706.  
  1707. z = Instance.new("Sound",char)
  1708. z.SoundId = "rbxassetid://227194112"
  1709. z.Volume = 90
  1710. wait(.1)
  1711. z:Play()
  1712. hum1.PlatformStand=true
  1713. gp = ht
  1714. Grab = true
  1715. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  1716. asd.Parent = larm
  1717. asd.Name = "asd"
  1718. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1719.  
  1720.  
  1721. --[[ elseif hum1 == nil then
  1722. con1:disconnect()
  1723. wait() return]]
  1724. end
  1725. end)
  1726.  
  1727.  
  1728. for i = 1, 20 do
  1729. 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)
  1730. 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)
  1731. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  1732. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  1733. 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)
  1734. 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)
  1735. if Debounces.on == false then break end
  1736. rs:wait(2)
  1737. end
  1738. con1:disconnect()
  1739.  
  1740. if gp == nil then
  1741. attack = false
  1742. NoAnims = false
  1743. return end
  1744.  
  1745.  
  1746.  
  1747. --[[for i = 1, 16 do
  1748. 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)
  1749. 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)
  1750. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  1751. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1752. 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)
  1753. 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)
  1754. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  1755. if Debounces.on == false then end
  1756. rs:wait()
  1757. end]]--
  1758. for i = 1, 16 do
  1759. 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)
  1760. 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)
  1761. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1762. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  1763. 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)
  1764. 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)
  1765. if Debounces.on == false then end
  1766. rs:wait()
  1767. end
  1768.  
  1769.  
  1770. coroutine.resume(coroutine.create(function()
  1771. local BF = Instance.new("BodyVelocity",hed)
  1772. BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1773. BF.velocity = root.CFrame.lookVector*120
  1774. wait(2.5)
  1775. BF:remove()
  1776. end))
  1777.  
  1778.  
  1779.  
  1780. z = Instance.new("Sound",char)
  1781. z.SoundId = "rbxassetid://138223085"
  1782. z.Volume = 90
  1783. wait(.1)
  1784. z:Play()
  1785.  
  1786. coroutine.resume(coroutine.create(function()
  1787. for i=1,78 do
  1788. wait()
  1789. MagicBlock(BrickColor.new("Really blue"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
  1790. wait(0.01)
  1791. MagicBlock(BrickColor.new("Really black"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
  1792. end
  1793. end))
  1794.  
  1795. coroutine.resume(coroutine.create(function()
  1796. Grabee = gp:FindFirstChild("Torso")
  1797. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  1798. wait(0.01)
  1799. for i = 1,78 do
  1800. wait(0.01)
  1801. for i=1, 5 do
  1802. p=Instance.new("Part")
  1803. p.FrontSurface=par.TopSurface
  1804. p.Material=par.Material
  1805. p.BottomSurface=0
  1806. p.Anchored=true p.CanCollide=false
  1807. p.BrickColor=par.BrickColor
  1808. p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5))
  1809. 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)
  1810. p.Parent=char
  1811. game:GetService("Debris"):AddItem(p,2+i*.1)
  1812. if math.random(1,5)==5 then
  1813. 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)
  1814. end
  1815. end
  1816. end
  1817.  
  1818. end))
  1819.  
  1820. coroutine.resume(coroutine.create(function()
  1821. Grabee = gp:FindFirstChild("Torso")
  1822. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  1823. wait(0.01)
  1824.  
  1825. for i=1, 78 do
  1826. wait(0.01)
  1827. for i=1, 1 do
  1828. p=Instance.new("Part")
  1829. p.TopSurface=par.TopSurface
  1830. p.BottomSurface=par.BottomSurface
  1831. p.Material=par.Material
  1832. p.BottomSurface=0
  1833. p.Anchored=false p.CanCollide=false
  1834. p.BrickColor=par.BrickColor
  1835. p.formFactor="Custom"
  1836. p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12)
  1837. 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)
  1838. p.Parent=char
  1839. game:GetService("Debris"):AddItem(p,3+i*.1)
  1840. p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4)
  1841. p.RotVelocity=p.Velocity
  1842. if math.random(1,5)==5 then
  1843. 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)
  1844. end
  1845. end
  1846. Swait(.025)
  1847. end
  1848.  
  1849. end))
  1850. for i = 1, 100 do
  1851. 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)
  1852. 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)
  1853. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  1854. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  1855. 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)
  1856. 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)
  1857. if Debounces.on == false then end
  1858. rs:wait()
  1859. end
  1860. asd:Destroy()
  1861. gp = nil
  1862. hum1.Health = 0
  1863. attack = false
  1864. ht = nil
  1865. NoAnims = false
  1866. Grab = false
  1867. end
  1868. end
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880. function FindNearestTorso(Position,Distance,SinglePlayer)
  1881. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1882. local List = {}
  1883. for i,v in pairs(workspace:GetChildren())do
  1884. if v:IsA("Model")then
  1885. if v:findFirstChild("Torso")then
  1886. if v ~= char then
  1887. if(v.Torso.Position -Position).magnitude <= Distance then
  1888. table.insert(List,v)
  1889. end
  1890. end
  1891. end
  1892. end
  1893. end
  1894. return List
  1895. end
  1896.  
  1897.  
  1898.  
  1899. function Ring()
  1900.  
  1901.  
  1902. local effspwn = Instance.new("Part")
  1903. local model = Instance.new("Model")
  1904. game.Debris:AddItem(model, 20)
  1905. model.Name = "smasheffects"
  1906. model.Parent = workspace
  1907. effspwn.Name = "spwnr"
  1908. effspwn.Size = Vector3.new(1, 1, 1)
  1909. effspwn.Anchored = true
  1910. effspwn.CanCollide = false
  1911. effspwn.Transparency = 1
  1912. effspwn.CFrame = root.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  1913. effspwn.Parent = model
  1914.  
  1915. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  1916. if v:FindFirstChild('Humanoid') then
  1917. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1918. v.Humanoid.PlatformStand = true
  1919. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200
  1920. end
  1921. end
  1922. coroutine.resume(coroutine.create(function()
  1923. local shok = Instance.new("Part")
  1924. shok.Name = "wring1"
  1925. shok.BrickColor = BrickColor.new("Really blue")
  1926. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1927. shok.Size = Vector3.new(1, 1, 1)
  1928. shok.Anchored = true
  1929. shok.Material = "Neon"
  1930. shok.Transparency = 0.25
  1931. shok.CanCollide = false
  1932. shok.Parent = model
  1933. game.Debris:AddItem(shok, 12)
  1934. local mesh = Instance.new("SpecialMesh")
  1935. mesh.MeshType = "FileMesh"
  1936. mesh.MeshId = "rbxassetid://3270017"
  1937. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  1938. mesh.Parent = shok
  1939. for e = 1, 30 do
  1940. wait()
  1941. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  1942. shok.Transparency = shok.Transparency + 0.002
  1943. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1944. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1945. end
  1946. for e = 1, 38 do
  1947. wait()
  1948. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1949. shok.Transparency = shok.Transparency + 0.002
  1950. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1951. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1952. end
  1953. for e = 1, 24 do
  1954. wait()
  1955. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1956. shok.Transparency = shok.Transparency + 0.03
  1957. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1958. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1959. end
  1960. end))
  1961. coroutine.resume(coroutine.create(function()
  1962. local shok = Instance.new("Part")
  1963. shok.Name = "wring2"
  1964. shok.BrickColor = BrickColor.new("Really blue")
  1965. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1966. shok.Size = Vector3.new(1, 1, 1)
  1967. shok.Anchored = true
  1968. shok.Material = "Neon"
  1969. shok.Transparency = 0.25
  1970. shok.CanCollide = false
  1971. shok.Parent = model
  1972. game.Debris:AddItem(shok, 12)
  1973. local mesh = Instance.new("SpecialMesh")
  1974. mesh.MeshType = "FileMesh"
  1975. mesh.MeshId = "rbxassetid://3270017"
  1976. mesh.Scale = Vector3.new(12, 12, 0.05)
  1977. mesh.Parent = shok
  1978. for e = 1, 30 do
  1979. wait()
  1980. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  1981. shok.Transparency = shok.Transparency + 0.002
  1982. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1983. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1984. end
  1985. for e = 1, 38 do
  1986. wait()
  1987. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1988. shok.Transparency = shok.Transparency + 0.002
  1989. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1990. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1991. end
  1992. for e = 1, 24 do
  1993. wait()
  1994. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1995. shok.Transparency = shok.Transparency + 0.03
  1996. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1997. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1998. end
  1999. end))
  2000.  
  2001. coroutine.resume(coroutine.create(function()
  2002. local shok = Instance.new("Part")
  2003. shok.Name = "shokwve"
  2004. shok.BrickColor = BrickColor.new("Really black")
  2005. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  2006. shok.Size = Vector3.new(1, 1, 1)
  2007. shok.Anchored = true
  2008. shok.Material = "Neon"
  2009. shok.Transparency = 0.6
  2010. shok.CanCollide = false
  2011. shok.Parent = model
  2012. game.Debris:AddItem(shok, 12)
  2013. local mesh = Instance.new("SpecialMesh")
  2014. mesh.MeshType = "FileMesh"
  2015. mesh.MeshId = "rbxassetid://489415447"
  2016. mesh.Scale = Vector3.new(1, 1, 1)
  2017. mesh.Parent = shok
  2018. for e = 1, 12 do
  2019. wait()
  2020. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  2021. shok.Transparency = shok.Transparency + 0.002
  2022. end
  2023. for e = 1, 32 do
  2024. wait()
  2025. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  2026. shok.Transparency = shok.Transparency + 0.002
  2027. end
  2028. for e = 1, 24 do
  2029. wait()
  2030. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  2031. shok.Transparency = shok.Transparency + 0.03
  2032. end
  2033. end))
  2034. coroutine.resume(coroutine.create(function()
  2035. local shok = Instance.new("Part")
  2036. shok.Name = "shock2"
  2037. shok.BrickColor = BrickColor.new("Really black")
  2038. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2039. shok.Size = Vector3.new(1, 1, 1)
  2040. shok.Anchored = true
  2041. shok.Material = "Neon"
  2042. shok.Transparency = 0.35
  2043. shok.CanCollide = false
  2044. shok.Parent = model
  2045. game.Debris:AddItem(shok, 12)
  2046. local mesh = Instance.new("SpecialMesh")
  2047. mesh.MeshType = "FileMesh"
  2048. mesh.MeshId = "rbxassetid://489415447"
  2049. mesh.Scale = Vector3.new(12, 12, 12)
  2050. mesh.Parent = shok
  2051. for e = 1, 15 do
  2052. wait()
  2053. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2054. shok.Transparency = shok.Transparency + 0.004
  2055. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2056. end
  2057. for e = 1, 16 do
  2058. wait()
  2059. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2060. shok.Transparency = shok.Transparency + 0.004
  2061. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2062. end
  2063. for e = 1, 12 do
  2064. wait()
  2065. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2066. shok.Transparency = shok.Transparency + 0.06
  2067. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2068. end
  2069. end))
  2070. coroutine.resume(coroutine.create(function()
  2071. local shok = Instance.new("Part")
  2072. shok.Name = "shock3"
  2073. shok.BrickColor = BrickColor.new("Really blue")
  2074. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2075. shok.Size = Vector3.new(1, 1, 1)
  2076. shok.Anchored = true
  2077. shok.Material = "Neon"
  2078. shok.Transparency = 0.35
  2079. shok.CanCollide = false
  2080. shok.Parent = model
  2081. game.Debris:AddItem(shok, 12)
  2082. local mesh = Instance.new("SpecialMesh")
  2083. mesh.MeshType = "FileMesh"
  2084. mesh.MeshId = "rbxassetid://489415447"
  2085. mesh.Scale = Vector3.new(12, 12, 12)
  2086. mesh.Parent = shok
  2087. for e = 1, 15 do
  2088. wait()
  2089. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2090. shok.Transparency = shok.Transparency + 0.004
  2091. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2092. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2093. end
  2094. for e = 1, 16 do
  2095. wait()
  2096. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2097. shok.Transparency = shok.Transparency + 0.004
  2098. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2099. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2100. end
  2101. for e = 1, 12 do
  2102. wait()
  2103. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2104. shok.Transparency = shok.Transparency + 0.06
  2105. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2106. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2107. end
  2108. end))
  2109.  
  2110. end
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118. it=Instance.new
  2119. vt=Vector3.new
  2120. cf=CFrame.new
  2121.  
  2122. function NoOutline(Part)
  2123. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2124. end
  2125.  
  2126.  
  2127. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2128. local fp=it("Part")
  2129. fp.formFactor=formfactor
  2130. fp.Parent=parent
  2131. fp.Reflectance=reflectance
  2132. fp.Transparency=transparency
  2133. fp.CanCollide=false
  2134. fp.Locked=true
  2135. fp.BrickColor=brickcolor
  2136. fp.Name=name
  2137. fp.Size=size
  2138. fp.Position=torso.Position
  2139. NoOutline(fp)
  2140. fp.Material="SmoothPlastic"
  2141. fp:BreakJoints()
  2142. return fp
  2143. end
  2144.  
  2145.  
  2146.  
  2147. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2148. local mesh=it(Mesh)
  2149. mesh.Parent=part
  2150. if Mesh=="SpecialMesh" then
  2151. mesh.MeshType=meshtype
  2152. if meshid~="nil" then
  2153. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2154. end
  2155. end
  2156. mesh.Offset=offset
  2157. mesh.Scale=scale
  2158. return mesh
  2159. end
  2160.  
  2161. function weld(parent,part0,part1,c0)
  2162. local weld=it("Weld")
  2163. weld.Parent=parent
  2164. weld.Part0=part0
  2165. weld.Part1=part1
  2166. weld.C0=c0
  2167. return weld
  2168. end
  2169.  
  2170.  
  2171. function swait(num)
  2172. if num==0 or num==nil then
  2173. game:service'RunService'.Stepped:wait(0)
  2174. else
  2175. for i=0,num do
  2176. game:service'RunService'.Stepped:wait(0)
  2177. end
  2178. end
  2179. end
  2180.  
  2181.  
  2182.  
  2183.  
  2184. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2185. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2186. end
  2187.  
  2188. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2189. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2190. prt.Anchored=true
  2191. prt.CFrame=cframe
  2192. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2193. --http://www.roblox.com/asset/?id=4770560
  2194. game:GetService("Debris"):AddItem(prt,2)
  2195. CF=prt.CFrame
  2196. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2197. for i=0,1,0.2 do
  2198. wait()
  2199. Part.CFrame=CF*cf(0,0,-0.4)
  2200. end
  2201. for i=0,1,delay do
  2202. wait()
  2203. --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)
  2204. Mesh.Scale=Mesh.Scale
  2205. end
  2206. for i=0,1,0.1 do
  2207. wait()
  2208. Part.Transparency=i
  2209. end
  2210. Part.Parent=nil
  2211. end),prt,msh,CF)
  2212. end
  2213.  
  2214. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2215. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2216. prt.Anchored=true
  2217. prt.Material = "SmoothPlastic"
  2218. prt.CFrame=cframe
  2219. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2220. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2221. game:GetService("Debris"):AddItem(prt,5)
  2222. coroutine.resume(coroutine.create(function(Part,Mesh)
  2223. for i=0,1,delay do
  2224. swait()
  2225. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2226. Part.Transparency=i
  2227. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2228. end
  2229. Part.Parent=nil
  2230. end),prt,msh)
  2231. end
  2232.  
  2233. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2234. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2235. prt.Anchored=true
  2236. prt.Material = "Neon"
  2237. prt.CFrame=cframe
  2238. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2239. game:GetService("Debris"):AddItem(prt,5)
  2240. coroutine.resume(coroutine.create(function(Part,Mesh)
  2241. local rtype = rottype
  2242. for i=0,1,delay do
  2243. swait()
  2244. if rtype == 1 then
  2245. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2246. elseif rtype == 2 then
  2247. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2248. end
  2249. Part.Transparency=i
  2250. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2251. end
  2252. Part.Parent=nil
  2253. end),prt,msh)
  2254. end
  2255.  
  2256. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2257. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2258. prt.Anchored=true
  2259. prt.CFrame=cframe
  2260. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2261. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2262. game:GetService("Debris"):AddItem(prt,5)
  2263. coroutine.resume(coroutine.create(function(Part,Mesh)
  2264. for i=0,1,delay do
  2265. wait()
  2266. Part.Transparency=i
  2267. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2268. end
  2269. Part.Parent=nil
  2270. end),prt,msh)
  2271. end
  2272.  
  2273. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2274. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2275. prt.Anchored=false
  2276. prt.CFrame=cframe
  2277. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2278. local wld=weld(prt,prt,Parent,cframe)
  2279. game:GetService("Debris"):AddItem(prt,5)
  2280. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2281. for i=0,1,delay do
  2282. wait()
  2283. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2284. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2285. Part.Transparency=i
  2286. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2287. end
  2288. Part.Parent=nil
  2289. end),prt,msh,wld)
  2290. end
  2291.  
  2292. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2293. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2294. prt.Anchored=false
  2295. prt.CFrame=cframe
  2296. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2297. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2298. game:GetService("Debris"):AddItem(prt,5)
  2299. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2300. for i=0,1,delay do
  2301. wait()
  2302. Weld.C0=euler(i*20,0,0)
  2303. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2304. Part.Transparency=i
  2305. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2306. end
  2307. Part.Parent=nil
  2308. end),prt,msh,wld)
  2309. end
  2310.  
  2311. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2312. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2313. prt.Anchored=true
  2314. prt.CFrame=cframe
  2315. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2316. game:GetService("Debris"):AddItem(prt,2)
  2317. coroutine.resume(coroutine.create(function(Part,Mesh)
  2318. for i=0,1,delay do
  2319. wait()
  2320. Part.CFrame=Part.CFrame
  2321. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2322. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2323. prt2.Anchored=true
  2324. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2325. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2326. game:GetService("Debris"):AddItem(prt2,2)
  2327. coroutine.resume(coroutine.create(function(Part,Mesh)
  2328. for i=0,1,0.1 do
  2329. wait()
  2330. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2331. end
  2332. Part.Parent=nil
  2333. end),prt2,msh2)
  2334. end
  2335. for i=0,1,delay*2 do
  2336. wait()
  2337. Part.CFrame=Part.CFrame
  2338. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2339. end
  2340. Part.Parent=nil
  2341. end),prt,msh)
  2342. end
  2343.  
  2344. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2345. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2346. prt.Anchored=true
  2347. prt.CFrame=cframe
  2348. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2349. game:GetService("Debris"):AddItem(prt,2)
  2350. coroutine.resume(coroutine.create(function(Part,Mesh)
  2351. for i=0,1,delay do
  2352. wait()
  2353. Part.CFrame=Part.CFrame
  2354. Part.Transparency=i
  2355. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2356. end
  2357. Part.Parent=nil
  2358. end),prt,msh)
  2359. end
  2360.  
  2361. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2362. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2363. prt.Anchored=true
  2364. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2365. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2366. game:GetService("Debris"):AddItem(prt,2)
  2367. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2368. CF=Part.CFrame
  2369. Numbb=0
  2370. randnumb=math.random()/10
  2371. rand1=math.random()/10
  2372. for i=0,1,rand1 do
  2373. wait()
  2374. CF=CF*cf(0,math.random()/2,0)
  2375. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2376. Part.CFrame=CF*euler(Numbb,0,0)
  2377. Part.Transparency=i
  2378. Numbb=Numbb+randnumb
  2379. end
  2380. Part.Parent=nil
  2381. end),prt,CF,Numbb,randnumb)
  2382. end
  2383.  
  2384. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2385. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2386. prt.Anchored=true
  2387. prt.CFrame=cframe
  2388. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2389. game:GetService("Debris"):AddItem(prt,5)
  2390. coroutine.resume(coroutine.create(function(Part,Mesh)
  2391. for i=0,1,delay do
  2392. wait()
  2393. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2394. Part.Transparency=i
  2395. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2396. end
  2397. Part.Parent=nil
  2398. end),prt,msh)
  2399. end
  2400.  
  2401. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2402. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2403. prt.Anchored=true
  2404. prt.CFrame=cframe
  2405. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2406. game:GetService("Debris"):AddItem(prt,2)
  2407. coroutine.resume(coroutine.create(function(Part,Mesh)
  2408. for i=0,1,delay do
  2409. wait()
  2410. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2411. Part.Transparency=i
  2412. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2413. end
  2414. Part.Parent=nil
  2415. end),prt,msh)
  2416. end
  2417.  
  2418. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2419. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2420. prt.Anchored=true
  2421. prt.CFrame=cframe*cf(x,y,z)
  2422. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2423. game:GetService("Debris"):AddItem(prt,5)
  2424. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2425. local num=math.random()
  2426. local num2=math.random(-3,2)+math.random()
  2427. local numm=0
  2428. for i=0,1,delay*2 do
  2429. swait()
  2430. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2431. Part.Transparency=i
  2432. numm=numm+0.01
  2433. end
  2434. Part.Parent=nil
  2435. Mesh.Parent=nil
  2436. end),prt,msh,x,y,z)
  2437. end
  2438.  
  2439.  
  2440.  
  2441. function newRay(start,face,range,wat)
  2442. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  2443. hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  2444. return rey,hit,pos
  2445. end
  2446.  
  2447. function Landing()
  2448. 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)
  2449. 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)
  2450. 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)
  2451. 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)
  2452. 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)
  2453. 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)
  2454.  
  2455. 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)
  2456. 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)
  2457. 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)
  2458. end
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469. function nooutline(part)
  2470. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  2471. end
  2472.  
  2473.  
  2474.  
  2475.  
  2476. function debris(cfremz, thepart, amt)
  2477. for j = 1, amt do
  2478. do
  2479. local pr = Instance.new("Part")
  2480. nooutline(pr)
  2481. pr.Name = "debrisobeb"
  2482. pr.Anchored = true
  2483. pr.BrickColor = thepart.BrickColor
  2484. pr.CanCollide = true
  2485. pr.Material = thepart.Material
  2486. pr.Transparency = thepart.Transparency
  2487. pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
  2488. 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)))
  2489. pr.Parent = workspace
  2490. game.Debris:AddItem(pr, 25)
  2491. delay(15, function()
  2492. if pr then
  2493. pr.CanCollide = false
  2494. pr.Anchored = false
  2495. end
  2496. end)
  2497. end
  2498. end
  2499. for c = 1, amt do
  2500. do
  2501. local pr2 = Instance.new("Part")
  2502. nooutline(pr2)
  2503. pr2.Name = "moredebr"
  2504. pr2.Anchored = false
  2505. pr2.BrickColor = thepart.BrickColor
  2506. pr2.CanCollide = false
  2507. pr2.Material = thepart.Material
  2508. pr2.Transparency = thepart.Transparency
  2509. pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18))
  2510. 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)))
  2511. pr2.Parent = workspace
  2512. pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75))
  2513. pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35))
  2514. game.Debris:AddItem(pr2, 45)
  2515. delay(2, function()
  2516. pr2.CanCollide = true
  2517. wait(10)
  2518. if pr2 then
  2519. pr2.CanCollide = false
  2520. end
  2521. end)
  2522. end
  2523. end
  2524. end
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535. function AirSlam()
  2536. NoAnims = true
  2537. attack = true
  2538. for i = 1, 20 do
  2539. 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)
  2540. 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)
  2541. 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)
  2542. 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)
  2543. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  2544. 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)
  2545. if Debounces.on == false then break end
  2546. wait()
  2547. end
  2548. wait(0.5)
  2549.  
  2550.  
  2551. coroutine.resume(coroutine.create(function()
  2552. 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)
  2553. 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)
  2554. 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)
  2555. end))
  2556.  
  2557. Sound("http://www.roblox.com/asset?id = 180199750",char,90,1,false)
  2558.  
  2559. hum.WalkSpeed = 50
  2560. BV = Instance.new("BodyVelocity", torso)
  2561. BV.maxForce = Vector3.new(0,200000,0)
  2562. BV.P = 100000
  2563. BV.velocity = Vector3.new(0,150,0)
  2564. for i = 1, 20 do
  2565. 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)
  2566. 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)
  2567. 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)
  2568. 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)
  2569. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  2570. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  2571. if Debounces.on == false then break end
  2572. wait()
  2573. end
  2574. BV:Destroy()
  2575.  
  2576. coroutine.resume(coroutine.create(function()
  2577. for i = 1, 2880, 48 do
  2578. torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0))
  2579. rs:wait(4)
  2580. end
  2581. torso.Weld.C1 = CFrame.new(0, -1, 0)
  2582. end))
  2583.  
  2584. for i = 1, 30 do
  2585. 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)
  2586. 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)
  2587. 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)
  2588. 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)
  2589. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  2590. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  2591. if Debounces.on == false then break end
  2592. wait()
  2593. end
  2594.  
  2595. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  2596. for i = 1, 20 do
  2597. 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)
  2598. 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)
  2599. 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)
  2600. 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)
  2601. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  2602. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3)
  2603. if Debounces.on == false then break end
  2604. wait()
  2605. end
  2606. end
  2607. local ry,ht,ps=nil,nil,nil
  2608. while ht==nil do
  2609. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  2610. wait()
  2611. end
  2612. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  2613. if par then
  2614. local cfremz = CFrame.new(loc)
  2615. debris(cfremz, par, 50)
  2616. end
  2617. coroutine.resume(coroutine.create(function()
  2618. Ring()
  2619. end))
  2620. Landing()
  2621. Sound("rbxassetid://514867425",char,90,1,false)
  2622. hum.WalkSpeed = 5
  2623. for i = 1, 25 do
  2624. 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)
  2625. 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)
  2626. 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)
  2627. 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)
  2628. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2)
  2629. 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)
  2630. if Debounces.on == false then break end
  2631. wait()
  2632. end
  2633. wait(0.2)
  2634. attack = false
  2635. NoAnims = false
  2636. end
  2637.  
  2638.  
  2639.  
  2640. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  2641. local p = Instance.new("Part")
  2642. p.Parent = parent
  2643. p.Size = Vector3.new(1,1,1)
  2644. p.Transparency = transparency
  2645. p.Reflectance = reflectance
  2646. p.CanCollide = false
  2647. p.BrickColor = brickcolor
  2648. p.Material = material
  2649. return p
  2650. end
  2651.  
  2652.  
  2653. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  2654. local weld = Instance.new("Weld")
  2655. weld.Parent = parent
  2656. weld.Part0 = part0
  2657. weld.Part1 = part1
  2658. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  2659. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  2660. return weld
  2661. end
  2662.  
  2663.  
  2664.  
  2665. --[[HandleR = Instance.new("Part")
  2666. HandleR.BrickColor = BrickColor.new("Really blue")
  2667. HandleR.Material = "Neon"
  2668. HandleR.Transparency = 0.3
  2669. HandleR.Size = Vector3.new(1,0.8,4)
  2670. HandleR.CFrame = sorb.CFrame
  2671. HandleRM = Instance.new("SpecialMesh",HandleR)
  2672. HandleRM.MeshId = "rbxasset://fonts/sword.mesh"
  2673. HandleRM.Scale = Vector3.new(1,1,1)
  2674.  
  2675. HandleL = Instance.new("Part")
  2676. HandleL.BrickColor = BrickColor.new("Really blue")
  2677. HandleL.Material = "Neon"
  2678. HandleL.Transparency = 0.3
  2679. HandleL.Size = Vector3.new(1,0.8,4)
  2680. HandleL.CFrame = sorb2.CFrame
  2681. HandleLM = Instance.new("SpecialMesh",HandleL)
  2682. HandleLM.MeshId = "rbxasset://fonts/sword.mesh"
  2683. HandleLM.Scale = Vector3.new(1,1,1)]]
  2684.  
  2685.  
  2686. local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
  2687. 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))
  2688. local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
  2689. 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))
  2690.  
  2691.  
  2692. v3 = Vector3.new
  2693. rad=math.rad
  2694.  
  2695. kiblade = Instance.new("Part",char)
  2696. kiblade.Name = "Blade"
  2697. kiblade.Size = v3(1,5,1)
  2698. kiblade.Transparency = 1
  2699. kiblade.BrickColor = BrickColor.new("Really blue")
  2700. kiblade.Position = v3(999,999,999)
  2701. kiblade.CanCollide = false
  2702. kiblademesh = Instance.new("SpecialMesh",kiblade)
  2703. kiblademesh.MeshType = "FileMesh"
  2704. kiblademesh.MeshId = "rbxassetid://898849476"
  2705. kiblademesh.Scale = v3(0.01,0.008,0.01)
  2706. kiweld7 = Instance.new("Weld",kiblade)
  2707. kiweld7.Part0 = rarm
  2708. kiweld7.Part1 = kiblade
  2709. kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
  2710. kiblade1 = Instance.new("Part",char)
  2711. kiblade1.Name = "Blade"
  2712. kiblade1.Transparency = 1
  2713. kiblade1.Size = v3(0.1,0.1,0.1)
  2714. kiblade1.Position = v3(999,999,999)
  2715. kiblade1.CanCollide = false
  2716. kiblademesh = Instance.new("SpecialMesh",kiblade1)
  2717. kiblademesh.MeshType = "Sphere"
  2718. kiblademesh.Scale = v3(1,1,1)
  2719. kiweld = Instance.new("Weld",kiblade1)
  2720. kiweld.Part0 = rarm
  2721. kiweld.Part1 = kiblade1
  2722. kiweld.C0 = CFrame.new(0,-1,0)
  2723. kiblade2 = Instance.new("Part",char)
  2724. kiblade2.Name = "Blade"
  2725. kiblade2.Size = v3(0.1,0.1,0.1)
  2726. kiblade2.Transparency = 1
  2727. kiblade2.Position = v3(999,999,999)
  2728. kiblade2.CanCollide = false
  2729. kiblademesh = Instance.new("SpecialMesh",kiblade2)
  2730. kiblademesh.MeshType = "Sphere"
  2731. kiblademesh.Scale = v3(1,1,1)
  2732. kiweld = Instance.new("Weld",kiblade2)
  2733. kiweld.Part0 = rarm
  2734. kiweld.Part1 = kiblade2
  2735. kiweld.C0 = CFrame.new(0,-4.5,0)
  2736. torso = owner
  2737. head = owner
  2738. torso1 = Instance.new("Attachment",kiblade1)
  2739. head1 = Instance.new("Attachment",kiblade2)
  2740. trail = Instance.new("Trail",torso)
  2741. trail.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
  2742. trail.Attachment0 = torso1
  2743. trail.Attachment1 = head1
  2744. trail.Lifetime = 0.5
  2745. trail.Enabled = false
  2746.  
  2747.  
  2748.  
  2749.  
  2750. kiblade2 = Instance.new("Part",char)
  2751. kiblade2.Name = "Blade"
  2752. kiblade2.Size = v3(1,5,1)
  2753. kiblade2.Transparency = 1
  2754. kiblade2.BrickColor = BrickColor.new("Really blue")
  2755. kiblade2.Position = v3(999,999,999)
  2756. kiblade2.CanCollide = false
  2757. kiblademesh2 = Instance.new("SpecialMesh",kiblade2)
  2758. kiblademesh2.MeshType = "FileMesh"
  2759. kiblademesh2.MeshId = "rbxassetid://898849476"
  2760. kiblademesh2.Scale = v3(0.01,0.008,0.01)
  2761. kiweld72 = Instance.new("Weld",kiblade2)
  2762. kiweld72.Part0 = larm
  2763. kiweld72.Part1 = kiblade2
  2764. kiweld72.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
  2765. kiblade12 = Instance.new("Part",char)
  2766. kiblade12.Name = "Blade"
  2767. kiblade12.Transparency = 1
  2768. kiblade12.Size = v3(0.1,0.1,0.1)
  2769. kiblade12.Position = v3(999,999,999)
  2770. kiblade12.CanCollide = false
  2771. kiblademesh2 = Instance.new("SpecialMesh",kiblade12)
  2772. kiblademesh2.MeshType = "Sphere"
  2773. kiblademesh2.Scale = v3(1,1,1)
  2774. kiweld2 = Instance.new("Weld",kiblade12)
  2775. kiweld2.Part0 = larm
  2776. kiweld2.Part1 = kiblade12
  2777. kiweld2.C0 = CFrame.new(0,-1,0)
  2778. kiblade22 = Instance.new("Part",char)
  2779. kiblade22.Name = "Blade"
  2780. kiblade22.Size = v3(0.1,0.1,0.1)
  2781. kiblade22.Transparency = 1
  2782. kiblade22.Position = v3(999,999,999)
  2783. kiblade22.CanCollide = false
  2784. kiblademesh2 = Instance.new("SpecialMesh",kiblade22)
  2785. kiblademesh2.MeshType = "Sphere"
  2786. kiblademesh2.Scale = v3(1,1,1)
  2787. kiweld2 = Instance.new("Weld",kiblade22)
  2788. kiweld2.Part0 = larm
  2789. kiweld2.Part1 = kiblade22
  2790. kiweld2.C0 = CFrame.new(0,-4.5,0)
  2791. torso2 = owner
  2792. head2 = owner
  2793. torso12 = Instance.new("Attachment",kiblade12)
  2794. head12 = Instance.new("Attachment",kiblade22)
  2795. trail2 = Instance.new("Trail",torso2)
  2796. trail2.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
  2797. trail2.Attachment0 = torso12
  2798. trail2.Attachment1 = head12
  2799. trail2.Lifetime = 0.5
  2800. trail2.Enabled = false
  2801.  
  2802.  
  2803.  
  2804. local Gibs = game.Workspace
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816.  
  2817. function Kill(Character)
  2818. Character.Humanoid.Health = 0
  2819. local poo = Instance.new("IntValue",Character)
  2820. poo.Name = "haha nope"
  2821. local svch = Character
  2822. local hum = Character:findFirstChild("Humanoid")
  2823. Character.Archivable = true
  2824. local chrclone = Character:clone()
  2825. Character.Archivable = false
  2826.  
  2827. local ch = chrclone:GetChildren()
  2828. local i
  2829. for i = 1,#ch do
  2830. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  2831. ch[i]:remove()
  2832. end
  2833. end
  2834. local function Scan(ch)
  2835. local e
  2836. for e = 1,#ch do
  2837. Scan(ch[e]:GetChildren())
  2838. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2839. ch[e]:remove()
  2840. end
  2841. end
  2842. end
  2843. Scan(chrclone:GetChildren())
  2844.  
  2845. local hum2 = chrclone:findFirstChild("Humanoid")
  2846.  
  2847.  
  2848. if hum2 ~= nil then
  2849. hum2.Name = "Humanoid2"
  2850. hum2.PlatformStand = true
  2851. hum2.Sit = true
  2852. hum2.MaxHealth = 0
  2853. hum2.Health = 0
  2854. end
  2855.  
  2856. local ch = Character:GetChildren()
  2857. local i
  2858. for i = 1,#ch do
  2859. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2860. ch[i]:remove()
  2861. end
  2862. end
  2863.  
  2864. wait(0.2)
  2865.  
  2866. local ch = Character:GetChildren()
  2867. local i
  2868. for i = 1,#ch do
  2869. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2870. ch[i]:remove()
  2871. end
  2872. end
  2873. Character = chrclone
  2874. local Torso = Character.Torso
  2875. local movevector = Vector3.new()
  2876.  
  2877. if Torso then
  2878. local Head = Character:FindFirstChild("Head")
  2879. local Limb = Character:FindFirstChild("Right Arm")
  2880. if Limb then
  2881.  
  2882. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  2883. local Joint = Instance.new("Glue")
  2884. Joint.Name = "RightShoulder"
  2885. Joint.Part0 = Torso
  2886. Joint.Part1 = Limb
  2887. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2888. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2889. Joint.Parent = Torso
  2890.  
  2891. local B = Instance.new("Part")
  2892. B.TopSurface = 0
  2893. B.BottomSurface = 0
  2894. B.formFactor = "Symmetric"
  2895. B.Size = Vector3.new(1, 1, 1)
  2896. B.Transparency = 1
  2897. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2898. B.Parent = Character
  2899. local W = Instance.new("Weld")
  2900. W.Part0 = Limb
  2901. W.Part1 = B
  2902. W.C0 = CFrame.new(0, -0.5, 0)
  2903. W.Parent = Limb
  2904.  
  2905. end
  2906. local Limb = Character:FindFirstChild("Left Arm")
  2907. if Limb then
  2908.  
  2909. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  2910. local Joint = Instance.new("Glue")
  2911. Joint.Name = "LeftShoulder"
  2912. Joint.Part0 = Torso
  2913. Joint.Part1 = Limb
  2914. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2915. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2916. Joint.Parent = Torso
  2917.  
  2918. local B = Instance.new("Part")
  2919. B.TopSurface = 0
  2920. B.BottomSurface = 0
  2921. B.formFactor = "Symmetric"
  2922. B.Size = Vector3.new(1, 1, 1)
  2923. B.Transparency = 1
  2924. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2925. B.Parent = Character
  2926. local W = Instance.new("Weld")
  2927. W.Part0 = Limb
  2928. W.Part1 = B
  2929. W.C0 = CFrame.new(0, -0.5, 0)
  2930. W.Parent = Limb
  2931.  
  2932. end
  2933. local Limb = Character:FindFirstChild("Right Leg")
  2934. if Limb then
  2935.  
  2936. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  2937. local Joint = Instance.new("Glue")
  2938. Joint.Name = "RightHip"
  2939. Joint.Part0 = Torso
  2940. Joint.Part1 = Limb
  2941. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2942. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2943. Joint.Parent = Torso
  2944.  
  2945. local B = Instance.new("Part")
  2946. B.TopSurface = 0
  2947. B.BottomSurface = 0
  2948. B.formFactor = "Symmetric"
  2949. B.Size = Vector3.new(1, 1, 1)
  2950. B.Transparency = 1
  2951. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2952. B.Parent = Character
  2953. local W = Instance.new("Weld")
  2954. W.Part0 = Limb
  2955. W.Part1 = B
  2956. W.C0 = CFrame.new(0, -0.5, 0)
  2957. W.Parent = Limb
  2958.  
  2959. end
  2960. local Limb = Character:FindFirstChild("Left Leg")
  2961. if Limb then
  2962.  
  2963. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  2964. local Joint = Instance.new("Glue")
  2965. Joint.Name = "LeftHip"
  2966. Joint.Part0 = Torso
  2967. Joint.Part1 = Limb
  2968. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2969. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2970. Joint.Parent = Torso
  2971.  
  2972. local B = Instance.new("Part")
  2973. B.TopSurface = 0
  2974. B.BottomSurface = 0
  2975. B.formFactor = "Symmetric"
  2976. B.Size = Vector3.new(1, 1, 1)
  2977. B.Transparency = 1
  2978. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2979. B.Parent = Character
  2980. local W = Instance.new("Weld")
  2981. W.Part0 = Limb
  2982. W.Part1 = B
  2983. W.C0 = CFrame.new(0, -0.5, 0)
  2984. W.Parent = Limb
  2985.  
  2986. end
  2987. --[
  2988. local Bar = Instance.new("Part")
  2989. Bar.TopSurface = 0
  2990. Bar.BottomSurface = 0
  2991. Bar.formFactor = "Symmetric"
  2992. Bar.Size = Vector3.new(1, 1, 1)
  2993. Bar.Transparency = 1
  2994. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  2995. Bar.Parent = Character
  2996. local Weld = Instance.new("Weld")
  2997. Weld.Part0 = Torso
  2998. Weld.Part1 = Bar
  2999. Weld.C0 = CFrame.new(0, 0.5, 0)
  3000. Weld.Parent = Torso
  3001. --]]
  3002. end
  3003. Character.Parent = Gibs
  3004. game.Debris:AddItem(Character, 12)
  3005. if movevector ~= Vector3.new() then
  3006. for i = 1,10 do
  3007. wait()
  3008. Torso.Velocity = Vector3.new(0,0,-100)
  3009. Head.Velocity = movevector * 200
  3010. end
  3011. end
  3012. end
  3013.  
  3014.  
  3015.  
  3016. function SpinSlice()
  3017. NoAnims = true
  3018. attack = true
  3019.  
  3020.  
  3021. Sound("rbxassetid://588738949",char,90,1,false)
  3022. kiblade.Transparency = 0
  3023. kiblade2.Transparency = 0
  3024. trail.Enabled = true
  3025. trail2.Enabled = true
  3026.  
  3027. hum.WalkSpeed = 0
  3028. for i = 1,40 do
  3029. 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)
  3030. 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)
  3031. 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)
  3032. 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
  3033. 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
  3034. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3035. if Debounces.on == false then break end
  3036. wait()
  3037. end
  3038.  
  3039.  
  3040. coroutine.resume(coroutine.create(function()
  3041. local BF = Instance.new("BodyVelocity",hed)
  3042. BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3043. BF.velocity = root.CFrame.lookVector*120
  3044. wait(2.0)
  3045. BF:remove()
  3046. end))
  3047.  
  3048. coroutine.resume(coroutine.create(function()
  3049. Sound("rbxassetid://588734356",char,90,1,false)
  3050. wait(.1)
  3051. Sound("rbxassetid://588734356",char,90,1,false)
  3052. wait(.1)
  3053. Sound("rbxassetid://588734356",char,90,1,false)
  3054. wait(.1)
  3055. Sound("rbxassetid://588734356",char,90,1,false)
  3056. wait(.1)
  3057. Sound("rbxassetid://588734356",char,90,1,false)
  3058. wait(.1)
  3059. Sound("rbxassetid://588734356",char,90,1,false)
  3060. wait(.1)
  3061. Sound("rbxassetid://588734356",char,90,1,false)
  3062. wait(.1)
  3063. Sound("rbxassetid://588734356",char,90,1,false)
  3064. end))
  3065. local HitBox = Instance.new("Part",rarm)
  3066. HitBox.Size = Vector3.new(1,5,1)
  3067. HitBox.CanCollide = false
  3068. HitBox.Transparency = 1
  3069. local HitBox2 = Instance.new("Weld",HitBox)
  3070. HitBox2.Part0 = rarm
  3071. HitBox2.Part1 = HitBox
  3072. HitBox2.C0 = CFrame.new(0,-1.8,0)
  3073. HitBox.Touched:connect(function(hit)
  3074. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
  3075. Kill(hit.Parent)
  3076. hit.Parent.Humanoid.PlatformStand = true
  3077. end
  3078. end)
  3079.  
  3080. local HitBox2 = Instance.new("Part",larm)
  3081. HitBox2.Size = Vector3.new(1,5,1)
  3082. HitBox2.CanCollide = false
  3083. HitBox2.Transparency = 1
  3084. local HitBox22 = Instance.new("Weld",HitBox2)
  3085. HitBox22.Part0 = larm
  3086. HitBox22.Part1 = HitBox2
  3087. HitBox22.C0 = CFrame.new(0,-1.8,0)
  3088. HitBox2.Touched:connect(function(hit)
  3089. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
  3090. Kill(hit.Parent)
  3091. hit.Parent.Humanoid.PlatformStand = true
  3092. end
  3093. end)
  3094.  
  3095. for i = 1,40 do
  3096. 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)
  3097. 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)
  3098. 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)
  3099. 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
  3100. 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
  3101. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3102. root.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0)
  3103. if Debounces.on == false then break end
  3104. wait()
  3105. end
  3106. kiblade.Transparency = 1
  3107. kiblade2.Transparency = 1
  3108. trail.Enabled = false
  3109. trail2.Enabled = false
  3110. HitBox:Destroy()
  3111. HitBox2:Destroy()
  3112. hum.WalkSpeed = 5
  3113. attack = false
  3114. NoAnims = false
  3115. end
  3116.  
  3117.  
  3118.  
  3119.  
  3120. function hito(partoz, magn, dmg, debtim)
  3121. for _, guy in pairs(workspace:GetChildren()) do
  3122. 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
  3123. do
  3124. local humz = guy:FindFirstChildOfClass("Humanoid")
  3125. local hed = guy:FindFirstChild("Head")
  3126. humz:TakeDamage(math.random(15,30)) if Full == true then guy:BreakJoints()
  3127. local db = Instance.new("StringValue")
  3128. db.Name = "alabo"
  3129. db.Parent = hed
  3130. delay(debtim, function()
  3131. db:Destroy()
  3132. end)
  3133. end
  3134. end
  3135. end
  3136. end
  3137. end
  3138.  
  3139.  
  3140.  
  3141. ang = CFrame.Angles
  3142. rd = math.rad
  3143. rd2 = math.random
  3144. ov = false
  3145.  
  3146.  
  3147.  
  3148. nooutline = function(i)
  3149. i.TopSurface = 10
  3150. end
  3151. makepart = function(l, m, n, o, p, q, r)
  3152. local s = Instance.new("Part")
  3153. s.BrickColor = BrickColor.new(l)
  3154. s.Name = m
  3155. s.Transparency = o
  3156. nooutline(s)
  3157. s.Reflectance = n
  3158. s.Material = p
  3159. s.Anchored = true
  3160. s.CanCollide = false
  3161. s.Locked = true
  3162. s.CFrame = r
  3163. s.Size = Vector3.new(0.2, 0.2, 0.2)
  3164. s.Parent = q
  3165. return s
  3166. end
  3167.  
  3168. makemesh = function(t, u, v, w)
  3169. local x = Instance.new("SpecialMesh")
  3170. x.MeshType = t
  3171. x.Scale = u
  3172. if t == "FileMesh" then
  3173. x.MeshId = v
  3174. end
  3175. x.Parent = w
  3176. return x
  3177. end
  3178.  
  3179. local H = {}
  3180.  
  3181.  
  3182. Barrage = function()
  3183. modz = Instance.new("Model")
  3184. modz.Name = "efx"
  3185. modz.Parent = char
  3186. ov = true
  3187. hum.AutoRotate = false
  3188. local aN = nil
  3189. local a9 = true
  3190. local aa = {}
  3191. local ab = {}
  3192. local b7 = {}
  3193. for j = 1, 16 do
  3194. local ac = Instance.new("Part")
  3195. nooutline(ac)
  3196. ac.Anchored = true
  3197. ac.Locked = true
  3198. ac.CanCollide = false
  3199. ac.Material = "Neon"
  3200. ac.Size = Vector3.new(1, 1, 1)
  3201. ac.Transparency = 1
  3202. ac.CFrame = CFrame.new(0, 1000, 0)
  3203. ac.Parent = modz
  3204. ac.BrickColor = BrickColor.new("Really blue")
  3205. makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
  3206. table.insert(aa, ac)
  3207. end
  3208. for j = 1, 40 do
  3209. local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
  3210. makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
  3211. table.insert(ab, a3)
  3212. end
  3213. for j = 1, 30 do
  3214. local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
  3215. makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
  3216. table.insert(b7, a3)
  3217. end
  3218. local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
  3219. local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
  3220. for I,aO in pairs(H) do
  3221. if aO.Parent == rarm or aO.Parent == larm then
  3222. aN = aO.Transparency
  3223. aO.Transparency = 1
  3224. end
  3225. end
  3226. local a8 = Instance.new("BodyGyro")
  3227. a8.MaxTorque = Vector3.new(1050, 3000, 750)
  3228. a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
  3229. a8.P = 580000
  3230. a8.D = 250
  3231. a8.Parent = root
  3232. coroutine.resume(coroutine.create(function()
  3233. while a8 do
  3234. swait()
  3235. a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
  3236. end
  3237. end))
  3238. local af = 0
  3239. local ag = 0
  3240. repeat
  3241. ag = ag + 1
  3242. if af == 0 then
  3243. af = 1
  3244. else
  3245. af = af % 14 + 1
  3246. end
  3247. coroutine.resume(coroutine.create(function()
  3248. local ah = aa[af]
  3249. local ai = ab[af]
  3250. local aj = ab[af + 14]
  3251. local ba = b7[af]
  3252. ah.Size = Vector3.new(1, 1, 2)
  3253. 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)
  3254. ah.Transparency = 0.25
  3255. ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
  3256. ai.Transparency = 0.35
  3257. ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
  3258. aj.Transparency = 0.45
  3259. aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
  3260. aj.CFrame = ah.CFrame * ang(0, rd(90), rd(90))
  3261. if af % 2 == 1 then
  3262. 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))
  3263. else
  3264. if af % 2 == 0 then
  3265. 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))
  3266. end
  3267. end
  3268. ba.CFrame = ah.CFrame * cf(0, 0, -8)
  3269. ba.Transparency = 0.4
  3270. ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
  3271. local bb = ah.CFrame * cf(0, 0, -5)
  3272. local bc = aj.CFrame * cf(0, -0.1, 0)
  3273. local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100)
  3274. local ak = false
  3275. for j = 1, 12 do
  3276. swait()
  3277. local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j))
  3278. local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {char}, true, true)
  3279. if a1 and ak == false then
  3280. ak = true
  3281. 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)))
  3282. do
  3283. local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
  3284. game.Debris:AddItem(a3, 0.5)
  3285. local a5 = rd2(1, 12)
  3286. if a5 == 6 then
  3287. hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8)))
  3288. else
  3289. hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10)
  3290. end
  3291. coroutine.resume(coroutine.create(function()
  3292. for I = 1, 4 do
  3293. swait()
  3294. a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8)
  3295. a3.Transparency = a3.Transparency + 0.2
  3296. end
  3297. a3:Destroy()
  3298. end))
  3299. end
  3300. end
  3301. ah.Size = ah.Size:lerp(Vector3.new(2, 2, 12), 0.5)
  3302. ah.CFrame = ah.CFrame:lerp(bb, 1)
  3303. ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
  3304. ah.Transparency = ah.Transparency + 0.0725
  3305. ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
  3306. ai.Transparency = ai.Transparency + 0.06
  3307. aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
  3308. aj.CFrame = aj.CFrame:lerp(bc, 0.3)
  3309. aj.Transparency = aj.Transparency + 0.05
  3310. ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
  3311. ba.CFrame = ba.CFrame:lerp(bd, 0.3)
  3312. ba.Transparency = ba.Transparency + 0.06
  3313. end
  3314. end))
  3315. swait()
  3316. until ov == false
  3317. for I,aO in pairs(H) do
  3318. if aO.Parent == rarm or aO.Parent == larm then
  3319. aO.Transparency = aN
  3320. end
  3321. end
  3322. b8:Destroy()
  3323. b9:Destroy()
  3324. a8:Destroy()
  3325. hum.AutoRotate = true
  3326. ov = false
  3327. wait(1)
  3328. for I,al in pairs(aa) do
  3329. al:Destroy()
  3330. end
  3331. for I,am in pairs(ab) do
  3332. am:Destroy()
  3333. end
  3334. for I,be in pairs(b7) do
  3335. be:Destroy()
  3336. end
  3337. end
  3338.  
  3339.  
  3340.  
  3341.  
  3342.  
  3343.  
  3344. function Kneel()
  3345.  
  3346. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  3347. if v:FindFirstChild('Humanoid') then
  3348.  
  3349. hum2 = v:FindFirstChild('Humanoid')
  3350. hum2.PlatformStand=true
  3351.  
  3352. end
  3353. end
  3354. end
  3355.  
  3356. --[[mouse.KeyDown:connect(function(key)
  3357. if key == "l" and Trans == false and Strength then
  3358. Transformation()
  3359. Trans = true
  3360. end
  3361. end)]]
  3362.  
  3363.  
  3364.  
  3365. mouse.KeyDown:connect(function(key)
  3366. if key == "z" then
  3367. GrabAndDrag()
  3368. end
  3369. end)
  3370.  
  3371.  
  3372. mouse.KeyDown:connect(function(key)
  3373. if key == "x" then
  3374. AirSlam()
  3375. end
  3376. end)
  3377.  
  3378.  
  3379.  
  3380. mouse.KeyDown:connect(function(key)
  3381. if key == "c" then
  3382. SpinSlice()
  3383. end
  3384. end)
  3385.  
  3386.  
  3387. mouse.KeyDown:connect(function(key)
  3388. if key == "p" and Full == false then
  3389. FullPower()
  3390. end
  3391. end)
  3392.  
  3393. mouse.KeyDown:connect(function(key)
  3394. if key == "1" then
  3395. Sound("rbxassetid://966268002",char,90,1,false)
  3396. Kneel()
  3397. end
  3398. end)
  3399.  
  3400. mouse.KeyDown:connect(function(key)
  3401. if key == "v" then
  3402. if ov == false then
  3403. hed.Weld.C0 = hed.Weld.C0 * CFrame.Angles(0,0,0)
  3404. wait()
  3405. local ChatService = game:GetService("Chat")
  3406. wait()
  3407. local ChatService = game:GetService("Chat")
  3408. coroutine.resume(coroutine.create(function()
  3409. s = 0
  3410. repeat
  3411. s = s + 1
  3412. Barrage()
  3413. wait()
  3414. until not ov
  3415. end))
  3416. if Full == true then
  3417. coroutine.resume(coroutine.create(function()
  3418. s = 0
  3419. repeat
  3420. s = s + 1
  3421. Barrage()
  3422. wait()
  3423. until not ov
  3424. end))
  3425. end
  3426. mouse.KeyUp:connect(function(key)
  3427. if key == "v" then
  3428. wait(0.4)
  3429. ov = false
  3430. wait(0.1)
  3431. end
  3432. end)
  3433. end
  3434. end
  3435. end)
  3436.  
  3437.  
  3438.  
  3439.  
  3440.  
  3441. -----animations-----
  3442.  
  3443. game:GetService("RunService").RenderStepped:connect(function()
  3444. char.Humanoid.FreeFalling:connect(function(f)
  3445. if f then
  3446. ffing = true
  3447. else
  3448. ffing = false
  3449. end
  3450. end)
  3451. sine = sine + add
  3452. if ffing==true then
  3453. anim="jump"
  3454. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3455. anim="idle"
  3456. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3457. anim = "walk"
  3458. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3459. anim = "run"
  3460. end
  3461.  
  3462. if NoAnims==false then
  3463. if anim=="idle" then
  3464. add=0.5
  3465. if trans == false then
  3466. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  3467. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  3468. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  3469. 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)
  3470. 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)
  3471. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  3472. else
  3473. 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)
  3474. 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)
  3475. 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)
  3476. 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
  3477. 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
  3478. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3479. end
  3480.  
  3481. elseif anim=="walk" then
  3482. add=0.5
  3483. if trans == false then
  3484. 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)
  3485. 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)
  3486. 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)
  3487. 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)
  3488. 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)
  3489. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),0.25)
  3490. else
  3491. change = 0.5
  3492. 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)
  3493. 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)
  3494. 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)
  3495. 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)
  3496. 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)
  3497. 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)
  3498. end
  3499.  
  3500. elseif anim=="run" then
  3501. add=0.5
  3502. if trans == false then
  3503. 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)
  3504. 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)
  3505. 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)
  3506. 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)
  3507. 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)
  3508. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),0,0),0.25)
  3509. else
  3510. 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)
  3511. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  3512. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  3513. 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)
  3514. 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)
  3515. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25)
  3516. end
  3517.  
  3518. elseif anim=="jump" then
  3519. add=0.5
  3520. 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)
  3521. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25)
  3522. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25)
  3523. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25)
  3524. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25)
  3525. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3526.  
  3527. end
  3528. end
  3529.  
  3530. end)
  3531.  
  3532.  
  3533. --[[l = game.Lighting
  3534. l.TimeOfDay = 1
  3535. game.Lighting.Ambient = Color3.new(0,0,0)
  3536. l.Brightness = 0.1]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement