Advertisement
UnknownZealot

Goku Slayer mark 1 ( BROKEN )

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