Advertisement
GalaxyDelta

Untitled

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