doryna2281337

Untitled

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