Advertisement
convertboi

ghaah

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