Advertisement
Robloxian_Scripter

God slyaer

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