Advertisement
EmeraldIT

Untitled

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