5sdfsadgaq5465

ruin vi edit

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