Advertisement
jasonskg1234

Dark Slayers

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