doryna2281337

Untitled

Aug 3rd, 2019
202
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 = "xdielivex'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.Material = "Metal"
  1754. aa34.CanCollide = false
  1755. local mesh = Instance.new("SpecialMesh", aa34)
  1756. mesh.MeshType = "Cylinder"
  1757. mesh.Scale = Vector3.new(1, 5.70, 15)
  1758. local weld1en = Instance.new("Weld")
  1759.  
  1760. weld1en.Part1 = aa34
  1761. weld1en.C1 = CFrame.new(-0.22, 0, -0.06)
  1762. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1763.  
  1764. local aa33 = Instance.new("Part")
  1765. aa33.Parent = char
  1766. aa33.Size = Vector3.new(0.2, 0.2, 0.2)
  1767. aa33.Archivable = true
  1768. aa33.Transparency = 0
  1769. aa33.Shape = "Ball"
  1770. aa33.BrickColor = BrickColor.new("White")
  1771. aa33.Material = "Neon"
  1772. aa33.CanCollide = false
  1773. local mesh = Instance.new("SpecialMesh", aa33)
  1774. mesh.MeshType = "Cylinder"
  1775. mesh.Scale = Vector3.new(0.50, 5.70, 15)
  1776. local weld1en = Instance.new("Weld")
  1777.  
  1778. weld1en.Part1 = aa33
  1779. weld1en.C1 = CFrame.new(0, 0, -0.065)
  1780. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1781.  
  1782. local aa32 = Instance.new("Part")
  1783. aa32.Parent = char
  1784. aa32.Size = Vector3.new(0.2, 0.2, 0.2)
  1785. aa32.Archivable = true
  1786. aa32.Transparency = 0
  1787. aa32.Shape = "Ball"
  1788. aa32.Material = "Metal"
  1789. aa32.CanCollide = false
  1790. local mesh = Instance.new("SpecialMesh", aa32)
  1791. mesh.MeshType = "Cylinder"
  1792. mesh.Scale = Vector3.new(1, 5.70, 15)
  1793. local weld1en = Instance.new("Weld")
  1794.  
  1795. weld1en.Part1 = aa32
  1796. weld1en.C1 = CFrame.new(0, 0, -0.06)
  1797. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1798.  
  1799. local aa31 = Instance.new("Part")
  1800. aa31.Parent = char
  1801. aa31.Size = Vector3.new(0.2, 0.2, 0.2)
  1802. aa31.Archivable = true
  1803. aa31.Transparency = 0
  1804. aa31.Shape = "Ball"
  1805. aa31.BrickColor = BrickColor.new("White")
  1806. aa31.Material = "Neon"
  1807. aa31.CanCollide = false
  1808. local mesh = Instance.new("SpecialMesh", aa31)
  1809. mesh.MeshType = "Cylinder"
  1810. mesh.Scale = Vector3.new(0.50, 5.70, 15)
  1811. local weld1en = Instance.new("Weld")
  1812.  
  1813. weld1en.Part1 = aa31
  1814. weld1en.C1 = CFrame.new(0.22, 0, -0.065)
  1815. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1816.  
  1817. local aa30 = Instance.new("Part")
  1818. aa30.Parent = char
  1819. aa30.Size = Vector3.new(0.2, 0.2, 0.2)
  1820. aa30.Archivable = true
  1821. aa30.Transparency = 0
  1822. aa30.Shape = "Ball"
  1823. aa30.Material = "Metal"
  1824. aa30.CanCollide = false
  1825. local mesh = Instance.new("SpecialMesh", aa30)
  1826. mesh.MeshType = "Cylinder"
  1827. mesh.Scale = Vector3.new(1, 5.70, 15)
  1828. local weld1en = Instance.new("Weld")
  1829.  
  1830. weld1en.Part1 = aa30
  1831. weld1en.C1 = CFrame.new(0.22, 0, -0.06)
  1832. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1833.  
  1834. local aa28 = Instance.new("Part")
  1835. aa28.Parent = char
  1836. aa28.Size = Vector3.new(0.2, 0.2, 0.2)
  1837. aa28.Archivable = true
  1838. aa28.Transparency = 0
  1839. aa28.Shape = "Ball"
  1840. aa28.BrickColor = BrickColor.new("White")
  1841. aa28.Material = "Neon"
  1842. aa28.CanCollide = false
  1843. local mesh = Instance.new("SpecialMesh", aa28)
  1844. mesh.MeshType = "Cylinder"
  1845. mesh.Scale = Vector3.new(0.50, 5.70, 15)
  1846. local weld1en = Instance.new("Weld")
  1847.  
  1848. weld1en.Part1 = aa28
  1849. weld1en.C1 = CFrame.new(0.22, 0, 0.065)
  1850. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1851.  
  1852. local aa27 = Instance.new("Part")
  1853. aa27.Parent = char
  1854. aa27.Size = Vector3.new(0.2, 0.2, 0.2)
  1855. aa27.Archivable = true
  1856. aa27.Transparency = 0
  1857. aa27.Shape = "Ball"
  1858. aa27.Material = "Metal"
  1859. aa27.CanCollide = false
  1860. local mesh = Instance.new("SpecialMesh", aa27)
  1861. mesh.MeshType = "Cylinder"
  1862. mesh.Scale = Vector3.new(1, 5.70, 15)
  1863. local weld1en = Instance.new("Weld")
  1864.  
  1865. weld1en.Part1 = aa27
  1866. weld1en.C1 = CFrame.new(0.22, 0, 0.06)
  1867. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1868.  
  1869. local aa26 = Instance.new("Part")
  1870. aa26.Parent = char
  1871. aa26.Size = Vector3.new(0.2, 0.2, 0.2)
  1872. aa26.Archivable = true
  1873. aa26.Transparency = 0
  1874. aa26.Shape = "Ball"
  1875. aa26.BrickColor = BrickColor.new("White")
  1876. aa26.Material = "Neon"
  1877. aa26.CanCollide = false
  1878. local mesh = Instance.new("SpecialMesh", aa26)
  1879. mesh.MeshType = "Cylinder"
  1880. mesh.Scale = Vector3.new(0.50, 5.70, 15)
  1881. local weld1en = Instance.new("Weld")
  1882.  
  1883. weld1en.Part1 = aa26
  1884. weld1en.C1 = CFrame.new(0, 0, 0.065)
  1885. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1886.  
  1887. local aa25 = Instance.new("Part")
  1888. aa25.Parent = char
  1889. aa25.Size = Vector3.new(0.2, 0.2, 0.2)
  1890. aa25.Archivable = true
  1891. aa25.Transparency = 0
  1892. aa25.Shape = "Ball"
  1893. aa25.Material = "Metal"
  1894. aa25.CanCollide = false
  1895. local mesh = Instance.new("SpecialMesh", aa25)
  1896. mesh.MeshType = "Cylinder"
  1897. mesh.Scale = Vector3.new(1, 5.70, 15)
  1898. local weld1en = Instance.new("Weld")
  1899.  
  1900. weld1en.Part1 = aa25
  1901. weld1en.C1 = CFrame.new(0, 0, 0.06)
  1902. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1903.  
  1904. local aa24 = Instance.new("Part")
  1905. aa24.Parent = char
  1906. aa24.Size = Vector3.new(0.2, 0.2, 0.2)
  1907. aa24.Archivable = true
  1908. aa24.Transparency = 0
  1909. aa24.Shape = "Ball"
  1910. aa24.BrickColor = BrickColor.new("White")
  1911. aa24.Material = "Neon"
  1912. aa24.CanCollide = false
  1913. local mesh = Instance.new("SpecialMesh", aa24)
  1914. mesh.MeshType = "Cylinder"
  1915. mesh.Scale = Vector3.new(0.50, 5.70, 15)
  1916. local weld1en = Instance.new("Weld")
  1917.  
  1918. weld1en.Part1 = aa24
  1919. weld1en.C1 = CFrame.new(-0.22, 0, 0.065)
  1920. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1921.  
  1922. local aa23 = Instance.new("Part")
  1923. aa23.Parent = char
  1924. aa23.Size = Vector3.new(0.2, 0.2, 0.2)
  1925. aa23.Archivable = true
  1926. aa23.Transparency = 0
  1927. aa23.Shape = "Ball"
  1928. aa23.Material = "Metal"
  1929. aa23.CanCollide = false
  1930. local mesh = Instance.new("SpecialMesh", aa23)
  1931. mesh.MeshType = "Cylinder"
  1932. mesh.Scale = Vector3.new(1, 5.70, 15)
  1933. local weld1en = Instance.new("Weld")
  1934.  
  1935. weld1en.Part1 = aa23
  1936. weld1en.C1 = CFrame.new(-0.22, 0, 0.06)
  1937. weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
  1938.  
  1939. local aa11 = Instance.new("Part")
  1940. aa11.Parent = char
  1941. aa11.Size = Vector3.new(0.2, 0.2, 0.2)
  1942. aa11.Archivable = true
  1943. aa11.Transparency = 0
  1944. aa11.Shape = "Ball"
  1945. aa11.BrickColor = BrickColor.new("Dark green")
  1946. aa11.Material = "Neon"
  1947. aa11.CanCollide = false
  1948. local mesh = Instance.new("SpecialMesh", aa11)
  1949. mesh.MeshType = "Cylinder"
  1950. mesh.Scale = Vector3.new(2.90, 2.90, 2.90)
  1951. local weld1en = Instance.new("Weld")
  1952. weld1en.Parent = ra
  1953. weld1en.Part0 = ra
  1954. weld1en.Part1 = aa11
  1955. weld1en.C1 = CFrame.new(-0.40, 0.40, 0)
  1956.  
  1957. local aa10 = Instance.new("Part")
  1958. aa10.Parent = char
  1959. aa10.Size = Vector3.new(0.2, 0.2, 0.2)
  1960. aa10.Archivable = true
  1961. aa10.Transparency = 0
  1962. aa10.Shape = "Ball"
  1963. aa10.Material = "Metal"
  1964. aa10.CanCollide = false
  1965. local mesh = Instance.new("SpecialMesh", aa10)
  1966. mesh.MeshType = "Cylinder"
  1967. mesh.Scale = Vector3.new(3, 3, 3)
  1968. local weld1en = Instance.new("Weld")
  1969. weld1en.Parent = ra
  1970. weld1en.Part0 = ra
  1971. weld1en.Part1 = aa10
  1972. weld1en.C1 = CFrame.new(-0.35, 0.40, 0)
  1973.  
  1974. local aa9 = Instance.new("Part")
  1975. aa9.Parent = char
  1976. aa9.Size = Vector3.new(0.2, 0.2, 0.2)
  1977. aa9.Archivable = true
  1978. aa9.Transparency = 0
  1979. aa9.Shape = "Ball"
  1980. aa9.BrickColor = BrickColor.new("White")
  1981. aa9.Material = "Metal"
  1982. aa9.CanCollide = false
  1983. local mesh = Instance.new("SpecialMesh", aa9)
  1984. mesh.MeshType = "Brick"
  1985. mesh.Scale = Vector3.new(5.70, 1, 5.70)
  1986. local weld1en = Instance.new("Weld")
  1987. weld1en.Parent = ra
  1988. weld1en.Part0 = ra
  1989. weld1en.Part1 = aa9
  1990. weld1en.C1 = CFrame.new(0, -1, 0)
  1991.  
  1992. local aa21 = Instance.new("Part")
  1993. aa21.Parent = char
  1994. aa21.Size = Vector3.new(0.2, 0.2, 0.2)
  1995. aa21.Archivable = true
  1996. aa21.Transparency = 0
  1997. aa21.Shape = "Ball"
  1998. aa21.BrickColor = BrickColor.new("White")
  1999. aa21.Material = "Metal"
  2000. aa21.CanCollide = false
  2001. local mesh = Instance.new("SpecialMesh", aa21)
  2002. mesh.MeshType = "Brick"
  2003. mesh.Scale = Vector3.new(5.90, 0.50, 5.90)
  2004. local weld1en = Instance.new("Weld")
  2005. weld1en.Parent = ra
  2006. weld1en.Part0 = ra
  2007. weld1en.Part1 = aa21
  2008. weld1en.C1 = CFrame.new(0, 0.95, 0)
  2009.  
  2010. local aa20 = Instance.new("Part")
  2011. aa20.Parent = char
  2012. aa20.Size = Vector3.new(0.2, 0.2, 0.2)
  2013. aa20.Archivable = true
  2014. aa20.Transparency = 0
  2015. aa20.Shape = "Ball"
  2016. aa20.BrickColor = BrickColor.new("White")
  2017. aa20.Material = "Metal"
  2018. aa20.CanCollide = false
  2019. local mesh = Instance.new("SpecialMesh", aa20)
  2020. mesh.MeshType = "Brick"
  2021. mesh.Scale = Vector3.new(5.90, 0.50, 5.90)
  2022. local weld1en = Instance.new("Weld")
  2023. weld1en.Parent = ra
  2024. weld1en.Part0 = ra
  2025. weld1en.Part1 = aa20
  2026. weld1en.C1 = CFrame.new(0, -0.95, 0)
  2027.  
  2028.  
  2029. local aa8 = Instance.new("Part")
  2030. aa8.Parent = char
  2031. aa8.Size = Vector3.new(0.2, 0.2, 0.2)
  2032. aa8.Archivable = true
  2033. aa8.Transparency = 0
  2034. aa8.Shape = "Ball"
  2035. aa8.BrickColor = BrickColor.new("Dark green")
  2036. aa8.Material = "Neon"
  2037. aa8.CanCollide = false
  2038. local mesh = Instance.new("SpecialMesh", aa8)
  2039. mesh.MeshType = "Cylinder"
  2040. mesh.Scale = Vector3.new(2.90, 2.90, 2.90)
  2041. local weld1en = Instance.new("Weld")
  2042. weld1en.Parent = ra
  2043. weld1en.Part0 = ra
  2044. weld1en.Part1 = aa8
  2045. weld1en.C1 = CFrame.new(-0.40, -0.40, 0)
  2046.  
  2047. local aa7 = Instance.new("Part")
  2048. aa7.Parent = char
  2049. aa7.Size = Vector3.new(0.2, 0.2, 0.2)
  2050. aa7.Archivable = true
  2051. aa7.Transparency = 0
  2052. aa7.Shape = "Ball"
  2053. aa7.Material = "Metal"
  2054. aa7.CanCollide = false
  2055. local mesh = Instance.new("SpecialMesh", aa7)
  2056. mesh.MeshType = "Cylinder"
  2057. mesh.Scale = Vector3.new(3, 3, 3)
  2058. local weld1en = Instance.new("Weld")
  2059. weld1en.Parent = ra
  2060. weld1en.Part0 = ra
  2061. weld1en.Part1 = aa7
  2062. weld1en.C1 = CFrame.new(-0.35, -0.40, 0)
  2063.  
  2064. local aa13 = Instance.new("Part")
  2065. aa13.Parent = char
  2066. aa13.Size = Vector3.new(0.2, 0.2, 0.2)
  2067. aa13.Archivable = true
  2068. aa13.Transparency = 0
  2069. aa13.Shape = "Ball"
  2070. aa13.BrickColor = BrickColor.new("White")
  2071. aa13.Material = "Neon"
  2072. aa13.CanCollide = false
  2073. local mesh = Instance.new("SpecialMesh", aa13)
  2074. mesh.MeshType = "Brick"
  2075. mesh.Scale = Vector3.new(5.30, 0.70, 5.40)
  2076. local weld1en = Instance.new("Weld")
  2077. weld1en.Parent = ra
  2078. weld1en.Part0 = ra
  2079. weld1en.Part1 = aa13
  2080. weld1en.C1 = CFrame.new(0, -1.05, 0)
  2081.  
  2082. local aa12 = Instance.new("Part")
  2083. aa12.Parent = char
  2084. aa12.Size = Vector3.new(0.2, 0.2, 0.2)
  2085. aa12.Archivable = true
  2086. aa12.Transparency = 0
  2087. aa12.Shape = "Ball"
  2088. aa12.BrickColor = BrickColor.new("White")
  2089. aa12.Material = "Neon"
  2090. aa12.CanCollide = false
  2091. local mesh = Instance.new("SpecialMesh", aa12)
  2092. mesh.MeshType = "Brick"
  2093. mesh.Scale = Vector3.new(5.30, 0.70, 5.40)
  2094. local weld1en = Instance.new("Weld")
  2095. weld1en.Parent = ra
  2096. weld1en.Part0 = ra
  2097. weld1en.Part1 = aa12
  2098. weld1en.C1 = CFrame.new(0, 1.05, 0)
  2099.  
  2100. local aa6 = Instance.new("Part")
  2101. aa6.Parent = char
  2102. aa6.Size = Vector3.new(0.2, 0.2, 0.2)
  2103. aa6.Archivable = true
  2104. aa6.Transparency = 0
  2105. aa6.Shape = "Ball"
  2106. aa6.BrickColor = BrickColor.new("White")
  2107. aa6.Material = "Metal"
  2108. aa6.CanCollide = false
  2109. local mesh = Instance.new("SpecialMesh", aa6)
  2110. mesh.MeshType = "Brick"
  2111. mesh.Scale = Vector3.new(5.70, 1, 5.70)
  2112. local weld1en = Instance.new("Weld")
  2113. weld1en.Parent = ra
  2114. weld1en.Part0 = ra
  2115. weld1en.Part1 = aa6
  2116. weld1en.C1 = CFrame.new(0, 1, 0)
  2117.  
  2118. local aa4 = Instance.new("Part")
  2119. aa4.Parent = char
  2120. aa4.Size = Vector3.new(0.2, 0.2, 0.2)
  2121. aa4.Archivable = true
  2122. aa4.Transparency = 0
  2123. aa4.Shape = "Ball"
  2124. aa4.BrickColor = maincolor
  2125. aa4.Material = "Neon"
  2126. aa4.CanCollide = false
  2127. local mesh = Instance.new("SpecialMesh", aa4)
  2128. mesh.MeshType = "Brick"
  2129. mesh.Scale = Vector3.new(1, 10.55, 5.60)
  2130. local weld1en = Instance.new("Weld")
  2131. weld1en.Parent = ra
  2132. weld1en.Part0 = ra
  2133. weld1en.Part1 = aa4
  2134. weld1en.C1 = CFrame.new(0, 0, 0)
  2135.  
  2136. local aa5 = Instance.new("Part")
  2137. aa5.Parent = char
  2138. aa5.Size = Vector3.new(0.2, 0.2, 0.2)
  2139. aa5.Archivable = true
  2140. aa5.Transparency = 0
  2141. aa5.Shape = "Ball"
  2142. aa5.BrickColor = maincolor
  2143. aa5.Material = "Neon"
  2144. aa5.CanCollide = false
  2145. local mesh = Instance.new("SpecialMesh", aa5)
  2146. mesh.MeshType = "Brick"
  2147. mesh.Scale = Vector3.new(5.60, 10.55, 1)
  2148. local weld1en = Instance.new("Weld")
  2149. weld1en.Parent = ra
  2150. weld1en.Part0 = ra
  2151. weld1en.Part1 = aa5
  2152. weld1en.C1 = CFrame.new(0, 0, 0)
  2153.  
  2154. local aa = Instance.new("Part")
  2155. aa.Parent = char
  2156. aa.Size = Vector3.new(0.2, 10, 20)
  2157. aa.Archivable = true
  2158. aa.Transparency = 0
  2159. aa.Shape = "Ball"
  2160. aa.Material = "Metal"
  2161. aa.CanCollide = false
  2162. local mesh = Instance.new("SpecialMesh", aa)
  2163. mesh.MeshType = "Brick"
  2164. mesh.Scale = Vector3.new(5.50, 10.50, 5.50)
  2165. local weld1en = Instance.new("Weld")
  2166. weld1en.Parent = ra
  2167. weld1en.Part0 = ra
  2168. weld1en.Part1 = aa
  2169. weld1en.C1 = CFrame.new(0, 0, 0)
  2170.  
  2171.  
  2172. --END OF GAUGNETS AND STUFF--
  2173.  
  2174. local NewInstance = function(instance,parent,properties)
  2175. local inst = Instance.new(instance,parent)
  2176. if(properties)then
  2177. for i,v in next, properties do
  2178. pcall(function() inst[i] = v end)
  2179. end
  2180. end
  2181. return inst;
  2182. end
  2183.  
  2184.  
  2185. ArmorColorParts = {}
  2186. ArmorColorParts2 = {}
  2187. NeonColorParts = {}
  2188. local all, last = {}, nil
  2189. local all2, last2 = {}, nil
  2190. local all3, last3 = {}, nil
  2191. local all4, last4 = {}, nil
  2192. local all, last = {}, nil
  2193. -------------------------------------------------------
  2194. --Start Customization--
  2195. -------------------------------------------------------
  2196. local Player_Size = 1
  2197. if Player_Size ~= 1 then
  2198. root.Size = root.Size * Player_Size
  2199. tors.Size = tors.Size * Player_Size
  2200. hed.Size = hed.Size * Player_Size
  2201. ra.Size = ra.Size * Player_Size
  2202. la.Size = la.Size * Player_Size
  2203. rl.Size = rl.Size * Player_Size
  2204. ll.Size = ll.Size * Player_Size
  2205. ----------------------------------------------------------------------------------
  2206. rootj.Parent = root
  2207. neck.Parent = tors
  2208. RW.Parent = tors
  2209. LW.Parent = tors
  2210. RH.Parent = tors
  2211. LH.Parent = tors
  2212. ----------------------------------------------------------------------------------
  2213. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2214. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2215. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2216. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2217. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2218. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2219. ----------------------------------------------------------------------------------
  2220. 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))
  2221. 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))
  2222. 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))
  2223. 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))
  2224. --hat.Parent = Character
  2225. end
  2226. ----------------------------------------------------------------------------------
  2227. local SONG = 1005328332
  2228. local SONG2 = 0
  2229. local Music = Instance.new("Sound",tors)
  2230. Music.Volume = 2.5
  2231. Music.Looped = true
  2232. Music.Pitch = 1 --Pitcher
  2233. ----------------------------------------------------------------------------------
  2234. local equipped = false
  2235. local idle = 0
  2236. local change = 1
  2237. local val = 0
  2238. local toim = 0
  2239. local idleanim = 0.4
  2240. local sine = 0
  2241. local Mode = 1
  2242. ----------------------------------------------------------------------------------
  2243. hum.WalkSpeed = 8
  2244. hum.JumpPower = 57
  2245. hum.Animator.Parent = nil
  2246. -------------------------------------------------------
  2247. --End Customization--
  2248. -------------------------------------------------------
  2249.  
  2250.  
  2251. -------------------------------------------------------
  2252. --Start Attacks N Stuff--
  2253. -------------------------------------------------------
  2254. it = Instance.new
  2255. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  2256. local gui = IT(GuiType)
  2257. gui.Parent = parent
  2258. gui.Text = text
  2259. gui.BackgroundTransparency = backtrans
  2260. gui.BackgroundColor3 = backcol
  2261. gui.SizeConstraint = "RelativeXY"
  2262. gui.TextXAlignment = "Center"
  2263. gui.TextYAlignment = "Center"
  2264. gui.Position = pos
  2265. gui.Size = size
  2266. gui.Font = "SourceSans"
  2267. gui.FontSize = "Size14"
  2268. gui.TextWrapped = false
  2269. gui.TextStrokeTransparency = 0
  2270. gui.TextColor = BrickColor.new("White")
  2271. return gui
  2272. end
  2273. local basgui = it("GuiMain")
  2274. basgui.Parent = plr.PlayerGui
  2275. basgui.Name = "VISgui"
  2276. local fullscreenz = it("Frame")
  2277. fullscreenz.Parent = basgui
  2278. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  2279. fullscreenz.BackgroundTransparency = 1
  2280. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  2281. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  2282. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  2283. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  2284. imgl2.BackgroundTransparency = 1
  2285. imgl2.BorderSizePixel = 0
  2286. imgl2.ImageTransparency = 0.5
  2287. imgl2.ImageColor3 = BrickColor.new("White").Color
  2288. imgl2.Position = UDim2.new(0.86,0,0.78,0)
  2289. imgl2.Size = UDim2.new(0,270,0,270)
  2290. imgl2.Image = "rbxassetid://320731120"
  2291. local techc = imgl2:Clone()
  2292. techc.Parent = fullscreenz
  2293. techc.ImageTransparency = 0.5
  2294. techc.Size = UDim2.new(0,700,0,700)
  2295. techc.Position = UDim2.new(0.75,-50,0.55,-50)
  2296. techc.ImageColor3 = BrickColor.new("White").Color
  2297. techc.Image = "rbxassetid://521073910"
  2298. local ned = Instance.new("TextLabel",fullscreenz)
  2299. ned.ZIndex = 2
  2300. ned.Font = "SciFi"
  2301. ned.BackgroundTransparency = 1
  2302. ned.BorderSizePixel = 0.65
  2303. ned.Size = UDim2.new(0.4,0,0.2,0)
  2304. ned.Position = UDim2.new(0.2,0,0.2,0)
  2305. ned.TextColor3 = BrickColor.new("White").Color
  2306. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  2307. ned.TextScaled = true
  2308. ned.TextStrokeTransparency = 0
  2309. ned.Text = "Neutral"
  2310. ned.TextSize = 24
  2311. ned.Rotation = 1
  2312. --ned.TextXAlignment = "Right"
  2313. ned.TextYAlignment = "Bottom"
  2314. -----------
  2315. local GUIFrame = IT("Frame")
  2316. GUIFrame.Parent = Base
  2317. GUIFrame.BackgroundColor3 = Color3.new(255, 255, 255)
  2318. GUIFrame.BackgroundTransparency = 1
  2319. GUIFrame.BorderColor3 = Color3.new(17, 17, 17)
  2320. GUIFrame.Size = UDim2.new(1, 0, 1, 0)
  2321. GUIFrame.Position = UDim2.new(0, 0, 0, 0)
  2322. ---------------------
  2323. -----------------------------
  2324. function resetmode()
  2325. tecks2.Text = "xdielivex's endurance"
  2326. tecks2.TextColor3 = Color3.fromRGB(1, 1, 1)
  2327. tecks2.TextStrokeColor3 = Color3.fromRGB(123, 157, 205)
  2328. Mode = 1
  2329. SONG = 1005328332
  2330. for i, v in pairs(NeonColorParts1000) do
  2331. v.BrickColor = BrickC("White")
  2332. end
  2333.  
  2334. imgl2.ImageColor3 = BrickC("White").Color
  2335. techc.ImageColor3 = BrickC("White").Color
  2336. ned.Text = "Neutral"
  2337. ned.TextColor3 = BrickC("White").Color
  2338. ned.TextStrokeColor3 = BrickC("Really black").Color
  2339. end
  2340. function Taunt()
  2341. attack = true
  2342. hum.WalkSpeed = 0
  2343. TAUNT:Play()
  2344. repeat
  2345. swait()
  2346. TAUNT.Parent = tors
  2347. 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)
  2348. 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)
  2349. 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)
  2350. 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)
  2351. 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)
  2352. 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)
  2353. until TAUNT.Playing == false
  2354. attack = false
  2355. hum.WalkSpeed = 8
  2356. end
  2357. function attackone()
  2358. attack = true
  2359. hum.WalkSpeed = 3.01
  2360. for i = 0, 1.7, 0.1 do
  2361. swait()
  2362. 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)
  2363. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
  2364. 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)
  2365. 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)
  2366. 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)
  2367. 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)
  2368. end
  2369. Cso("203426541", ra, 10, 1)
  2370. for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
  2371. if v:FindFirstChild("Head") then
  2372. Eviscerate(v)
  2373. SoulSteal(v)
  2374. end
  2375. end
  2376. for i = 0, 1.4, 0.1 do
  2377. swait()
  2378. BlockEffect(maincolor, ra.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
  2379. 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)
  2380. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  2381. 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)
  2382. 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)
  2383. 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)
  2384. 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)
  2385. end
  2386. hum.WalkSpeed = 8
  2387. attack = false
  2388. end
  2389. function attacktwo()
  2390. attack = true
  2391. hum.WalkSpeed = 3.01
  2392. for i = 0, 1.7, 0.1 do
  2393. swait()
  2394. 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)
  2395. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  2396. 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)
  2397. 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)
  2398. 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)
  2399. 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)
  2400. end
  2401. Cso("203426541", rl, 10, 1)
  2402. for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
  2403. if v:FindFirstChild("Head") then
  2404. Eviscerate(v)
  2405. SoulSteal(v)
  2406. end
  2407. end
  2408. for i = 0, 1.4, 0.1 do
  2409. swait()
  2410. 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)
  2411. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  2412. 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)
  2413. 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)
  2414. 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)
  2415. 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)
  2416. end
  2417. hum.WalkSpeed = 8
  2418. attack = false
  2419. end
  2420. function attackthree()
  2421. attack = true
  2422. hum.WalkSpeed = 3.01
  2423. for i = 0, 1.4, 0.1 do
  2424. swait()
  2425. 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)
  2426. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2427. 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)
  2428. 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)
  2429. 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)
  2430. 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)
  2431. end
  2432. Cso("203426541", hed, 10, 1)
  2433. for i = 0, 1.7, 0.1 do
  2434. swait()
  2435. 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)
  2436. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2437. 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)
  2438. 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)
  2439. 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)
  2440. 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)
  2441. end
  2442. Cso("260435136", hed, 10, .9)
  2443. BlockEffect(maincolor, ra.CFrame * CF(0, -2, 0), 11, 11, 11, 10, 10, 10, 0.04, 1)
  2444. BlockEffect(BrickC("Really black"), ra.CFrame * CF(0, -2, 0), 6, 6, 6, 5, 5, 5, 0.04, 1)
  2445. for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
  2446. if v:FindFirstChild("Head") then
  2447. Eviscerate(v)
  2448. SoulSteal(v)
  2449. end
  2450. end
  2451. for i = 0, 1.8, 0.1 do
  2452. swait()
  2453. 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)
  2454. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  2455. 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)
  2456. 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)
  2457. 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)
  2458. 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)
  2459. end
  2460. hum.WalkSpeed = 8
  2461. attack = false
  2462. end
  2463. function Power_Burst()
  2464. hum.WalkSpeed = 4
  2465. attack = true
  2466. Cso("163619849", ra, 10, 1.35)
  2467. for i = 0,4.3,0.1 do
  2468. swait()
  2469. 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)
  2470. 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)
  2471. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
  2472. 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)
  2473. 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)
  2474. 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)
  2475. 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)
  2476. end
  2477. CameraEnshaking(2.5, 20)
  2478. Cso("539294959", ra, 10, .9)
  2479. BlockEffect(maincolor, ra.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
  2480. BlockEffect(BrickC("Really black"), ra.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
  2481. for i, v in pairs(FindNearestHead(ra.CFrame.p, 15)) do
  2482. if v:FindFirstChild("Head") then
  2483. Eviscerate(v)
  2484. SoulSteal(v)
  2485. end
  2486. end
  2487. for i = 0,3,0.1 do
  2488. swait()
  2489. 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)
  2490. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
  2491. 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)
  2492. 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)
  2493. 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)
  2494. 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)
  2495. end
  2496. hum.WalkSpeed = 8
  2497. attack = false
  2498. end
  2499. function Magic_Bombs()
  2500. attack = true
  2501. hum.WalkSpeed = 0
  2502. local GYRO = IT("BodyGyro",root)
  2503. GYRO.D = 100
  2504. GYRO.P = 2000
  2505. GYRO.MaxTorque = VT(0,4000000,0)
  2506. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2507. for i = 0,3.6,0.1 do
  2508. swait()
  2509. 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)
  2510. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2511. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2512. 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)
  2513. 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)
  2514. 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)
  2515. end
  2516. CameraEnshaking(1, 6)
  2517. GYRO:Destroy()
  2518. Cso("588734356", Handle, 10, 1.05)
  2519. BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
  2520. BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
  2521. HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
  2522. for i = 0,2,0.1 do
  2523. swait()
  2524. 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)
  2525. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2526. 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)
  2527. 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)
  2528. 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)
  2529. 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)
  2530. end
  2531. local GYRO = IT("BodyGyro",root)
  2532. GYRO.D = 100
  2533. GYRO.P = 2000
  2534. GYRO.MaxTorque = VT(0,4000000,0)
  2535. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2536. for i = 0,2.4,0.1 do
  2537. swait()
  2538. 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)
  2539. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2540. 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)
  2541. 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)
  2542. 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)
  2543. 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)
  2544. end
  2545. GYRO:Destroy()
  2546. CameraEnshaking(1, 6)
  2547. Cso("588734356", Handle, 10, 1.05)
  2548. BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
  2549. BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
  2550. HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Normal")
  2551. for i = 0,2,0.1 do
  2552. swait()
  2553. 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)
  2554. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2555. 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)
  2556. 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)
  2557. 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)
  2558. 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)
  2559. end
  2560. local GYRO = IT("BodyGyro",root)
  2561. GYRO.D = 100
  2562. GYRO.P = 2000
  2563. GYRO.MaxTorque = VT(0,4000000,0)
  2564. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2565. for i = 0,2.4,0.1 do
  2566. swait()
  2567. 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)
  2568. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2569. 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)
  2570. 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)
  2571. 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)
  2572. 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)
  2573. end
  2574. GYRO:Destroy()
  2575. CameraEnshaking(1, 6)
  2576. Cso("588734356", Handle, 10, 1.05)
  2577. BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
  2578. BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
  2579. HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
  2580. for i = 0,2,0.1 do
  2581. swait()
  2582. 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)
  2583. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2584. 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)
  2585. 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)
  2586. 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)
  2587. 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)
  2588. end
  2589. attack = false
  2590. hum.WalkSpeed = 8
  2591. end
  2592. function Dangerous_Field()
  2593. attack = true
  2594. hum.WalkSpeed = 0
  2595. for i = 0,10,0.1 do
  2596. swait()
  2597. 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)
  2598. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2599. 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)
  2600. 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)
  2601. 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)
  2602. 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)
  2603. CameraEnshaking(1, 7)
  2604. Cso("588734356", Handle, 10, 1.2)
  2605. BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1)
  2606. BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1)
  2607. HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Normal")
  2608. HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Normal")
  2609. end
  2610. attack = false
  2611. hum.WalkSpeed = 8
  2612. end
  2613.  
  2614.  
  2615. function NUCLEAR()
  2616. attack = true
  2617. local orb = Instance.new("Part", char)
  2618. orb.Anchored = true
  2619. orb.BrickColor = BrickC("Lime green")
  2620. orb.CanCollide = false
  2621. orb.FormFactor = 3
  2622. orb.Name = "Ring"
  2623. orb.Material = "Neon"
  2624. orb.Size = Vector3.new(1, 1, 1)
  2625. orb.Transparency = 0
  2626. orb.TopSurface = 0
  2627. orb.BottomSurface = 0
  2628. local orbm = Instance.new("SpecialMesh", orb)
  2629. orbm.MeshType = "Sphere"
  2630. orbm.Name = "SizeMesh"
  2631. orbm.Scale = Vector3.new(0, 0, 0)
  2632. local scaled = 0.1
  2633. local posid = 0
  2634. 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")
  2635. 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")
  2636. for i = 0, 12, 0.1 do
  2637. swait()
  2638. scaled = scaled + 0.001
  2639. posid = posid - scaled
  2640. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  2641. orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
  2642. 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)
  2643. 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)
  2644. 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)
  2645. 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)
  2646. 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)
  2647. 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)
  2648. end
  2649. for i = 0, 2, 0.1 do
  2650. swait()
  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(215), 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. coroutine.resume(coroutine.create(function()
  2659. orb.Anchored = false
  2660. CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
  2661. local a = Instance.new("Part", workspace)
  2662. a.Name = "Direction"
  2663. a.Anchored = true
  2664. a.BrickColor = BrickC("Lime green")
  2665. a.Material = "Neon"
  2666. a.Transparency = 1
  2667. a.CanCollide = false
  2668. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  2669. local ignore = orb
  2670. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2671. a.BottomSurface = 10
  2672. a.TopSurface = 10
  2673. local distance = (orb.CFrame.p - position).magnitude
  2674. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2675. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2676. orb.CFrame = a.CFrame
  2677. a:Destroy()
  2678. local bv = Instance.new("BodyVelocity")
  2679. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2680. bv.velocity = orb.CFrame.lookVector * 125
  2681. bv.Parent = orb
  2682. local hitted = false
  2683. game:GetService("Debris"):AddItem(orb, 15)
  2684. swait()
  2685. local hit = orb.Touched:connect(function(hit)
  2686. if hitted == false then
  2687. hitted = true
  2688. CameraEnshaking(10, 2.5)
  2689. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  2690. for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do
  2691. if v:FindFirstChild("Head") then
  2692. Eviscerate(v)
  2693. end
  2694. end
  2695. Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Lime green"), "Sphere")
  2696. Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Lime green"), "Sphere")
  2697. for i = 0, 9 do
  2698. 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")
  2699. 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")
  2700. end
  2701. orb.Anchored = true
  2702. orb.Transparency = 1
  2703. wait(8)
  2704. orb:Destroy()
  2705. end
  2706. end)
  2707. end))
  2708. for i = 0, 1, 0.1 do
  2709. swait()
  2710. 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)
  2711. 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)
  2712. 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)
  2713. 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)
  2714. 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)
  2715. 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)
  2716. end
  2717. attack = false
  2718. end
  2719. function Shockwave()
  2720. attack = true
  2721. hum.WalkSpeed = 0
  2722. for i = 0,4,0.1 do
  2723. swait()
  2724. 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)
  2725. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2726. 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)
  2727. 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)
  2728. 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)
  2729. 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)
  2730. end
  2731. coroutine.resume(coroutine.create(function()
  2732. BlockEffect(maincolor, rl.CFrame * CF(-1, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2733. BlockEffect(maincolor, rl.CFrame * CF(-3, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2734. BlockEffect(maincolor, rl.CFrame * CF(2, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2735. HitboxFunction(rl.CFrame * CF(-1, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
  2736. HitboxFunction(rl.CFrame * CF(-3, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
  2737. HitboxFunction(rl.CFrame * CF(2, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
  2738. CameraEnshaking(1, 7)
  2739. wait(0.05)
  2740. BlockEffect(maincolor, rl.CFrame * CF(-0.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2741. BlockEffect(maincolor, rl.CFrame * CF(-2.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2742. BlockEffect(maincolor, rl.CFrame * CF(1.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2743. HitboxFunction(rl.CFrame * CF(-0.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 20, 10, "Snare")
  2744. HitboxFunction(rl.CFrame * CF(-2.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2745. HitboxFunction(rl.CFrame * CF(1.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2746. CameraEnshaking(1, 7)
  2747. wait(0.05)
  2748. BlockEffect(maincolor, rl.CFrame * CF(-0.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2749. BlockEffect(maincolor, rl.CFrame * CF(-2.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2750. BlockEffect(maincolor, rl.CFrame * CF(1.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2751. HitboxFunction(rl.CFrame * CF(-0.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2752. HitboxFunction(rl.CFrame * CF(-2.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2753. HitboxFunction(rl.CFrame * CF(1.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2754. CameraEnshaking(1, 7)
  2755. wait(0.05)
  2756. BlockEffect(maincolor, rl.CFrame * CF(-0.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2757. BlockEffect(maincolor, rl.CFrame * CF(-2.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2758. BlockEffect(maincolor, rl.CFrame * CF(1.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2759. HitboxFunction(rl.CFrame * CF(-0.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2760. HitboxFunction(rl.CFrame * CF(-2.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2761. HitboxFunction(rl.CFrame * CF(1.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2762. CameraEnshaking(1, 7)
  2763. wait(0.05)
  2764. BlockEffect(maincolor, rl.CFrame * CF(-0.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2765. BlockEffect(maincolor, rl.CFrame * CF(-2.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2766. BlockEffect(maincolor, rl.CFrame * CF(1.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2767. HitboxFunction(rl.CFrame * CF(-0.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2768. HitboxFunction(rl.CFrame * CF(-2.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2769. HitboxFunction(rl.CFrame * CF(1.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2770. CameraEnshaking(1, 7)
  2771. wait(0.05)
  2772. BlockEffect(maincolor, rl.CFrame * CF(-0, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2773. BlockEffect(maincolor, rl.CFrame * CF(-2, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2774. BlockEffect(maincolor, rl.CFrame * CF(1, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2775. HitboxFunction(rl.CFrame * CF(-0, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2776. HitboxFunction(rl.CFrame * CF(-2, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2777. HitboxFunction(rl.CFrame * CF(1, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  2778. CameraEnshaking(1, 7)
  2779. end))
  2780. Cso("440145223", Handle, 10, 1.05)
  2781. for i = 1,7,0.1 do
  2782. 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)
  2783. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  2784. 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)
  2785. 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)
  2786. 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)
  2787. 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)
  2788. end
  2789. wait(.6)
  2790. hum.WalkSpeed = 8
  2791. attack = false
  2792. end
  2793. function Pulse()
  2794. attack = true
  2795. hum.WalkSpeed = 0
  2796. local GYRO = IT("BodyGyro",root)
  2797. GYRO.D = 100
  2798. GYRO.P = 2000
  2799. GYRO.MaxTorque = VT(0,4000000,0)
  2800. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2801. for i = 0,4,0.1 do
  2802. swait()
  2803. 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)
  2804. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
  2805. 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)
  2806. 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)
  2807. 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)
  2808. 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)
  2809. end
  2810. BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2811. HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 30, 40, 0, "Freeze")
  2812. CameraEnshaking(1, 25)
  2813. BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2814. HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2815. BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2816. HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2817. BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2818. HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2819. BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2820. HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2821. BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2822. HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2823. BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2824. HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2825. BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2826. HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2827. BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2828. HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2829. BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2830. HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2831. BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2832. HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2833. BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
  2834. HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
  2835. Cso("440145223", Handle, 10, 1.05)
  2836. GYRO:Destroy()
  2837. for i = 1,2,0.1 do
  2838. swait()
  2839. 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)
  2840. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
  2841. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
  2842. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
  2843. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
  2844. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
  2845. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2846. end
  2847. hum.WalkSpeed = 8
  2848. attack = false
  2849. end
  2850. function LAZER()
  2851. attack = true
  2852. local GYRO = IT("BodyGyro",root)
  2853. GYRO.D = 100
  2854. GYRO.P = 2000
  2855. GYRO.MaxTorque = Vector3.new(0,4000000,0)
  2856. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2857. 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),})
  2858. for i = 0,5,0.1 do
  2859. swait()
  2860. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2861. 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)
  2862. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
  2863. 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)
  2864. 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)
  2865. 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)
  2866. 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)
  2867. end
  2868. local beam = Instance.new("Part", workspace)
  2869. beam.BrickColor = BrickColor.new("Deep orange")
  2870. beam.FormFactor = "Custom"
  2871. beam.Material = "Glass"
  2872. beam.Transparency = 0.5
  2873. beam.Anchored = true
  2874. beam.Locked = true
  2875. beam.CanCollide = false
  2876. local distance = (aa12.CFrame.p - mouse.Hit.p).magnitude
  2877. beam.Size = Vector3.new(1.05, 1.05, distance)
  2878. beam.CFrame = CFrame.new(aa12.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
  2879. game:GetService("Debris"):AddItem(beam, 0.14)
  2880. BlockEffect(BrickC("Deep orange"), ref.CFrame * CF(0, 0, 0), 25, 25, 25, 15, 15, 15, 0.04, 1)
  2881. BlockEffect(BrickC("Deep orange"), ref.CFrame * CF(0, 0, 0), 19, 19, 19, 10, 10, 10, 0.04, 1)
  2882. GYRO:Destroy()
  2883. for i, v in pairs(FindNearestHead(ref.CFrame.p, 2)) do
  2884. if v:FindFirstChild("Torso") then
  2885. Eviscerate(v)
  2886. end
  2887. end
  2888. attack = false
  2889. end
  2890. function Spirit_Beam()
  2891. attack = true
  2892. hum.WalkSpeed = 0
  2893. local GYRO = IT("BodyGyro",root)
  2894. GYRO.D = 100
  2895. GYRO.P = 2000
  2896. GYRO.MaxTorque = VT(0,4000000,0)
  2897. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2898. for i = 0,5,0.1 do
  2899. swait()
  2900. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  2901. 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)
  2902. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2903. 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)
  2904. 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)
  2905. 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)
  2906. 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)
  2907. end
  2908. 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),})
  2909. HitboxFunction(ref.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 4, 25, 50, 1, "Normal")
  2910. BlockEffect(maincolor, ref.CFrame * CF(-0, -0, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
  2911. local beam = Instance.new("Part", workspace)
  2912. beam.BrickColor = BrickColor.new("Fog")
  2913. beam.FormFactor = "Custom"
  2914. beam.Material = "Glass"
  2915. beam.Transparency = 0.5
  2916. beam.Anchored = true
  2917. beam.Locked = true
  2918. beam.CanCollide = false
  2919. local distance = (Handle.CFrame.p - mouse.Hit.p).magnitude
  2920. beam.Size = Vector3.new(1.05, 1.05, distance)
  2921. beam.CFrame = CFrame.new(Handle.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
  2922. game:GetService("Debris"):AddItem(beam, 0.14)
  2923. local sound = Instance.new('Sound',Handle)
  2924. sound.SoundId = 'rbxassetid://588697948'
  2925. sound.Volume = 7
  2926. sound.EmitterSize = 40
  2927. sound.MaxDistance = 450
  2928. sound:Play()
  2929. game:GetService("Debris"):AddItem(beam, sound.TimeLength)
  2930. GYRO:Destroy()
  2931. 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)
  2932. 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)
  2933. 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)
  2934. 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)
  2935. 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)
  2936. 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)
  2937. 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)
  2938. 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)
  2939. 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)
  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. wait(0.3)
  2942. attack = false
  2943. hum.WalkSpeed = 8
  2944. ref:Destroy()
  2945. end
  2946. function Distort()
  2947. attack = true
  2948. hum.WalkSpeed = 0
  2949. local pos = root.Position
  2950. root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
  2951. Cso("261227592", tors, 10, 0.85)
  2952. for i = 1,2.5,0.1 do
  2953. swait()
  2954. rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2955. end
  2956. attack = false
  2957. hum.WalkSpeed = 8
  2958. end
  2959. function Ancient_Rage()
  2960. attack = true
  2961. hum.WalkSpeed = 4
  2962. Cso("907329532", tors, 10, 1.05)
  2963. for i = 1,14,0.1 do
  2964. swait()
  2965. rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2966. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
  2967. 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)
  2968. 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)
  2969. 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)
  2970. 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)
  2971. for i, v in pairs(FindNearestHead(tors.CFrame.p, 7)) do
  2972. if v:FindFirstChild("Head") then
  2973. Eviscerate(v)
  2974. end
  2975. end
  2976. end
  2977. attack = false
  2978. hum.WalkSpeed = 8
  2979. end
  2980. function TTTTTTTTTTTaunt()
  2981. attack = true
  2982. hum.WalkSpeed = 0
  2983. DTAUNT:Play()
  2984. repeat
  2985. swait()
  2986. DTAUNT.Parent = tors
  2987. 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)
  2988. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
  2989. 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)
  2990. 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)
  2991. 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)
  2992. 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)
  2993. until DTAUNT.Playing == false
  2994. attack = false
  2995. hum.WalkSpeed = 8
  2996. end
  2997. function HAAH()
  2998. attack = true
  2999. hum.WalkSpeed = 0
  3000. Cso("300208779", hed, 10, 1)
  3001. for i = 0,9,0.1 do
  3002. swait()
  3003. 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)
  3004. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
  3005. if Mrandom(1,15) == 1 then
  3006. 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)
  3007. end
  3008. 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)
  3009. 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)
  3010. 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)
  3011. 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)
  3012. end
  3013. attack = false
  3014. hum.WalkSpeed = 10
  3015. end
  3016. function again()
  3017. attack = true
  3018. hum.WalkSpeed = 0
  3019. ITAUNT:Play()
  3020. repeat
  3021. swait()
  3022. ITAUNT.Parent = tors
  3023. 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)
  3024. 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)
  3025. 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)
  3026. 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)
  3027. 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)
  3028. 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)
  3029. until ITAUNT.Playing == false
  3030. attack = false
  3031. hum.WalkSpeed = 8
  3032. end
  3033. function LunarSpin()
  3034. attack = true
  3035. hum.WalkSpeed = 0
  3036. for i = 0,17,0.05 do
  3037. CameraEnshaking(1, 5)
  3038. MagniDamage(tors, 47, 2, 5, 0, "Normal")
  3039. Effects.Spiral.Create(BrickC("Teal"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03)
  3040. Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  3041. swait()
  3042. 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)
  3043. 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)
  3044. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3045. 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)
  3046. 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)
  3047. 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)
  3048. 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)
  3049. end
  3050. hum.WalkSpeed = 8
  3051. attack = false
  3052. end
  3053. function Decapitate()
  3054. local target = nil
  3055. local targettorso = nil
  3056. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  3057. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  3058. target = mouse.Target.Parent.Humanoid
  3059. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  3060. targethead = mouse.Target.Parent:FindFirstChild("Head")
  3061. end
  3062. end
  3063. if target ~= nil then
  3064. targettorso.Anchored = true
  3065. attack = true
  3066. hum.WalkSpeed = 0
  3067. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  3068. for i = 0,4.2,0.1 do
  3069. swait()
  3070. 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)
  3071. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  3072. 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)
  3073. 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)
  3074. 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)
  3075. 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)
  3076. end
  3077. local ModelHead01 = New("Model", char, "", {})
  3078. local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
  3079. local Head01 = targethead:Clone()
  3080. targethead.Transparency = 1
  3081. Head01.Parent = ModelHead01
  3082. local weldHead01 = Instance.new("Weld")
  3083. weldHead01.Parent = Head01
  3084. weldHead01.Part0 = targethead
  3085. weldHead01.Part1 = Head01
  3086. weldHead01.C1 = CFrame.new(0, 0, 0)
  3087. targethead.face:Remove()
  3088. weldHead01.Part0 = ra
  3089. weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  3090. targettorso:BreakJoints()
  3091. CreateSound("314390675", targettorso, 5, .7)
  3092. for i = 0,3.2,0.1 do
  3093. swait()
  3094. 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)
  3095. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  3096. 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)
  3097. 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)
  3098. 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)
  3099. 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)
  3100. end
  3101. for i = 0,4.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(-40)), 0.15)
  3104. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 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(-0)), 0.15)
  3107. 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)
  3108. 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)
  3109. end
  3110. CreateSound("541909763", targettorso, 5, .8)
  3111. weldHead01:Destroy()
  3112. Head01.CanCollide = true
  3113. local bodyVelocity2 = Create("BodyVelocity")({
  3114. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  3115. P = 5000,
  3116. maxForce = Vector3.new(8000, 8000, 8000),
  3117. Parent = Head01
  3118. })
  3119. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  3120. for i = 0,6.2,0.1 do
  3121. swait()
  3122. 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)
  3123. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  3124. 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)
  3125. 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)
  3126. 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)
  3127. 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)
  3128. end
  3129. targettorso.Anchored = false
  3130. attack = false
  3131. hum.WalkSpeed = 8
  3132. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  3133. end
  3134. end
  3135. function BalanceSpin()
  3136. attack = true
  3137. hum.WalkSpeed = 2
  3138. for i = 0,17,0.07 do
  3139. CameraEnshaking(1, 5)
  3140. MagniDamage(tors, 30, 7, 11, 0, "Normal")
  3141. swait()
  3142. 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")
  3143. 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")
  3144. 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")
  3145. 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)
  3146. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3147. 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)
  3148. 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)
  3149. 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)
  3150. 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)
  3151. end
  3152. hum.WalkSpeed = 8
  3153. attack = false
  3154. end
  3155.  
  3156. function BARK()
  3157. attack = true
  3158. hum.WalkSpeed = 0
  3159. BATAUNT:Play()
  3160. repeat
  3161. BATAUNT.Parent = tors
  3162. swait()
  3163. 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)
  3164. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
  3165. 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)
  3166. 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)
  3167. 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)
  3168. 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)
  3169. until BATAUNT.Playing == false
  3170. attack = false
  3171. hum.WalkSpeed = 8
  3172. end
  3173. function CreateSound(ID, PARENT, VOLUME, PITCH)
  3174. local NSound = nil
  3175. coroutine.resume(coroutine.create(function()
  3176. NSound = Instance.new("Sound", PARENT)
  3177. NSound.Volume = VOLUME
  3178. NSound.Pitch = PITCH
  3179. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  3180. swait()
  3181. NSound:play()
  3182. game:GetService("Debris"):AddItem(NSound, 10)
  3183. end))
  3184. return NSound
  3185. end
  3186. function Bark_Splosion()
  3187. attack = true
  3188. for i = 0,2,0.05 do
  3189. swait()
  3190. Effects.Block.Create(BrickC("Cool yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  3191. Effects.Block.Create(BrickC("Medium stone grey"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  3192. 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)
  3193. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3194. 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)
  3195. 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)
  3196. 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)
  3197. 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)
  3198. end
  3199. CreateSound("331666100", tors, 10, 1)
  3200. 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)
  3201. MagniDamage(tors, 34, 25, 50, 15, "DarkUp")
  3202. CameraEnshaking(1.5, 10)
  3203. for i = 1,2,0.1 do
  3204. swait()
  3205. 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)
  3206. 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)
  3207. 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)
  3208. 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)
  3209. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
  3210. 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)
  3211. 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)
  3212. 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)
  3213. 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)
  3214. end
  3215. wait(.6)
  3216. attack = false
  3217. end
  3218. corrupted = false
  3219. function Pixel_Corrupt()
  3220. attack = true
  3221. corrupted = true
  3222. for i = 0,3,0.05 do
  3223. swait()
  3224. 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)
  3225. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
  3226. 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)
  3227. 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)
  3228. 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)
  3229. 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)
  3230. 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)
  3231. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3232. 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)
  3233. 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)
  3234. 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)
  3235. 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)
  3236. end
  3237. 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),})
  3238. HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 20, 20, 25, 0, "Normal")
  3239. BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 30, 30, 30, 32, 32, 32, 0.07, 1)
  3240. CreateSound("331666100", refa, 10, 1)
  3241. CameraEnshaking(1.5, 10)
  3242. coroutine.resume(coroutine.create(function()
  3243. for i = 1,20,0.1 do
  3244. swait(5)
  3245. 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)
  3246. 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)
  3247. 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)
  3248. 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)
  3249. CreateSound("331666100", refa, 10, 1)
  3250. BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 22, 22, 22, 25, 25, 25, 0.041, 1)
  3251. HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 21.3, 5, 8, 0, "Normal")
  3252. end
  3253. refa:Destroy()
  3254. corrupted = false
  3255. end))
  3256. for i = 1,2.5,0.1 do
  3257. swait()
  3258. 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)
  3259. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.6)
  3260. 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)
  3261. 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)
  3262. 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)
  3263. 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)
  3264. end
  3265. wait(.3)
  3266. attack = false
  3267. end
  3268. MERKIO = Instance.new("Sound", tors) --why
  3269. MERKIO.SoundId = "http://www.roblox.com/asset/?id=791374350"
  3270. MERKIO.Volume = 10
  3271. MERKIO.Pitch = 1
  3272. MERKIO.Looped = false
  3273. MERKIO.TimePosition = 0
  3274. function URA()
  3275. attack = true
  3276. MERKIO:Play()
  3277. repeat
  3278. for i = 0,0.7,0.2 do
  3279. swait()
  3280. MERKIO.Parent = tors
  3281. for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
  3282. if v:FindFirstChild("Torso") then
  3283. Eviscerate(v)
  3284. end
  3285. end
  3286. for i, v in pairs(FindNearestHead(la.CFrame.p, 10)) do
  3287. if v:FindFirstChild("Torso") then
  3288. Eviscerate(v)
  3289. end
  3290. end
  3291. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 45, 45, 45, 0.1, 0.1, 0.1, 0.03)
  3292. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(10)), 0.8)
  3293. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.9)
  3294. 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)
  3295. 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)
  3296. 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)
  3297. 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)
  3298. end
  3299. for i = 0,0.7,0.2 do
  3300. swait()
  3301. MERKIO.Parent = tors
  3302. for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
  3303. if v:FindFirstChild("Torso") then
  3304. Eviscerate(v)
  3305. end
  3306. end
  3307. for i, v in pairs(FindNearestHead(la.CFrame.p, 10)) do
  3308. if v:FindFirstChild("Torso") then
  3309. Eviscerate(v)
  3310. end
  3311. end
  3312. Effects.Sphere.Create(maincolor, la.CFrame * CFrame.new(0,-2,0) , 45, 45, 45, 0.1, 0.1, 0.1, 0.03)
  3313. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(-10)), 0.8)
  3314. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.9)
  3315. 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)
  3316. 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)
  3317. 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)
  3318. 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)
  3319. end
  3320. until MERKIO.Playing == false
  3321. MERKIO:Stop()
  3322. attack = false
  3323. hum.WalkSpeed = 16
  3324. end
  3325. function un_fun()
  3326. attack = true
  3327. hum.WalkSpeed = 0
  3328. BTAUNT:Play()
  3329. repeat
  3330. swait()
  3331. BTAUNT.Parent = tors
  3332. 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)
  3333. 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)
  3334. 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)
  3335. 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)
  3336. 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)
  3337. 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)
  3338. until BTAUNT.Playing == false
  3339. attack = false
  3340. hum.WalkSpeed = 8
  3341. end
  3342. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3343. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3344. prt.Anchored = true
  3345. prt.Material = "Neon"
  3346. prt.CFrame = cframe
  3347. prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3348. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3349. game:GetService("Debris"):AddItem(prt, 5)
  3350. coroutine.resume(coroutine.create(function(Part, Mesh)
  3351. for i = 0, 1, delay do
  3352. swait()
  3353. Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3354. Part.Transparency = i
  3355. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  3356. end
  3357. Part.Parent = nil
  3358. end), prt, msh)
  3359. end
  3360. function Ende_der_Weld()
  3361. attack = true
  3362. for i = 0,7,0.1 do
  3363. swait()
  3364. BlockEffect(BrickC("Royal purple"), ll.CFrame * CF(0, -1.5, 0), 5, 5, 5, 3, 3, 3, 0.04, 1)
  3365. 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)
  3366. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3367. 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)
  3368. 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)
  3369. 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)
  3370. 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)
  3371. end
  3372. Cso("438666141", char, 10, 1)
  3373. Effects.Sphere.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.80, 0), 5, 2, 5, 150.6, .4, 150.6, 0.05)
  3374. Effects.Wave.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.80, 0), 1500, 1500, 1500, 250.6, .6, 250.6, 0.05)
  3375. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  3376. if v:FindFirstChild("Head") then
  3377. Eviscerate(v)
  3378. end
  3379. end
  3380. coroutine.resume(coroutine.create(function()
  3381. for i = 0,2.8,0.1 do
  3382. swait()
  3383. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  3384. end
  3385. for i = 0,1.8,0.1 do
  3386. swait()
  3387. hum.CameraOffset = Vector3.new(0,0,0)
  3388. end
  3389. end))
  3390. for i = 0,3.7,0.1 do
  3391. 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)
  3392. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3393. 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)
  3394. 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)
  3395. 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)
  3396. 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)
  3397. end
  3398. attack = false
  3399. end
  3400. function thisisit2()
  3401. attack = true
  3402. hum.WalkSpeed = 0
  3403. STAUNT2:Play()
  3404. repeat
  3405. swait()
  3406. STAUNT2.Parent = tors
  3407. 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)
  3408. 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)
  3409. 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)
  3410. 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)
  3411. 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)
  3412. 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)
  3413. until STAUNT2.Playing == false
  3414. attack = false
  3415. hum.WalkSpeed = 8
  3416. end
  3417. function thisisit()
  3418. attack = true
  3419. hum.WalkSpeed = 0
  3420. STAUNT:Play()
  3421. repeat
  3422. swait()
  3423. STAUNT.Parent = tors
  3424. 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)
  3425. 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)
  3426. 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)
  3427. 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)
  3428. 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)
  3429. 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)
  3430. until STAUNT.Playing == false
  3431. attack = false
  3432. hum.WalkSpeed = 8
  3433. end
  3434. function Exploit()
  3435. exploitable = false
  3436. coroutine.resume(coroutine.create(function()
  3437. for i = 1,20,0.1 do
  3438. swait()
  3439. 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)
  3440. end
  3441. Cso("12222030", tors, 10, 1.05)
  3442. BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1)
  3443. for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do
  3444. if v:FindFirstChild("Head") then
  3445. Eviscerate(v)
  3446. SoulSteal(v)
  3447. end
  3448. end
  3449. wait(15)
  3450. exploitable = true
  3451. end))
  3452. end
  3453. DTrail5.Enabled = true
  3454. DTrail4.Enabled = true
  3455. DTrail3.Enabled = true
  3456. DTrail2.Enabled = true
  3457. DTrail.Enabled = true
  3458. function ASCENTION()
  3459. attack = true
  3460. hum.WalkSpeed = 0
  3461. Cso("987502413", tors, 10, 1.05)
  3462. local vel2 = Instance.new("BodyVelocity",tors)
  3463. vel2.Velocity = Vector3.new(0,30,0)
  3464. vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
  3465. for i = 0,20,0.1 do
  3466. HitboxFunction(tors.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 7, 10, 20, 20, "Normal")
  3467. swait()
  3468. BlockEffect(maincolor, ra.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
  3469. BlockEffect(maincolor, la.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
  3470. CameraEnshaking(1, 4)
  3471. 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)
  3472. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3473. 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)
  3474. 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)
  3475. 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)
  3476. 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)
  3477. end
  3478. hum.WalkSpeed = 8
  3479. vel2:Destroy()
  3480. attack = false
  3481. end
  3482. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3483. local type = type
  3484. local rng = Instance.new("Part", char)
  3485. rng.Anchored = true
  3486. rng.Color = color
  3487. rng.CanCollide = false
  3488. rng.FormFactor = 3
  3489. rng.Name = "Ring"
  3490. rng.Material = "Neon"
  3491. rng.Size = Vector3.new(1, 1, 1)
  3492. rng.Transparency = 0
  3493. rng.TopSurface = 0
  3494. rng.BottomSurface = 0
  3495. rng.CFrame = pos
  3496. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3497. local rngm = Instance.new("SpecialMesh", rng)
  3498. rngm.MeshType = "Sphere"
  3499. rngm.Scale = vt(x1,y1,z1)
  3500. if rainbowmode == true then
  3501. rng.Color = Color3.new(r/255,g/255,b/255)
  3502. end
  3503. local scaler2 = 1
  3504. local speeder = FastSpeed
  3505. if type == "Add" then
  3506. scaler2 = 1*value
  3507. elseif type == "Divide" then
  3508. scaler2 = 1/value
  3509. end
  3510. coroutine.resume(coroutine.create(function()
  3511. for i = 0,10/bonuspeed,0.1 do
  3512. swait()
  3513. if rainbowmode == true then
  3514. rng.Color = Color3.new(r/255,g/255,b/255)
  3515. end
  3516. if type == "Add" then
  3517. scaler2 = scaler2 - 0.01*value/bonuspeed
  3518. elseif type == "Divide" then
  3519. scaler2 = scaler2 - 0.01/value*bonuspeed
  3520. end
  3521. if chaosmode == true then
  3522. rng.BrickColor = BrickColor.random()
  3523. end
  3524. if glitchymode then
  3525. local val = math.random(1,255)
  3526. local color = Color3.fromRGB(val,val,val)
  3527. rng.Color = color
  3528. end
  3529. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3530. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3531. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3532. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3533. end
  3534. rng:Destroy()
  3535. end))
  3536. end
  3537.  
  3538. function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  3539. local type = type
  3540. local rng = Instance.new("Part", char)
  3541. rng.Anchored = true
  3542. rng.BrickColor = color
  3543. rng.CanCollide = false
  3544. rng.FormFactor = 3
  3545. rng.Name = "Ring"
  3546. rng.Material = "Neon"
  3547. rng.Size = Vector3.new(1, 1, 1)
  3548. rng.Transparency = 0
  3549. rng.TopSurface = 0
  3550. rng.BottomSurface = 0
  3551. rng.CFrame = pos
  3552. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  3553. local rngm = Instance.new("SpecialMesh", rng)
  3554. rngm.MeshType = "Sphere"
  3555. rngm.Scale = Vector3.new(x1, y1, z1)
  3556. local scaler2 = 1
  3557. local speeder = FastSpeed
  3558. if type == "Add" then
  3559. scaler2 = 1 * value
  3560. elseif type == "Divide" then
  3561. scaler2 = 1 / value
  3562. end
  3563. coroutine.resume(coroutine.create(function()
  3564. for i = 0, 10 / bonuspeed, 0.1 do
  3565. swait()
  3566. if type == "Add" then
  3567. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3568. elseif type == "Divide" then
  3569. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3570. end
  3571. rng.BrickColor = BrickColor.random()
  3572. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  3573. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  3574. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3575. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  3576. end
  3577. rng:Destroy()
  3578. end))
  3579. end
  3580.  
  3581. 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)
  3582. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  3583. 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)
  3584. 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)
  3585. 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)
  3586. 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)
  3587.  
  3588. function aaa()
  3589. attack = true
  3590. maincolor = BrickColor.Random()
  3591. for i = 0,20,0.1 do
  3592. swait()
  3593. Effects.Block.Create(BrickColor.Random(), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  3594. 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)
  3595. 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)
  3596. 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)
  3597. 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)
  3598. 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)
  3599. 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)
  3600. end
  3601. Magic(5, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(10, 10, 10), 1, maincolor, "Sphere")
  3602. Magic(3, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(20, 20, 20), 1, maincolor, "Sphere")
  3603. Magic(1, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(30, 30, 30), 1, maincolor, "Sphere")
  3604. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  3605. if v:FindFirstChild("Head") then
  3606. Eviscerate(v)
  3607. end
  3608. end
  3609. maincolor = BrickColor.new("White")
  3610. attack = false
  3611. end
  3612.  
  3613. function stomp()
  3614. attack = true
  3615. CreateSound("331666100", char, 10, 1)
  3616. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3617. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3618. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3619. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3620. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  3621. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  3622. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  3623. if v:FindFirstChild("Head") then
  3624. Eviscerate(v)
  3625. SoulSteal(v)
  3626. end
  3627. end
  3628. coroutine.resume(coroutine.create(function()
  3629. for i = 0,2.8,0.1 do
  3630. swait()
  3631. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  3632. end
  3633. for i = 0,1.8,0.1 do
  3634. swait()
  3635. hum.CameraOffset = Vector3.new(0,0,0)
  3636. end
  3637. end))
  3638. wait(.6)
  3639. attack = false
  3640. end
  3641. function Painful_Stomp()
  3642. attack = true
  3643. CreateSound("331666100", char, 10, 1)
  3644. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3645. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3646. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3647. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  3648. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  3649. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  3650. 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)
  3651. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  3652. if v:FindFirstChild("Head") then
  3653. Eviscerate(v)
  3654. end
  3655. end
  3656. coroutine.resume(coroutine.create(function()
  3657. for i = 0,2.8,0.1 do
  3658. swait()
  3659. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  3660. end
  3661. for i = 0,1.8,0.1 do
  3662. swait()
  3663. hum.CameraOffset = Vector3.new(0,0,0)
  3664. end
  3665. end))
  3666. attack = false
  3667. end
  3668.  
  3669. local Hair = Instance.new("Part", char)
  3670. Hair.Name = "Hair"
  3671. Hair.CanCollide = false
  3672. Hair.BrickColor = BrickColor.new("Institutional white")
  3673. Hair.Transparency = 0
  3674. Hair.Material = "Plastic"
  3675. Hair.Size = Vector3.new(1, 1, 2)
  3676. Hair.TopSurface = Enum.SurfaceType.Smooth
  3677. Hair.BottomSurface = Enum.SurfaceType.Smooth
  3678.  
  3679. local Weld = Instance.new("Weld", Hair)
  3680. Weld.Part0 = hed
  3681. Weld.Part1 = Hair
  3682. Weld.C1 = CFrame.new(0, -.6, 0)
  3683. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  3684.  
  3685. local M2 = Instance.new("SpecialMesh")
  3686. M2.Parent = Hair
  3687. M2.MeshId = "http://www.roblox.com/asset/?id=0"
  3688. M2.TextureId = "http://www.roblox.com/asset/?id=0"
  3689. M2.Scale = Vector3.new(1, 1, 1)
  3690.  
  3691. for i,v in pairs(char:children()) do
  3692. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  3693. v:Remove()
  3694. end
  3695. end
  3696. shirt = Instance.new("Shirt", char)
  3697. shirt.Name = "Shirt"
  3698. pants = Instance.new("Pants", char)
  3699. pants.Name = "Pants"
  3700. char.Shirt.ShirtTemplate = "rbxassetid://0"
  3701. char.Pants.PantsTemplate = "rbxassetid://0"
  3702.  
  3703. char.Head.face.Texture = "rbxassetid://0"
  3704. char.Torso.roblox.Texture = "rbxassetid://0"
  3705.  
  3706.  
  3707. ------
  3708. local r2,g2,b2=255,0,0
  3709.  
  3710. local rate = 5--more is faster!
  3711.  
  3712. spawn(function()
  3713. while true do
  3714. for i=0,255,rate do
  3715. g2 = i
  3716. wait()
  3717. end
  3718. for i=255,0,-rate do
  3719. r2 = i
  3720. wait()
  3721. end
  3722. for i=0,255,rate do
  3723. b2 = i
  3724. wait()
  3725. end
  3726. for i=255,0,-rate do
  3727. g2 = i
  3728. wait()
  3729. end
  3730. for i=0,255,rate do
  3731. r2 = i
  3732. wait()
  3733. end
  3734. for i=255,0,-rate do
  3735. b2 = i
  3736. wait()
  3737. end
  3738. end
  3739. end)
  3740. ------
  3741.  
  3742. local r,g,b=255,0,0
  3743.  
  3744. local rate = 1000--more is faster!
  3745.  
  3746. spawn(function()
  3747. while true do
  3748. for i=0,255,rate do
  3749. g = i
  3750. wait()
  3751. end
  3752. for i=255,0,-rate do
  3753. r = i
  3754. wait()
  3755. end
  3756. for i=0,255,rate do
  3757. b = i
  3758. wait()
  3759. end
  3760. for i=255,0,-rate do
  3761. g = i
  3762. wait()
  3763. end
  3764. for i=0,255,rate do
  3765. r = i
  3766. wait()
  3767. end
  3768. for i=255,0,-rate do
  3769. b = i
  3770. wait()
  3771. end
  3772. end
  3773. end)
  3774.  
  3775. function ByeBye()
  3776. local target = nil
  3777. local targettorso = nil
  3778. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  3779. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  3780. target = mouse.Target.Parent.Humanoid
  3781. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  3782. targethead = mouse.Target.Parent:FindFirstChild("Head")
  3783. end
  3784. end
  3785. if target ~= nil then
  3786. targettorso.Anchored = true
  3787. attack = true
  3788. hum.WalkSpeed = 0
  3789. root.CFrame = targettorso.CFrame * CF(0,0,2)
  3790. for i = 0,4.2,0.1 do
  3791. swait()
  3792. 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)
  3793. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3794. 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)
  3795. 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)
  3796. 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)
  3797. 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)
  3798. end
  3799. local bloody = Instance.new("ParticleEmitter",targettorso)
  3800. bloody.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  3801. bloody.LightEmission = .1
  3802. bloody.Size = NumberSequence.new(0.5, 0)
  3803. bloody.Texture = "http://www.roblox.com/asset/?ID=602578593"
  3804. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  3805. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  3806. bloody.Transparency = bbb
  3807. bloody.Size = aaa
  3808. bloody.ZOffset = -.9
  3809. bloody.Acceleration = Vector3.new(0, -5, 0)
  3810. bloody.LockedToPart = false
  3811. bloody.Lifetime = NumberRange.new(0.8)
  3812. bloody.Rate = 255
  3813. bloody.Rotation = NumberRange.new(-100, 100)
  3814. bloody.RotSpeed = NumberRange.new(-100, 100)
  3815. bloody.Speed = NumberRange.new(6)
  3816. bloody.VelocitySpread = 0
  3817. bloody.Enabled=true
  3818. targethead:Remove()
  3819. CreateSound("429400881", targettorso, 5, .8)
  3820. CreateSound("1093102664", targettorso, 10, 1)
  3821. for i = 0,6.2,0.1 do
  3822. swait()
  3823. 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)
  3824. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-110)), 0.3)
  3825. 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)
  3826. 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)
  3827. 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)
  3828. 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)
  3829. end
  3830. targettorso.Anchored = false
  3831. attack = false
  3832. hum.WalkSpeed = 16
  3833. root.CFrame = targettorso.CFrame * CF(0,0,3)
  3834. end
  3835. end
  3836.  
  3837. local Blood1 = Create("ParticleEmitter")({
  3838. Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
  3839. Transparency = NumberSequence.new(0.1, 1),
  3840. Size = NumberSequence.new(0.5, 0),
  3841. Texture = "rbxassetid://602578593",
  3842. Lifetime = NumberRange.new(0.8),
  3843. Rate = 255,
  3844. VelocitySpread = 40,
  3845. Rotation = NumberRange.new(100),
  3846. Speed = NumberRange.new(5),
  3847. LightEmission = 0,
  3848. LockedToPart = false,
  3849. Acceleration = Vector3.new(0, -10, 0),
  3850. EmissionDirection = "Bottom"
  3851. })
  3852.  
  3853. function Sayonara()
  3854. local target = nil
  3855. local targettorso = nil
  3856. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  3857. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  3858. target = mouse.Target.Parent.Humanoid
  3859. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  3860. targethead = mouse.Target.Parent:FindFirstChild("Head")
  3861. targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
  3862. targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
  3863. end
  3864. end
  3865. if target ~= nil then
  3866. targettorso.Anchored = true
  3867. attack = true
  3868. hum.WalkSpeed = 0
  3869. root.CFrame = targettorso.CFrame * CF(0,0,2.4)
  3870. for i = 0,6.2,0.1 do
  3871. swait()
  3872. 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)
  3873. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
  3874. 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)
  3875. 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)
  3876. 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)
  3877. 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)
  3878. end
  3879. do
  3880. CreateSound("429400881", targettorso, 5, 1)
  3881. local ModelArm02 = New("Model", char, "Arm", {})
  3882. local ModelArm03 = New("Model", char, "Arm", {})
  3883. local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
  3884. local Humanoid03 = New("Humanoid", ModelArm03, "Humanoid", {})
  3885. local Arm02 = targetleftarm:Clone()
  3886. local Arm03 = targetrightarm:Clone()
  3887. targetleftarm.Transparency = 1
  3888. targetrightarm.Transparency = 1
  3889. Arm02.Parent = ModelArm02
  3890. Arm03.Parent = ModelArm03
  3891. for i, v in pairs(Arm02:GetChildren()) do
  3892. v:Destroy()
  3893. end
  3894. for i, v in pairs(Arm03:GetChildren()) do
  3895. v:Destroy()
  3896. end
  3897. local weldArm02 = Instance.new("Weld")
  3898. weldArm02.Parent = Arm02
  3899. weldArm02.Part0 = targetleftarm
  3900. weldArm02.Part1 = Arm02
  3901. weldArm02.C1 = CFrame.new(0, 0, 0)
  3902. local weldArm03 = Instance.new("Weld")
  3903. weldArm03.Parent = Arm03
  3904. weldArm03.Part0 = targetrightarm
  3905. weldArm03.Part1 = Arm03
  3906. weldArm03.C1 = CFrame.new(0, 0, 0)
  3907. for i, v in pairs(target:GetChildren()) do
  3908. if v:IsA("Shirt") then
  3909. v:clone().Parent = ModelArm02
  3910. end
  3911. end
  3912. for i, v in pairs(target:GetChildren()) do
  3913. if v:IsA("Shirt") then
  3914. v:clone().Parent = ModelArm03
  3915. end
  3916. end
  3917. weldArm02.Part0 = la
  3918. weldArm02.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  3919. weldArm03.Part0 = ra
  3920. weldArm03.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  3921. local BE1 = Blood1:Clone()
  3922. BE1.Parent = targetleftarm
  3923. game:GetService("Debris"):AddItem(BE1, 3)
  3924. BE1.Rate = 255
  3925. local BE2 = Blood1:Clone()
  3926. BE2.Parent = targetrightarm
  3927. game:GetService("Debris"):AddItem(BE2, 3)
  3928. BE2.Rate = 255
  3929. for i = 0,6.2,0.1 do
  3930. swait()
  3931. 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)
  3932. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3933. 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)
  3934. 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)
  3935. 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)
  3936. 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)
  3937. end
  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(-20), 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(-20)), 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(20)), 0.15)
  3944. 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)
  3945. 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)
  3946. end
  3947. CreateSound("541909763", targettorso, 5, .8)
  3948. weldArm02:Destroy()
  3949. Arm02.CanCollide = true
  3950. weldArm03:Destroy()
  3951. Arm03.CanCollide = true
  3952. local bodyVelocity2 = Create("BodyVelocity")({
  3953. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  3954. P = 5000,
  3955. maxForce = Vector3.new(8000, 8000, 8000),
  3956. Parent = Arm02
  3957. })
  3958. local bodyVelocity3 = Create("BodyVelocity")({
  3959. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  3960. P = 5000,
  3961. maxForce = Vector3.new(8000, 8000, 8000),
  3962. Parent = Arm03
  3963. })
  3964. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  3965. game:GetService("Debris"):AddItem(bodyVelocity3, 0.05)
  3966. for i = 0,6.2,0.1 do
  3967. swait()
  3968. 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)
  3969. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3970. 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)
  3971. 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)
  3972. 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)
  3973. 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)
  3974. end
  3975. end
  3976. targettorso.Anchored = false
  3977. attack = false
  3978. hum.WalkSpeed = 16
  3979. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  3980. end
  3981. end
  3982.  
  3983. function dash()
  3984. dashing = true
  3985. attack = true
  3986. local bv = Instance.new("BodyVelocity")
  3987. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3988. bv.velocity = root.CFrame.lookVector*200
  3989. bv.Parent = root
  3990. for i = 0,1,0.1 do
  3991. swait()
  3992. bv.velocity = root.CFrame.lookVector*200
  3993. RootJoint.C0 = clerp(RootJoint.C0,RootCF*CF(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(0)),0.5)
  3994. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
  3995. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(50)), 0.5)
  3996. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(-50)), 0.5)
  3997. 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)
  3998. 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)
  3999. end
  4000. bv:Destroy()
  4001. attack = false
  4002. dashing = false
  4003. end
  4004.  
  4005. function Multi_Bombs()
  4006. attack = true
  4007. hum.WalkSpeed = 3.01
  4008. for i = 0,3,0.1 do
  4009. swait()
  4010. Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4011. Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4012. 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)
  4013. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4014. 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)
  4015. 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)
  4016. 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)
  4017. 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)
  4018. end
  4019. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
  4020. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
  4021. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
  4022. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
  4023. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
  4024. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
  4025. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
  4026. CreateSound("142070127", tors, 10, 1)
  4027. for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
  4028. if v:FindFirstChild("Head") then
  4029. Eviscerate(v)
  4030. end
  4031. end
  4032. for i = 0,1,0.1 do
  4033. 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)
  4034. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4035. 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)
  4036. 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)
  4037. 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)
  4038. 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)
  4039. end
  4040. for i = 0,2,0.1 do
  4041. swait()
  4042. Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4043. Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4044. 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)
  4045. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4046. 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)
  4047. 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)
  4048. 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)
  4049. 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)
  4050. end
  4051. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
  4052. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
  4053. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
  4054. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
  4055. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
  4056. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
  4057. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
  4058. CreateSound("142070127", tors, 10, 1)
  4059. for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
  4060. if v:FindFirstChild("Head") then
  4061. Eviscerate(v)
  4062. end
  4063. end
  4064. for i = 0,1,0.1 do
  4065. 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)
  4066. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4067. 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)
  4068. 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)
  4069. 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)
  4070. 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)
  4071. end
  4072. for i = 0,2,0.1 do
  4073. swait()
  4074. Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4075. Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4076. 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)
  4077. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4078. 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)
  4079. 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)
  4080. 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)
  4081. 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)
  4082. end
  4083. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
  4084. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
  4085. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
  4086. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
  4087. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
  4088. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
  4089. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
  4090. CreateSound("142070127", tors, 10, 1)
  4091. for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
  4092. if v:FindFirstChild("Head") then
  4093. Eviscerate(v)
  4094. end
  4095. end
  4096. for i = 0,1,0.1 do
  4097. 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)
  4098. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4099. 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)
  4100. 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)
  4101. 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)
  4102. 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)
  4103. end
  4104. wait(.6)
  4105. attack = false
  4106. hum.WalkSpeed = 8
  4107. end
  4108. function Universal_Crush()
  4109. attack = true
  4110. for i = 0,5.2,0.05 do
  4111. swait()
  4112. Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4113. Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4114. 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)
  4115. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4116. 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)
  4117. 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)
  4118. 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)
  4119. 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)
  4120. end
  4121. CreateSound("331666100", tors, 10, 1)
  4122. 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)
  4123. 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)
  4124. 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)
  4125. 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)
  4126. for i, v in pairs(FindNearestHead(tors.CFrame.p, 500)) do
  4127. if v:FindFirstChild("Head") then
  4128. Eviscerate(v)
  4129. end
  4130. end
  4131. coroutine.resume(coroutine.create(function()
  4132. for i = 0,1.8,0.1 do
  4133. swait()
  4134. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  4135. end
  4136. for i = 0,1.8,0.1 do
  4137. swait()
  4138. hum.CameraOffset = Vector3.new(0,0,0)
  4139. end
  4140. end))
  4141. for i = 1,4.7,0.1 do
  4142. 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)
  4143. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  4144. 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)
  4145. 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)
  4146. 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)
  4147. 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)
  4148. end
  4149. wait(.6)
  4150. attack = false
  4151. end
  4152. -------------------------------------------------------
  4153. --End Attacks N Stuff--
  4154. -------------------------------------------------------
  4155. Sprinting = false
  4156. mouse.KeyDown:connect(function(key)
  4157. if string.byte(key) == 48 and attack == false and Mode ~= 10 then
  4158. Swing = 2
  4159. hum.WalkSpeed = 38.82
  4160. Sprinting = true
  4161. end
  4162. end)
  4163. mouse.KeyUp:connect(function(key)
  4164. if string.byte(key) == 48 and attack == false then
  4165. Swing = 1
  4166. Sprinting = false
  4167. hum.WalkSpeed = 8
  4168. end
  4169. end)
  4170. mouse.KeyDown:connect(function(key)
  4171. if attack == false then
  4172. if key == 'q' and Mode == 1 then
  4173. Power_Burst()
  4174. elseif key == '1' and Mode ~= 2 then
  4175. Mode = 2
  4176. SONG = 2145635015
  4177. elseif key == '1' and Mode == 2 then
  4178. resetmode()
  4179. elseif key == 't' and Mode == 1 then
  4180. Taunt()
  4181. elseif key == 'q' and Mode == 2 then
  4182. Magic_Bombs()
  4183. elseif key == 'e' and Mode == 2 then
  4184. Dangerous_Field()
  4185. elseif key == 'c' and Mode == 2 then
  4186. dash()
  4187. elseif key == 't' and Mode == 2 then
  4188. HAAH()
  4189. end
  4190. ---------------------------------------------------------------------
  4191. if key == 'm' and Mode == 6 and Mode ~= 10 and Sprinting == false then
  4192. Mode = 10
  4193. SONG = 1138145518
  4194. tecks2.Text = "Someone"
  4195. tecks2.TextColor3 = Color3.fromRGB(r2, b2, g2)
  4196. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  4197. elseif key == 'm' and Mode == 10 then
  4198. resetmode()
  4199. elseif key == 'q' and Mode == 10 then
  4200. Decapitate()
  4201. elseif key == 'e' and Mode == 10 then
  4202. stomp()
  4203. elseif key == 'r' and Mode == 10 then
  4204. Painful_Stomp()
  4205. elseif key == 'c' and Mode == 10 then
  4206. dash()
  4207. elseif key == 't' and Mode == 10 then
  4208. aaa()
  4209. end
  4210.  
  4211. ---------------------------------------------------------------------
  4212. if key == 'j' and Mode ~= 3 then
  4213. Mode = 8
  4214. SONG = 260314111
  4215. tecks2.Text = "Truth"
  4216. tecks2.TextColor3 = Color3.fromRGB(140, 91, 159)
  4217. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  4218. imgl2.ImageColor3 = BrickC("Really red").Color
  4219. techc.ImageColor3 = BrickC("Really red").Color
  4220. ned.Text = "Truth"
  4221. for i, v in pairs(NeonColorParts1000) do
  4222. v.BrickColor = BrickC("Really red")
  4223. end
  4224. ned.TextColor3 = BrickC("Really red").Color
  4225. ned.TextStrokeColor3 = BrickC("Really black").Color
  4226. elseif key == 'c' and Mode == 3 then
  4227. dash()
  4228. elseif key == 'g' and Mode == 3 then
  4229. resetmode()
  4230. end
  4231. ---------------------------------------------------------------------
  4232. ---------------------------------------------------------------------
  4233. if key == 'g' and Mode ~= 3 then
  4234. Mode = 3
  4235. SONG = 1409883457
  4236. tecks2.Text = "Color Blind"
  4237. tecks2.TextColor3 = Color3.fromRGB(r2, b2, g2)
  4238. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  4239. imgl2.ImageColor3 = BrickC("Really red").Color
  4240. techc.ImageColor3 = BrickC("Really red").Color
  4241. ned.Text = "Color Blind"
  4242. for i, v in pairs(NeonColorParts1000) do
  4243. v.BrickColor = BrickC("Really red")
  4244. end
  4245. ned.TextColor3 = BrickC("Really red").Color
  4246. ned.TextStrokeColor3 = BrickC("Really black").Color
  4247. elseif key == 'c' and Mode == 3 then
  4248. dash()
  4249. elseif key == 'g' and Mode == 3 then
  4250. resetmode()
  4251. end
  4252. ---------------------------------------------------------------------
  4253. if key == 'f' and Mode ~= 6 then
  4254. Mode = 6
  4255. SONG = 339568749
  4256. tecks2.Text = "Revenge"
  4257. tecks2.TextColor3 = Color3.fromRGB(151, 0, 0)
  4258. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  4259. imgl2.ImageColor3 = BrickC("Really red").Color
  4260. techc.ImageColor3 = BrickC("Really red").Color
  4261. ned.Text = "Revenge"
  4262. ned.TextColor3 = BrickC("Really red").Color
  4263. ned.TextStrokeColor3 = BrickC("Really black").Color
  4264. elseif key == 'f' and Mode == 6 then
  4265. resetmode()
  4266. elseif key == 'z' and Mode == 6 then
  4267. Decapitate()
  4268. elseif key == 'x' and Mode == 6 then
  4269. Sayonara()
  4270. elseif key == 't' and Mode == 6 then
  4271. TTTTTTTTTTTaunt()
  4272. elseif key == 'e' and Mode == 6 then
  4273. dash()
  4274. elseif key == 'c' and Mode == 6 then
  4275. ByeBye()
  4276. end
  4277. ---------------------------------------------------------------------
  4278. if key == 'b' and Mode == 3 then
  4279. Mode = 9990
  4280. SONG = 3274989179
  4281. tecks2.Text = "Infected"
  4282. tecks2.TextColor3 = Color3.fromRGB(1, 1, 1)
  4283. tecks2.TextStrokeColor3 = Color3.fromRGB(138, 171, 133)
  4284. imgl2.ImageColor3 = BrickC("Really black").Color
  4285. techc.ImageColor3 = BrickC("Lime green").Color
  4286. ned.Text = "Infected"
  4287. ned.TextColor3 = BrickC("Really black").Color
  4288. ned.TextStrokeColor3 = BrickC("Lime green").Color
  4289.  
  4290. elseif key == 'z' and Mode == 9990 then
  4291. NUCLEAR()
  4292. elseif key == 'c' and Mode == 9990 then
  4293. dash()
  4294. elseif key == 'b' and Mode == 9990 then
  4295. resetmode()
  4296. end
  4297. ---------------------------------------------------------------------
  4298. if key == 'b' and Mode == 99 then
  4299. Mode = 122
  4300. SONG = 1017553671
  4301. tecks2.Text = "Ghost"
  4302. tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
  4303. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  4304. imgl2.ImageColor3 = BrickC("White").Color
  4305. techc.ImageColor3 = BrickC("Really black").Color
  4306. ned.Text = "Ghost"
  4307. for i, v in pairs(NeonColorParts1000) do
  4308. v.BrickColor = BrickC("Really black")
  4309. end
  4310. ned.TextColor3 = BrickC("Really black").Color
  4311. ned.TextStrokeColor3 = BrickC("White").Color
  4312. elseif key == 'z' and Mode == 122 then
  4313. URA()
  4314. elseif key == 'c' and Mode == 122 then
  4315. dash()
  4316. elseif key == 'b' and Mode == 122 then
  4317. resetmode()
  4318. end
  4319. ---------------------------------------------------------------------
  4320.  
  4321. ---------------------------------------------------------------------
  4322. if key == 'm' and Mode == 8 then
  4323. Mode = 10000
  4324. SONG = 346191865
  4325. tecks2.Text = "Void"
  4326. tecks2.TextColor3 = Color3.fromRGB(0, 0, 255)
  4327. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 89, 89)
  4328. imgl2.ImageColor3 = BrickC("Really black").Color
  4329. techc.ImageColor3 = BrickC("Royal purple").Color
  4330. ned.Text = "Void"
  4331. ned.TextColor3 = BrickC("Really black").Color
  4332. ned.TextStrokeColor3 = BrickC("Royal purple").Color
  4333. elseif key == 'z' and Mode == 10000 then
  4334. Ende_der_Weld()
  4335. elseif key == 'c' and Mode == 10000 then
  4336. dash()
  4337. elseif key == 'm' and Mode == 10000 then
  4338. resetmode()
  4339. end
  4340. ---------------------------------------------------------------------
  4341. if key == 'h' and Mode ~= 99 then
  4342. Mode = 99
  4343. SONG = 3210544464
  4344. tecks2.Text = "Beatable"
  4345. tecks2.TextColor3 = Color3.fromRGB(60, 0, 0)
  4346. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  4347. imgl2.ImageColor3 = BrickC("Deep orange").Color
  4348.  
  4349. techc.ImageColor3 = BrickC("Deep orange").Color
  4350. ned.Text = "bBeatable"
  4351. ned.TextColor3 = BrickC("Deep orange").Color
  4352. ned.TextStrokeColor3 = BrickC("Deep orange").Color
  4353. elseif key == 'z' and Mode == 99 then
  4354. LAZER()
  4355. elseif key == 't' and Mode == 99 then
  4356. again()
  4357. elseif key == 'c' and Mode == 99 then
  4358. dash()
  4359. elseif key == 'h' and Mode == 99 then
  4360. resetmode()
  4361. end
  4362. ---------------------------------------------------------------------
  4363. if key == 'm' and Mode == 1 then
  4364. Mode = oof
  4365. SONG = 3274989179
  4366. ned.Text = ""
  4367. tecks2.Text = "Simple"
  4368. tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
  4369. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  4370. techc.ImageColor3 = BrickC("Cyan").Color
  4371. ned.TextColor3 = BrickC("Cyan").Color
  4372. imgl2.ImageColor3 = BrickC("Cyan").Color
  4373. ned.TextStrokeColor3 = BrickC("White").Color
  4374. for i, v in pairs(NeonColorParts1000) do
  4375. v.BrickColor = BrickC("Cyan")
  4376. end
  4377. elseif key == 'm' and Mode == oof then
  4378. resetmode()
  4379. elseif key == 'z' and Mode == oof and exploitable == true then
  4380. Exploit()
  4381. elseif key == 't' and Mode == oof then
  4382. thisisit2()
  4383. elseif key == 'c' and Mode == oof then
  4384. dash()
  4385. elseif key == 'x' and Mode == oof then
  4386. LunarSpin()
  4387. end
  4388. end
  4389. end)
  4390. local Combo = 1
  4391. mouse.Button1Down:connect(function(key)
  4392. if attack == false then
  4393. if Combo == 1 then
  4394. Combo = 2
  4395. attackone()
  4396. elseif Combo == 2 then
  4397. Combo = 3
  4398. attacktwo()
  4399. elseif Combo == 3 then
  4400. Combo = 1
  4401. attackthree()
  4402. end
  4403. end
  4404. end)
  4405.  
  4406.  
  4407.  
  4408. function newTheme(ID,timepos,pitch,vol)
  4409. local kanz = Music
  4410. --kanz:Stop()
  4411. kanz.Volume = vol
  4412. --kanz.TimePosition = timepos
  4413. kanz.PlaybackSpeed = pitch
  4414. kanz.Pitch = pitch
  4415. kanz.SoundId = ID
  4416. kanz.Name = "wrecked"
  4417. kanz.Looped = true
  4418. currentThemePlaying = kanz.SoundId
  4419. currentVol = kanz.Volume
  4420. currentPitch = kanz.Pitch
  4421. --kanz:Play()
  4422. --coroutine.resume(coroutine.create(function()
  4423. --wait(0.05)
  4424. --end))
  4425. end
  4426.  
  4427.  
  4428. function newThemeCust(ID,timepos,pitch,vol)
  4429. local kanz = Music
  4430. kanz:Stop()
  4431. kanz.Volume = vol
  4432. kanz.TimePosition = timepos
  4433. kanz.PlaybackSpeed = pitch
  4434. kanz.Pitch = pitch
  4435. kanz.SoundId = ID
  4436. kanz.Name = "wrecked"
  4437. kanz.Looped = true
  4438. currentThemePlaying = kanz.SoundId
  4439. currentVol = kanz.Volume
  4440. currentPitch = kanz.Pitch
  4441. kanz:Play()
  4442. coroutine.resume(coroutine.create(function()
  4443. wait(0.05)
  4444. end))
  4445. end
  4446.  
  4447. plr.Chatted:connect(function(message)
  4448. if Mode == 3 then
  4449. if message:sub(1,5) == "play/" then
  4450. OVMID = message:sub(6)
  4451. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4452. elseif message:sub(1,6) == "pitch/" then
  4453. OVMPIT = message:sub(7)
  4454. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4455. elseif message:sub(1,4) == "vol/" then
  4456. OVMVOL = message:sub(5)
  4457. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4458. elseif message:sub(1,7) == "skipto/" then
  4459. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(Music.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4460. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  4461. elseif message:sub(1,9) == "telltime/" then
  4462. chatfunc("Current time pos: "..math.floor(Music.TimePosition).." out of "..math.floor(Music.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4463. end
  4464. end
  4465. end)
  4466.  
  4467. Music.Name = "musicname"
  4468.  
  4469. Character = plr.Character
  4470. Character.ChildRemoved:connect(function(removed) if removed.Name == "musicname" then Music = instanse.new("Sound") end end)
  4471.  
  4472.  
  4473. -------------------------------------------------------
  4474. --Start Animations--
  4475. -------------------------------------------------------
  4476. while true do
  4477. swait()
  4478. sine = sine + change
  4479. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  4480. local velderp = root.Velocity.y
  4481. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  4482. if equipped == true or equipped == false then
  4483. if attack == false then
  4484. idle = idle + 1
  4485. else
  4486. idle = 0
  4487. end
  4488. if Mode == 10 then
  4489. maincolor = BrickColor.random()
  4490. imgl2.ImageColor3 = Color3.fromRGB(r,g,b)
  4491. techc.ImageColor3 = Color3.fromRGB(r,g,b)
  4492. ned.Text = "Someone"
  4493.  
  4494. ned.TextColor3 = Color3.fromRGB(r,g,b)
  4495. ned.TextStrokeColor3 = Color3.fromRGB(r,g,b)
  4496. aa24.BrickColor = BrickColor.random()
  4497. aa28.BrickColor = BrickColor.random()
  4498. aa26.BrickColor = BrickColor.random()
  4499. aa35.BrickColor = BrickColor.random()
  4500. aa33.BrickColor = BrickColor.random()
  4501. aa31.BrickColor = BrickColor.random()
  4502. imgl2.Rotation = math.random(-9, 9)
  4503. techc.Rotation = math.random(-9, 9)
  4504. ned.Rotation = 0 - 2 * math.cos(sine / 1)
  4505. ned.Position = UDim2.new(0.55,0 - 10 * math.cos(sine / 1),0.79,0 - 10 * math.cos(sine / 1))
  4506. hum.WalkSpeed = 8
  4507. aa4.BrickColor = BrickColor.random()
  4508. aa5.BrickColor = BrickColor.random()
  4509. aa8.BrickColor = BrickColor.random()
  4510. aa11.BrickColor = BrickColor.random()
  4511. aa12.BrickColor = BrickColor.random()
  4512. aa13.BrickColor = BrickColor.random()
  4513. end
  4514. if Mode == 3 then
  4515. maincolor = BrickColor.new("Dark red")
  4516. imgl2.ImageColor3 = Color3.fromRGB(r2,g2,b2)
  4517. techc.ImageColor3 = Color3.fromRGB(r2,g2,b2)
  4518. ned.Text = "Rainbow"
  4519.  
  4520. ned.TextColor3 = Color3.fromRGB(r2,g2,b2)
  4521. ned.TextStrokeColor3 = Color3.fromRGB(r2,g2,b2)
  4522. aa35.Color = Color3.fromRGB(r2,g2,b2)
  4523. aa33.Color = Color3.fromRGB(r2,g2,b2)
  4524. aa31.Color = Color3.fromRGB(r2,g2,b2)
  4525. hum.WalkSpeed = 8
  4526. aa28.Color = Color3.fromRGB(r2,g2,b2)
  4527. aa26.Color = Color3.fromRGB(r2,g2,b2)
  4528.  
  4529. aa24.Color = Color3.fromRGB(r2,g2,b2)
  4530. aa4.Color = Color3.fromRGB(r2,g2,b2)
  4531. aa5.Color = Color3.fromRGB(r2,g2,b2)
  4532. aa8.Color = Color3.fromRGB(r2,g2,b2)
  4533. aa11.Color = Color3.fromRGB(r2,g2,b2)
  4534. aa12.Color = Color3.fromRGB(r2,g2,b2)
  4535. aa13.Color = Color3.fromRGB(r2,g2,b2)
  4536. end
  4537. if Mode == oof then
  4538. maincolor = BrickColor.new("Cyan")
  4539. hum.WalkSpeed = 8
  4540.  
  4541. aa24.BrickColor = BrickColor.new("Cyan")
  4542. aa4.BrickColor = BrickColor.new("Cyan")
  4543. aa5.BrickColor = BrickColor.new("Cyan")
  4544. aa8.BrickColor = BrickColor.new("Really black")
  4545. aa11.BrickColor = BrickColor.new("Really black")
  4546. aa12.BrickColor = BrickColor.new("Really black")
  4547. aa13.BrickColor = BrickColor.new("Really black")
  4548. aa26.BrickColor = BrickColor.new("Cyan")
  4549. aa28.BrickColor = BrickColor.new("Cyan")
  4550. aa35.BrickColor = BrickColor.new("Really black")
  4551. aa33.BrickColor = BrickColor.new("Really black")
  4552. aa31.BrickColor = BrickColor.new("Cyan")
  4553. end
  4554. if Mode == 9990 then
  4555. maincolor = BrickColor.new("Lime green")
  4556. hum.WalkSpeed = 8
  4557.  
  4558. aa4.BrickColor = BrickColor.new("Lime green")
  4559. aa5.BrickColor = BrickColor.new("Lime green")
  4560. aa8.BrickColor = BrickColor.new("Really black")
  4561. aa11.BrickColor = BrickColor.new("Really black")
  4562. aa12.BrickColor = BrickColor.new("Really black")
  4563. aa13.BrickColor = BrickColor.new("Really black")
  4564. aa24.BrickColor = BrickColor.new("Really black")
  4565. aa26.BrickColor = BrickColor.new("Lime green")
  4566. aa28.BrickColor = BrickColor.new("Lime green")
  4567. aa35.BrickColor = BrickColor.new("Really black")
  4568. aa33.BrickColor = BrickColor.new("Really black")
  4569. aa31.BrickColor = BrickColor.new("Lime green")
  4570. 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")
  4571. local A = math.random(1,4)
  4572. if A == 1 then
  4573. 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")
  4574. if A == 2 then
  4575. 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")
  4576. end
  4577. end
  4578. end
  4579. if Mode == 6 then
  4580. maincolor = BrickColor.new("Really red")
  4581. hum.WalkSpeed = 8
  4582.  
  4583. aa4.BrickColor = BrickColor.new("Really red")
  4584. aa5.BrickColor = BrickColor.new("Really red")
  4585. aa8.BrickColor = BrickColor.new("Really black")
  4586. aa11.BrickColor = BrickColor.new("Really black")
  4587. aa12.BrickColor = BrickColor.new("Really black")
  4588. aa13.BrickColor = BrickColor.new("Really black")
  4589. aa24.BrickColor = BrickColor.new("Really black")
  4590. aa26.BrickColor = BrickColor.new("Really red")
  4591. aa28.BrickColor = BrickColor.new("Really red")
  4592. aa35.BrickColor = BrickColor.new("Really black")
  4593. aa33.BrickColor = BrickColor.new("Really black")
  4594. aa31.BrickColor = BrickColor.new("Really red")
  4595. local A = math.random(1,15)
  4596. if A == 1 then
  4597. 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")
  4598. if A == 2 then
  4599. 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")
  4600. end
  4601. end
  4602. end
  4603. if Mode == 8 then
  4604. hum.WalkSpeed = 8
  4605. maincolor = BrickColor.new("Dark indigo")
  4606.  
  4607. aa4.BrickColor = BrickColor.new("Dark indigo")
  4608. aa5.BrickColor = BrickColor.new("Dark indigo")
  4609. aa8.BrickColor = BrickColor.new("Really black")
  4610. aa11.BrickColor = BrickColor.new("Really black")
  4611. aa12.BrickColor = BrickColor.new("Really black")
  4612. aa13.BrickColor = BrickColor.new("Really black")
  4613. aa24.BrickColor = BrickColor.new("Really black")
  4614. aa26.BrickColor = BrickColor.new("Dark indigo")
  4615. aa28.BrickColor = BrickColor.new("Dark indigo")
  4616. aa35.BrickColor = BrickColor.new("Really black")
  4617. aa33.BrickColor = BrickColor.new("Really black")
  4618. aa31.BrickColor = BrickColor.new("Dark indigo")
  4619. end
  4620. if Mode == 122 then
  4621. hum.WalkSpeed = 8
  4622. maincolor = BrickColor.new("White")
  4623.  
  4624. aa4.BrickColor = BrickColor.new("White")
  4625. aa5.BrickColor = BrickColor.new("White")
  4626. aa8.BrickColor = BrickColor.new("Really black")
  4627. aa11.BrickColor = BrickColor.new("Really black")
  4628. aa12.BrickColor = BrickColor.new("Really black")
  4629. aa13.BrickColor = BrickColor.new("Really black")
  4630. aa24.BrickColor = BrickColor.new("Really black")
  4631. aa26.BrickColor = BrickColor.new("White")
  4632. aa28.BrickColor = BrickColor.new("White")
  4633. aa35.BrickColor = BrickColor.new("Really black")
  4634. aa33.BrickColor = BrickColor.new("Really black")
  4635. aa31.BrickColor = BrickColor.new("White")
  4636. end
  4637. if Mode == 10000 then
  4638. hum.WalkSpeed = 8
  4639. maincolor = BrickColor.new("Royal purple")
  4640.  
  4641. aa4.BrickColor = BrickColor.new("Royal purple")
  4642. aa5.BrickColor = BrickColor.new("Royal purple")
  4643. aa8.BrickColor = BrickColor.new("Really black")
  4644. aa11.BrickColor = BrickColor.new("Really black")
  4645. aa12.BrickColor = BrickColor.new("Really black")
  4646. aa13.BrickColor = BrickColor.new("Really black")
  4647. aa24.BrickColor = BrickColor.new("Really black")
  4648. aa26.BrickColor = BrickColor.new("Royal purple")
  4649. aa28.BrickColor = BrickColor.new("Royal purple")
  4650. aa35.BrickColor = BrickColor.new("Really black")
  4651. aa33.BrickColor = BrickColor.new("Really black")
  4652. aa31.BrickColor = BrickColor.new("Royal purple")
  4653. end
  4654. if Mode == 1 then
  4655. hum.WalkSpeed = 8
  4656. maincolor = BrickColor.new("White")
  4657.  
  4658. aa4.BrickColor = BrickColor.new("White")
  4659. aa5.BrickColor = BrickColor.new("White")
  4660. aa8.BrickColor = BrickColor.new("Really black")
  4661. aa11.BrickColor = BrickColor.new("Really black")
  4662. aa12.BrickColor = BrickColor.new("Really black")
  4663. aa13.BrickColor = BrickColor.new("Really black")
  4664. aa24.BrickColor = BrickColor.new("Really black")
  4665. aa26.BrickColor = BrickColor.new("White")
  4666. aa28.BrickColor = BrickColor.new("White")
  4667. aa35.BrickColor = BrickColor.new("Really black")
  4668. aa33.BrickColor = BrickColor.new("Really black")
  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("Deep orange")
  4675. aa4.BrickColor = BrickColor.new("Deep orange")
  4676. aa5.BrickColor = BrickColor.new("Deep orange")
  4677. aa8.BrickColor = BrickColor.new("Really black")
  4678. aa11.BrickColor = BrickColor.new("Really black")
  4679. aa12.BrickColor = BrickColor.new("Really black")
  4680. aa13.BrickColor = BrickColor.new("Really black")
  4681. aa24.BrickColor = BrickColor.new("Really black")
  4682. aa26.BrickColor = BrickColor.new("Deep orange")
  4683. aa28.BrickColor = BrickColor.new("Deep orange")
  4684. aa35.BrickColor = BrickColor.new("Really black")
  4685. aa33.BrickColor = BrickColor.new("Really black")
  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* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4725. 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)
  4726. 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)
  4727. 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)
  4728. 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)
  4729. 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)
  4730. elseif Mode == oof then --PIXELATED
  4731. 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)
  4732. 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)
  4733. 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)
  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(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4735. 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)
  4736. 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)
  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(0)), 0.08)
  4749. 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)
  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(-6.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(-6.5), Rad(0), Rad(0)), 0.08)
  4752. 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)
  4753. 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)
  4754. elseif Mode == 3 then --ICE
  4755. 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)
  4756. 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)
  4757. 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)
  4758. 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)
  4759. 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)
  4760. 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)
  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, -0.1 + 0.1* 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 - 4.5 * Sin(sine / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
  4771. 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)
  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(-6.5), Rad(0), Rad(0)), 0.08)
  4773. 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)
  4774. 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)
  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, -0.1 + 0.1* 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 - 4.5 * Sin(sine / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
  4785. 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)
  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(-6.5), Rad(0), Rad(0)), 0.08)
  4787. 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)
  4788. 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)
  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.1 + 0.1* 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 / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
  4820. 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)
  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(-80), 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.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(90), Rad(-10), Rad(-90)), 0.08)
  4823. 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)
  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