Advertisement
doryna2281337

Untitled

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