Advertisement
Void_scripter0

SoulX

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