DarkScriptZEditors

Ruin?!

Dec 19th, 2018
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 240.91 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126.  
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. -----------------------
  146. --[[ Name : RUIN VI]]--
  147. -------------------------------------------------------
  148. --A script By makhail07, 2003boobear and XXUNORIBOASXX.
  149.  
  150. --Discord Creterisk#2958 <- makhail07's discord
  151.  
  152. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  153. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  154. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  155. --YOU FUCKING SKIDS,
  156. --For Those who log/decompile this, If you sell or trade this,
  157. --and I find out who you are, i will take massive action.
  158. --:b:
  159. -------------------------------------------------------
  160.  
  161. local FavIDs = {
  162. 340106355, --Nefl Crystals
  163. 927529620, --Dimension
  164. 876981900, --Fantasy
  165. 398987889, --Ordinary Days
  166. 1117396305, --Oh wait, it's you.
  167. 885996042, --Action Winter Journey
  168. 919231299, --Sprawling Idiot Effigy
  169. 743466274, --Good Day Sunshine
  170. 727411183, --Knife Fight
  171. 1402748531, --The Earth Is Counting On You!
  172. 595230126 --Robot Language
  173. }
  174.  
  175. vt = Vector3.new
  176.  
  177.  
  178. --The reality of my life isn't real but a Universe -Creterisk
  179. --All people can be nice, Even if you don't think so. -2003boobear
  180. --The past can be horrible, but the future will be better, so forget the past and move-onward. -XXUNORIBOASXX
  181. wait()
  182. local plr = owner
  183. local char = plr.Character
  184. local hum = char.Humanoid
  185. local hed = char.Head
  186. local root = char.HumanoidRootPart
  187. local rootj = root.RootJoint
  188. local tors = char.Torso
  189. local ra = char["Right Arm"]
  190. local la = char["Left Arm"]
  191. local rl = char["Right Leg"]
  192. local ll = char["Left Leg"]
  193. local neck = tors["Neck"]
  194. local mouse = plr:GetMouse()
  195. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  196. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  197. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  198. local maincolor = BrickColor.new("White")
  199. local maincolor2 = Color3.new(255, 255, 255)
  200. exploitable = true
  201. -------------------------------------------------------
  202. --Start Whitelist and Invincibility--
  203. -------------------------------------------------------
  204. ff = Instance.new("ForceField",char)
  205. ff.Visible = false
  206. hum.Name = "Base"
  207. hum.MaxHealth = 1.0E298
  208. hum.Health = 1.0E298
  209. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  210. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  211. hum.MaxHealth = 1.0E298
  212. hum.Health = 1.0E298
  213. end
  214. end)
  215. -------------------------------------------------------
  216. --End Whitelist and Invincibility--
  217. -------------------------------------------------------
  218.  
  219. warn("Credit to makhail07, 2003boobear and XXUNORIBOASXX and to saba1520 for making this changes")
  220.  
  221. -------------------------------------------------------
  222. --Start Good Stuff--
  223. -------------------------------------------------------
  224. cam = game.Workspace.CurrentCamera
  225. CF = CFrame.new
  226. VT = Vector3.new
  227. angles = CFrame.Angles
  228. attack = false
  229. Euler = CFrame.fromEulerAnglesXYZ
  230. Rad = math.rad
  231. IT = Instance.new
  232. BrickC = BrickColor.new
  233. Cos = math.cos
  234. Acos = math.acos
  235. Sin = math.sin
  236. Asin = math.asin
  237. Abs = math.abs
  238. Mrandom = math.random
  239. Floor = math.floor
  240. -------------------------------------------------------
  241. --End Good Stuff--
  242. -------------------------------------------------------
  243. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  244. RSH, LSH = nil, nil
  245. RW = Instance.new("Weld")
  246. LW = Instance.new("Weld")
  247. RH = tors["Right Hip"]
  248. LH = tors["Left Hip"]
  249. RSH = tors["Right Shoulder"]
  250. LSH = tors["Left Shoulder"]
  251. RSH.Parent = nil
  252. LSH.Parent = nil
  253. RW.Name = "RW"
  254. RW.Part0 = tors
  255. RW.C0 = CF(1.5, 0.5, 0)
  256. RW.C1 = CF(0, 0.5, 0)
  257. RW.Part1 = ra
  258. RW.Parent = tors
  259. LW.Name = "LW"
  260. LW.Part0 = tors
  261. LW.C0 = CF(-1.5, 0.5, 0)
  262. LW.C1 = CF(0, 0.5, 0)
  263. LW.Part1 = la
  264. LW.Parent = tors
  265. Effects = {}
  266. -------------------------------------------------------
  267. --Start HeartBeat--
  268. -------------------------------------------------------
  269. ArtificialHB = Instance.new("BindableEvent", script)
  270. ArtificialHB.Name = "Heartbeat"
  271. script:WaitForChild("Heartbeat")
  272.  
  273. frame = 1 / 60
  274. tf = 0
  275. allowframeloss = false
  276. tossremainder = false
  277.  
  278.  
  279. lastframe = tick()
  280. script.Heartbeat:Fire()
  281.  
  282.  
  283. game:GetService("RunService").Heartbeat:connect(function(s, p)
  284. tf = tf + s
  285. if tf >= frame then
  286. if allowframeloss then
  287. script.Heartbeat:Fire()
  288. lastframe = tick()
  289. else
  290. for i = 1, math.floor(tf / frame) do
  291. script.Heartbeat:Fire()
  292. end
  293. lastframe = tick()
  294. end
  295. if tossremainder then
  296. tf = 0
  297. else
  298. tf = tf - frame * math.floor(tf / frame)
  299. end
  300. end
  301. end)
  302. -------------------------------------------------------
  303. --End HeartBeat--
  304. -------------------------------------------------------
  305.  
  306. TAUNT = Instance.new("Sound", tors)
  307. TAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994137"
  308. TAUNT.Volume = 10
  309. TAUNT.Pitch = 1
  310. TAUNT.Looped = false
  311. TAUNT.TimePosition = 0.12
  312.  
  313. BTAUNT = Instance.new("Sound", tors)
  314. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1535995263"
  315. BTAUNT.Volume = 10
  316. BTAUNT.Pitch = 1
  317. BTAUNT.Looped = false
  318. BTAUNT.TimePosition = 0.2
  319.  
  320. ITAUNT = Instance.new("Sound", tors)
  321. ITAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994669"
  322. ITAUNT.Volume = 10
  323. ITAUNT.Pitch = 1
  324. ITAUNT.Looped = false
  325. ITAUNT.TimePosition = 0
  326.  
  327. BATAUNT = Instance.new("Sound", tors)
  328. BATAUNT.SoundId = "http://www.roblox.com/asset/?id=132514715"
  329. BATAUNT.Volume = 10
  330. BATAUNT.Pitch = 1
  331. BATAUNT.Looped = false
  332. BATAUNT.TimePosition = 0
  333.  
  334. STAUNT2 = Instance.new("Sound", tors)
  335. STAUNT2.SoundId = "http://www.roblox.com/asset/?id=132392118"
  336. STAUNT2.Volume = 10
  337. STAUNT2.Pitch = 0.8
  338. STAUNT2.Looped = false
  339. STAUNT2.TimePosition = 0.05
  340.  
  341. STAUNT = Instance.new("Sound", tors)
  342. STAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994940"
  343. STAUNT.Volume = 10
  344. STAUNT.Pitch = 1
  345. STAUNT.Looped = false
  346. STAUNT.TimePosition = 0.05
  347.  
  348. DTAUNT = Instance.new("Sound", tors)
  349. DTAUNT.SoundId = "http://www.roblox.com/asset/?id=907333294"
  350. DTAUNT.Volume = 10
  351. DTAUNT.Pitch = 1
  352. DTAUNT.Looped = false
  353. DTAUNT.TimePosition = 0
  354.  
  355. LAZOR = Instance.new("Sound", ra)
  356. LAZOR.SoundId = "http://www.roblox.com/asset/?id=201858045"
  357. LAZOR.Volume = 10
  358. LAZOR.Pitch = 0.7
  359. LAZOR.Looped = false
  360. LAZOR.TimePosition = 0
  361.  
  362. -------------------------------------------------------
  363. --Start Important Functions--
  364. -------------------------------------------------------
  365. function swait(num)
  366. if num == 0 or num == nil then
  367. game:service("RunService").Stepped:wait(0)
  368. else
  369. for i = 0, num do
  370. game:service("RunService").Stepped:wait(0)
  371. end
  372. end
  373. end
  374. function thread(f)
  375. coroutine.resume(coroutine.create(f))
  376. end
  377. function clerp(a, b, t)
  378. local qa = {
  379. QuaternionFromCFrame(a)
  380. }
  381. local qb = {
  382. QuaternionFromCFrame(b)
  383. }
  384. local ax, ay, az = a.x, a.y, a.z
  385. local bx, by, bz = b.x, b.y, b.z
  386. local _t = 1 - t
  387. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  388. end
  389. function ShockWave(Part, cframe1, cframe2, Damage, Size)
  390. coroutine.resume(coroutine.create(function()
  391. local wave = CreatePart(workspace, "Neon", 0, 0, Neoncolor, "Effect", Vector3.new(1, 1, 5))
  392. wave.Anchored = true
  393. wave.CFrame = Part.CFrame * cframe1
  394. local Msh = Create("SpecialMesh"){
  395. Parent = wave,
  396. MeshType = "Sphere"
  397. }
  398. Cso("http://roblox.com/asset/?id=300916105", wave, 1, 1.3)
  399. for i = 0, 1, 0.2 do
  400. wait()
  401. local dir = wave.CFrame.lookVector * -1
  402. local pos = rayCast(wave.Position, dir, 5, Character)
  403. wave.CFrame = wave.CFrame * cframe2
  404. table.insert(Effects, {
  405. wave,
  406. "Sphere",
  407. 0.01,
  408. .03,
  409. .03,
  410. .03,
  411. })
  412. end
  413. end))
  414. end
  415.  
  416. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
  417. local type = type
  418. local rng = Instance.new("Part", char)
  419. rng.Anchored = true
  420. rng.BrickColor = color
  421. rng.CanCollide = false
  422. rng.FormFactor = 3
  423. rng.Name = "Ring"
  424. rng.Material = "Neon"
  425. rng.Size = Vector3.new(1, 1, 1)
  426. rng.Transparency = 0
  427. rng.TopSurface = 0
  428. rng.BottomSurface = 0
  429. rng.CFrame = pos
  430. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  431. local rngm = Instance.new("SpecialMesh", rng)
  432. rngm.MeshType = "Brick"
  433. rngm.Scale = VT(x1,y1,z1)
  434. if rainbowmode == true then
  435. rng.Color = Color3.new(r/255,g/255,b/255)
  436. end
  437. local scaler2 = 1
  438. local speeder = FastSpeed/10
  439. if type == "Add" then
  440. scaler2 = 1*value
  441. elseif type == "Divide" then
  442. scaler2 = 1/value
  443. end
  444. coroutine.resume(coroutine.create(function()
  445. for i = 0,10/bonuspeed,0.1 do
  446. swait()
  447. if type == "Add" then
  448. scaler2 = scaler2 - 0.01*value/bonuspeed
  449. elseif type == "Divide" then
  450. scaler2 = scaler2 - 0.01/value*bonuspeed
  451. end
  452. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  453. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  454. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  455. end
  456. rng:Destroy()
  457. end))
  458. end
  459. New = function(Object, Parent, Name, Data)
  460. local Object = Instance.new(Object)
  461. for Index, Value in pairs(Data or {}) do
  462. Object[Index] = Value
  463. end
  464. Object.Parent = Parent
  465. Object.Name = Name
  466. return Object
  467. end
  468. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  469. local type = type
  470. local rotenable = rotatingop
  471. local rng = Instance.new("Part", char)
  472. rng.Anchored = true
  473. rng.BrickColor = color
  474. rng.CanCollide = false
  475. rng.FormFactor = 3
  476. rng.Name = "Ring"
  477. rng.Material = "Neon"
  478. rng.Size = Vector3.new(1, 1, 1)
  479. rng.Transparency = 0
  480. if typeoftrans == "In" then
  481. rng.Transparency = 1
  482. end
  483. rng.TopSurface = 0
  484. rng.BottomSurface = 0
  485. rng.CFrame = pos
  486. local rngm = Instance.new("SpecialMesh", rng)
  487. rngm.MeshType = "FileMesh"
  488. if typeofshape == "Normal" then
  489. rngm.MeshId = "rbxassetid://662586858"
  490. elseif typeofshape == "Round" then
  491. rngm.MeshId = "rbxassetid://662585058"
  492. end
  493. rngm.Scale = scale
  494. local scaler2 = 1/10
  495. if type == "Add" then
  496. scaler2 = 1*value/10
  497. elseif type == "Divide" then
  498. scaler2 = 1/value/10
  499. end
  500. local randomrot = math.random(1,2)
  501. coroutine.resume(coroutine.create(function()
  502. for i = 0,10/bonuspeed,0.1 do
  503. swait()
  504. if type == "Add" then
  505. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  506. elseif type == "Divide" then
  507. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  508. end
  509. if rotenable == true then
  510. if randomrot == 1 then
  511. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  512. elseif randomrot == 2 then
  513. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  514. end
  515. end
  516. if typeoftrans == "Out" then
  517. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  518. elseif typeoftrans == "In" then
  519. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  520. end
  521. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  522. end
  523. rng:Destroy()
  524. end))
  525. end
  526. function QuaternionFromCFrame(cf)
  527. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  528. local trace = m00 + m11 + m22
  529. if trace > 0 then
  530. local s = math.sqrt(1 + trace)
  531. local recip = 0.5 / s
  532. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  533. else
  534. local i = 0
  535. if m00 < m11 then
  536. i = 1
  537. end
  538. if m22 > (i == 0 and m00 or m11) then
  539. i = 2
  540. end
  541. if i == 0 then
  542. local s = math.sqrt(m00 - m11 - m22 + 1)
  543. local recip = 0.5 / s
  544. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  545. elseif i == 1 then
  546. local s = math.sqrt(m11 - m22 - m00 + 1)
  547. local recip = 0.5 / s
  548. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  549. elseif i == 2 then
  550. local s = math.sqrt(m22 - m00 - m11 + 1)
  551. local recip = 0.5 / s
  552. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  553. end
  554. end
  555. end
  556. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  557. local xs, ys, zs = x + x, y + y, z + z
  558. local wx, wy, wz = w * xs, w * ys, w * zs
  559. local xx = x * xs
  560. local xy = x * ys
  561. local xz = x * zs
  562. local yy = y * ys
  563. local yz = y * zs
  564. local zz = z * zs
  565. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  566. end
  567. function QuaternionSlerp(a, b, t)
  568. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  569. local startInterp, finishInterp
  570. if cosTheta >= 1.0E-4 then
  571. if 1 - cosTheta > 1.0E-4 then
  572. local theta = math.acos(cosTheta)
  573. local invSinTheta = 1 / Sin(theta)
  574. startInterp = Sin((1 - t) * theta) * invSinTheta
  575. finishInterp = Sin(t * theta) * invSinTheta
  576. else
  577. startInterp = 1 - t
  578. finishInterp = t
  579. end
  580. elseif 1 + cosTheta > 1.0E-4 then
  581. local theta = math.acos(-cosTheta)
  582. local invSinTheta = 1 / Sin(theta)
  583. startInterp = Sin((t - 1) * theta) * invSinTheta
  584. finishInterp = Sin(t * theta) * invSinTheta
  585. else
  586. startInterp = t - 1
  587. finishInterp = t
  588. end
  589. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  590. end
  591. function rayCast(Position, Direction, Range, Ignore)
  592. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  593. end
  594. local RbxUtility = LoadLibrary("RbxUtility")
  595. local Create = RbxUtility.Create
  596.  
  597. -------------------------------------------------------
  598. --Start Damage Function--
  599. -------------------------------------------------------
  600. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  601. if hit.Parent == nil then
  602. return
  603. end
  604. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  605. for _, v in pairs(hit.Parent:children()) do
  606. if v:IsA("Humanoid") then
  607. h = v
  608. end
  609. end
  610. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  611.  
  612. hit.Parent:FindFirstChild("Head"):BreakJoints()
  613. end
  614.  
  615. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  616. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  617. if hit.Parent.DebounceHit.Value == true then
  618. return
  619. end
  620. end
  621. if insta == true then
  622. hit.Parent:FindFirstChild("Head"):BreakJoints()
  623. end
  624. local c = Create("ObjectValue"){
  625. Name = "creator",
  626. Value = owner,
  627. Parent = h,
  628. }
  629. game:GetService("Debris"):AddItem(c, .5)
  630. if HitSound ~= nil and HitPitch ~= nil then
  631. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  632. end
  633. local Damage = math.random(minim, maxim)
  634. local blocked = false
  635. local block = hit.Parent:findFirstChild("Block")
  636. if block ~= nil then
  637. if block.className == "IntValue" then
  638. if block.Value > 0 then
  639. blocked = true
  640. block.Value = block.Value - 1
  641. print(block.Value)
  642. end
  643. end
  644. end
  645. if blocked == false then
  646. h.Health = h.Health - Damage
  647. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  648. else
  649. h.Health = h.Health - (Damage / 2)
  650. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  651. end
  652. if Type == "Knockdown" then
  653. local hum = hit.Parent.Humanoid
  654. hum.PlatformStand = true
  655. coroutine.resume(coroutine.create(function(HHumanoid)
  656. swait(1)
  657. HHumanoid.PlatformStand = false
  658. end), hum)
  659. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  660. local bodvol = Create("BodyVelocity"){
  661. velocity = angle * knockback,
  662. P = 5000,
  663. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  664. Parent = hit,
  665. }
  666. local rl = Create("BodyAngularVelocity"){
  667. P = 3000,
  668. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  669. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  670. Parent = hit,
  671. }
  672. game:GetService("Debris"):AddItem(bodvol, .5)
  673. game:GetService("Debris"):AddItem(rl, .5)
  674. elseif Type == "Random Guy" then
  675. local vp = Create("BodyVelocity"){
  676. P = 500,
  677. maxForce = Vector3.new(math.huge, 0, math.huge),
  678. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  679. }
  680. if knockback > 0 then
  681. vp.Parent = hit.Parent.Torso
  682. end
  683. game:GetService("Debris"):AddItem(vp, .5)
  684. elseif Type == "Up" then
  685. local bodyVelocity = Create("BodyVelocity"){
  686. velocity = Vector3.new(0, 20, 0),
  687. P = 5000,
  688. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  689. Parent = hit,
  690. }
  691. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  692. elseif Type == "DarkUp" then
  693. coroutine.resume(coroutine.create(function()
  694. for i = 0, 1, 0.1 do
  695. swait()
  696. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  697. end
  698. end))
  699. local bodyVelocity = Create("BodyVelocity"){
  700. velocity = Vector3.new(0, 20, 0),
  701. P = 5000,
  702. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  703. Parent = hit,
  704. }
  705. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  706. elseif Type == "Snare" then
  707. local bp = Create("BodyPosition"){
  708. P = 2000,
  709. D = 100,
  710. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  711. position = hit.Parent.Torso.Position,
  712. Parent = hit.Parent.Torso,
  713. }
  714. game:GetService("Debris"):AddItem(bp, 1)
  715. elseif Type == "Freeze" then
  716. local BodPos = Create("BodyPosition"){
  717. P = 50000,
  718. D = 1000,
  719. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  720. position = hit.Parent.Torso.Position,
  721. Parent = hit.Parent.Torso,
  722. }
  723. local BodGy = Create("BodyGyro") {
  724. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  725. P = 20e+003,
  726. Parent = hit.Parent.Torso,
  727. cframe = hit.Parent.Torso.CFrame,
  728. }
  729. hit.Parent.Torso.Anchored = true
  730. coroutine.resume(coroutine.create(function(Part)
  731. swait(1.5)
  732. Part.Anchored = false
  733. end), hit.Parent.Torso)
  734. game:GetService("Debris"):AddItem(BodPos, 3)
  735. game:GetService("Debris"):AddItem(BodGy, 3)
  736. end
  737. local debounce = Create("BoolValue"){
  738. Name = "DebounceHit",
  739. Parent = hit.Parent,
  740. Value = true,
  741. }
  742. game:GetService("Debris"):AddItem(debounce, Delay)
  743. c = Create("ObjectValue"){
  744. Name = "creator",
  745. Value = Player,
  746. Parent = h,
  747. }
  748. game:GetService("Debris"):AddItem(c, .5)
  749. end
  750. end
  751. -------------------------------------------------------
  752. --End Damage Function--
  753. -------------------------------------------------------
  754.  
  755. -------------------------------------------------------
  756. --Start Damage Function Customization--
  757. -------------------------------------------------------
  758. function ShowDamage(Pos, Text, Time, Color)
  759. local Rate = (1 / 30)
  760. local Pos = (Pos or Vector3.new(0, 0, 0))
  761. local Text = (Text or "")
  762. local Time = (Time or 2)
  763. local Color = (Color or Color3.new(1, 0, 1))
  764. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  765. EffectPart.Anchored = true
  766. local BillboardGui = Create("BillboardGui"){
  767. Size = UDim2.new(3, 0, 3, 0),
  768. Adornee = EffectPart,
  769. Parent = EffectPart,
  770. }
  771. local TextLabel = Create("TextLabel"){
  772. BackgroundTransparency = 1,
  773. Size = UDim2.new(1, 0, 1, 0),
  774. Text = Text,
  775. Font = "Bodoni",
  776. TextColor3 = Color,
  777. TextScaled = true,
  778. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  779. Parent = BillboardGui,
  780. }
  781. game.Debris:AddItem(EffectPart, (Time))
  782. EffectPart.Parent = game:GetService("Workspace")
  783. delay(0, function()
  784. local Frames = (Time / Rate)
  785. for Frame = 1, Frames do
  786. wait(Rate)
  787. local Percent = (Frame / Frames)
  788. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  789. TextLabel.TextTransparency = Percent
  790. end
  791. if EffectPart and EffectPart.Parent then
  792. EffectPart:Destroy()
  793. end
  794. end)
  795. end
  796. -------------------------------------------------------
  797. --End Damage Function Customization--
  798. -------------------------------------------------------
  799.  
  800. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  801. for _, c in pairs(workspace:children()) do
  802. local hum = c:findFirstChild("Humanoid")
  803. if hum ~= nil then
  804. local head = c:findFirstChild("Head")
  805. if head ~= nil then
  806. local targ = head.Position - Part.Position
  807. local mag = targ.magnitude
  808. if magni >= mag and c.Name ~= Player.Name then
  809. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  810. end
  811. end
  812. end
  813. end
  814. end
  815.  
  816.  
  817. CFuncs = {
  818. Part = {
  819. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  820. local Part = Create("Part")({
  821. Parent = Parent,
  822. Reflectance = Reflectance,
  823. Transparency = Transparency,
  824. CanCollide = false,
  825. Locked = true,
  826. BrickColor = BrickColor.new(tostring(BColor)),
  827. Name = Name,
  828. Size = Size,
  829. Material = Material
  830. })
  831. RemoveOutlines(Part)
  832. return Part
  833. end
  834. },
  835. Mesh = {
  836. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  837. local Msh = Create(Mesh)({
  838. Parent = Part,
  839. Offset = OffSet,
  840. Scale = Scale
  841. })
  842. if Mesh == "SpecialMesh" then
  843. Msh.MeshType = MeshType
  844. Msh.MeshId = MeshId
  845. end
  846. return Msh
  847. end
  848. },
  849. Mesh = {
  850. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  851. local Msh = Create(Mesh)({
  852. Parent = Part,
  853. Offset = OffSet,
  854. Scale = Scale
  855. })
  856. if Mesh == "SpecialMesh" then
  857. Msh.MeshType = MeshType
  858. Msh.MeshId = MeshId
  859. end
  860. return Msh
  861. end
  862. },
  863. Weld = {
  864. Create = function(Parent, Part0, Part1, C0, C1)
  865. local Weld = Create("Weld")({
  866. Parent = Parent,
  867. Part0 = Part0,
  868. Part1 = Part1,
  869. C0 = C0,
  870. C1 = C1
  871. })
  872. return Weld
  873. end
  874. },
  875. Sound = {
  876. Create = function(id, par, vol, pit)
  877. coroutine.resume(coroutine.create(function()
  878. local S = Create("Sound")({
  879. Volume = vol,
  880. Pitch = pit or 1,
  881. SoundId = id,
  882. Parent = par or workspace
  883. })
  884. wait()
  885. S:play()
  886. game:GetService("Debris"):AddItem(S, 6)
  887. end))
  888. end
  889. },
  890. ParticleEmitter = {
  891. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  892. local fp = Create("ParticleEmitter")({
  893. Parent = Parent,
  894. Color = ColorSequence.new(Color1, Color2),
  895. LightEmission = LightEmission,
  896. Size = Size,
  897. Texture = Texture,
  898. Transparency = Transparency,
  899. ZOffset = ZOffset,
  900. Acceleration = Accel,
  901. Drag = Drag,
  902. LockedToPart = LockedToPart,
  903. VelocityInheritance = VelocityInheritance,
  904. EmissionDirection = EmissionDirection,
  905. Enabled = Enabled,
  906. Lifetime = LifeTime,
  907. Rate = Rate,
  908. Rotation = Rotation,
  909. RotSpeed = RotSpeed,
  910. Speed = Speed,
  911. VelocitySpread = VelocitySpread
  912. })
  913. return fp
  914. end
  915. }
  916. }
  917. function RemoveOutlines(part)
  918. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  919. end
  920. function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  921. local Part = Create("Part")({
  922. formFactor = FormFactor,
  923. Parent = Parent,
  924. Reflectance = Reflectance,
  925. Transparency = Transparency,
  926. CanCollide = false,
  927. Locked = true,
  928. BrickColor = BrickColor.new(tostring(BColor)),
  929. Name = Name,
  930. Size = Size,
  931. Material = Material
  932. })
  933. RemoveOutlines(Part)
  934. return Part
  935. end
  936. function CreateMesh1(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  937. local Msh = Create(Mesh)({
  938. Parent = Part,
  939. Offset = OffSet,
  940. Scale = Scale
  941. })
  942. if Mesh == "SpecialMesh" then
  943. Msh.MeshType = MeshType
  944. Msh.MeshId = MeshId
  945. end
  946. return Msh
  947. end
  948. function CreateWeld(Parent, Part0, Part1, C0, C1)
  949. local Weld = Create("Weld")({
  950. Parent = Parent,
  951. Part0 = Part0,
  952. Part1 = Part1,
  953. C0 = C0,
  954. C1 = C1
  955. })
  956. return Weld
  957. end
  958.  
  959.  
  960. -------------------------------------------------------
  961. --Start Effect Function--
  962. -------------------------------------------------------
  963. EffectModel = Instance.new("Model", char)
  964. Effects = {
  965. Block = {
  966. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  967. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  968. prt.Anchored = true
  969. prt.CFrame = cframe
  970. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  971. game:GetService("Debris"):AddItem(prt, 10)
  972. if Type == 1 or Type == nil then
  973. table.insert(Effects, {
  974. prt,
  975. "Block1",
  976. delay,
  977. x3,
  978. y3,
  979. z3,
  980. msh
  981. })
  982. elseif Type == 2 then
  983. table.insert(Effects, {
  984. prt,
  985. "Block2",
  986. delay,
  987. x3,
  988. y3,
  989. z3,
  990. msh
  991. })
  992. else
  993. table.insert(Effects, {
  994. prt,
  995. "Block3",
  996. delay,
  997. x3,
  998. y3,
  999. z3,
  1000. msh
  1001. })
  1002. end
  1003. end
  1004. },
  1005. Sphere = {
  1006. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1007. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1008. prt.Anchored = true
  1009. prt.CFrame = cframe
  1010. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1011. game:GetService("Debris"):AddItem(prt, 10)
  1012. table.insert(Effects, {
  1013. prt,
  1014. "Cylinder",
  1015. delay,
  1016. x3,
  1017. y3,
  1018. z3,
  1019. msh
  1020. })
  1021. end
  1022. },
  1023. Cylinder = {
  1024. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1025. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1026. prt.Anchored = true
  1027. prt.CFrame = cframe
  1028. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1029. game:GetService("Debris"):AddItem(prt, 10)
  1030. table.insert(Effects, {
  1031. prt,
  1032. "Cylinder",
  1033. delay,
  1034. x3,
  1035. y3,
  1036. z3,
  1037. msh
  1038. })
  1039. end
  1040. },
  1041. Wave = {
  1042. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1043. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1044. prt.Anchored = true
  1045. prt.CFrame = cframe
  1046. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1047. game:GetService("Debris"):AddItem(prt, 10)
  1048. table.insert(Effects, {
  1049. prt,
  1050. "Cylinder",
  1051. delay,
  1052. x3 / 60,
  1053. y3 / 60,
  1054. z3 / 60,
  1055. msh
  1056. })
  1057. end
  1058. },
  1059. Ring = {
  1060. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1061. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1062. prt.Anchored = true
  1063. prt.CFrame = cframe
  1064. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1065. game:GetService("Debris"):AddItem(prt, 10)
  1066. table.insert(Effects, {
  1067. prt,
  1068. "Cylinder",
  1069. delay,
  1070. x3,
  1071. y3,
  1072. z3,
  1073. msh
  1074. })
  1075. end
  1076. },
  1077. Break = {
  1078. Create = function(brickcolor, cframe, x1, y1, z1)
  1079. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1080. prt.Anchored = true
  1081. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1082. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1083. local num = math.random(10, 50) / 1000
  1084. game:GetService("Debris"):AddItem(prt, 10)
  1085. table.insert(Effects, {
  1086. prt,
  1087. "Shatter",
  1088. num,
  1089. prt.CFrame,
  1090. math.random() - math.random(),
  1091. 0,
  1092. math.random(50, 100) / 100
  1093. })
  1094. end
  1095. },
  1096. Spiral = {
  1097. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1098. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1099. prt.Anchored = true
  1100. prt.CFrame = cframe
  1101. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1102. game:GetService("Debris"):AddItem(prt, 10)
  1103. table.insert(Effects, {
  1104. prt,
  1105. "Cylinder",
  1106. delay,
  1107. x3,
  1108. y3,
  1109. z3,
  1110. msh
  1111. })
  1112. end
  1113. },
  1114. Push = {
  1115. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1116. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1117. prt.Anchored = true
  1118. prt.CFrame = cframe
  1119. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1120. game:GetService("Debris"):AddItem(prt, 10)
  1121. table.insert(Effects, {
  1122. prt,
  1123. "Cylinder",
  1124. delay,
  1125. x3,
  1126. y3,
  1127. z3,
  1128. msh
  1129. })
  1130. end
  1131. }
  1132. }
  1133. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1134. local fp = IT("Part")
  1135. fp.formFactor = formfactor
  1136. fp.Parent = parent
  1137. fp.Reflectance = reflectance
  1138. fp.Transparency = transparency
  1139. fp.CanCollide = false
  1140. fp.Locked = true
  1141. fp.BrickColor = brickcolor
  1142. fp.Name = name
  1143. fp.Size = size
  1144. fp.Position = tors.Position
  1145. RemoveOutlines(fp)
  1146. fp.Material = "SmoothPlastic"
  1147. fp:BreakJoints()
  1148. return fp
  1149. end
  1150.  
  1151. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1152. local mesh = IT(Mesh)
  1153. mesh.Parent = part
  1154. if Mesh == "SpecialMesh" then
  1155. mesh.MeshType = meshtype
  1156. if meshid ~= "nil" then
  1157. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1158. end
  1159. end
  1160. mesh.Offset = offset
  1161. mesh.Scale = scale
  1162. return mesh
  1163. end
  1164.  
  1165. function MagicCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1166. local type = type
  1167. local rng = Instance.new("Part", char)
  1168. rng.Anchored = true
  1169. rng.BrickColor = color
  1170. rng.CanCollide = false
  1171. rng.FormFactor = 3
  1172. rng.Name = "Ring"
  1173. rng.Material = "Neon"
  1174. rng.Size = Vector3.new(1, 1, 1)
  1175. rng.Transparency = 1
  1176. rng.TopSurface = 0
  1177. rng.BottomSurface = 0
  1178. rng.CFrame = pos
  1179. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1180. local rngm = Instance.new("SpecialMesh", rng)
  1181. rngm.MeshType = MType
  1182. rngm.Scale = Vector3.new(x1, y1, z1)
  1183. local scaler2 = 1
  1184. local speeder = FastSpeed
  1185. if type == "Add" then
  1186. scaler2 = 1 * value
  1187. elseif type == "Divide" then
  1188. scaler2 = 1 / value
  1189. end
  1190. coroutine.resume(coroutine.create(function()
  1191. for i = 0, 10 / bonuspeed, 0.1 do
  1192. swait()
  1193. if type == "Add" then
  1194. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1195. elseif type == "Divide" then
  1196. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1197. end
  1198. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1199. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1200. rng.Transparency = rng.Transparency - 0.01 * bonuspeed
  1201. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1202. end
  1203. rng:Destroy()
  1204. end))
  1205. end
  1206.  
  1207. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1208. local type = type
  1209. local rng = Instance.new("Part", char)
  1210. rng.Anchored = true
  1211. rng.BrickColor = color
  1212. rng.CanCollide = false
  1213. rng.FormFactor = 3
  1214. rng.Name = "Ring"
  1215. rng.Material = "Neon"
  1216. rng.Size = Vector3.new(1, 1, 1)
  1217. rng.Transparency = 0
  1218. rng.TopSurface = 0
  1219. rng.BottomSurface = 0
  1220. rng.CFrame = pos
  1221. local rngm = Instance.new("SpecialMesh", rng)
  1222. rngm.MeshType = MType
  1223. rngm.Scale = scale
  1224. local scaler2 = 1
  1225. if type == "Add" then
  1226. scaler2 = 1 * value
  1227. elseif type == "Divide" then
  1228. scaler2 = 1 / value
  1229. end
  1230. coroutine.resume(coroutine.create(function()
  1231. for i = 0, 10 / bonuspeed, 0.1 do
  1232. swait()
  1233. if type == "Add" then
  1234. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1235. elseif type == "Divide" then
  1236. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1237. end
  1238. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1239. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1240. end
  1241. rng:Destroy()
  1242. end))
  1243. end
  1244.  
  1245. function Eviscerate(dude)
  1246. if dude.Name ~= char then
  1247. local bgf = IT("BodyGyro", dude.Head)
  1248. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1249. local val = IT("BoolValue", dude)
  1250. val.Name = "IsHit"
  1251. local ds = coroutine.wrap(function()
  1252. dude:WaitForChild("Head"):BreakJoints()
  1253. wait(0.5)
  1254. target = nil
  1255. coroutine.resume(coroutine.create(function()
  1256. for i, v in pairs(dude:GetChildren()) do
  1257. if v:IsA("Accessory") then
  1258. v:Destroy()
  1259. end
  1260. if v:IsA("Humanoid") then
  1261. v:Destroy()
  1262. end
  1263. if v:IsA("CharacterMesh") then
  1264. v:Destroy()
  1265. end
  1266. if v:IsA("Model") then
  1267. v:Destroy()
  1268. end
  1269. if v:IsA("Part") or v:IsA("MeshPart") then
  1270. for x, o in pairs(v:GetChildren()) do
  1271. if o:IsA("Decal") then
  1272. o:Destroy()
  1273. end
  1274. end
  1275. coroutine.resume(coroutine.create(function()
  1276. v.Material = "Neon"
  1277. v.CanCollide = false
  1278. local PartEmmit1 = IT("ParticleEmitter", v)
  1279. PartEmmit1.LightEmission = 1
  1280. PartEmmit1.Texture = "rbxassetid://284205403"
  1281. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1282. PartEmmit1.Rate = 150
  1283. PartEmmit1.Lifetime = NumberRange.new(1)
  1284. PartEmmit1.Size = NumberSequence.new({
  1285. NumberSequenceKeypoint.new(0, 0.75, 0),
  1286. NumberSequenceKeypoint.new(1, 0, 0)
  1287. })
  1288. PartEmmit1.Transparency = NumberSequence.new({
  1289. NumberSequenceKeypoint.new(0, 0, 0),
  1290. NumberSequenceKeypoint.new(1, 1, 0)
  1291. })
  1292. PartEmmit1.Speed = NumberRange.new(0, 0)
  1293. PartEmmit1.VelocitySpread = 30000
  1294. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1295. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1296. local BodPoss = IT("BodyPosition", v)
  1297. BodPoss.P = 3000
  1298. BodPoss.D = 1000
  1299. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1300. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1301. v.Color = maincolor.Color
  1302. coroutine.resume(coroutine.create(function()
  1303. for i = 0, 49 do
  1304. swait(1)
  1305. v.Transparency = v.Transparency + 0.08
  1306. end
  1307. wait(0.5)
  1308. PartEmmit1.Enabled = false
  1309. wait(3)
  1310. v:Destroy()
  1311. dude:Destroy()
  1312. end))
  1313. end))
  1314. end
  1315. end
  1316. end))
  1317. end)
  1318. ds()
  1319. end
  1320. end
  1321.  
  1322. function FindNearestHead(Position, Distance, SinglePlayer)
  1323. if SinglePlayer then
  1324. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1325. end
  1326. local List = {}
  1327. for i, v in pairs(workspace:GetChildren()) do
  1328. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1329. table.insert(List, v)
  1330. end
  1331. end
  1332. return List
  1333. end
  1334.  
  1335. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1336. local type = type
  1337. local rng = Instance.new("Part", char)
  1338. rng.Anchored = true
  1339. rng.BrickColor = color
  1340. rng.CanCollide = false
  1341. rng.FormFactor = 3
  1342. rng.Name = "Ring"
  1343. rng.Material = "Neon"
  1344. rng.Size = Vector3.new(1, 1, 1)
  1345. rng.Transparency = 0
  1346. rng.TopSurface = 0
  1347. rng.BottomSurface = 0
  1348. rng.CFrame = pos
  1349. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1350. local rngm = Instance.new("SpecialMesh", rng)
  1351. rngm.MeshType = MType
  1352. rngm.Scale = Vector3.new(x1, y1, z1)
  1353. local scaler2 = 1
  1354. local speeder = FastSpeed
  1355. if type == "Add" then
  1356. scaler2 = 1 * value
  1357. elseif type == "Divide" then
  1358. scaler2 = 1 / value
  1359. end
  1360. coroutine.resume(coroutine.create(function()
  1361. for i = 0, 10 / bonuspeed, 0.1 do
  1362. swait()
  1363. if type == "Add" then
  1364. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1365. elseif type == "Divide" then
  1366. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1367. end
  1368. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1369. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1370. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1371. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1372. end
  1373. rng:Destroy()
  1374. end))
  1375. end
  1376.  
  1377. function SoulSteal(dude)
  1378. if dude.Name ~= char then
  1379. local bgf = IT("BodyGyro", dude.Head)
  1380. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1381. local val = IT("BoolValue", dude)
  1382. val.Name = "IsHit"
  1383. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1384. local soulst = coroutine.wrap(function()
  1385. local soul = Instance.new("Part",dude)
  1386. soul.Size = Vector3.new(1,1,1)
  1387. soul.CanCollide = false
  1388. soul.Anchored = false
  1389. soul.Position = torso.Position
  1390. soul.Transparency = 1
  1391. local PartEmmit1 = IT("ParticleEmitter", soul)
  1392. PartEmmit1.LightEmission = 1
  1393. PartEmmit1.Texture = "rbxassetid://569507414"
  1394. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1395. PartEmmit1.Rate = 250
  1396. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1397. PartEmmit1.Size = NumberSequence.new({
  1398. NumberSequenceKeypoint.new(0, 1, 0),
  1399. NumberSequenceKeypoint.new(1, 0, 0)
  1400. })
  1401. PartEmmit1.Transparency = NumberSequence.new({
  1402. NumberSequenceKeypoint.new(0, 0, 0),
  1403. NumberSequenceKeypoint.new(1, 1, 0)
  1404. })
  1405. PartEmmit1.Speed = NumberRange.new(0, 0)
  1406. PartEmmit1.VelocitySpread = 30000
  1407. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1408. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1409. local BodPoss = IT("BodyPosition", soul)
  1410. BodPoss.P = 3000
  1411. BodPoss.D = 1000
  1412. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1413. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1414. wait(1.6)
  1415. soul.Touched:connect(function(hit)
  1416. if hit.Parent == char then
  1417. soul:Destroy()
  1418. end
  1419. end)
  1420. wait(1.2)
  1421. while soul do
  1422. swait()
  1423. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1424. BodPoss.Position = tors.Position
  1425. end
  1426. end)
  1427. soulst()
  1428. end
  1429. end
  1430. function FaceMouse()
  1431. local Cam = workspace.CurrentCamera
  1432. return {
  1433. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1434. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1435. }
  1436. end
  1437. -------------------------------------------------------
  1438. --End Effect Function--
  1439. -------------------------------------------------------
  1440. function Cso(ID, PARENT, VOLUME, PITCH)
  1441. local NSound = nil
  1442. coroutine.resume(coroutine.create(function()
  1443. NSound = IT("Sound", PARENT)
  1444. NSound.Volume = VOLUME
  1445. NSound.Pitch = PITCH
  1446. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1447. swait()
  1448. NSound:play()
  1449. game:GetService("Debris"):AddItem(NSound, 10)
  1450. end))
  1451. return NSound
  1452. end
  1453. function CameraEnshaking(Length, Intensity)
  1454. coroutine.resume(coroutine.create(function()
  1455. local intensity = 1 * Intensity
  1456. local rotM = 0.01 * Intensity
  1457. for i = 0, Length, 0.1 do
  1458. swait()
  1459. intensity = intensity - 0.05 * Intensity / Length
  1460. rotM = rotM - 5.0E-4 * Intensity / Length
  1461. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1462. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1463. end
  1464. hum.CameraOffset = Vector3.new(0, 0, 0)
  1465. end))
  1466. end
  1467. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1468. local Hitboxpart = Instance.new("Part", EffectModel)
  1469. RemoveOutlines(Hitboxpart)
  1470. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1471. Hitboxpart.CanCollide = false
  1472. Hitboxpart.Transparency = 1
  1473. Hitboxpart.Anchored = true
  1474. Hitboxpart.CFrame = Pose
  1475. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1476. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1477. end
  1478. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1479. local prt = CreatePart1(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1480. prt.Anchored = true
  1481. prt.CFrame = cframe
  1482. local msh = CreateMesh1("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1483. game:GetService("Debris"):AddItem(prt, 10)
  1484. if Type == 1 or Type == nil then
  1485. table.insert(Effects, {
  1486. prt,
  1487. "Block1",
  1488. delay,
  1489. x3,
  1490. y3,
  1491. z3,
  1492. msh
  1493. })
  1494. elseif Type == 2 then
  1495. table.insert(Effects, {
  1496. prt,
  1497. "Block2",
  1498. delay,
  1499. x3,
  1500. y3,
  1501. z3,
  1502. msh
  1503. })
  1504. elseif Type == 3 then
  1505. table.insert(Effects, {
  1506. prt,
  1507. "Block3",
  1508. delay,
  1509. x3,
  1510. y3,
  1511. z3,
  1512. msh
  1513. })
  1514. end
  1515. end
  1516.  
  1517. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1518. local Part = Create("Part"){
  1519. Parent = Parent,
  1520. Reflectance = Reflectance,
  1521. Transparency = Transparency,
  1522. CanCollide = false,
  1523. Locked = true,
  1524. BrickColor = BrickColor.new(tostring(BColor)),
  1525. Name = Name,
  1526. Size = Size,
  1527. Material = Material,
  1528. }
  1529. RemoveOutlines(Part)
  1530. return Part
  1531. end
  1532.  
  1533. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1534. local Msh = Create(Mesh){
  1535. Parent = Part,
  1536. Offset = OffSet,
  1537. Scale = Scale,
  1538. }
  1539. if Mesh == "SpecialMesh" then
  1540. Msh.MeshType = MeshType
  1541. Msh.MeshId = MeshId
  1542. end
  1543. return Msh
  1544. end
  1545.  
  1546. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1547. local prt = CreatePart(workspace,"Neon",0,0,brickcolor,"Effect", Vector3.new(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1548. prt.Anchored = true
  1549. prt.CFrame = cframe
  1550. local msh = CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
  1551. game:GetService("Debris"):AddItem(prt,2)
  1552. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  1553. for i=0,1,delay do
  1554. swait()
  1555. Part.Transparency=i
  1556. Mesh.Scale=Mesh.Scale + Vector3.new(x3,y3,z3)
  1557. end
  1558. Part.Parent=nil
  1559. end),prt,msh,(math.random(0,1)+math.random())/5)
  1560. end
  1561. -------------------------------------------------------
  1562. --End Important Functions--
  1563. -------------------------------------------------------
  1564.  
  1565.  
  1566.  
  1567. --[[
  1568. Thanks for using Build-To-Lua by jarredbcv.
  1569. ]]--
  1570.  
  1571. New = function(Object, Parent, Name, Data)
  1572. local Object = Instance.new(Object)
  1573. for Index, Value in pairs(Data or {}) do
  1574. Object[Index] = Value
  1575. end
  1576. Object.Parent = Parent
  1577. Object.Name = Name
  1578. return Object
  1579. end
  1580.  
  1581. Player = game:GetService("Players").LocalPlayer
  1582. PlayerGui = Player.PlayerGui
  1583. Cam = workspace.CurrentCamera
  1584. Backpack = Player.Backpack
  1585. Character = Player.Character
  1586. Mouse = Player:GetMouse()
  1587. RootPart = Character["HumanoidRootPart"]
  1588. Torso = Character["Torso"]
  1589. Head = Character["Head"]
  1590. RightArm = Character["Right Arm"]
  1591. LeftArm = Character["Left Arm"]
  1592. RightLeg = Character["Right Leg"]
  1593. LeftLeg = Character["Left Leg"]
  1594. RootJoint = RootPart["RootJoint"]
  1595. Neck = Torso["Neck"]
  1596.  
  1597. IT = Instance.new
  1598. CF = CFrame.new
  1599. VT = Vector3.new
  1600. RAD = math.rad
  1601. C3 = Color3.new
  1602. UD2 = UDim2.new
  1603. BRICKC = BrickColor.new
  1604. ANGLES = CFrame.Angles
  1605. EULER = CFrame.fromEulerAnglesXYZ
  1606. COS = math.cos
  1607. ACOS = math.acos
  1608. SIN = math.sin
  1609. ASIN = math.asin
  1610. ABS = math.abs
  1611. MRANDOM = math.random
  1612. FLOOR = math.floor
  1613.  
  1614. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1615. WEAPONGUI.Name = "Weapon GUI"
  1616.  
  1617. function CreatePart3(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1618. local NEWPART = IT("Part")
  1619. NEWPART.formFactor = FORMFACTOR
  1620. NEWPART.Reflectance = REFLECTANCE
  1621. NEWPART.Transparency = TRANSPARENCY
  1622. NEWPART.CanCollide = false
  1623. NEWPART.Locked = true
  1624. NEWPART.Anchored = true
  1625. if ANCHOR == false then
  1626. NEWPART.Anchored = false
  1627. end
  1628. NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
  1629. NEWPART.Name = NAME
  1630. NEWPART.Size = SIZE
  1631. NEWPART.Position = Torso.Position
  1632. NEWPART.Material = MATERIAL
  1633. NEWPART:BreakJoints()
  1634. NEWPART.Parent = PARENT
  1635. return NEWPART
  1636. end
  1637.  
  1638. function NoOutlines(PART)
  1639. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1640. end
  1641.  
  1642. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1643. local NEWWELD = IT(TYPE)
  1644. NEWWELD.Part0 = PART0
  1645. NEWWELD.Part1 = PART1
  1646. NEWWELD.C0 = C0
  1647. NEWWELD.C1 = C1
  1648. NEWWELD.Parent = PARENT
  1649. return NEWWELD
  1650. end
  1651.  
  1652. function MakeForm(PART,TYPE)
  1653. if TYPE == "Cyl" then
  1654. local MSH = IT("CylinderMesh",PART)
  1655. elseif TYPE == "Ball" then
  1656. local MSH = IT("SpecialMesh",PART)
  1657. MSH.MeshType = "Sphere"
  1658. elseif TYPE == "Wedge" then
  1659. local MSH = IT("SpecialMesh",PART)
  1660. MSH.MeshType = "Wedge"
  1661. end
  1662. end
  1663.  
  1664. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  1665. if v.ClassName == "Accessory" then
  1666. v:Remove()
  1667. end
  1668. end
  1669.  
  1670. --GAUGNETS AND STUFF--
  1671.  
  1672. local cn = CFrame.new
  1673. NeonColorParts100 = {}
  1674. NeonColorParts1000 = {}
  1675. local BC = Character["Body Colors"]
  1676.  
  1677. local aa35 = Instance.new("Part")
  1678. aa35.Parent = char
  1679. aa35.Size = Vector3.new(0.2, 0.2, 0.2)
  1680. aa35.Archivable = true
  1681. aa35.Transparency = 0
  1682. aa35.Shape = "Ball"
  1683. aa35.BrickColor = BrickColor.new("White")
  1684. aa35.Material = "Neon"
  1685. aa35.CanCollide = false
  1686. local mesh = Instance.new("SpecialMesh", aa35)
  1687. mesh.MeshType = "Cylinder"
  1688. mesh.Scale = Vector3.new(0.50, 5.70, 15)
  1689. local weld1en = Instance.new("Weld")
  1690. weld1en.Parent = hed
  1691. weld1en.Part0 = hed
  1692. weld1en.Part1 = aa35
  1693. weld1en.C1 = CFrame.new(-0.22, 0, -0.065)
  1694. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1695.  
  1696. local aa34 = Instance.new("Part")
  1697. aa34.Parent = char
  1698. aa34.Size = Vector3.new(0.2, 0.2, 0.2)
  1699. aa34.Archivable = true
  1700. aa34.Transparency = 0
  1701. aa34.Shape = "Ball"
  1702. aa34.BrickColor = BrickColor.new("Dark stone grey")
  1703. aa34.Material = "Metal"
  1704. aa34.CanCollide = false
  1705. local mesh = Instance.new("SpecialMesh", aa34)
  1706. mesh.MeshType = "Cylinder"
  1707. mesh.Scale = Vector3.new(1, 5.70, 15)
  1708. local weld1en = Instance.new("Weld")
  1709. weld1en.Parent = hed
  1710. weld1en.Part0 = hed
  1711. weld1en.Part1 = aa34
  1712. weld1en.C1 = CFrame.new(-0.22, 0, -0.06)
  1713. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1714.  
  1715. local aa33 = Instance.new("Part")
  1716. aa33.Parent = char
  1717. aa33.Size = Vector3.new(0.2, 0.2, 0.2)
  1718. aa33.Archivable = true
  1719. aa33.Transparency = 0
  1720. aa33.Shape = "Ball"
  1721. aa33.BrickColor = BrickColor.new("White")
  1722. aa33.Material = "Neon"
  1723. aa33.CanCollide = false
  1724. local mesh = Instance.new("SpecialMesh", aa33)
  1725. mesh.MeshType = "Cylinder"
  1726. mesh.Scale = Vector3.new(0.50, 5.70, 15)
  1727. local weld1en = Instance.new("Weld")
  1728. weld1en.Parent = hed
  1729. weld1en.Part0 = hed
  1730. weld1en.Part1 = aa33
  1731. weld1en.C1 = CFrame.new(0, 0, -0.065)
  1732. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1733.  
  1734. local aa32 = Instance.new("Part")
  1735. aa32.Parent = char
  1736. aa32.Size = Vector3.new(0.2, 0.2, 0.2)
  1737. aa32.Archivable = true
  1738. aa32.Transparency = 0
  1739. aa32.Shape = "Ball"
  1740. aa32.BrickColor = BrickColor.new("Dark stone grey")
  1741. aa32.Material = "Metal"
  1742. aa32.CanCollide = false
  1743. local mesh = Instance.new("SpecialMesh", aa32)
  1744. mesh.MeshType = "Cylinder"
  1745. mesh.Scale = Vector3.new(1, 5.70, 15)
  1746. local weld1en = Instance.new("Weld")
  1747. weld1en.Parent = hed
  1748. weld1en.Part0 = hed
  1749. weld1en.Part1 = aa32
  1750. weld1en.C1 = CFrame.new(0, 0, -0.06)
  1751. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1752.  
  1753. local aa31 = Instance.new("Part")
  1754. aa31.Parent = char
  1755. aa31.Size = Vector3.new(0.2, 0.2, 0.2)
  1756. aa31.Archivable = true
  1757. aa31.Transparency = 0
  1758. aa31.Shape = "Ball"
  1759. aa31.BrickColor = BrickColor.new("White")
  1760. aa31.Material = "Neon"
  1761. aa31.CanCollide = false
  1762. local mesh = Instance.new("SpecialMesh", aa31)
  1763. mesh.MeshType = "Cylinder"
  1764. mesh.Scale = Vector3.new(0.50, 5.70, 15)
  1765. local weld1en = Instance.new("Weld")
  1766. weld1en.Parent = hed
  1767. weld1en.Part0 = hed
  1768. weld1en.Part1 = aa31
  1769. weld1en.C1 = CFrame.new(0.22, 0, -0.065)
  1770. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1771.  
  1772. local aa30 = Instance.new("Part")
  1773. aa30.Parent = char
  1774. aa30.Size = Vector3.new(0.2, 0.2, 0.2)
  1775. aa30.Archivable = true
  1776. aa30.Transparency = 0
  1777. aa30.Shape = "Ball"
  1778. aa30.BrickColor = BrickColor.new("Dark stone grey")
  1779. aa30.Material = "Metal"
  1780. aa30.CanCollide = false
  1781. local mesh = Instance.new("SpecialMesh", aa30)
  1782. mesh.MeshType = "Cylinder"
  1783. mesh.Scale = Vector3.new(1, 5.70, 15)
  1784. local weld1en = Instance.new("Weld")
  1785. weld1en.Parent = hed
  1786. weld1en.Part0 = hed
  1787. weld1en.Part1 = aa30
  1788. weld1en.C1 = CFrame.new(0.22, 0, -0.06)
  1789. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1790.  
  1791. local aa28 = Instance.new("Part")
  1792. aa28.Parent = char
  1793. aa28.Size = Vector3.new(0.2, 0.2, 0.2)
  1794. aa28.Archivable = true
  1795. aa28.Transparency = 0
  1796. aa28.Shape = "Ball"
  1797. aa28.BrickColor = BrickColor.new("White")
  1798. aa28.Material = "Neon"
  1799. aa28.CanCollide = false
  1800. local mesh = Instance.new("SpecialMesh", aa28)
  1801. mesh.MeshType = "Cylinder"
  1802. mesh.Scale = Vector3.new(0.50, 5.70, 15)
  1803. local weld1en = Instance.new("Weld")
  1804. weld1en.Parent = hed
  1805. weld1en.Part0 = hed
  1806. weld1en.Part1 = aa28
  1807. weld1en.C1 = CFrame.new(0.22, 0, 0.065)
  1808. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1809.  
  1810. local aa27 = Instance.new("Part")
  1811. aa27.Parent = char
  1812. aa27.Size = Vector3.new(0.2, 0.2, 0.2)
  1813. aa27.Archivable = true
  1814. aa27.Transparency = 0
  1815. aa27.Shape = "Ball"
  1816. aa27.BrickColor = BrickColor.new("Dark stone grey")
  1817. aa27.Material = "Metal"
  1818. aa27.CanCollide = false
  1819. local mesh = Instance.new("SpecialMesh", aa27)
  1820. mesh.MeshType = "Cylinder"
  1821. mesh.Scale = Vector3.new(1, 5.70, 15)
  1822. local weld1en = Instance.new("Weld")
  1823. weld1en.Parent = hed
  1824. weld1en.Part0 = hed
  1825. weld1en.Part1 = aa27
  1826. weld1en.C1 = CFrame.new(0.22, 0, 0.06)
  1827. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1828.  
  1829. local aa26 = Instance.new("Part")
  1830. aa26.Parent = char
  1831. aa26.Size = Vector3.new(0.2, 0.2, 0.2)
  1832. aa26.Archivable = true
  1833. aa26.Transparency = 0
  1834. aa26.Shape = "Ball"
  1835. aa26.BrickColor = BrickColor.new("White")
  1836. aa26.Material = "Neon"
  1837. aa26.CanCollide = false
  1838. local mesh = Instance.new("SpecialMesh", aa26)
  1839. mesh.MeshType = "Cylinder"
  1840. mesh.Scale = Vector3.new(0.50, 5.70, 15)
  1841. local weld1en = Instance.new("Weld")
  1842. weld1en.Parent = hed
  1843. weld1en.Part0 = hed
  1844. weld1en.Part1 = aa26
  1845. weld1en.C1 = CFrame.new(0, 0, 0.065)
  1846. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1847.  
  1848. local aa25 = Instance.new("Part")
  1849. aa25.Parent = char
  1850. aa25.Size = Vector3.new(0.2, 0.2, 0.2)
  1851. aa25.Archivable = true
  1852. aa25.Transparency = 0
  1853. aa25.Shape = "Ball"
  1854. aa25.BrickColor = BrickColor.new("Dark stone grey")
  1855. aa25.Material = "Metal"
  1856. aa25.CanCollide = false
  1857. local mesh = Instance.new("SpecialMesh", aa25)
  1858. mesh.MeshType = "Cylinder"
  1859. mesh.Scale = Vector3.new(1, 5.70, 15)
  1860. local weld1en = Instance.new("Weld")
  1861. weld1en.Parent = hed
  1862. weld1en.Part0 = hed
  1863. weld1en.Part1 = aa25
  1864. weld1en.C1 = CFrame.new(0, 0, 0.06)
  1865. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1866.  
  1867. local aa24 = Instance.new("Part")
  1868. aa24.Parent = char
  1869. aa24.Size = Vector3.new(0.2, 0.2, 0.2)
  1870. aa24.Archivable = true
  1871. aa24.Transparency = 0
  1872. aa24.Shape = "Ball"
  1873. aa24.BrickColor = BrickColor.new("White")
  1874. aa24.Material = "Neon"
  1875. aa24.CanCollide = false
  1876. local mesh = Instance.new("SpecialMesh", aa24)
  1877. mesh.MeshType = "Cylinder"
  1878. mesh.Scale = Vector3.new(0.50, 5.70, 15)
  1879. local weld1en = Instance.new("Weld")
  1880. weld1en.Parent = hed
  1881. weld1en.Part0 = hed
  1882. weld1en.Part1 = aa24
  1883. weld1en.C1 = CFrame.new(-0.22, 0, 0.065)
  1884. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1885.  
  1886. local aa23 = Instance.new("Part")
  1887. aa23.Parent = char
  1888. aa23.Size = Vector3.new(0.2, 0.2, 0.2)
  1889. aa23.Archivable = true
  1890. aa23.Transparency = 0
  1891. aa23.Shape = "Ball"
  1892. aa23.BrickColor = BrickColor.new("Dark stone grey")
  1893. aa23.Material = "Metal"
  1894. aa23.CanCollide = false
  1895. local mesh = Instance.new("SpecialMesh", aa23)
  1896. mesh.MeshType = "Cylinder"
  1897. mesh.Scale = Vector3.new(1, 5.70, 15)
  1898. local weld1en = Instance.new("Weld")
  1899. weld1en.Parent = hed
  1900. weld1en.Part0 = hed
  1901. weld1en.Part1 = aa23
  1902. weld1en.C1 = CFrame.new(-0.22, 0, 0.06)
  1903. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1904.  
  1905. local aa11 = Instance.new("Part")
  1906. aa11.Parent = char
  1907. aa11.Size = Vector3.new(0.2, 0.2, 0.2)
  1908. aa11.Archivable = true
  1909. aa11.Transparency = 0
  1910. aa11.Shape = "Ball"
  1911. aa11.BrickColor = BrickColor.new("Dark green")
  1912. aa11.Material = "Neon"
  1913. aa11.CanCollide = false
  1914. local mesh = Instance.new("SpecialMesh", aa11)
  1915. mesh.MeshType = "Cylinder"
  1916. mesh.Scale = Vector3.new(2.90, 2.90, 2.90)
  1917. local weld1en = Instance.new("Weld")
  1918. weld1en.Parent = ra
  1919. weld1en.Part0 = ra
  1920. weld1en.Part1 = aa11
  1921. weld1en.C1 = CFrame.new(-0.40, 0.40, 0)
  1922.  
  1923. local aa10 = Instance.new("Part")
  1924. aa10.Parent = char
  1925. aa10.Size = Vector3.new(0.2, 0.2, 0.2)
  1926. aa10.Archivable = true
  1927. aa10.Transparency = 0
  1928. aa10.Shape = "Ball"
  1929. aa10.BrickColor = BrickColor.new("Dark stone grey")
  1930. aa10.Material = "Metal"
  1931. aa10.CanCollide = false
  1932. local mesh = Instance.new("SpecialMesh", aa10)
  1933. mesh.MeshType = "Cylinder"
  1934. mesh.Scale = Vector3.new(3, 3, 3)
  1935. local weld1en = Instance.new("Weld")
  1936. weld1en.Parent = ra
  1937. weld1en.Part0 = ra
  1938. weld1en.Part1 = aa10
  1939. weld1en.C1 = CFrame.new(-0.35, 0.40, 0)
  1940.  
  1941. local aa9 = Instance.new("Part")
  1942. aa9.Parent = char
  1943. aa9.Size = Vector3.new(0.2, 0.2, 0.2)
  1944. aa9.Archivable = true
  1945. aa9.Transparency = 0
  1946. aa9.Shape = "Ball"
  1947. aa9.BrickColor = BrickColor.new("White")
  1948. aa9.Material = "Metal"
  1949. aa9.CanCollide = false
  1950. local mesh = Instance.new("SpecialMesh", aa9)
  1951. mesh.MeshType = "Brick"
  1952. mesh.Scale = Vector3.new(5.70, 1, 5.70)
  1953. local weld1en = Instance.new("Weld")
  1954. weld1en.Parent = ra
  1955. weld1en.Part0 = ra
  1956. weld1en.Part1 = aa9
  1957. weld1en.C1 = CFrame.new(0, -1, 0)
  1958.  
  1959. local aa21 = Instance.new("Part")
  1960. aa21.Parent = char
  1961. aa21.Size = Vector3.new(0.2, 0.2, 0.2)
  1962. aa21.Archivable = true
  1963. aa21.Transparency = 0
  1964. aa21.Shape = "Ball"
  1965. aa21.BrickColor = BrickColor.new("White")
  1966. aa21.Material = "Metal"
  1967. aa21.CanCollide = false
  1968. local mesh = Instance.new("SpecialMesh", aa21)
  1969. mesh.MeshType = "Brick"
  1970. mesh.Scale = Vector3.new(5.90, 0.50, 5.90)
  1971. local weld1en = Instance.new("Weld")
  1972. weld1en.Parent = ra
  1973. weld1en.Part0 = ra
  1974. weld1en.Part1 = aa21
  1975. weld1en.C1 = CFrame.new(0, 0.95, 0)
  1976.  
  1977. local aa20 = Instance.new("Part")
  1978. aa20.Parent = char
  1979. aa20.Size = Vector3.new(0.2, 0.2, 0.2)
  1980. aa20.Archivable = true
  1981. aa20.Transparency = 0
  1982. aa20.Shape = "Ball"
  1983. aa20.BrickColor = BrickColor.new("White")
  1984. aa20.Material = "Metal"
  1985. aa20.CanCollide = false
  1986. local mesh = Instance.new("SpecialMesh", aa20)
  1987. mesh.MeshType = "Brick"
  1988. mesh.Scale = Vector3.new(5.90, 0.50, 5.90)
  1989. local weld1en = Instance.new("Weld")
  1990. weld1en.Parent = ra
  1991. weld1en.Part0 = ra
  1992. weld1en.Part1 = aa20
  1993. weld1en.C1 = CFrame.new(0, -0.95, 0)
  1994.  
  1995.  
  1996. local aa8 = Instance.new("Part")
  1997. aa8.Parent = char
  1998. aa8.Size = Vector3.new(0.2, 0.2, 0.2)
  1999. aa8.Archivable = true
  2000. aa8.Transparency = 0
  2001. aa8.Shape = "Ball"
  2002. aa8.BrickColor = BrickColor.new("Dark green")
  2003. aa8.Material = "Neon"
  2004. aa8.CanCollide = false
  2005. local mesh = Instance.new("SpecialMesh", aa8)
  2006. mesh.MeshType = "Cylinder"
  2007. mesh.Scale = Vector3.new(2.90, 2.90, 2.90)
  2008. local weld1en = Instance.new("Weld")
  2009. weld1en.Parent = ra
  2010. weld1en.Part0 = ra
  2011. weld1en.Part1 = aa8
  2012. weld1en.C1 = CFrame.new(-0.40, -0.40, 0)
  2013.  
  2014. local aa7 = Instance.new("Part")
  2015. aa7.Parent = char
  2016. aa7.Size = Vector3.new(0.2, 0.2, 0.2)
  2017. aa7.Archivable = true
  2018. aa7.Transparency = 0
  2019. aa7.Shape = "Ball"
  2020. aa7.BrickColor = BrickColor.new("Dark stone grey")
  2021. aa7.Material = "Metal"
  2022. aa7.CanCollide = false
  2023. local mesh = Instance.new("SpecialMesh", aa7)
  2024. mesh.MeshType = "Cylinder"
  2025. mesh.Scale = Vector3.new(3, 3, 3)
  2026. local weld1en = Instance.new("Weld")
  2027. weld1en.Parent = ra
  2028. weld1en.Part0 = ra
  2029. weld1en.Part1 = aa7
  2030. weld1en.C1 = CFrame.new(-0.35, -0.40, 0)
  2031.  
  2032. local aa13 = Instance.new("Part")
  2033. aa13.Parent = char
  2034. aa13.Size = Vector3.new(0.2, 0.2, 0.2)
  2035. aa13.Archivable = true
  2036. aa13.Transparency = 0
  2037. aa13.Shape = "Ball"
  2038. aa13.BrickColor = BrickColor.new("White")
  2039. aa13.Material = "Neon"
  2040. aa13.CanCollide = false
  2041. local mesh = Instance.new("SpecialMesh", aa13)
  2042. mesh.MeshType = "Brick"
  2043. mesh.Scale = Vector3.new(5.30, 0.70, 5.40)
  2044. local weld1en = Instance.new("Weld")
  2045. weld1en.Parent = ra
  2046. weld1en.Part0 = ra
  2047. weld1en.Part1 = aa13
  2048. weld1en.C1 = CFrame.new(0, -1.05, 0)
  2049.  
  2050. local aa12 = Instance.new("Part")
  2051. aa12.Parent = char
  2052. aa12.Size = Vector3.new(0.2, 0.2, 0.2)
  2053. aa12.Archivable = true
  2054. aa12.Transparency = 0
  2055. aa12.Shape = "Ball"
  2056. aa12.BrickColor = BrickColor.new("White")
  2057. aa12.Material = "Neon"
  2058. aa12.CanCollide = false
  2059. local mesh = Instance.new("SpecialMesh", aa12)
  2060. mesh.MeshType = "Brick"
  2061. mesh.Scale = Vector3.new(5.30, 0.70, 5.40)
  2062. local weld1en = Instance.new("Weld")
  2063. weld1en.Parent = ra
  2064. weld1en.Part0 = ra
  2065. weld1en.Part1 = aa12
  2066. weld1en.C1 = CFrame.new(0, 1.05, 0)
  2067.  
  2068. local aa6 = Instance.new("Part")
  2069. aa6.Parent = char
  2070. aa6.Size = Vector3.new(0.2, 0.2, 0.2)
  2071. aa6.Archivable = true
  2072. aa6.Transparency = 0
  2073. aa6.Shape = "Ball"
  2074. aa6.BrickColor = BrickColor.new("White")
  2075. aa6.Material = "Metal"
  2076. aa6.CanCollide = false
  2077. local mesh = Instance.new("SpecialMesh", aa6)
  2078. mesh.MeshType = "Brick"
  2079. mesh.Scale = Vector3.new(5.70, 1, 5.70)
  2080. local weld1en = Instance.new("Weld")
  2081. weld1en.Parent = ra
  2082. weld1en.Part0 = ra
  2083. weld1en.Part1 = aa6
  2084. weld1en.C1 = CFrame.new(0, 1, 0)
  2085.  
  2086. local aa4 = Instance.new("Part")
  2087. aa4.Parent = char
  2088. aa4.Size = Vector3.new(0.2, 0.2, 0.2)
  2089. aa4.Archivable = true
  2090. aa4.Transparency = 0
  2091. aa4.Shape = "Ball"
  2092. aa4.BrickColor = maincolor
  2093. aa4.Material = "Neon"
  2094. aa4.CanCollide = false
  2095. local mesh = Instance.new("SpecialMesh", aa4)
  2096. mesh.MeshType = "Brick"
  2097. mesh.Scale = Vector3.new(1, 10.55, 5.60)
  2098. local weld1en = Instance.new("Weld")
  2099. weld1en.Parent = ra
  2100. weld1en.Part0 = ra
  2101. weld1en.Part1 = aa4
  2102. weld1en.C1 = CFrame.new(0, 0, 0)
  2103.  
  2104. local aa5 = Instance.new("Part")
  2105. aa5.Parent = char
  2106. aa5.Size = Vector3.new(0.2, 0.2, 0.2)
  2107. aa5.Archivable = true
  2108. aa5.Transparency = 0
  2109. aa5.Shape = "Ball"
  2110. aa5.BrickColor = maincolor
  2111. aa5.Material = "Neon"
  2112. aa5.CanCollide = false
  2113. local mesh = Instance.new("SpecialMesh", aa5)
  2114. mesh.MeshType = "Brick"
  2115. mesh.Scale = Vector3.new(5.60, 10.55, 1)
  2116. local weld1en = Instance.new("Weld")
  2117. weld1en.Parent = ra
  2118. weld1en.Part0 = ra
  2119. weld1en.Part1 = aa5
  2120. weld1en.C1 = CFrame.new(0, 0, 0)
  2121.  
  2122. local aa = Instance.new("Part")
  2123. aa.Parent = char
  2124. aa.Size = Vector3.new(0.2, 10, 20)
  2125. aa.Archivable = true
  2126. aa.Transparency = 0
  2127. aa.Shape = "Ball"
  2128. aa.BrickColor = BrickColor.new("Dark stone grey")
  2129. aa.Material = "Metal"
  2130. aa.CanCollide = false
  2131. local mesh = Instance.new("SpecialMesh", aa)
  2132. mesh.MeshType = "Brick"
  2133. mesh.Scale = Vector3.new(5.50, 10.50, 5.50)
  2134. local weld1en = Instance.new("Weld")
  2135. weld1en.Parent = ra
  2136. weld1en.Part0 = ra
  2137. weld1en.Part1 = aa
  2138. weld1en.C1 = CFrame.new(0, 0, 0)
  2139.  
  2140. local Core2 = Instance.new("Part")
  2141. Core2.Parent = char
  2142. Core2.Size = Vector3.new(0.2, 0.2, 0.2)
  2143. Core2.Archivable = true
  2144. Core2.Transparency = 0
  2145. Core2.Shape = "Ball"
  2146. Core2.BrickColor = maincolor
  2147. Core2.Material = "Neon"
  2148. Core2.CanCollide = false
  2149. local mesh = Instance.new("SpecialMesh", Core2)
  2150. mesh.MeshType = "Brick"
  2151. mesh.Scale = Vector3.new(7.80, 1.70, 5.25)
  2152. local weld1en = Instance.new("Weld")
  2153. weld1en.Parent = tors
  2154. weld1en.Part0 = tors
  2155. weld1en.Part1 = Core2
  2156. weld1en.C1 = CFrame.new(0, -0.01, 0)
  2157. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  2158.  
  2159. local CoreInner2 = Instance.new("Part")
  2160. CoreInner2.Parent = char
  2161. CoreInner2.Size = Vector3.new(0.2, 0.2, 0.2)
  2162. CoreInner2.Archivable = true
  2163. CoreInner2.Transparency = 0
  2164. CoreInner2.Shape = "Ball"
  2165. CoreInner2.BrickColor = BrickColor.new("Really black")
  2166. CoreInner2.Material = "Metal"
  2167. CoreInner2.CanCollide = false
  2168. local mesh = Instance.new("SpecialMesh", CoreInner2)
  2169. mesh.MeshType = "Brick"
  2170. mesh.Scale = Vector3.new(8, 2, 5.10)
  2171. local weld1en = Instance.new("Weld")
  2172. weld1en.Parent = tors
  2173. weld1en.Part0 = tors
  2174. weld1en.Part1 = CoreInner2
  2175. weld1en.C1 = CFrame.new(0, -0.01, 0)
  2176. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  2177.  
  2178. local Core = Instance.new("Part")
  2179. Core.Parent = char
  2180. Core.Size = Vector3.new(0.2, 0.2, 0.2)
  2181. Core.Archivable = true
  2182. Core.Transparency = 0
  2183. Core.Shape = "Ball"
  2184. Core.BrickColor = maincolor
  2185. Core.Material = "Neon"
  2186. Core.CanCollide = false
  2187. local mesh = Instance.new("SpecialMesh", Core)
  2188. mesh.MeshType = "Brick"
  2189. mesh.Scale = Vector3.new(7.80, 1.70, 5.20)
  2190. local weld1en = Instance.new("Weld")
  2191. weld1en.Parent = tors
  2192. weld1en.Part0 = tors
  2193. weld1en.Part1 = Core
  2194. weld1en.C1 = CFrame.new(0, -.1, 0)
  2195.  
  2196. local CoreInner = Instance.new("Part")
  2197. CoreInner.Parent = char
  2198. CoreInner.Size = Vector3.new(0.2, 0.2, 0.2)
  2199. CoreInner.Archivable = true
  2200. CoreInner.Transparency = 0
  2201. CoreInner.Shape = "Ball"
  2202. CoreInner.BrickColor = BrickColor.new("Really black")
  2203. CoreInner.Material = "Metal"
  2204. CoreInner.CanCollide = false
  2205. local mesh = Instance.new("SpecialMesh", CoreInner)
  2206. mesh.MeshType = "Brick"
  2207. mesh.Scale = Vector3.new(8, 2, 5.10)
  2208. local weld1en = Instance.new("Weld")
  2209. weld1en.Parent = tors
  2210. weld1en.Part0 = tors
  2211. weld1en.Part1 = CoreInner
  2212. weld1en.C1 = CFrame.new(0, -.1, 0)
  2213. --END OF GAUGNETS AND STUFF--
  2214.  
  2215. local NewInstance = function(instance,parent,properties)
  2216. local inst = Instance.new(instance,parent)
  2217. if(properties)then
  2218. for i,v in next, properties do
  2219. pcall(function() inst[i] = v end)
  2220. end
  2221. end
  2222. return inst;
  2223. end
  2224.  
  2225.  
  2226. ArmorColorParts = {}
  2227. ArmorColorParts2 = {}
  2228. NeonColorParts = {}
  2229. local all, last = {}, nil
  2230. local all2, last2 = {}, nil
  2231. local all3, last3 = {}, nil
  2232. local all4, last4 = {}, nil
  2233. local all, last = {}, nil
  2234. -------------------------------------------------------
  2235. --Start Customization--
  2236. -------------------------------------------------------
  2237. local Player_Size = 1
  2238. if Player_Size ~= 1 then
  2239. root.Size = root.Size * Player_Size
  2240. tors.Size = tors.Size * Player_Size
  2241. hed.Size = hed.Size * Player_Size
  2242. ra.Size = ra.Size * Player_Size
  2243. la.Size = la.Size * Player_Size
  2244. rl.Size = rl.Size * Player_Size
  2245. ll.Size = ll.Size * Player_Size
  2246. ----------------------------------------------------------------------------------
  2247. rootj.Parent = root
  2248. neck.Parent = tors
  2249. RW.Parent = tors
  2250. LW.Parent = tors
  2251. RH.Parent = tors
  2252. LH.Parent = tors
  2253. ----------------------------------------------------------------------------------
  2254. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2255. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2256. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2257. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2258. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2259. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2260. ----------------------------------------------------------------------------------
  2261. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2262. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2263. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2264. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2265. --hat.Parent = Character
  2266. end
  2267. ----------------------------------------------------------------------------------
  2268. local SONG = 1498997056
  2269. local SONG2 = 0
  2270. local Music = Instance.new("Sound",tors)
  2271. Music.Volume = 2.5
  2272. Music.Looped = true
  2273. Music.Pitch = 1 --Pitcher
  2274. ----------------------------------------------------------------------------------
  2275. local equipped = false
  2276. local idle = 0
  2277. local change = 1
  2278. local val = 0
  2279. local toim = 0
  2280. local idleanim = 0.4
  2281. local sine = 0
  2282. local Mode = 1
  2283. ----------------------------------------------------------------------------------
  2284. hum.WalkSpeed = 8
  2285. hum.JumpPower = 57
  2286. hum.Animator.Parent = nil
  2287. -------------------------------------------------------
  2288. --End Customization--
  2289. -------------------------------------------------------
  2290.  
  2291.  
  2292. -------------------------------------------------------
  2293. --Start Attacks N Stuff--
  2294. -------------------------------------------------------
  2295. it = Instance.new
  2296. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  2297. local gui = IT(GuiType)
  2298. gui.Parent = parent
  2299. gui.Text = text
  2300. gui.BackgroundTransparency = backtrans
  2301. gui.BackgroundColor3 = backcol
  2302. gui.SizeConstraint = "RelativeXY"
  2303. gui.TextXAlignment = "Center"
  2304. gui.TextYAlignment = "Center"
  2305. gui.Position = pos
  2306. gui.Size = size
  2307. gui.Font = "SourceSans"
  2308. gui.FontSize = "Size14"
  2309. gui.TextWrapped = false
  2310. gui.TextStrokeTransparency = 0
  2311. gui.TextColor = BrickColor.new("White")
  2312. return gui
  2313. end
  2314. local basgui = it("GuiMain")
  2315. basgui.Parent = plr.PlayerGui
  2316. basgui.Name = "VISgui"
  2317. local fullscreenz = it("Frame")
  2318. fullscreenz.Parent = basgui
  2319. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  2320. fullscreenz.BackgroundTransparency = 1
  2321. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  2322. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  2323. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  2324. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  2325. imgl2.BackgroundTransparency = 1
  2326. imgl2.BorderSizePixel = 0
  2327. imgl2.ImageTransparency = 0.5
  2328. imgl2.ImageColor3 = BrickColor.new("White").Color
  2329. imgl2.Position = UDim2.new(0.86,0,0.78,0)
  2330. imgl2.Size = UDim2.new(0,270,0,270)
  2331. imgl2.Image = "rbxassetid://320731120"
  2332. local techc = imgl2:Clone()
  2333. techc.Parent = fullscreenz
  2334. techc.ImageTransparency = 0.5
  2335. techc.Size = UDim2.new(0,700,0,700)
  2336. techc.Position = UDim2.new(0.75,-50,0.55,-50)
  2337. techc.ImageColor3 = BrickColor.new("White").Color
  2338. techc.Image = "rbxassetid://521073910"
  2339. local ned = Instance.new("TextLabel",fullscreenz)
  2340. ned.ZIndex = 2
  2341. ned.Font = "SciFi"
  2342. ned.BackgroundTransparency = 1
  2343. ned.BorderSizePixel = 0.65
  2344. ned.Size = UDim2.new(0.4,0,0.2,0)
  2345. ned.Position = UDim2.new(0.2,0,0.2,0)
  2346. ned.TextColor3 = BrickColor.new("White").Color
  2347. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  2348. ned.TextScaled = true
  2349. ned.TextStrokeTransparency = 0
  2350. ned.Text = "Neutral"
  2351. ned.TextSize = 24
  2352. ned.Rotation = 1
  2353. --ned.TextXAlignment = "Right"
  2354. ned.TextYAlignment = "Bottom"
  2355. -----------
  2356. local GUIFrame = IT("Frame")
  2357. GUIFrame.Parent = Base
  2358. GUIFrame.BackgroundColor3 = Color3.new(255, 255, 255)
  2359. GUIFrame.BackgroundTransparency = 1
  2360. GUIFrame.BorderColor3 = Color3.new(17, 17, 17)
  2361. GUIFrame.Size = UDim2.new(1, 0, 1, 0)
  2362. GUIFrame.Position = UDim2.new(0, 0, 0, 0)
  2363. ---------------------
  2364. -----------------------------
  2365. function resetmode()
  2366. Mode = 1
  2367. SONG = 1498997056
  2368. for i, v in pairs(NeonColorParts1000) do
  2369. v.BrickColor = BrickC("White")
  2370. end
  2371. Core.BrickColor = BrickColor.new("White")
  2372. Core2.BrickColor = BrickColor.new("White")
  2373. imgl2.ImageColor3 = BrickC("White").Color
  2374. techc.ImageColor3 = BrickC("White").Color
  2375. ned.Text = "Neutral"
  2376. ned.TextColor3 = BrickC("White").Color
  2377. ned.TextStrokeColor3 = BrickC("Really black").Color
  2378. end
  2379. function Taunt()
  2380. attack = true
  2381. hum.WalkSpeed = 0
  2382. TAUNT:Play()
  2383. repeat
  2384. swait()
  2385. TAUNT.Parent = tors
  2386. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
  2387. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-3 - 1.5 * Cos(sine / 7)), Rad(0), Rad(-25)), 0.3)
  2388. RH.C0 = clerp(RH.C0, CF(.8* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, .2* Player_Size) * angles(Rad(0), Rad(45), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2389. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2390. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-20), Rad(25)), 0.1)
  2391. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(78 + 3.5 * Cos(sine / 20)), Rad(-25), Rad(-20)), 0.1)
  2392. until TAUNT.Playing == false
  2393. attack = false
  2394. hum.WalkSpeed = 8
  2395. end
  2396. function attackone()
  2397. attack = true
  2398. hum.WalkSpeed = 3.01
  2399. for i = 0, 1.7, 0.1 do
  2400. swait()
  2401. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(-40)), 0.3)
  2402. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
  2403. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-7)), 0.3)
  2404. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
  2405. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .3* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(45)), 0.3)
  2406. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
  2407. end
  2408. Cso("203426541", ra, 10, 1)
  2409. for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
  2410. if v:FindFirstChild("Head") then
  2411. Eviscerate(v)
  2412. SoulSteal(v)
  2413. end
  2414. end
  2415. for i = 0, 1.4, 0.1 do
  2416. swait()
  2417. BlockEffect(maincolor, ra.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
  2418. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3)
  2419. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  2420. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.3)
  2421. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.3)
  2422. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.3)
  2423. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
  2424. end
  2425. hum.WalkSpeed = 8
  2426. attack = false
  2427. end
  2428. function attacktwo()
  2429. attack = true
  2430. hum.WalkSpeed = 3.01
  2431. for i = 0, 1.7, 0.1 do
  2432. swait()
  2433. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  2434. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  2435. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.3)
  2436. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
  2437. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
  2438. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
  2439. end
  2440. Cso("203426541", rl, 10, 1)
  2441. for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
  2442. if v:FindFirstChild("Head") then
  2443. Eviscerate(v)
  2444. SoulSteal(v)
  2445. end
  2446. end
  2447. for i = 0, 1.4, 0.1 do
  2448. swait()
  2449. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  2450. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  2451. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.3)
  2452. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.3)
  2453. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
  2454. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
  2455. end
  2456. hum.WalkSpeed = 8
  2457. attack = false
  2458. end
  2459. function attackthree()
  2460. attack = true
  2461. hum.WalkSpeed = 3.01
  2462. for i = 0, 1.4, 0.1 do
  2463. swait()
  2464. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  2465. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2466. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.3)
  2467. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.3)
  2468. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
  2469. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
  2470. end
  2471. Cso("203426541", hed, 10, 1)
  2472. for i = 0, 1.7, 0.1 do
  2473. swait()
  2474. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  2475. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2476. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.3)
  2477. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.3)
  2478. RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
  2479. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
  2480. end
  2481. Cso("260435136", hed, 10, .9)
  2482. BlockEffect(maincolor, ra.CFrame * CF(0, -2, 0), 11, 11, 11, 10, 10, 10, 0.04, 1)
  2483. BlockEffect(BrickC("Really black"), ra.CFrame * CF(0, -2, 0), 6, 6, 6, 5, 5, 5, 0.04, 1)
  2484. for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
  2485. if v:FindFirstChild("Head") then
  2486. Eviscerate(v)
  2487. SoulSteal(v)
  2488. end
  2489. end
  2490. for i = 0, 1.8, 0.1 do
  2491. swait()
  2492. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.2)
  2493. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  2494. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.2)
  2495. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.2)
  2496. RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.2)
  2497. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.2)
  2498. end
  2499. hum.WalkSpeed = 8
  2500. attack = false
  2501. end
  2502. function Power_Burst()
  2503. hum.WalkSpeed = 4
  2504. attack = true
  2505. Cso("163619849", ra, 10, 1.35)
  2506. for i = 0,4.3,0.1 do
  2507. swait()
  2508. PixelBlock(3,1,"Add",ra.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.2,0.2,0.2,0.01,maincolor,0)
  2509. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
  2510. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
  2511. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
  2512. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
  2513. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2514. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2515. end
  2516. CameraEnshaking(2.5, 20)
  2517. Cso("539294959", ra, 10, .9)
  2518. BlockEffect(maincolor, ra.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
  2519. BlockEffect(BrickC("Really black"), ra.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
  2520. for i, v in pairs(FindNearestHead(ra.CFrame.p, 15)) do
  2521. if v:FindFirstChild("Head") then
  2522. Eviscerate(v)
  2523. SoulSteal(v)
  2524. end
  2525. end
  2526. for i = 0,3,0.1 do
  2527. swait()
  2528. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
  2529. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
  2530. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
  2531. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
  2532. RW.C0 = clerp(RW.C0, CF(1.5, 0.01 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2533. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2534. end
  2535. hum.WalkSpeed = 8
  2536. attack = false
  2537. end
  2538. function Magic_Bombs()
  2539. attack = true
  2540. hum.WalkSpeed = 0
  2541. local GYRO = IT("BodyGyro",root)
  2542. GYRO.D = 100
  2543. GYRO.P = 2000
  2544. GYRO.MaxTorque = VT(0,4000000,0)
  2545. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2546. for i = 0,3.6,0.1 do
  2547. swait()
  2548. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  2549. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2550. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2551. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2552. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  2553. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
  2554. end
  2555. CameraEnshaking(1, 6)
  2556. GYRO:Destroy()
  2557. Cso("588734356", Handle, 10, 1.05)
  2558. BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
  2559. BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
  2560. HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
  2561. for i = 0,2,0.1 do
  2562. swait()
  2563. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  2564. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2565. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2566. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2567. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2)
  2568. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
  2569. end
  2570. local GYRO = IT("BodyGyro",root)
  2571. GYRO.D = 100
  2572. GYRO.P = 2000
  2573. GYRO.MaxTorque = VT(0,4000000,0)
  2574. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2575. for i = 0,2.4,0.1 do
  2576. swait()
  2577. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  2578. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2579. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2580. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2581. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  2582. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
  2583. end
  2584. GYRO:Destroy()
  2585. CameraEnshaking(1, 6)
  2586. Cso("588734356", Handle, 10, 1.05)
  2587. BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
  2588. BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
  2589. HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Normal")
  2590. for i = 0,2,0.1 do
  2591. swait()
  2592. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  2593. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2594. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2595. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2596. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2)
  2597. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
  2598. end
  2599. local GYRO = IT("BodyGyro",root)
  2600. GYRO.D = 100
  2601. GYRO.P = 2000
  2602. GYRO.MaxTorque = VT(0,4000000,0)
  2603. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2604. for i = 0,2.4,0.1 do
  2605. swait()
  2606. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  2607. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2608. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2609. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2610. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  2611. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
  2612. end
  2613. GYRO:Destroy()
  2614. CameraEnshaking(1, 6)
  2615. Cso("588734356", Handle, 10, 1.05)
  2616. BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
  2617. BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
  2618. HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
  2619. for i = 0,2,0.1 do
  2620. swait()
  2621. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  2622. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2623. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2624. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2625. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2)
  2626. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
  2627. end
  2628. attack = false
  2629. hum.WalkSpeed = 8
  2630. end
  2631. function Dangerous_Field()
  2632. attack = true
  2633. hum.WalkSpeed = 0
  2634. for i = 0,10,0.1 do
  2635. swait()
  2636. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.2)
  2637. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2638. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2), Rad(0), Rad(-2.1)), 0.15)
  2639. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2640. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(90)), 0.2)
  2641. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(-90)), 0.2)
  2642. CameraEnshaking(1, 7)
  2643. Cso("588734356", Handle, 10, 1.2)
  2644. BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1)
  2645. BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1)
  2646. HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Normal")
  2647. HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Normal")
  2648. end
  2649. attack = false
  2650. hum.WalkSpeed = 8
  2651. end
  2652. function NUCLEAR()
  2653. attack = true
  2654. local orb = Instance.new("Part", char)
  2655. orb.Anchored = true
  2656. orb.BrickColor = BrickC("Lime green")
  2657. orb.CanCollide = false
  2658. orb.FormFactor = 3
  2659. orb.Name = "Ring"
  2660. orb.Material = "Neon"
  2661. orb.Size = Vector3.new(1, 1, 1)
  2662. orb.Transparency = 0
  2663. orb.TopSurface = 0
  2664. orb.BottomSurface = 0
  2665. local orbm = Instance.new("SpecialMesh", orb)
  2666. orbm.MeshType = "Sphere"
  2667. orbm.Name = "SizeMesh"
  2668. orbm.Scale = Vector3.new(0, 0, 0)
  2669. local scaled = 0.1
  2670. local posid = 0
  2671. Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Lime green"), 0, "Sphere")
  2672. Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Lime green"), 0, "Sphere")
  2673. for i = 0, 12, 0.1 do
  2674. swait()
  2675. scaled = scaled + 0.001
  2676. posid = posid - scaled
  2677. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  2678. orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
  2679. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.08)
  2680. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(15)), 0.08)
  2681. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
  2682. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
  2683. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(170), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
  2684. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-12 - 5 * Sin(sine / 30))), 0.08)
  2685. end
  2686. for i = 0, 2, 0.1 do
  2687. swait()
  2688. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.08)
  2689. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(15)), 0.08)
  2690. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
  2691. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
  2692. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
  2693. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-12 - 5 * Sin(sine / 30))), 0.08)
  2694. end
  2695. coroutine.resume(coroutine.create(function()
  2696. orb.Anchored = false
  2697. CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
  2698. local a = Instance.new("Part", workspace)
  2699. a.Name = "Direction"
  2700. a.Anchored = true
  2701. a.BrickColor = BrickC("Lime green")
  2702. a.Material = "Neon"
  2703. a.Transparency = 1
  2704. a.CanCollide = false
  2705. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  2706. local ignore = orb
  2707. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2708. a.BottomSurface = 10
  2709. a.TopSurface = 10
  2710. local distance = (orb.CFrame.p - position).magnitude
  2711. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2712. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2713. orb.CFrame = a.CFrame
  2714. a:Destroy()
  2715. local bv = Instance.new("BodyVelocity")
  2716. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2717. bv.velocity = orb.CFrame.lookVector * 125
  2718. bv.Parent = orb
  2719. local hitted = false
  2720. game:GetService("Debris"):AddItem(orb, 15)
  2721. swait()
  2722. local hit = orb.Touched:connect(function(hit)
  2723. if hitted == false then
  2724. hitted = true
  2725. CameraEnshaking(10, 2.5)
  2726. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  2727. for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do
  2728. if v:FindFirstChild("Head") then
  2729. Eviscerate(v)
  2730. end
  2731. end
  2732. Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Lime green"), "Sphere")
  2733. Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Lime green"), "Sphere")
  2734. for i = 0, 9 do
  2735. Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Lime green"), 0, "Sphere")
  2736. Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Lime green"), 0, "Sphere")
  2737. end
  2738. orb.Anchored = true
  2739. orb.Transparency = 1
  2740. wait(8)
  2741. orb:Destroy()
  2742. end
  2743. end)
  2744. end))
  2745. for i = 0, 1, 0.1 do
  2746. swait()
  2747. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.08)
  2748. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(15)), 0.08)
  2749. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
  2750. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
  2751. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3)
  2752. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-12 - 5 * Sin(sine / 30))), 0.08)
  2753. end
  2754. attack = false
  2755. end
  2756. function Shockwave()
  2757. attack = true
  2758. hum.WalkSpeed = 0
  2759. for i = 0,4,0.1 do
  2760. swait()
  2761. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2762. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2763. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2764. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2765. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2766. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2767. end
  2768. coroutine.resume(coroutine.create(function()
  2769. BlockEffect(maincolor, rl.CFrame * CF(-1, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2770. BlockEffect(maincolor, rl.CFrame * CF(-3, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2771. BlockEffect(maincolor, rl.CFrame * CF(2, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2772. HitboxFunction(rl.CFrame * CF(-1, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
  2773. HitboxFunction(rl.CFrame * CF(-3, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
  2774. HitboxFunction(rl.CFrame * CF(2, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
  2775. CameraEnshaking(1, 7)
  2776. wait(0.05)
  2777. BlockEffect(maincolor, rl.CFrame * CF(-0.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2778. BlockEffect(maincolor, rl.CFrame * CF(-2.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2779. BlockEffect(maincolor, rl.CFrame * CF(1.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2780. HitboxFunction(rl.CFrame * CF(-0.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 20, 10, "Snare")
  2781. HitboxFunction(rl.CFrame * CF(-2.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2782. HitboxFunction(rl.CFrame * CF(1.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2783. CameraEnshaking(1, 7)
  2784. wait(0.05)
  2785. BlockEffect(maincolor, rl.CFrame * CF(-0.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2786. BlockEffect(maincolor, rl.CFrame * CF(-2.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2787. BlockEffect(maincolor, rl.CFrame * CF(1.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2788. HitboxFunction(rl.CFrame * CF(-0.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2789. HitboxFunction(rl.CFrame * CF(-2.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2790. HitboxFunction(rl.CFrame * CF(1.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2791. CameraEnshaking(1, 7)
  2792. wait(0.05)
  2793. BlockEffect(maincolor, rl.CFrame * CF(-0.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2794. BlockEffect(maincolor, rl.CFrame * CF(-2.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2795. BlockEffect(maincolor, rl.CFrame * CF(1.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2796. HitboxFunction(rl.CFrame * CF(-0.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2797. HitboxFunction(rl.CFrame * CF(-2.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2798. HitboxFunction(rl.CFrame * CF(1.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2799. CameraEnshaking(1, 7)
  2800. wait(0.05)
  2801. BlockEffect(maincolor, rl.CFrame * CF(-0.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2802. BlockEffect(maincolor, rl.CFrame * CF(-2.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2803. BlockEffect(maincolor, rl.CFrame * CF(1.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2804. HitboxFunction(rl.CFrame * CF(-0.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2805. HitboxFunction(rl.CFrame * CF(-2.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2806. HitboxFunction(rl.CFrame * CF(1.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2807. CameraEnshaking(1, 7)
  2808. wait(0.05)
  2809. BlockEffect(maincolor, rl.CFrame * CF(-0, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2810. BlockEffect(maincolor, rl.CFrame * CF(-2, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2811. BlockEffect(maincolor, rl.CFrame * CF(1, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2812. HitboxFunction(rl.CFrame * CF(-0, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2813. HitboxFunction(rl.CFrame * CF(-2, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2814. HitboxFunction(rl.CFrame * CF(1, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2815. CameraEnshaking(1, 7)
  2816. end))
  2817. Cso("440145223", Handle, 10, 1.05)
  2818. for i = 1,7,0.1 do
  2819. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  2820. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  2821. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  2822. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2823. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  2824. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  2825. end
  2826. wait(.6)
  2827. hum.WalkSpeed = 8
  2828. attack = false
  2829. end
  2830. function Pulse()
  2831. attack = true
  2832. hum.WalkSpeed = 0
  2833. local GYRO = IT("BodyGyro",root)
  2834. GYRO.D = 100
  2835. GYRO.P = 2000
  2836. GYRO.MaxTorque = VT(0,4000000,0)
  2837. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2838. for i = 0,4,0.1 do
  2839. swait()
  2840. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
  2841. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
  2842. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
  2843. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
  2844. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
  2845. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2846. end
  2847. BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2848. HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 30, 40, 0, "Freeze")
  2849. CameraEnshaking(1, 25)
  2850. BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2851. HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2852. BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2853. HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2854. BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2855. HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2856. BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2857. HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2858. BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2859. HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2860. BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2861. HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2862. BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2863. HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2864. BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2865. HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2866. BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2867. HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2868. BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2869. HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2870. BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2871. HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2872. Cso("440145223", Handle, 10, 1.05)
  2873. GYRO:Destroy()
  2874. for i = 1,2,0.1 do
  2875. swait()
  2876. PixelBlock(2,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.04,0.04,0.04,0.06,maincolor,0)
  2877. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
  2878. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
  2879. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
  2880. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
  2881. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
  2882. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2883. end
  2884. hum.WalkSpeed = 8
  2885. attack = false
  2886. end
  2887. function LAZER()
  2888. attack = true
  2889. local GYRO = IT("BodyGyro",root)
  2890. GYRO.D = 100
  2891. GYRO.P = 2000
  2892. GYRO.MaxTorque = Vector3.new(0,4000000,0)
  2893. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2894. ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(0,0,0),})
  2895. for i = 0,5,0.1 do
  2896. swait()
  2897. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2898. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
  2899. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
  2900. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
  2901. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
  2902. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
  2903. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2904. end
  2905. local beam = Instance.new("Part", workspace)
  2906. beam.BrickColor = BrickColor.new("Deep orange")
  2907. beam.FormFactor = "Custom"
  2908. beam.Material = "Glass"
  2909. beam.Transparency = 0.5
  2910. beam.Anchored = true
  2911. beam.Locked = true
  2912. beam.CanCollide = false
  2913. local distance = (aa12.CFrame.p - mouse.Hit.p).magnitude
  2914. beam.Size = Vector3.new(1.05, 1.05, distance)
  2915. beam.CFrame = CFrame.new(aa12.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
  2916. game:GetService("Debris"):AddItem(beam, 0.14)
  2917. BlockEffect(BrickC("Deep orange"), ref.CFrame * CF(0, 0, 0), 25, 25, 25, 15, 15, 15, 0.04, 1)
  2918. BlockEffect(BrickC("Deep orange"), ref.CFrame * CF(0, 0, 0), 19, 19, 19, 10, 10, 10, 0.04, 1)
  2919. GYRO:Destroy()
  2920. for i, v in pairs(FindNearestHead(ref.CFrame.p, 2)) do
  2921. if v:FindFirstChild("Torso") then
  2922. Eviscerate(v)
  2923. end
  2924. end
  2925. attack = false
  2926. end
  2927. function Spirit_Beam()
  2928. attack = true
  2929. hum.WalkSpeed = 0
  2930. local GYRO = IT("BodyGyro",root)
  2931. GYRO.D = 100
  2932. GYRO.P = 2000
  2933. GYRO.MaxTorque = VT(0,4000000,0)
  2934. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2935. for i = 0,5,0.1 do
  2936. swait()
  2937. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2938. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2939. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2940. RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2941. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  2942. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
  2943. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1)
  2944. end
  2945. ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),})
  2946. HitboxFunction(ref.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 4, 25, 50, 1, "Normal")
  2947. BlockEffect(maincolor, ref.CFrame * CF(-0, -0, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
  2948. local beam = Instance.new("Part", workspace)
  2949. beam.BrickColor = BrickColor.new("Fog")
  2950. beam.FormFactor = "Custom"
  2951. beam.Material = "Glass"
  2952. beam.Transparency = 0.5
  2953. beam.Anchored = true
  2954. beam.Locked = true
  2955. beam.CanCollide = false
  2956. local distance = (Handle.CFrame.p - mouse.Hit.p).magnitude
  2957. beam.Size = Vector3.new(1.05, 1.05, distance)
  2958. beam.CFrame = CFrame.new(Handle.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
  2959. game:GetService("Debris"):AddItem(beam, 0.14)
  2960. local sound = Instance.new('Sound',Handle)
  2961. sound.SoundId = 'rbxassetid://588697948'
  2962. sound.Volume = 7
  2963. sound.EmitterSize = 40
  2964. sound.MaxDistance = 450
  2965. sound:Play()
  2966. game:GetService("Debris"):AddItem(beam, sound.TimeLength)
  2967. GYRO:Destroy()
  2968. PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
  2969. PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
  2970. PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
  2971. PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
  2972. PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
  2973. PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
  2974. PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
  2975. PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
  2976. PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
  2977. PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
  2978. wait(0.3)
  2979. attack = false
  2980. hum.WalkSpeed = 8
  2981. ref:Destroy()
  2982. end
  2983. function Distort()
  2984. attack = true
  2985. hum.WalkSpeed = 0
  2986. local pos = root.Position
  2987. root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
  2988. Cso("261227592", tors, 10, 0.85)
  2989. for i = 1,2.5,0.1 do
  2990. swait()
  2991. rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2992. end
  2993. attack = false
  2994. hum.WalkSpeed = 8
  2995. end
  2996. function Ancient_Rage()
  2997. attack = true
  2998. hum.WalkSpeed = 4
  2999. Cso("907329532", tors, 10, 1.05)
  3000. for i = 1,14,0.1 do
  3001. swait()
  3002. rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  3003. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
  3004. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
  3005. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
  3006. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
  3007. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  3008. for i, v in pairs(FindNearestHead(tors.CFrame.p, 7)) do
  3009. if v:FindFirstChild("Head") then
  3010. Eviscerate(v)
  3011. end
  3012. end
  3013. end
  3014. attack = false
  3015. hum.WalkSpeed = 8
  3016. end
  3017. function TTTTTTTTTTTaunt()
  3018. attack = true
  3019. hum.WalkSpeed = 0
  3020. DTAUNT:Play()
  3021. repeat
  3022. swait()
  3023. DTAUNT.Parent = tors
  3024. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  3025. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
  3026. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  3027. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  3028. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  3029. LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  3030. until DTAUNT.Playing == false
  3031. attack = false
  3032. hum.WalkSpeed = 8
  3033. end
  3034. function HAAH()
  3035. attack = true
  3036. hum.WalkSpeed = 0
  3037. Cso("300208779", hed, 10, 1)
  3038. for i = 0,9,0.1 do
  3039. swait()
  3040. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15)
  3041. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
  3042. if Mrandom(1,15) == 1 then
  3043. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  3044. end
  3045. RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15)
  3046. LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15)
  3047. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1)
  3048. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1)
  3049. end
  3050. attack = false
  3051. hum.WalkSpeed = 10
  3052. end
  3053. function again()
  3054. attack = true
  3055. hum.WalkSpeed = 0
  3056. ITAUNT:Play()
  3057. repeat
  3058. swait()
  3059. ITAUNT.Parent = tors
  3060. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08)
  3061. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  3062. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08)
  3063. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
  3064. RW.C0 = clerp(RW.C0, CF(1.5, 0.8 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(120 - 2.5 * Sin(sine / 20))), 0.1)
  3065. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1)
  3066. until ITAUNT.Playing == false
  3067. attack = false
  3068. hum.WalkSpeed = 8
  3069. end
  3070. function LunarSpin()
  3071. attack = true
  3072. hum.WalkSpeed = 0
  3073. for i = 0,17,0.05 do
  3074. CameraEnshaking(1, 5)
  3075. MagniDamage(tors, 47, 2, 5, 0, "Normal")
  3076. Effects.Spiral.Create(BrickC("Teal"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03)
  3077. Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  3078. swait()
  3079. PixelBlock(1.5,14,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-360,360)),math.rad(math.random(-50,50))),3,3,3,0.3,maincolor,0)
  3080. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
  3081. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3082. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3083. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3084. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
  3085. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1)
  3086. end
  3087. hum.WalkSpeed = 8
  3088. attack = false
  3089. end
  3090. function Decapitate()
  3091. local target = nil
  3092. local targettorso = nil
  3093. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  3094. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  3095. target = mouse.Target.Parent.Humanoid
  3096. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  3097. targethead = mouse.Target.Parent:FindFirstChild("Head")
  3098. end
  3099. end
  3100. if target ~= nil then
  3101. targettorso.Anchored = true
  3102. attack = true
  3103. hum.WalkSpeed = 0
  3104. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  3105. for i = 0,4.2,0.1 do
  3106. swait()
  3107. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  3108. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  3109. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  3110. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  3111. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1)
  3112. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  3113. end
  3114. local ModelHead01 = New("Model", char, "", {})
  3115. local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
  3116. local Head01 = targethead:Clone()
  3117. targethead.Transparency = 1
  3118. Head01.Parent = ModelHead01
  3119. local weldHead01 = Instance.new("Weld")
  3120. weldHead01.Parent = Head01
  3121. weldHead01.Part0 = targethead
  3122. weldHead01.Part1 = Head01
  3123. weldHead01.C1 = CFrame.new(0, 0, 0)
  3124. targethead.face:Remove()
  3125. weldHead01.Part0 = ra
  3126. weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  3127. targettorso:BreakJoints()
  3128. CreateSound("314390675", targettorso, 5, .7)
  3129. for i = 0,3.2,0.1 do
  3130. swait()
  3131. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  3132. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  3133. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  3134. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15)
  3135. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1)
  3136. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  3137. end
  3138. for i = 0,4.2,0.1 do
  3139. swait()
  3140. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  3141. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  3142. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  3143. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  3144. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
  3145. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  3146. end
  3147. CreateSound("541909763", targettorso, 5, .8)
  3148. weldHead01:Destroy()
  3149. Head01.CanCollide = true
  3150. local bodyVelocity2 = Create("BodyVelocity")({
  3151. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  3152. P = 5000,
  3153. maxForce = Vector3.new(8000, 8000, 8000),
  3154. Parent = Head01
  3155. })
  3156. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  3157. for i = 0,6.2,0.1 do
  3158. swait()
  3159. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  3160. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  3161. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  3162. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  3163. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1)
  3164. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  3165. end
  3166. targettorso.Anchored = false
  3167. attack = false
  3168. hum.WalkSpeed = 8
  3169. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  3170. end
  3171. end
  3172. function BalanceSpin()
  3173. attack = true
  3174. hum.WalkSpeed = 2
  3175. for i = 0,17,0.07 do
  3176. CameraEnshaking(1, 5)
  3177. MagniDamage(tors, 30, 7, 11, 0, "Normal")
  3178. swait()
  3179. Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick")
  3180. Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, BrickColor.new("Black"), 0, "Brick")
  3181. Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick")
  3182. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
  3183. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3184. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3185. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3186. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
  3187. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1)
  3188. end
  3189. hum.WalkSpeed = 8
  3190. attack = false
  3191. end
  3192.  
  3193. function BARK()
  3194. attack = true
  3195. hum.WalkSpeed = 0
  3196. BATAUNT:Play()
  3197. repeat
  3198. BATAUNT.Parent = tors
  3199. swait()
  3200. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1)
  3201. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
  3202. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1)
  3203. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1)
  3204. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1)
  3205. LH.C0 = clerp(LH.C0, CF(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1)
  3206. until BATAUNT.Playing == false
  3207. attack = false
  3208. hum.WalkSpeed = 8
  3209. end
  3210. function CreateSound(ID, PARENT, VOLUME, PITCH)
  3211. local NSound = nil
  3212. coroutine.resume(coroutine.create(function()
  3213. NSound = Instance.new("Sound", PARENT)
  3214. NSound.Volume = VOLUME
  3215. NSound.Pitch = PITCH
  3216. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  3217. swait()
  3218. NSound:play()
  3219. game:GetService("Debris"):AddItem(NSound, 10)
  3220. end))
  3221. return NSound
  3222. end
  3223. function Bark_Splosion()
  3224. attack = true
  3225. for i = 0,2,0.05 do
  3226. swait()
  3227. Effects.Block.Create(BrickC("Cool yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  3228. Effects.Block.Create(BrickC("Medium stone grey"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  3229. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  3230. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3231. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  3232. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  3233. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  3234. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  3235. end
  3236. CreateSound("331666100", tors, 10, 1)
  3237. Effects.Ring.Create(BrickC("Cool yellow"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01)
  3238. MagniDamage(tors, 34, 25, 50, 15, "DarkUp")
  3239. CameraEnshaking(1.5, 10)
  3240. for i = 1,2,0.1 do
  3241. swait()
  3242. PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  3243. PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  3244. PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
  3245. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8)
  3246. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
  3247. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8)
  3248. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8)
  3249. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75)
  3250. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75)
  3251. end
  3252. wait(.6)
  3253. attack = false
  3254. end
  3255. corrupted = false
  3256. function Pixel_Corrupt()
  3257. attack = true
  3258. corrupted = true
  3259. for i = 0,3,0.05 do
  3260. swait()
  3261. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8)
  3262. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
  3263. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8)
  3264. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8)
  3265. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75)
  3266. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75)
  3267. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  3268. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3269. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  3270. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  3271. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  3272. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  3273. end
  3274. refa = New("Part",m,"refa",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),})
  3275. HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 20, 20, 25, 0, "Normal")
  3276. BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 30, 30, 30, 32, 32, 32, 0.07, 1)
  3277. CreateSound("331666100", refa, 10, 1)
  3278. CameraEnshaking(1.5, 10)
  3279. coroutine.resume(coroutine.create(function()
  3280. for i = 1,20,0.1 do
  3281. swait(5)
  3282. PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
  3283. PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
  3284. PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
  3285. PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
  3286. CreateSound("331666100", refa, 10, 1)
  3287. BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 22, 22, 22, 25, 25, 25, 0.041, 1)
  3288. HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 21.3, 5, 8, 0, "Normal")
  3289. end
  3290. refa:Destroy()
  3291. corrupted = false
  3292. end))
  3293. for i = 1,2.5,0.1 do
  3294. swait()
  3295. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.4)
  3296. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.6)
  3297. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.4)
  3298. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.4)
  3299. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.3)
  3300. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.3)
  3301. end
  3302. wait(.3)
  3303. attack = false
  3304. end
  3305. MERKIO = Instance.new("Sound", tors) --why
  3306. MERKIO.SoundId = "http://www.roblox.com/asset/?id=791374350"
  3307. MERKIO.Volume = 10
  3308. MERKIO.Pitch = 1
  3309. MERKIO.Looped = false
  3310. MERKIO.TimePosition = 0
  3311. function URA()
  3312. attack = true
  3313. MERKIO:Play()
  3314. repeat
  3315. for i = 0,0.7,0.2 do
  3316. swait()
  3317. MERKIO.Parent = tors
  3318. for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
  3319. if v:FindFirstChild("Torso") then
  3320. Eviscerate(v)
  3321. end
  3322. end
  3323. for i, v in pairs(FindNearestHead(la.CFrame.p, 10)) do
  3324. if v:FindFirstChild("Torso") then
  3325. Eviscerate(v)
  3326. end
  3327. end
  3328. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 45, 45, 45, 0.1, 0.1, 0.1, 0.03)
  3329. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(10)), 0.8)
  3330. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.9)
  3331. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  3332. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  3333. RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 1) * angles(Rad(90), Rad(0), Rad(-10)), 0.77)
  3334. LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), -1) * angles(Rad(90), Rad(0), Rad(10)), 0.67)
  3335. end
  3336. for i = 0,0.7,0.2 do
  3337. swait()
  3338. MERKIO.Parent = tors
  3339. for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
  3340. if v:FindFirstChild("Torso") then
  3341. Eviscerate(v)
  3342. end
  3343. end
  3344. for i, v in pairs(FindNearestHead(la.CFrame.p, 10)) do
  3345. if v:FindFirstChild("Torso") then
  3346. Eviscerate(v)
  3347. end
  3348. end
  3349. Effects.Sphere.Create(maincolor, la.CFrame * CFrame.new(0,-2,0) , 45, 45, 45, 0.1, 0.1, 0.1, 0.03)
  3350. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(-10)), 0.8)
  3351. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.9)
  3352. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  3353. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  3354. RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), -1) * angles(Rad(90), Rad(0), Rad(-10)), 0.77)
  3355. LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 1) * angles(Rad(90), Rad(0), Rad(10)), 0.67)
  3356. end
  3357. until MERKIO.Playing == false
  3358. MERKIO:Stop()
  3359. attack = false
  3360. hum.WalkSpeed = 16
  3361. end
  3362. function un_fun()
  3363. attack = true
  3364. hum.WalkSpeed = 0
  3365. BTAUNT:Play()
  3366. repeat
  3367. swait()
  3368. BTAUNT.Parent = tors
  3369. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08)
  3370. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08)
  3371. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08)
  3372. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08)
  3373. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(210)), 0.08)
  3374. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  3375. until BTAUNT.Playing == false
  3376. attack = false
  3377. hum.WalkSpeed = 8
  3378. end
  3379. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3380. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3381. prt.Anchored = true
  3382. prt.Material = "Neon"
  3383. prt.CFrame = cframe
  3384. prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3385. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3386. game:GetService("Debris"):AddItem(prt, 5)
  3387. coroutine.resume(coroutine.create(function(Part, Mesh)
  3388. for i = 0, 1, delay do
  3389. swait()
  3390. Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3391. Part.Transparency = i
  3392. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  3393. end
  3394. Part.Parent = nil
  3395. end), prt, msh)
  3396. end
  3397. function Ende_der_Weld()
  3398. attack = true
  3399. for i = 0,7,0.1 do
  3400. swait()
  3401. BlockEffect(BrickC("Royal purple"), ll.CFrame * CF(0, -1.5, 0), 5, 5, 5, 3, 3, 3, 0.04, 1)
  3402. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  3403. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3404. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  3405. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  3406. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  3407. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  3408. end
  3409. Cso("438666141", char, 10, 1)
  3410. Effects.Sphere.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.80, 0), 5, 2, 5, 150.6, .4, 150.6, 0.05)
  3411. Effects.Wave.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.80, 0), 1500, 1500, 1500, 250.6, .6, 250.6, 0.05)
  3412. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  3413. if v:FindFirstChild("Head") then
  3414. Eviscerate(v)
  3415. end
  3416. end
  3417. coroutine.resume(coroutine.create(function()
  3418. for i = 0,2.8,0.1 do
  3419. swait()
  3420. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  3421. end
  3422. for i = 0,1.8,0.1 do
  3423. swait()
  3424. hum.CameraOffset = Vector3.new(0,0,0)
  3425. end
  3426. end))
  3427. for i = 0,3.7,0.1 do
  3428. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  3429. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3430. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  3431. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  3432. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  3433. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  3434. end
  3435. attack = false
  3436. end
  3437. function thisisit2()
  3438. attack = true
  3439. hum.WalkSpeed = 0
  3440. STAUNT2:Play()
  3441. repeat
  3442. swait()
  3443. STAUNT2.Parent = tors
  3444. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.2* Player_Size * Cos(sine / 26)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  3445. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  3446. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  3447. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  3448. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  3449. LW.C0 = clerp(LW.C0, CF(-0.75, 0.35 + 0.05 * Sin(sine / 12), -0.6) * angles(Rad(0), Rad(0), Rad(92)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  3450. until STAUNT2.Playing == false
  3451. attack = false
  3452. hum.WalkSpeed = 8
  3453. end
  3454. function thisisit()
  3455. attack = true
  3456. hum.WalkSpeed = 0
  3457. STAUNT:Play()
  3458. repeat
  3459. swait()
  3460. STAUNT.Parent = tors
  3461. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.5* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  3462. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
  3463. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  3464. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  3465. RW.C0 = clerp(RW.C0, CF(1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(130)), 0.1)
  3466. LW.C0 = clerp(LW.C0, CF(-1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-130)), 0.1)
  3467. until STAUNT.Playing == false
  3468. attack = false
  3469. hum.WalkSpeed = 8
  3470. end
  3471. function Exploit()
  3472. exploitable = false
  3473. coroutine.resume(coroutine.create(function()
  3474. for i = 1,20,0.1 do
  3475. swait()
  3476. BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1)
  3477. end
  3478. Cso("12222030", tors, 10, 1.05)
  3479. BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1)
  3480. for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do
  3481. if v:FindFirstChild("Head") then
  3482. Eviscerate(v)
  3483. SoulSteal(v)
  3484. end
  3485. end
  3486. wait(15)
  3487. exploitable = true
  3488. end))
  3489. end
  3490. function ASCENTION()
  3491. attack = true
  3492. hum.WalkSpeed = 0
  3493. Cso("987502413", tors, 10, 1.05)
  3494. local vel2 = Instance.new("BodyVelocity",tors)
  3495. vel2.Velocity = Vector3.new(0,30,0)
  3496. vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
  3497. for i = 0,20,0.1 do
  3498. HitboxFunction(tors.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 7, 10, 20, 20, "Normal")
  3499. swait()
  3500. BlockEffect(maincolor, ra.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
  3501. BlockEffect(maincolor, la.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
  3502. CameraEnshaking(1, 4)
  3503. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
  3504. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3505. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3506. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3507. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  3508. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  3509. end
  3510. hum.WalkSpeed = 8
  3511. vel2:Destroy()
  3512. attack = false
  3513. end
  3514. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3515. local type = type
  3516. local rng = Instance.new("Part", char)
  3517. rng.Anchored = true
  3518. rng.Color = color
  3519. rng.CanCollide = false
  3520. rng.FormFactor = 3
  3521. rng.Name = "Ring"
  3522. rng.Material = "Neon"
  3523. rng.Size = Vector3.new(1, 1, 1)
  3524. rng.Transparency = 0
  3525. rng.TopSurface = 0
  3526. rng.BottomSurface = 0
  3527. rng.CFrame = pos
  3528. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3529. local rngm = Instance.new("SpecialMesh", rng)
  3530. rngm.MeshType = "Sphere"
  3531. rngm.Scale = vt(x1,y1,z1)
  3532. if rainbowmode == true then
  3533. rng.Color = Color3.new(r/255,g/255,b/255)
  3534. end
  3535. local scaler2 = 1
  3536. local speeder = FastSpeed
  3537. if type == "Add" then
  3538. scaler2 = 1*value
  3539. elseif type == "Divide" then
  3540. scaler2 = 1/value
  3541. end
  3542. coroutine.resume(coroutine.create(function()
  3543. for i = 0,10/bonuspeed,0.1 do
  3544. swait()
  3545. if rainbowmode == true then
  3546. rng.Color = Color3.new(r/255,g/255,b/255)
  3547. end
  3548. if type == "Add" then
  3549. scaler2 = scaler2 - 0.01*value/bonuspeed
  3550. elseif type == "Divide" then
  3551. scaler2 = scaler2 - 0.01/value*bonuspeed
  3552. end
  3553. if chaosmode == true then
  3554. rng.BrickColor = BrickColor.random()
  3555. end
  3556. if glitchymode then
  3557. local val = math.random(1,255)
  3558. local color = Color3.fromRGB(val,val,val)
  3559. rng.Color = color
  3560. end
  3561. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3562. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3563. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3564. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3565. end
  3566. rng:Destroy()
  3567. end))
  3568. end
  3569.  
  3570. function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  3571. local type = type
  3572. local rng = Instance.new("Part", char)
  3573. rng.Anchored = true
  3574. rng.BrickColor = color
  3575. rng.CanCollide = false
  3576. rng.FormFactor = 3
  3577. rng.Name = "Ring"
  3578. rng.Material = "Neon"
  3579. rng.Size = Vector3.new(1, 1, 1)
  3580. rng.Transparency = 0
  3581. rng.TopSurface = 0
  3582. rng.BottomSurface = 0
  3583. rng.CFrame = pos
  3584. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  3585. local rngm = Instance.new("SpecialMesh", rng)
  3586. rngm.MeshType = "Sphere"
  3587. rngm.Scale = Vector3.new(x1, y1, z1)
  3588. local scaler2 = 1
  3589. local speeder = FastSpeed
  3590. if type == "Add" then
  3591. scaler2 = 1 * value
  3592. elseif type == "Divide" then
  3593. scaler2 = 1 / value
  3594. end
  3595. coroutine.resume(coroutine.create(function()
  3596. for i = 0, 10 / bonuspeed, 0.1 do
  3597. swait()
  3598. if type == "Add" then
  3599. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3600. elseif type == "Divide" then
  3601. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3602. end
  3603. rng.BrickColor = BrickColor.random()
  3604. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  3605. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  3606. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3607. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  3608. end
  3609. rng:Destroy()
  3610. end))
  3611. end
  3612.  
  3613. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3)
  3614. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  3615. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.3)
  3616. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.3)
  3617. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.3)
  3618. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
  3619.  
  3620. function aaa()
  3621. attack = true
  3622. maincolor = BrickColor.Random()
  3623. for i = 0,20,0.1 do
  3624. swait()
  3625. Effects.Block.Create(BrickColor.Random(), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  3626. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30))), 0.3)
  3627. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30)), Rad(-55 + Mrandom(-30,30))), 0.3)
  3628. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0 + Mrandom(-30,30)), Rad(87 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30))) * angles(Rad(-30), Rad(0), Rad(15)), 0.3)
  3629. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0 + Mrandom(-30,30)), Rad(-87 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30))) * angles(Rad(-5), Rad(0), Rad(9)), 0.3)
  3630. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90 + Mrandom(-30,30)), Rad(-7.5 + Mrandom(-30,30)), Rad(35 + Mrandom(-30,30))), 0.3)
  3631. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25 + Mrandom(-30,30)), Rad(7.5 + Mrandom(-30,30)), Rad(-25 + Mrandom(-30,30))), 0.3)
  3632. end
  3633. Magic(5, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(10, 10, 10), 1, maincolor, "Sphere")
  3634. Magic(3, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(20, 20, 20), 1, maincolor, "Sphere")
  3635. Magic(1, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(30, 30, 30), 1, maincolor, "Sphere")
  3636. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  3637. if v:FindFirstChild("Head") then
  3638. Eviscerate(v)
  3639. end
  3640. end
  3641. maincolor = BrickColor.new("White")
  3642. attack = false
  3643. end
  3644.  
  3645. function stomp()
  3646. attack = true
  3647. CreateSound("331666100", char, 10, 1)
  3648. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3649. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3650. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3651. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3652. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  3653. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  3654. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  3655. if v:FindFirstChild("Head") then
  3656. Eviscerate(v)
  3657. SoulSteal(v)
  3658. end
  3659. end
  3660. coroutine.resume(coroutine.create(function()
  3661. for i = 0,2.8,0.1 do
  3662. swait()
  3663. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  3664. end
  3665. for i = 0,1.8,0.1 do
  3666. swait()
  3667. hum.CameraOffset = Vector3.new(0,0,0)
  3668. end
  3669. end))
  3670. wait(.6)
  3671. attack = false
  3672. end
  3673. function Painful_Stomp()
  3674. attack = true
  3675. CreateSound("331666100", char, 10, 1)
  3676. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3677. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3678. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3679. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3680. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  3681. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  3682. Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  3683. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  3684. if v:FindFirstChild("Head") then
  3685. Eviscerate(v)
  3686. end
  3687. end
  3688. coroutine.resume(coroutine.create(function()
  3689. for i = 0,2.8,0.1 do
  3690. swait()
  3691. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  3692. end
  3693. for i = 0,1.8,0.1 do
  3694. swait()
  3695. hum.CameraOffset = Vector3.new(0,0,0)
  3696. end
  3697. end))
  3698. attack = false
  3699. end
  3700.  
  3701. for i,v in pairs(char:children()) do
  3702. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  3703. v:Remove()
  3704. end
  3705. end
  3706. shirt = Instance.new("Shirt", char)
  3707. shirt.Name = "Shirt"
  3708. pants = Instance.new("Pants", char)
  3709. pants.Name = "Pants"
  3710. char.Shirt.ShirtTemplate = "rbxassetid://0"
  3711. char.Pants.PantsTemplate = "rbxassetid://0"
  3712.  
  3713. char.Head.face.Texture = "rbxassetid://0"
  3714. char.Torso.roblox.Texture = "rbxassetid://0"
  3715.  
  3716. char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
  3717. char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
  3718. char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
  3719. char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
  3720. char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
  3721.  
  3722. ------
  3723. local r2,g2,b2=255,0,0
  3724.  
  3725. local rate = 5--more is faster!
  3726.  
  3727. spawn(function()
  3728. while true do
  3729. for i=0,255,rate do
  3730. g2 = i
  3731. wait()
  3732. end
  3733. for i=255,0,-rate do
  3734. r2 = i
  3735. wait()
  3736. end
  3737. for i=0,255,rate do
  3738. b2 = i
  3739. wait()
  3740. end
  3741. for i=255,0,-rate do
  3742. g2 = i
  3743. wait()
  3744. end
  3745. for i=0,255,rate do
  3746. r2 = i
  3747. wait()
  3748. end
  3749. for i=255,0,-rate do
  3750. b2 = i
  3751. wait()
  3752. end
  3753. end
  3754. end)
  3755. ------
  3756.  
  3757. local r,g,b=255,0,0
  3758.  
  3759. local rate = 1000--more is faster!
  3760.  
  3761. spawn(function()
  3762. while true do
  3763. for i=0,255,rate do
  3764. g = i
  3765. wait()
  3766. end
  3767. for i=255,0,-rate do
  3768. r = i
  3769. wait()
  3770. end
  3771. for i=0,255,rate do
  3772. b = i
  3773. wait()
  3774. end
  3775. for i=255,0,-rate do
  3776. g = i
  3777. wait()
  3778. end
  3779. for i=0,255,rate do
  3780. r = i
  3781. wait()
  3782. end
  3783. for i=255,0,-rate do
  3784. b = i
  3785. wait()
  3786. end
  3787. end
  3788. end)
  3789.  
  3790. function ByeBye()
  3791. local target = nil
  3792. local targettorso = nil
  3793. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  3794. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  3795. target = mouse.Target.Parent.Humanoid
  3796. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  3797. targethead = mouse.Target.Parent:FindFirstChild("Head")
  3798. end
  3799. end
  3800. if target ~= nil then
  3801. targettorso.Anchored = true
  3802. attack = true
  3803. hum.WalkSpeed = 0
  3804. root.CFrame = targettorso.CFrame * CF(0,0,2)
  3805. for i = 0,4.2,0.1 do
  3806. swait()
  3807. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  3808. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3809. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  3810. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  3811. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
  3812. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(-25)), 0.1)
  3813. end
  3814. local bloody = Instance.new("ParticleEmitter",targettorso)
  3815. bloody.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  3816. bloody.LightEmission = .1
  3817. bloody.Size = NumberSequence.new(0.5, 0)
  3818. bloody.Texture = "http://www.roblox.com/asset/?ID=602578593"
  3819. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  3820. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  3821. bloody.Transparency = bbb
  3822. bloody.Size = aaa
  3823. bloody.ZOffset = -.9
  3824. bloody.Acceleration = Vector3.new(0, -5, 0)
  3825. bloody.LockedToPart = false
  3826. bloody.Lifetime = NumberRange.new(0.8)
  3827. bloody.Rate = 255
  3828. bloody.Rotation = NumberRange.new(-100, 100)
  3829. bloody.RotSpeed = NumberRange.new(-100, 100)
  3830. bloody.Speed = NumberRange.new(6)
  3831. bloody.VelocitySpread = 0
  3832. bloody.Enabled=true
  3833. targethead:Remove()
  3834. CreateSound("429400881", targettorso, 5, .8)
  3835. CreateSound("1093102664", targettorso, 10, 1)
  3836. for i = 0,6.2,0.1 do
  3837. swait()
  3838. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.15)
  3839. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-110)), 0.3)
  3840. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  3841. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  3842. RW.C0 = clerp(RW.C0, CF(1.3, 0.7 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(100), Rad(0), Rad(-15)), 0.1)
  3843. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  3844. end
  3845. targettorso.Anchored = false
  3846. attack = false
  3847. hum.WalkSpeed = 16
  3848. root.CFrame = targettorso.CFrame * CF(0,0,3)
  3849. end
  3850. end
  3851.  
  3852. local Blood1 = Create("ParticleEmitter")({
  3853. Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
  3854. Transparency = NumberSequence.new(0.1, 1),
  3855. Size = NumberSequence.new(0.5, 0),
  3856. Texture = "rbxassetid://602578593",
  3857. Lifetime = NumberRange.new(0.8),
  3858. Rate = 255,
  3859. VelocitySpread = 40,
  3860. Rotation = NumberRange.new(100),
  3861. Speed = NumberRange.new(5),
  3862. LightEmission = 0,
  3863. LockedToPart = false,
  3864. Acceleration = Vector3.new(0, -10, 0),
  3865. EmissionDirection = "Bottom"
  3866. })
  3867.  
  3868. function Sayonara()
  3869. local target = nil
  3870. local targettorso = nil
  3871. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  3872. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  3873. target = mouse.Target.Parent.Humanoid
  3874. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  3875. targethead = mouse.Target.Parent:FindFirstChild("Head")
  3876. targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
  3877. targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
  3878. end
  3879. end
  3880. if target ~= nil then
  3881. targettorso.Anchored = true
  3882. attack = true
  3883. hum.WalkSpeed = 0
  3884. root.CFrame = targettorso.CFrame * CF(0,0,2.4)
  3885. for i = 0,6.2,0.1 do
  3886. swait()
  3887. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  3888. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
  3889. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  3890. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  3891. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
  3892. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-10)), 0.1)
  3893. end
  3894. do
  3895. CreateSound("429400881", targettorso, 5, 1)
  3896. local ModelArm02 = New("Model", char, "Arm", {})
  3897. local ModelArm03 = New("Model", char, "Arm", {})
  3898. local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
  3899. local Humanoid03 = New("Humanoid", ModelArm03, "Humanoid", {})
  3900. local Arm02 = targetleftarm:Clone()
  3901. local Arm03 = targetrightarm:Clone()
  3902. targetleftarm.Transparency = 1
  3903. targetrightarm.Transparency = 1
  3904. Arm02.Parent = ModelArm02
  3905. Arm03.Parent = ModelArm03
  3906. for i, v in pairs(Arm02:GetChildren()) do
  3907. v:Destroy()
  3908. end
  3909. for i, v in pairs(Arm03:GetChildren()) do
  3910. v:Destroy()
  3911. end
  3912. local weldArm02 = Instance.new("Weld")
  3913. weldArm02.Parent = Arm02
  3914. weldArm02.Part0 = targetleftarm
  3915. weldArm02.Part1 = Arm02
  3916. weldArm02.C1 = CFrame.new(0, 0, 0)
  3917. local weldArm03 = Instance.new("Weld")
  3918. weldArm03.Parent = Arm03
  3919. weldArm03.Part0 = targetrightarm
  3920. weldArm03.Part1 = Arm03
  3921. weldArm03.C1 = CFrame.new(0, 0, 0)
  3922. for i, v in pairs(target:GetChildren()) do
  3923. if v:IsA("Shirt") then
  3924. v:clone().Parent = ModelArm02
  3925. end
  3926. end
  3927. for i, v in pairs(target:GetChildren()) do
  3928. if v:IsA("Shirt") then
  3929. v:clone().Parent = ModelArm03
  3930. end
  3931. end
  3932. weldArm02.Part0 = la
  3933. weldArm02.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  3934. weldArm03.Part0 = ra
  3935. weldArm03.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  3936. local BE1 = Blood1:Clone()
  3937. BE1.Parent = targetleftarm
  3938. game:GetService("Debris"):AddItem(BE1, 3)
  3939. BE1.Rate = 255
  3940. local BE2 = Blood1:Clone()
  3941. BE2.Parent = targetrightarm
  3942. game:GetService("Debris"):AddItem(BE2, 3)
  3943. BE2.Rate = 255
  3944. for i = 0,6.2,0.1 do
  3945. swait()
  3946. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
  3947. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3948. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  3949. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  3950. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  3951. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  3952. end
  3953. for i = 0,6.2,0.1 do
  3954. swait()
  3955. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  3956. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3957. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  3958. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  3959. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(15)), 0.1)
  3960. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(-15)), 0.1)
  3961. end
  3962. CreateSound("541909763", targettorso, 5, .8)
  3963. weldArm02:Destroy()
  3964. Arm02.CanCollide = true
  3965. weldArm03:Destroy()
  3966. Arm03.CanCollide = true
  3967. local bodyVelocity2 = Create("BodyVelocity")({
  3968. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  3969. P = 5000,
  3970. maxForce = Vector3.new(8000, 8000, 8000),
  3971. Parent = Arm02
  3972. })
  3973. local bodyVelocity3 = Create("BodyVelocity")({
  3974. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  3975. P = 5000,
  3976. maxForce = Vector3.new(8000, 8000, 8000),
  3977. Parent = Arm03
  3978. })
  3979. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  3980. game:GetService("Debris"):AddItem(bodyVelocity3, 0.05)
  3981. for i = 0,6.2,0.1 do
  3982. swait()
  3983. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  3984. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3985. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
  3986. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  3987. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(15)), 0.1)
  3988. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(-15)), 0.1)
  3989. end
  3990. end
  3991. targettorso.Anchored = false
  3992. attack = false
  3993. hum.WalkSpeed = 16
  3994. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  3995. end
  3996. end
  3997.  
  3998. function Multi_Bombs()
  3999. attack = true
  4000. hum.WalkSpeed = 3.01
  4001. for i = 0,3,0.1 do
  4002. swait()
  4003. Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4004. Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4005. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4006. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4007. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  4008. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
  4009. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  4010. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  4011. end
  4012. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
  4013. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
  4014. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
  4015. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
  4016. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
  4017. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
  4018. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
  4019. CreateSound("142070127", tors, 10, 1)
  4020. for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
  4021. if v:FindFirstChild("Head") then
  4022. Eviscerate(v)
  4023. end
  4024. end
  4025. for i = 0,1,0.1 do
  4026. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4027. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4028. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  4029. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  4030. RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
  4031. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  4032. end
  4033. for i = 0,2,0.1 do
  4034. swait()
  4035. Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4036. Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4037. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4038. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4039. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  4040. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
  4041. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  4042. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  4043. end
  4044. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
  4045. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
  4046. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
  4047. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
  4048. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
  4049. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
  4050. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
  4051. CreateSound("142070127", tors, 10, 1)
  4052. for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
  4053. if v:FindFirstChild("Head") then
  4054. Eviscerate(v)
  4055. end
  4056. end
  4057. for i = 0,1,0.1 do
  4058. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4059. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4060. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  4061. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  4062. RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
  4063. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  4064. end
  4065. for i = 0,2,0.1 do
  4066. swait()
  4067. Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4068. Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4069. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4070. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4071. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  4072. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
  4073. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  4074. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  4075. end
  4076. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
  4077. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
  4078. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
  4079. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
  4080. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
  4081. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
  4082. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
  4083. CreateSound("142070127", tors, 10, 1)
  4084. for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
  4085. if v:FindFirstChild("Head") then
  4086. Eviscerate(v)
  4087. end
  4088. end
  4089. for i = 0,1,0.1 do
  4090. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4091. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4092. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  4093. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  4094. RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
  4095. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  4096. end
  4097. wait(.6)
  4098. attack = false
  4099. hum.WalkSpeed = 8
  4100. end
  4101. function Universal_Crush()
  4102. attack = true
  4103. for i = 0,5.2,0.05 do
  4104. swait()
  4105. Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4106. Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4107. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  4108. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4109. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  4110. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  4111. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  4112. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  4113. end
  4114. CreateSound("331666100", tors, 10, 1)
  4115. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 16.6, 16.6, 16.6, 0.01)
  4116. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 16, 16, 16, 19.6, 19.6, 19.6, 0.01)
  4117. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 18, 18, 18, 22.6, 22.6, 22.6, 0.01)
  4118. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 20, 20, 20, 25.6, 25, 25, 0.01)
  4119. for i, v in pairs(FindNearestHead(tors.CFrame.p, 500)) do
  4120. if v:FindFirstChild("Head") then
  4121. Eviscerate(v)
  4122. end
  4123. end
  4124. coroutine.resume(coroutine.create(function()
  4125. for i = 0,1.8,0.1 do
  4126. swait()
  4127. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  4128. end
  4129. for i = 0,1.8,0.1 do
  4130. swait()
  4131. hum.CameraOffset = Vector3.new(0,0,0)
  4132. end
  4133. end))
  4134. for i = 1,4.7,0.1 do
  4135. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  4136. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  4137. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  4138. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  4139. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  4140. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  4141. end
  4142. wait(.6)
  4143. attack = false
  4144. end
  4145. -------------------------------------------------------
  4146. --End Attacks N Stuff--
  4147. -------------------------------------------------------
  4148. Sprinting = false
  4149. mouse.KeyDown:connect(function(key)
  4150. if string.byte(key) == 48 and attack == false and Mode ~= 10 then
  4151. Swing = 2
  4152. hum.WalkSpeed = 38.82
  4153. Sprinting = true
  4154. end
  4155. end)
  4156. mouse.KeyUp:connect(function(key)
  4157. if string.byte(key) == 48 and attack == false then
  4158. Swing = 1
  4159. Sprinting = false
  4160. hum.WalkSpeed = 8
  4161. end
  4162. end)
  4163. mouse.KeyDown:connect(function(key)
  4164. if attack == false then
  4165. if key == 'q' and Mode == 1 then
  4166. Power_Burst()
  4167. elseif key == '1' and Mode ~= 2 then
  4168. Mode = 2
  4169. SONG = 409475133
  4170. elseif key == '1' and Mode == 2 then
  4171. resetmode()
  4172. elseif key == 't' and Mode == 1 then
  4173. Taunt()
  4174. elseif key == 'q' and Mode == 2 then
  4175. Magic_Bombs()
  4176. elseif key == 'e' and Mode == 2 then
  4177. Dangerous_Field()
  4178. elseif key == 't' and Mode == 2 then
  4179. HAAH()
  4180. end
  4181. ---------------------------------------------------------------------
  4182. if key == 'm' and Mode == 6 and Mode ~= 10 and Sprinting == false then
  4183. Mode = 10
  4184. SONG = 1138145518
  4185. elseif key == 'm' and Mode == 10 then
  4186. resetmode()
  4187. elseif key == 'q' and Mode == 10 then
  4188. Decapitate()
  4189. elseif key == 'e' and Mode == 10 then
  4190. stomp()
  4191. elseif key == 'r' and Mode == 10 then
  4192. Painful_Stomp()
  4193. elseif key == 't' and Mode == 10 then
  4194. aaa()
  4195. end
  4196. ---------------------------------------------------------------------
  4197. if key == 'g' and Mode ~= 3 then
  4198. Mode = 3
  4199. SONG = 0
  4200. Core.BrickColor = BrickColor.new("Really red")
  4201. Core2.BrickColor = BrickColor.new("Really red")
  4202. imgl2.ImageColor3 = BrickC("Really red").Color
  4203. techc.ImageColor3 = BrickC("Really red").Color
  4204. ned.Text = "Rainbow"
  4205. for i, v in pairs(NeonColorParts1000) do
  4206. v.BrickColor = BrickC("Really red")
  4207. end
  4208. ned.TextColor3 = BrickC("Really red").Color
  4209. ned.TextStrokeColor3 = BrickC("Really black").Color
  4210. elseif key == 'g' and Mode == 3 then
  4211. resetmode()
  4212. end
  4213. ---------------------------------------------------------------------
  4214. if key == 'f' and Mode ~= 6 then
  4215. Mode = 6
  4216. SONG = 1535710893
  4217. Core.BrickColor = BrickColor.new("Really red")
  4218. Core2.BrickColor = BrickColor.new("Really red")
  4219. imgl2.ImageColor3 = BrickC("Really red").Color
  4220. techc.ImageColor3 = BrickC("Really red").Color
  4221. ned.Text = "Murder"
  4222. ned.TextColor3 = BrickC("Really red").Color
  4223. ned.TextStrokeColor3 = BrickC("Really black").Color
  4224. elseif key == 'f' and Mode == 6 then
  4225. resetmode()
  4226. elseif key == 'z' and Mode == 6 then
  4227. Decapitate()
  4228. elseif key == 'x' and Mode == 6 then
  4229. Sayonara()
  4230. elseif key == 't' and Mode == 6 then
  4231. TTTTTTTTTTTaunt()
  4232. elseif key == 'c' and Mode == 6 then
  4233. ByeBye()
  4234. end
  4235. ---------------------------------------------------------------------
  4236. if key == 'b' and Mode == 3 then
  4237. Mode = 9990
  4238. SONG = 1812212957
  4239. Core.BrickColor = BrickColor.new("Lime green")
  4240. Core2.BrickColor = BrickColor.new("Lime green")
  4241. imgl2.ImageColor3 = BrickC("Really black").Color
  4242. techc.ImageColor3 = BrickC("Lime green").Color
  4243. ned.Text = "Nuclear"
  4244. ned.TextColor3 = BrickC("Really black").Color
  4245. ned.TextStrokeColor3 = BrickC("Lime green").Color
  4246. elseif key == 'z' and Mode == 9990 then
  4247. NUCLEAR()
  4248. elseif key == 'b' and Mode == 9990 then
  4249. resetmode()
  4250. end
  4251. ---------------------------------------------------------------------
  4252. if key == 'b' and Mode == 99 then
  4253. Mode = 122
  4254. SONG = 353645187
  4255. Core.BrickColor = BrickColor.new("White")
  4256. Core2.BrickColor = BrickColor.new("Really black")
  4257. imgl2.ImageColor3 = BrickC("White").Color
  4258. techc.ImageColor3 = BrickC("Really black").Color
  4259. ned.Text = "Fighter"
  4260. for i, v in pairs(NeonColorParts1000) do
  4261. v.BrickColor = BrickC("Really black")
  4262. end
  4263. ned.TextColor3 = BrickC("Really black").Color
  4264. ned.TextStrokeColor3 = BrickC("White").Color
  4265. elseif key == 'z' and Mode == 122 then
  4266. URA()
  4267. elseif key == 'b' and Mode == 122 then
  4268. resetmode()
  4269. end
  4270. ---------------------------------------------------------------------
  4271. if key == 'j' and Mode ~= 8 then
  4272. Mode = 8
  4273. SONG = 609934004
  4274. Core.BrickColor = BrickColor.new("Dark indigo")
  4275. Core2.BrickColor = BrickColor.new("Dark indigo")
  4276. imgl2.ImageColor3 = BrickC("Dark indigo").Color
  4277. techc.ImageColor3 = BrickC("Dark indigo").Color
  4278. ned.Text = "Planetary"
  4279. ned.TextColor3 = BrickC("Dark indigo").Color
  4280. ned.TextStrokeColor3 = BrickC("Dark indigo").Color
  4281. elseif key == 'z' and Mode == 8 then
  4282. Multi_Bombs()
  4283. elseif key == 'x' and Mode == 8 then
  4284. Universal_Crush()
  4285. elseif key == 't' and Mode == 8 then
  4286. thisisit()
  4287. elseif key == 'j' and Mode == 8 then
  4288. resetmode()
  4289. end
  4290. ---------------------------------------------------------------------
  4291. if key == 'm' and Mode == 8 then
  4292. Mode = 10000
  4293. SONG = 1513216381
  4294. Core.BrickColor = BrickColor.new("Royal purple")
  4295. Core2.BrickColor = BrickColor.new("Royal purple")
  4296. imgl2.ImageColor3 = BrickC("Really black").Color
  4297. techc.ImageColor3 = BrickC("Royal purple").Color
  4298. ned.Text = "Void"
  4299. ned.TextColor3 = BrickC("Really black").Color
  4300. ned.TextStrokeColor3 = BrickC("Royal purple").Color
  4301. elseif key == 'z' and Mode == 10000 then
  4302. Ende_der_Weld()
  4303. elseif key == 'm' and Mode == 10000 then
  4304. resetmode()
  4305. end
  4306. ---------------------------------------------------------------------
  4307. if key == 'h' and Mode ~= 99 then
  4308. Mode = 99
  4309. SONG = 539526132
  4310. Core.BrickColor = BrickColor.new("Deep orange")
  4311. imgl2.ImageColor3 = BrickC("Deep orange").Color
  4312. Core2.BrickColor = BrickColor.new("Deep orange")
  4313. techc.ImageColor3 = BrickC("Deep orange").Color
  4314. ned.Text = "Infused"
  4315. ned.TextColor3 = BrickC("Deep orange").Color
  4316. ned.TextStrokeColor3 = BrickC("Deep orange").Color
  4317. elseif key == 'z' and Mode == 99 then
  4318. LAZER()
  4319. elseif key == 't' and Mode == 99 then
  4320. again()
  4321. elseif key == 'h' and Mode == 99 then
  4322. resetmode()
  4323. end
  4324. ---------------------------------------------------------------------
  4325. if key == 'm' and Mode == 1 then
  4326. Mode = oof
  4327. SONG = 1384301003
  4328. ned.Text = ""
  4329. Core.BrickColor = BrickColor.new("Cyan")
  4330. Core2.BrickColor = BrickColor.new("Cyan")
  4331. techc.ImageColor3 = BrickC("Cyan").Color
  4332. ned.TextColor3 = BrickC("Cyan").Color
  4333. imgl2.ImageColor3 = BrickC("Cyan").Color
  4334. ned.TextStrokeColor3 = BrickC("White").Color
  4335. for i, v in pairs(NeonColorParts1000) do
  4336. v.BrickColor = BrickC("Cyan")
  4337. end
  4338. elseif key == 'm' and Mode == oof then
  4339. resetmode()
  4340. elseif key == 'z' and Mode == oof and exploitable == true then
  4341. Exploit()
  4342. elseif key == 't' and Mode == oof then
  4343. thisisit2()
  4344. elseif key == 'x' and Mode == oof then
  4345. LunarSpin()
  4346. end
  4347. end
  4348. end)
  4349. local Combo = 1
  4350. mouse.Button1Down:connect(function(key)
  4351. if attack == false then
  4352. if Combo == 1 then
  4353. Combo = 2
  4354. attackone()
  4355. elseif Combo == 2 then
  4356. Combo = 3
  4357. attacktwo()
  4358. elseif Combo == 3 then
  4359. Combo = 1
  4360. attackthree()
  4361. end
  4362. end
  4363. end)
  4364.  
  4365. function newTheme(ID,timepos,pitch,vol)
  4366. local kanz = Music
  4367. --kanz:Stop()
  4368. kanz.Volume = vol
  4369. --kanz.TimePosition = timepos
  4370. kanz.PlaybackSpeed = pitch
  4371. kanz.Pitch = pitch
  4372. kanz.SoundId = ID
  4373. kanz.Name = "wrecked"
  4374. kanz.Looped = true
  4375. currentThemePlaying = kanz.SoundId
  4376. currentVol = kanz.Volume
  4377. currentPitch = kanz.Pitch
  4378. --kanz:Play()
  4379. --coroutine.resume(coroutine.create(function()
  4380. --wait(0.05)
  4381. --end))
  4382. end
  4383.  
  4384.  
  4385. function newThemeCust(ID,timepos,pitch,vol)
  4386. local kanz = Music
  4387. kanz:Stop()
  4388. kanz.Volume = vol
  4389. kanz.TimePosition = timepos
  4390. kanz.PlaybackSpeed = pitch
  4391. kanz.Pitch = pitch
  4392. kanz.SoundId = ID
  4393. kanz.Name = "wrecked"
  4394. kanz.Looped = true
  4395. currentThemePlaying = kanz.SoundId
  4396. currentVol = kanz.Volume
  4397. currentPitch = kanz.Pitch
  4398. kanz:Play()
  4399. coroutine.resume(coroutine.create(function()
  4400. wait(0.05)
  4401. end))
  4402. end
  4403.  
  4404. plr.Chatted:connect(function(message)
  4405. if Mode == 3 then
  4406. if message:sub(1,5) == "play/" then
  4407. OVMID = message:sub(6)
  4408. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4409. elseif message:sub(1,6) == "pitch/" then
  4410. OVMPIT = message:sub(7)
  4411. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4412. elseif message:sub(1,4) == "vol/" then
  4413. OVMVOL = message:sub(5)
  4414. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4415. elseif message:sub(1,7) == "skipto/" then
  4416. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(Music.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4417. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  4418. elseif message:sub(1,9) == "telltime/" then
  4419. chatfunc("Current time pos: "..math.floor(Music.TimePosition).." out of "..math.floor(Music.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4420. end
  4421. end
  4422. end)
  4423.  
  4424. Music.Name = "musicname"
  4425.  
  4426. Character = plr.Character
  4427. Character.ChildRemoved:connect(function(removed) if removed.Name == "musicname" then Music = instanse.new("Sound") end end)
  4428.  
  4429.  
  4430. -------------------------------------------------------
  4431. --Start Animations--
  4432. -------------------------------------------------------
  4433. while true do
  4434. swait()
  4435. sine = sine + change
  4436. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  4437. local velderp = root.Velocity.y
  4438. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  4439. if equipped == true or equipped == false then
  4440. if attack == false then
  4441. idle = idle + 1
  4442. else
  4443. idle = 0
  4444. end
  4445. if Mode == 10 then
  4446. maincolor = BrickColor.random()
  4447. imgl2.ImageColor3 = Color3.fromRGB(r,g,b)
  4448. techc.ImageColor3 = Color3.fromRGB(r,g,b)
  4449. ned.Text = "InSanE"
  4450. Core.BrickColor = BrickColor.random()
  4451. Core2.BrickColor = BrickColor.random()
  4452. ned.TextColor3 = Color3.fromRGB(r,g,b)
  4453. ned.TextStrokeColor3 = Color3.fromRGB(r,g,b)
  4454. aa24.BrickColor = BrickColor.random()
  4455. aa28.BrickColor = BrickColor.random()
  4456. aa26.BrickColor = BrickColor.random()
  4457. aa35.BrickColor = BrickColor.random()
  4458. aa33.BrickColor = BrickColor.random()
  4459. aa31.BrickColor = BrickColor.random()
  4460. imgl2.Rotation = math.random(-9, 9)
  4461. techc.Rotation = math.random(-9, 9)
  4462. ned.Rotation = 0 - 2 * math.cos(sine / 1)
  4463. ned.Position = UDim2.new(0.55,0 - 10 * math.cos(sine / 1),0.79,0 - 10 * math.cos(sine / 1))
  4464. hum.WalkSpeed = 8
  4465. aa.BrickColor = BrickColor.new("Dark stone grey")
  4466. aa4.BrickColor = BrickColor.random()
  4467. aa5.BrickColor = BrickColor.random()
  4468. aa8.BrickColor = BrickColor.random()
  4469. aa11.BrickColor = BrickColor.random()
  4470. aa12.BrickColor = BrickColor.random()
  4471. aa13.BrickColor = BrickColor.random()
  4472. end
  4473. if Mode == 3 then
  4474. maincolor = BrickColor.new("Dark red")
  4475. imgl2.ImageColor3 = Color3.fromRGB(r2,g2,b2)
  4476. techc.ImageColor3 = Color3.fromRGB(r2,g2,b2)
  4477. ned.Text = "Rainbow"
  4478. Core.Color = Color3.fromRGB(r2,g2,b2)
  4479. Core2.Color = Color3.fromRGB(r2,g2,b2)
  4480. ned.TextColor3 = Color3.fromRGB(r2,g2,b2)
  4481. ned.TextStrokeColor3 = Color3.fromRGB(r2,g2,b2)
  4482. aa35.Color = Color3.fromRGB(r2,g2,b2)
  4483. aa33.Color = Color3.fromRGB(r2,g2,b2)
  4484. aa31.Color = Color3.fromRGB(r2,g2,b2)
  4485. hum.WalkSpeed = 8
  4486. aa28.Color = Color3.fromRGB(r2,g2,b2)
  4487. aa26.Color = Color3.fromRGB(r2,g2,b2)
  4488. char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
  4489. char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
  4490. char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
  4491. char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
  4492. char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
  4493. char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
  4494. aa.BrickColor = BrickColor.new("Dark stone grey")
  4495. aa24.Color = Color3.fromRGB(r2,g2,b2)
  4496. aa4.Color = Color3.fromRGB(r2,g2,b2)
  4497. aa5.Color = Color3.fromRGB(r2,g2,b2)
  4498. aa8.Color = Color3.fromRGB(r2,g2,b2)
  4499. aa11.Color = Color3.fromRGB(r2,g2,b2)
  4500. aa12.Color = Color3.fromRGB(r2,g2,b2)
  4501. aa13.Color = Color3.fromRGB(r2,g2,b2)
  4502. end
  4503. if Mode == oof then
  4504. maincolor = BrickColor.new("Cyan")
  4505. hum.WalkSpeed = 8
  4506. char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
  4507. char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
  4508. char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
  4509. char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
  4510. char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
  4511. char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
  4512. aa.BrickColor = BrickColor.new("Dark stone grey")
  4513. aa24.BrickColor = BrickColor.new("Cyan")
  4514. aa4.BrickColor = BrickColor.new("Cyan")
  4515. aa5.BrickColor = BrickColor.new("Cyan")
  4516. aa8.BrickColor = BrickColor.new("Cyan")
  4517. aa11.BrickColor = BrickColor.new("Cyan")
  4518. aa12.BrickColor = BrickColor.new("Cyan")
  4519. aa13.BrickColor = BrickColor.new("Cyan")
  4520. aa26.BrickColor = BrickColor.new("Cyan")
  4521. aa28.BrickColor = BrickColor.new("Cyan")
  4522. aa35.BrickColor = BrickColor.new("Cyan")
  4523. aa33.BrickColor = BrickColor.new("Cyan")
  4524. aa31.BrickColor = BrickColor.new("Cyan")
  4525. end
  4526. if Mode == 9990 then
  4527. maincolor = BrickColor.new("Lime green")
  4528. hum.WalkSpeed = 8
  4529. char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
  4530. char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
  4531. char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
  4532. char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
  4533. char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
  4534. char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
  4535. aa.BrickColor = BrickColor.new("Dark stone grey")
  4536. aa4.BrickColor = BrickColor.new("Lime green")
  4537. aa5.BrickColor = BrickColor.new("Lime green")
  4538. aa8.BrickColor = BrickColor.new("Lime green")
  4539. aa11.BrickColor = BrickColor.new("Lime green")
  4540. aa12.BrickColor = BrickColor.new("Lime green")
  4541. aa13.BrickColor = BrickColor.new("Lime green")
  4542. aa24.BrickColor = BrickColor.new("Lime green")
  4543. aa26.BrickColor = BrickColor.new("Lime green")
  4544. aa28.BrickColor = BrickColor.new("Lime green")
  4545. aa35.BrickColor = BrickColor.new("Lime green")
  4546. aa33.BrickColor = BrickColor.new("Lime green")
  4547. aa31.BrickColor = BrickColor.new("Lime green")
  4548. MagicCharge(7, 0, "Add", la.CFrame * CF(0, -1.3, 0) * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 1.5 * math.random(-1.8, 2), -0.005, maincolor, 0, "Sphere")
  4549. local A = math.random(1,4)
  4550. if A == 1 then
  4551. Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -10, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick")
  4552. if A == 2 then
  4553. Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -10, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick")
  4554. end
  4555. end
  4556. end
  4557. if Mode == 6 then
  4558. maincolor = BrickColor.new("Really red")
  4559. hum.WalkSpeed = 8
  4560. char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
  4561. char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
  4562. char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
  4563. char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
  4564. char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
  4565. char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
  4566. aa.BrickColor = BrickColor.new("Dark stone grey")
  4567. aa4.BrickColor = BrickColor.new("Really red")
  4568. aa5.BrickColor = BrickColor.new("Really red")
  4569. aa8.BrickColor = BrickColor.new("Really red")
  4570. aa11.BrickColor = BrickColor.new("Really red")
  4571. aa12.BrickColor = BrickColor.new("Really red")
  4572. aa13.BrickColor = BrickColor.new("Really red")
  4573. aa24.BrickColor = BrickColor.new("Really red")
  4574. aa26.BrickColor = BrickColor.new("Really red")
  4575. aa28.BrickColor = BrickColor.new("Really red")
  4576. aa35.BrickColor = BrickColor.new("Really red")
  4577. aa33.BrickColor = BrickColor.new("Really red")
  4578. aa31.BrickColor = BrickColor.new("Really red")
  4579. local A = math.random(1,15)
  4580. if A == 1 then
  4581. Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere")
  4582. if A == 2 then
  4583. Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick")
  4584. end
  4585. end
  4586. end
  4587. if Mode == 8 then
  4588. hum.WalkSpeed = 8
  4589. maincolor = BrickColor.new("Dark indigo")
  4590. char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
  4591. char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
  4592. char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
  4593. char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
  4594. char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
  4595. char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
  4596. aa.BrickColor = BrickColor.new("Dark stone grey")
  4597. aa4.BrickColor = BrickColor.new("Dark indigo")
  4598. aa5.BrickColor = BrickColor.new("Dark indigo")
  4599. aa8.BrickColor = BrickColor.new("Dark indigo")
  4600. aa11.BrickColor = BrickColor.new("Dark indigo")
  4601. aa12.BrickColor = BrickColor.new("Dark indigo")
  4602. aa13.BrickColor = BrickColor.new("Dark indigo")
  4603. aa24.BrickColor = BrickColor.new("Dark indigo")
  4604. aa26.BrickColor = BrickColor.new("Dark indigo")
  4605. aa28.BrickColor = BrickColor.new("Dark indigo")
  4606. aa35.BrickColor = BrickColor.new("Dark indigo")
  4607. aa33.BrickColor = BrickColor.new("Dark indigo")
  4608. aa31.BrickColor = BrickColor.new("Dark indigo")
  4609. Effects.Wave.Create(BrickColor.new("Dark indigo"), root.CFrame * CF(0, -2.90, 0), 15, 15, 15, 10.6, .1, 10.6, 0.05)
  4610. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),VT(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("Dark indigo"))
  4611. end
  4612. if Mode == 122 then
  4613. hum.WalkSpeed = 8
  4614. maincolor = BrickColor.new("White")
  4615. char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
  4616. char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
  4617. char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
  4618. char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
  4619. char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
  4620. char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
  4621. aa.BrickColor = BrickColor.new("Dark stone grey")
  4622. aa4.BrickColor = BrickColor.new("White")
  4623. aa5.BrickColor = BrickColor.new("Really black")
  4624. aa8.BrickColor = BrickColor.new("Really black")
  4625. aa11.BrickColor = BrickColor.new("White")
  4626. aa12.BrickColor = BrickColor.new("White")
  4627. aa13.BrickColor = BrickColor.new("Really black")
  4628. aa24.BrickColor = BrickColor.new("Really black")
  4629. aa26.BrickColor = BrickColor.new("White")
  4630. aa28.BrickColor = BrickColor.new("Really black")
  4631. aa35.BrickColor = BrickColor.new("Really black")
  4632. aa33.BrickColor = BrickColor.new("White")
  4633. aa31.BrickColor = BrickColor.new("Really black")
  4634. end
  4635. if Mode == 10000 then
  4636. hum.WalkSpeed = 8
  4637. maincolor = BrickColor.new("Royal purple")
  4638. char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
  4639. char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
  4640. char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
  4641. char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
  4642. char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
  4643. char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
  4644. aa.BrickColor = BrickColor.new("Dark stone grey")
  4645. aa4.BrickColor = BrickColor.new("Royal purple")
  4646. aa5.BrickColor = BrickColor.new("Royal purple")
  4647. aa8.BrickColor = BrickColor.new("Royal purple")
  4648. aa11.BrickColor = BrickColor.new("Royal purple")
  4649. aa12.BrickColor = BrickColor.new("Royal purple")
  4650. aa13.BrickColor = BrickColor.new("Royal purple")
  4651. aa24.BrickColor = BrickColor.new("Royal purple")
  4652. aa26.BrickColor = BrickColor.new("Royal purple")
  4653. aa28.BrickColor = BrickColor.new("Royal purple")
  4654. aa35.BrickColor = BrickColor.new("Royal purple")
  4655. aa33.BrickColor = BrickColor.new("Royal purple")
  4656. aa31.BrickColor = BrickColor.new("Royal purple")
  4657. end
  4658. if Mode == 1 then
  4659. hum.WalkSpeed = 8
  4660. maincolor = BrickColor.new("White")
  4661. char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
  4662. char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
  4663. char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
  4664. char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
  4665. char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
  4666. char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
  4667. aa.BrickColor = BrickColor.new("Dark stone grey")
  4668. aa4.BrickColor = BrickColor.new("White")
  4669. aa5.BrickColor = BrickColor.new("White")
  4670. aa8.BrickColor = BrickColor.new("White")
  4671. aa11.BrickColor = BrickColor.new("White")
  4672. aa12.BrickColor = BrickColor.new("White")
  4673. aa13.BrickColor = BrickColor.new("White")
  4674. aa24.BrickColor = BrickColor.new("White")
  4675. aa26.BrickColor = BrickColor.new("White")
  4676. aa28.BrickColor = BrickColor.new("White")
  4677. aa35.BrickColor = BrickColor.new("White")
  4678. aa33.BrickColor = BrickColor.new("White")
  4679. aa31.BrickColor = BrickColor.new("White")
  4680. end
  4681. if Mode == 99 then
  4682. hum.WalkSpeed = 100
  4683. maincolor = BrickColor.new("Deep orange")
  4684. char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
  4685. char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
  4686. char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
  4687. char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
  4688. char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
  4689. char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
  4690. aa.BrickColor = BrickColor.new("Really black")
  4691. aa4.BrickColor = BrickColor.new("Deep orange")
  4692. aa5.BrickColor = BrickColor.new("Deep orange")
  4693. aa8.BrickColor = BrickColor.new("Deep orange")
  4694. aa11.BrickColor = BrickColor.new("Deep orange")
  4695. aa12.BrickColor = BrickColor.new("Deep orange")
  4696. aa13.BrickColor = BrickColor.new("Deep orange")
  4697. aa24.BrickColor = BrickColor.new("Deep orange")
  4698. aa26.BrickColor = BrickColor.new("Deep orange")
  4699. aa28.BrickColor = BrickColor.new("Deep orange")
  4700. aa35.BrickColor = BrickColor.new("Deep orange")
  4701. aa33.BrickColor = BrickColor.new("Deep orange")
  4702. aa31.BrickColor = BrickColor.new("Deep orange")
  4703. end
  4704. imgl2.Rotation = techc.Rotation + 0.2
  4705. techc.Rotation = techc.Rotation + 0.2
  4706. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  4707. ned.Position = UDim2.new(0.55,0 - 10 * math.cos(sine / 32),0.79,0 - 10 * math.cos(sine / 45))
  4708. if 1 < root.Velocity.y and hitfloor == nil then
  4709. Anim = "Jump"
  4710. if attack == false then
  4711. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.08)
  4712. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  4713. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08)
  4714. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08)
  4715. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08)
  4716. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08)
  4717. end
  4718. elseif -1 > root.Velocity.y and hitfloor == nil then
  4719. Anim = "Fall"
  4720. if attack == false then
  4721. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.08)
  4722. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  4723. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08)
  4724. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08)
  4725. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.08)
  4726. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.08)
  4727. end
  4728. elseif torvel < 1 and hitfloor ~= nil then
  4729. Anim = "Idle"
  4730. change = 1
  4731. if attack == false then
  4732. if Mode == 1 then --Normal
  4733. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4734. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
  4735. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4736. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4737. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(90), Rad(-10), Rad(-90)), 0.08)
  4738. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  4739. elseif Mode == 122 then
  4740. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
  4741. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(-25)), 0.3)
  4742. RH.C0 = clerp(RH.C0, CF(.8* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, .2* Player_Size) * angles(Rad(0), Rad(45), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  4743. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  4744. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-20), Rad(25)), 0.1)
  4745. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-20), Rad(35)), 0.1)
  4746. elseif Mode == oof then --PIXELATED
  4747. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.2* Player_Size * Cos(sine / 26)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4748. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4749. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4750. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4751. RW.C0 = clerp(RW.C0, CF(0.75, 0.5 + 0.05 * Sin(sine / 12), -0.7) * angles(Rad(0), Rad(0), Rad(-95)) * angles(Rad(5), Rad(0), Rad(0)), 0.1)
  4752. LW.C0 = clerp(LW.C0, CF(-0.75, 0.35 + 0.05 * Sin(sine / 12), -0.6) * angles(Rad(0), Rad(0), Rad(92)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  4753. elseif Mode == 0 then
  4754. rootj.C0 = clerp(rootj.C0,RootCF* CF(0, 0, -1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4755. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(25 + Mrandom(-5,5) - 4 * Cos(sine / 12)), Rad(Mrandom(-5,5)), Rad(0)), 1)
  4756. if Mrandom(1,30) == 1 then
  4757. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(0 + Mrandom(-25,25) - 4 * Cos(sine / 12)), Rad(Mrandom(-25,25)), Rad(0)), 0.5)
  4758. end
  4759. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
  4760. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-12)), 0.15)
  4761. RH.C0 = clerp(RH.C0, CF(1, -0.5, -0.5) * angles(Rad(25), Rad(90), Rad(0)) * angles(Rad(-8), Rad(0), Rad(0)), 0.5)
  4762. LH.C0 = clerp(LH.C0, CF(-1, -1, -0.01) * angles(Rad(-45), Rad(-90), Rad(0)) * angles(Rad(-8), Rad(0), Rad(0)), 0.5)
  4763. elseif Mode == 2 then --Machinery
  4764. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.08)
  4765. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(-20 - 4.5 * Sin(sine / .5))), 0.08)
  4766. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08)
  4767. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08)
  4768. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(155), Rad(0), Rad(-45)), 0.08)
  4769. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25)), 0.08)
  4770. elseif Mode == 3 then --ICE
  4771. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2* Player_Size) * angles(Rad(-30), Rad(0), Rad(0)), 0.1)
  4772. neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  4773. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(90), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4774. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-90), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4775. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(0), Rad(0)), 0.1)
  4776. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(0), Rad(0)), 0.1)
  4777. elseif Mode == 99 then --Infused
  4778. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08)
  4779. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  4780. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08)
  4781. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
  4782. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.35* Player_Size) * angles(Rad(90 - 2.5 * Cos(sine / 20)), Rad(0), Rad(-50)), 0.08)
  4783. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.15* Player_Size) * angles(Rad(70 - 2.5 * Cos(sine / 20)), Rad(0), Rad(70)), 0.08)
  4784. elseif Mode == 5 then --Cybernetic
  4785. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4786. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
  4787. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08)
  4788. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08)
  4789. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08)
  4790. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08)
  4791. elseif Mode == 25 then --Spiritual
  4792. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4793. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
  4794. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08)
  4795. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08)
  4796. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08)
  4797. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08)
  4798. elseif Mode == 6 then --Controlled Beyond Recognition
  4799. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
  4800. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-0)), 0.3)
  4801. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
  4802. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
  4803. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(5)), 0.08)
  4804. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-5)), 0.08)
  4805. elseif Mode == 10000 then
  4806. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4807. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(-10 - 2.5 * Sin(sine/ 20)), Rad(20 * Cos(sine / 20))), 0.3)
  4808. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4809. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4810. RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
  4811. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  4812. elseif Mode == 9990 then
  4813. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.08)
  4814. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(15)), 0.08)
  4815. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
  4816. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
  4817. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
  4818. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-12 - 5 * Sin(sine / 30))), 0.08)
  4819. elseif Mode == 7 or Mode == 9 then --Sucho Wowo --Mr.Balancia
  4820. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08)
  4821. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08)
  4822. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08)
  4823. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08)
  4824. RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
  4825. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  4826. elseif Mode == 100 then
  4827. rootj.C0 = clerp(rootj.C0,RootCF*CF(0 - 0.05 * Cos(sine / 44),0 + 0.03 * Cos(sine / 34),-0.05 + 0.05 * Cos(sine / 28))*angles(Rad(0 - 3 * Cos(sine / 34)),Rad(0 - 5 * Cos(sine / 44)),Rad(-5)), .1)
  4828. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  4829. RH.C0=clerp(RH.C0,CF(1,-1 - 0.05 * Cos(sine / 28) + 0.05 * Cos(sine / 44),0)*angles(Rad(0),Rad(90),Rad(0))*angles(Rad(7 - 5 * Cos(sine / 44)),Rad(0),Rad(-6 - 3 * Cos(sine / 34))), .1)
  4830. LH.C0=clerp(LH.C0,CF(-1,-1 - 0.05 * Cos(sine / 28) - 0.05 * Cos(sine / 44),0)*angles(Rad(0),Rad(-90),Rad(0))*angles(Rad(3 + 5 * Cos(sine / 44)),Rad(0),Rad(0 + 3 * Cos(sine / 34))), .1)
  4831. RW.C0 = clerp(RW.C0,CF(1,0.5 + 0.1 * Cos(sine / 28),-0.45)*angles(Rad(22 - 3 * Cos(sine / 53)),Rad(0),Rad(-37 + 2 * Cos(sine / 37))), .1)
  4832. LW.C0 = clerp(LW.C0,CF(-1,0.5 + 0.1 * Cos(sine / 28),-0.45)*angles(Rad(23 - 2 * Cos(sine / 58)),Rad(0),Rad(38 - 3 * Cos(sine / 57) )), .1)
  4833. elseif Mode == 8 then --Lunarist
  4834. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.5* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4835. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  4836. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4837. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4838. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-76)), 0.1)
  4839. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(56)), 0.1)
  4840. elseif Mode == 10 then --INSANITY
  4841. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
  4842. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 18)), Rad(0), Rad(0)), 0.3)
  4843. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
  4844. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
  4845. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(25 + Mrandom(-35,35)), Rad(0 + Mrandom(-35,35)), Rad(5 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  4846. LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
  4847. end
  4848. end
  4849. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  4850. Anim = "Walk"
  4851. change = 1.1
  4852. if attack == false then
  4853. if Mode == 6 then
  4854. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  4855. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  4856. if Mrandom(1,20) == 1 then
  4857. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-30,30)), Rad(Mrandom(-30,30)), Rad(Mrandom(-30,30))), 1)
  4858. end
  4859. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4860. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4861. RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
  4862. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  4863. elseif Mode == oof then --PIXELATED
  4864. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.2* Player_Size * Cos(sine / 26)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
  4865. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4866. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4867. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4868. RW.C0 = clerp(RW.C0, CF(0.75, 0.5 + 0.05 * Sin(sine / 12), -0.7) * angles(Rad(0), Rad(0), Rad(-95)) * angles(Rad(5), Rad(0), Rad(0)), 0.1)
  4869. LW.C0 = clerp(LW.C0, CF(-0.75, 0.35 + 0.05 * Sin(sine / 12), -0.6) * angles(Rad(0), Rad(0), Rad(92)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  4870. elseif Mode == 5 then
  4871. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4872. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  4873. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4874. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4875. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1)
  4876. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1)
  4877. elseif Mode == 25 then
  4878. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  4879. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  4880. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15)
  4881. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15)
  4882. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1)
  4883. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1)
  4884. elseif Mode == 100 then
  4885. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15)
  4886. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4887. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  4888. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  4889. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  4890. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  4891. elseif Mode == 0 then
  4892. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  4893. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(25 + Mrandom(-5,5) - 4 * Cos(sine / 12)), Rad(Mrandom(-5,5)), Rad(0)), 0.5)
  4894. if Mrandom(1,30) == 1 then
  4895. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(0 + Mrandom(-25,25) - 4 * Cos(sine / 12)), Rad(Mrandom(-25,25)), Rad(0)), 0.5)
  4896. end
  4897. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4898. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4899. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
  4900. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  4901. elseif Mode == 10 then
  4902. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  4903. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  4904. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3)
  4905. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3)
  4906. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 + 15 * Cos(sine / 7)), Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  4907. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 - 15 * Cos(sine / 7)), Rad(0), Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  4908. elseif Mode == 8 then
  4909. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
  4910. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-23 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  4911. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.08)
  4912. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.08)
  4913. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(-10 * Cos(sine / 20)), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  4914. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(10 * Cos(sine / 20)), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  4915. elseif Mode ~= 6 or Mode ~= 5 or Mode ~= 8 then
  4916. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  4917. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  4918. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4919. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4920. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  4921. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  4922. end
  4923. end
  4924. elseif torvel >= 25 and hitfloor ~= nil then
  4925. Anim = "Sprint"
  4926. change = 1.35
  4927. if attack == false then
  4928. if Mode == 5 then
  4929. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  4930. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  4931. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15)
  4932. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15)
  4933. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1)
  4934. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1)
  4935. elseif Mode == 99 then
  4936. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  4937. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  4938. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4939. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4940. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1)
  4941. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1)
  4942. elseif Mode == oof then
  4943. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  4944. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  4945. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15)
  4946. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15)
  4947. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1)
  4948. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1)
  4949. elseif Mode ~= 5 then
  4950. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  4951. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  4952. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4953. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4954. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(125) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.15)
  4955. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-125) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.15)
  4956. end
  4957. end
  4958. end
  4959. end
  4960. Music.SoundId = "rbxassetid://"..SONG
  4961. Music.Looped = true
  4962. Music.Pitch = 1
  4963. Music.Volume = 5
  4964. Music:Resume()
  4965. if Music.Parent ~= tors then
  4966. Music = Instance.new("Sound",tors)
  4967. end
  4968. if 0 < #Effects then
  4969. for e = 1, #Effects do
  4970. if Effects[e] ~= nil then
  4971. local Thing = Effects[e]
  4972. if Thing ~= nil then
  4973. local Part = Thing[1]
  4974. local Mode = Thing[2]
  4975. local Delay = Thing[3]
  4976. local IncX = Thing[4]
  4977. local IncY = Thing[5]
  4978. local IncZ = Thing[6]
  4979. if 1 >= Thing[1].Transparency then
  4980. if Thing[2] == "Block1" then
  4981. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4982. local Mesh = Thing[1].Mesh
  4983. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4984. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4985. elseif Thing[2] == "Block2" then
  4986. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  4987. local Mesh = Thing[7]
  4988. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4989. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4990. elseif Thing[2] == "Block3" then
  4991. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  4992. local Mesh = Thing[7]
  4993. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4994. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4995. elseif Thing[2] == "Cylinder" then
  4996. local Mesh = Thing[1].Mesh
  4997. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4998. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4999. elseif Thing[2] == "Blood" then
  5000. local Mesh = Thing[7]
  5001. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  5002. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5003. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5004. elseif Thing[2] == "Elec" then local Mesh = Thing[1].Mesh
  5005. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  5006. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5007. elseif Thing[2] == "Disappear" then
  5008. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5009. elseif Thing[2] == "Shatter" then
  5010. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5011. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  5012. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  5013. Thing[6] = Thing[6] + Thing[5]
  5014. end
  5015. else
  5016. Part.Parent = nil
  5017. table.remove(Effects, e)
  5018. end
  5019. end
  5020. end
  5021. end
  5022. end
  5023. end
  5024. -------------------------------------------------------
  5025. --End Animations And Script--
Add Comment
Please, Sign In to add comment