Advertisement
aweeb

Untitled

Feb 22nd, 2019
176
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,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. warn([[Galaxy the Glitcher V6 Loaded..
  85. The third Galaxy the Glitcher, The brand new one which will strike popularity.
  86.  
  87. Created by Tc, Edited by Derpz to make it FE AND Make it Galaxy the Glitcher V6!
  88. Credit for Idea: Poison Resistance
  89. ]])
  90.  
  91. ---------Wielder list as of OCs:---------
  92. -- Poison [The Creator]
  93. -- Derpz [The Developer]
  94. -----------------------------------------
  95.  
  96. print([[Icons:
  97. ! = New
  98. ? = Spoilers
  99. * = Exclusivity
  100. C = Changes
  101.  
  102. ]])
  103. warn([[V 6.2 Update Log:
  104. C - We fixxed some bugs, mostly with the sounds.
  105. C - Fixxed some animations not loading when script loaded.
  106. ? - We might add a GALAXY'S HATRED soon..
  107.  
  108. Commands for Musical mode: play/, vol/, pitch/, skipto/, telltime/]])
  109. ---- IMPORTANT READING:
  110. ---- Sources and functions might be taken from others
  111. plr = owner
  112.  
  113. script.Parent = workspace.CurrentCamera
  114. plr.CharacterAdded:connect(function()
  115. script.Disabled = true
  116. script:destroy()
  117. end)
  118.  
  119. char = plr.Character
  120. hum = char.Humanoid
  121. local cam = game.Workspace.CurrentCamera
  122. Camera = cam
  123. local CamInterrupt = false
  124. local TwoD = false
  125. local TargetInfo = {nil, nil}
  126. cam.CameraType = "Custom"
  127. t = char.Torso
  128. h = char.Head
  129. ra = char["Right Arm"]
  130. la = char["Left Arm"]
  131. rl = char["Right Leg"]
  132. ll = char["Left Leg"]
  133. tors = char.Torso
  134. lleg = char["Left Leg"]
  135. root = char.HumanoidRootPart
  136. hed = char.Head
  137. rleg = char["Right Leg"]
  138. rarm = char["Right Arm"]
  139. larm = char["Left Arm"]
  140. radian = math.rad
  141. random = math.random
  142. Vec3 = Vector3.new
  143. Inst = Instance.new
  144. cFrame = CFrame.new
  145. Euler = CFrame.fromEulerAnglesXYZ
  146. vt = Vector3.new
  147. bc = BrickColor.new
  148. br = BrickColor.random
  149. it = Instance.new
  150. cf = CFrame.new
  151.  
  152.  
  153. local Booleans = {
  154. CamFollow = true,
  155. GyroUse = true
  156. }
  157.  
  158. function lerp(object, newCFrame, alpha)
  159. return object:lerp(newCFrame, alpha)
  160. end
  161.  
  162. local Directer = Inst("BodyGyro", root)
  163. Directer.MaxTorque = Vec3(0, 0, 0)
  164. Directer.P = 600000
  165. local CPart = Inst("Part")
  166. CPart.Anchored = true
  167. CPart.CanCollide = false
  168. CPart.Locked = true
  169. CPart.Transparency = 1
  170.  
  171. local rainbowmode = false
  172. local chaosmode = false
  173. local duringend = false
  174. local ModeOfGlitch = 1
  175.  
  176. local kan = Instance.new("Sound",char)
  177. kan.Volume = 1.25
  178. kan.TimePosition = 0
  179. kan.PlaybackSpeed = 1
  180. kan.Pitch = 1.01
  181. kan.SoundId = "rbxassetid://435773595"
  182. kan.Name = "wreckeda"
  183. kan.Looped = true
  184. kan:Play()
  185.  
  186. local currentThemePlaying = kan.SoundId
  187. local currentPitch = kan.Pitch
  188. local currentVol = kan.Volume
  189. function newTheme(ID,timepos,pitch,vol)
  190. local kanz = kan
  191. --kanz:Stop()
  192. kanz.Volume = vol
  193. --kanz.TimePosition = timepos
  194. kanz.PlaybackSpeed = pitch
  195. kanz.Pitch = pitch
  196. kanz.SoundId = ID
  197. kanz.Name = "wrecked"
  198. kanz.Looped = true
  199. currentThemePlaying = kanz.SoundId
  200. currentVol = kanz.Volume
  201. currentPitch = kanz.Pitch
  202. --kanz:Play()
  203. --coroutine.resume(coroutine.create(function()
  204. --wait(0.05)
  205. --end))
  206. end
  207.  
  208.  
  209. function newThemeCust(ID,timepos,pitch,vol)
  210. local kanz = kan
  211. kanz:Stop()
  212. kanz.Volume = vol
  213. kanz.TimePosition = timepos
  214. kanz.PlaybackSpeed = pitch
  215. kanz.Pitch = pitch
  216. kanz.SoundId = ID
  217. kanz.Name = "wrecked"
  218. kanz.Looped = true
  219. currentThemePlaying = kanz.SoundId
  220. currentVol = kanz.Volume
  221. currentPitch = kanz.Pitch
  222. kanz:Play()
  223. coroutine.resume(coroutine.create(function()
  224. wait(0.05)
  225. end))
  226. end
  227.  
  228. local mutedtog = false
  229.  
  230. function CameraEnshaking(Length,Intensity)
  231. coroutine.resume(coroutine.create(function()
  232. local intensity = 1*Intensity
  233. local rotM = 0.01*Intensity
  234. for i = 0, Length, 0.1 do
  235. swait()
  236. intensity = intensity - 0.05*Intensity/Length
  237. rotM = rotM - 0.0005*Intensity/Length
  238. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  239. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  240. end
  241. Humanoid.CameraOffset = Vec3(0, 0, 0)
  242. end))
  243. end
  244. CamShake=function(Part,Distan,Power,Times)
  245. local de=Part.Position
  246. for i,v in pairs(workspace:children()) do
  247. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  248. for _,c in pairs(v:children()) do
  249. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  250. local Noob=v.Humanoid
  251. if Noob~=nil then
  252. coroutine.resume(coroutine.create(function()
  253. FV = Instance.new("BoolValue", Noob)
  254. FV.Name = "CameraShake"
  255. for ShakeNum=1,Times do
  256. swait()
  257. local ef=Power
  258. if ef>=1 then
  259. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  260. else
  261. ef=Power*10
  262. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  263. end
  264. end
  265. Humanoid.CameraOffset = Vector3.new(0,0,0)
  266. FV:Destroy()
  267. end))
  268. CameraShake(Times, Power, Noob)
  269. end
  270. end
  271. end
  272. end
  273. end
  274. end
  275.  
  276. local toggleTag = true
  277. local bilguit = Instance.new("BillboardGui", hed)
  278. bilguit.Adornee = nil
  279. bilguit.Name = "Name"
  280. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  281. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  282. local modet = Instance.new("TextLabel", bilguit)
  283. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  284. modet.FontSize = "Size8"
  285. modet.TextScaled = true
  286. modet.TextTransparency = 0
  287. modet.BackgroundTransparency = 1
  288. modet.TextTransparency = 0
  289. modet.TextStrokeTransparency = 0
  290. modet.Font = "Fantasy"
  291. modet.TextStrokeColor3 = Color3.new(0,0,0.4)
  292. modet.TextColor3 = Color3.new(1,1,1)
  293. modet.Text = "ELITE THE GLITCHER"
  294.  
  295.  
  296. function chatfunc(text,color,typet,font,timeex)
  297. local chat = coroutine.wrap(function()
  298. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  299. Character:FindFirstChild("TalkingBillBoard"):destroy()
  300. end
  301. local naeeym2 = Instance.new("BillboardGui",Character)
  302. naeeym2.Size = UDim2.new(0,100,0,40)
  303. naeeym2.StudsOffset = Vector3.new(0,3,0)
  304. naeeym2.Adornee = Character.Head
  305. naeeym2.Name = "TalkingBillBoard"
  306. local tecks2 = Instance.new("TextLabel",naeeym2)
  307. tecks2.BackgroundTransparency = 1
  308. tecks2.BorderSizePixel = 0
  309. tecks2.Text = ""
  310. tecks2.Font = font
  311. tecks2.TextSize = 30
  312. tecks2.TextStrokeTransparency = 0
  313. tecks2.TextColor3 = color
  314. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  315. tecks2.Size = UDim2.new(1,0,0.5,0)
  316. local tecks3 = Instance.new("TextLabel",naeeym2)
  317. tecks3.BackgroundTransparency = 1
  318. tecks3.BorderSizePixel = 0
  319. tecks3.Text = ""
  320. tecks3.Font = font
  321. tecks3.TextSize = 30
  322. tecks3.TextStrokeTransparency = 0
  323. if typet == "Inverted" then
  324. tecks3.TextColor3 = Color3.new(0,0,0)
  325. tecks3.TextStrokeColor3 = color
  326. elseif typet == "Normal" then
  327. tecks3.TextColor3 = color
  328. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  329. end
  330. tecks3.Size = UDim2.new(1,0,0.5,0)
  331. coroutine.resume(coroutine.create(function()
  332. while true do
  333. swait(1)
  334. if chaosmode == true then
  335. tecks2.TextColor3 = BrickColor.random().Color
  336. tecks3.TextStrokeColor3 = BrickColor.random().Color
  337. end
  338. end
  339. end))
  340. modet.TextTransparency = modet.TextTransparency + 1
  341. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  342. for i = 0, 74*timeex do
  343. swait()
  344. modet.TextTransparency = 1
  345. modet.TextStrokeTransparency = 1
  346. tecks2.Text = text
  347. tecks3.Text = text
  348. end
  349. local randomrot = math.random(1,2)
  350. if randomrot == 1 then
  351. for i = 1, 50 do
  352. swait()
  353. tecks2.Text = text
  354. tecks3.Text = text
  355. modet.TextTransparency = modet.TextTransparency - .02
  356. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  357. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  358. tecks2.TextTransparency = tecks2.TextTransparency + .04
  359. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  360. tecks3.TextTransparency = tecks2.TextTransparency + .04
  361. end
  362. elseif randomrot == 2 then
  363. for i = 1, 50 do
  364. swait()
  365. tecks2.Text = text
  366. tecks3.Text = text
  367. modet.TextTransparency = modet.TextTransparency - .02
  368. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  369. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  370. tecks2.TextTransparency = tecks2.TextTransparency + .04
  371. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  372. tecks3.TextTransparency = tecks2.TextTransparency + .04
  373. end
  374. end
  375. modet.TextTransparency = 0
  376. modet.TextStrokeTransparency = 0
  377. if toggleTag == false then
  378. modet.TextTransparency = 1
  379. modet.TextStrokeTransparency = 1
  380. end
  381. naeeym2:Destroy()
  382. end)
  383. chat()
  384. end
  385.  
  386.  
  387. local Create = LoadLibrary("RbxUtility").Create
  388.  
  389. CFuncs = {
  390. ["Part"] = {
  391. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  392. local Part = Create("Part"){
  393. Parent = Parent,
  394. Reflectance = Reflectance,
  395. Transparency = Transparency,
  396. CanCollide = false,
  397. Locked = true,
  398. BrickColor = BrickColor.new(tostring(BColor)),
  399. Name = Name,
  400. Size = Size,
  401. Material = Material,
  402. }
  403. RemoveOutlines(Part)
  404. return Part
  405. end;
  406. };
  407.  
  408. ["Mesh"] = {
  409. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  410. local Msh = Create(Mesh){
  411. Parent = Part,
  412. Offset = OffSet,
  413. Scale = Scale,
  414. }
  415. if Mesh == "SpecialMesh" then
  416. Msh.MeshType = MeshType
  417. Msh.MeshId = MeshId
  418. end
  419. return Msh
  420. end;
  421. };
  422.  
  423. ["Mesh"] = {
  424. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  425. local Msh = Create(Mesh){
  426. Parent = Part,
  427. Offset = OffSet,
  428. Scale = Scale,
  429. }
  430. if Mesh == "SpecialMesh" then
  431. Msh.MeshType = MeshType
  432. Msh.MeshId = MeshId
  433. end
  434. return Msh
  435. end;
  436. };
  437.  
  438. ["Weld"] = {
  439. Create = function(Parent, Part0, Part1, C0, C1)
  440. local Weld = Create("Weld"){
  441. Parent = Parent,
  442. Part0 = Part0,
  443. Part1 = Part1,
  444. C0 = C0,
  445. C1 = C1,
  446. }
  447. return Weld
  448. end;
  449. };
  450.  
  451. ["Sound"] = {
  452. Create = function(id, par, vol, pit)
  453. coroutine.resume(coroutine.create(function()
  454. local S = Create("Sound"){
  455. Volume = vol,
  456. Name = "EffectSoundo",
  457. Pitch = pit or 1,
  458. SoundId = id,
  459. Parent = par or workspace,
  460. }
  461. wait()
  462. S:play()
  463. game:GetService("Debris"):AddItem(S, 10)
  464. end))
  465. end;
  466. };
  467.  
  468. ["LongSound"] = {
  469. Create = function(id, par, vol, pit)
  470. coroutine.resume(coroutine.create(function()
  471. local S = Create("Sound"){
  472. Volume = vol,
  473. Pitch = pit or 1,
  474. SoundId = id,
  475. Parent = par or workspace,
  476. }
  477. wait()
  478. S:play()
  479. game:GetService("Debris"):AddItem(S, 60)
  480. end))
  481. end;
  482. };
  483.  
  484. ["ParticleEmitter"] = {
  485. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  486. local fp = Create("ParticleEmitter"){
  487. Parent = Parent,
  488. Color = ColorSequence.new(Color1, Color2),
  489. LightEmission = LightEmission,
  490. Size = Size,
  491. Texture = Texture,
  492. Transparency = Transparency,
  493. ZOffset = ZOffset,
  494. Acceleration = Accel,
  495. Drag = Drag,
  496. LockedToPart = LockedToPart,
  497. VelocityInheritance = VelocityInheritance,
  498. EmissionDirection = EmissionDirection,
  499. Enabled = Enabled,
  500. Lifetime = LifeTime,
  501. Rate = Rate,
  502. Rotation = Rotation,
  503. RotSpeed = RotSpeed,
  504. Speed = Speed,
  505. VelocitySpread = VelocitySpread,
  506. }
  507. return fp
  508. end;
  509. };
  510.  
  511. CreateTemplate = {
  512.  
  513. };
  514. }
  515.  
  516.  
  517.  
  518. New = function(Object, Parent, Name, Data)
  519. local Object = Instance.new(Object)
  520. for Index, Value in pairs(Data or {}) do
  521. Object[Index] = Value
  522. end
  523. Object.Parent = Parent
  524. Object.Name = Name
  525. return Object
  526. end
  527. local halocolor = BrickColor.new("Pastel light blue")
  528. local halocolor2 = BrickColor.new("Cool yellow")
  529. local starcolor = BrickColor.new("Bright yellow")
  530. local lunacolor = BrickColor.new("Navy blue")
  531. local lunacolor2 = BrickColor.new("Bright blue")
  532. local wepcolor = BrickColor.new("Really black")
  533. local maincolor = BrickColor.new("Really black")
  534. local m = Instance.new("Model",char)
  535. local m2 = Instance.new("Model",char)
  536. local m3 = Instance.new("Model",char)
  537. local mw1 = Instance.new("Model",char)
  538. local mw2 = Instance.new("Model",char)
  539.  
  540.  
  541. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  542. local gui = it(GuiType)
  543. gui.Parent = parent
  544. gui.Text = text
  545. gui.BackgroundTransparency = backtrans
  546. gui.BackgroundColor3 = backcol
  547. gui.SizeConstraint = "RelativeXY"
  548. gui.TextXAlignment = "Center"
  549. gui.TextYAlignment = "Center"
  550. gui.Position = pos
  551. gui.Size = size
  552. gui.Font = "SourceSans"
  553. gui.FontSize = "Size14"
  554. gui.TextWrapped = false
  555. gui.TextStrokeTransparency = 0
  556. gui.TextColor = BrickColor.new("White")
  557. return gui
  558. end
  559. ---- GUI set
  560. local basgui = it("GuiMain")
  561. basgui.Parent = plr.PlayerGui
  562. basgui.Name = "Killcounter GUI"
  563. local basframe = it("Frame")
  564. basframe.Parent = basgui
  565. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  566. basframe.BackgroundTransparency = 1
  567. basframe.BorderColor3 = Color3.new(17, 17, 17)
  568. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  569. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  570. local uhh = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0.5, 0, 0.45, 0), UDim2.new(1.5, 0, 0.55, 0))
  571. uhh.ZIndex = 2
  572. uhh.Font = "Bodoni"
  573. uhh.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
  574. uhh.TextColor3 = Color3.new(1,1,1)
  575. uhh.BackgroundTransparency = 0.25
  576. uhh.BorderSizePixel = 2
  577. uhh.BorderColor3 = Color3.new(0,0,0)
  578. uhh.TextScaled = true
  579. uhh.TextXAlignment = "Left"
  580. uhh.Text = "Switch mode: Q-J"
  581. uhh.TextSize = 64
  582. local modeteller = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0, 0, -0.01, 0), UDim2.new(1, 0, 0.45, 0))
  583. modeteller.ZIndex = 2
  584. modeteller.Font = "Bodoni"
  585. modeteller.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
  586. modeteller.TextColor3 = Color3.new(1,1,1)
  587. modeteller.BackgroundTransparency = 0.25
  588. modeteller.BorderSizePixel = 2
  589. modeteller.BorderColor3 = Color3.new(0,0,0)
  590. modeteller.TextScaled = true
  591. modeteller.TextXAlignment = "Right"
  592. modeteller.Text = "Lol it broke"
  593. modeteller.TextSize = 64
  594.  
  595. local extrawingmod1 = Instance.new("Model",char)
  596. local extrawingmod2 = Instance.new("Model",char)
  597.  
  598. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  599. local p = Instance.new("Part")
  600. p.TopSurface = 0
  601. p.BottomSurface = 0
  602. p.Parent = parent
  603. p.Size = Vector3.new(0.1,0.1,0.1)
  604. p.Transparency = transparency
  605. p.Reflectance = reflectance
  606. p.CanCollide = false
  607. p.Locked = true
  608. p.BrickColor = brickcolor
  609. p.Material = material
  610. return p
  611. end
  612.  
  613. function CreateMesh(parent,meshtype,x1,y1,z1)
  614. local mesh = Instance.new("SpecialMesh",parent)
  615. mesh.MeshType = meshtype
  616. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  617. return mesh
  618. end
  619.  
  620. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  621. local mesh = Instance.new("SpecialMesh",parent)
  622. mesh.MeshType = "FileMesh"
  623. mesh.MeshId = meshid
  624. mesh.Scale = Vector3.new(x1,y1,z1)
  625. return mesh
  626. end
  627.  
  628.  
  629. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  630. local mesh = Instance.new("SpecialMesh",parent)
  631. mesh.MeshType = "FileMesh"
  632. mesh.MeshId = meshid
  633. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  634. mesh.Scale = Vector3.new(x1,y1,z1)
  635. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  636. return mesh
  637. end
  638.  
  639. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  640. local weld = Instance.new("Weld")
  641. weld.Parent = parent
  642. weld.Part0 = part0
  643. weld.Part1 = part1
  644. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  645. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  646. return weld
  647. end
  648.  
  649.  
  650. --------------
  651. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  652. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  653. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  654. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  655.  
  656. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  657. CreateMesh(handle,"Brick",0,0,0)
  658. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  659. local valuaring = 10
  660.  
  661. local refec = Instance.new("ParticleEmitter",handlex)
  662. refec.Texture = "rbxassetid://284205403"
  663. refec.LightEmission = 0.95
  664. refec.Color = ColorSequence.new(BrickColor.new("White").Color)
  665. refec.Rate = 50
  666. refec.Lifetime = NumberRange.new(0.5)
  667. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  668. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  669. refec.Speed = NumberRange.new(0,2)
  670. refec.Drag = 5
  671. refec.LockedToPart = true
  672. refec.Rotation = NumberRange.new(-500,500)
  673. refec.VelocitySpread = 9000
  674. refec.RotSpeed = NumberRange.new(-500,500)
  675. local refec2 = refec:Clone()
  676. refec2.LightEmission = 0.75
  677. refec2.Texture = "rbxassetid://254287058"
  678. refec2.Parent = handlex
  679. refec2.Rate = 25
  680. refec2.Lifetime = NumberRange.new(0.75)
  681. refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.15,1,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  682. refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  683. refec2.Speed = NumberRange.new(0)
  684. local refec3 = refec:Clone()
  685. refec3.LightEmission = 0.75
  686. refec3.Texture = "rbxassetid://363275192"
  687. refec3.Parent = handlex
  688. refec3.Rate = 25
  689. refec3.Lifetime = NumberRange.new(1)
  690. refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  691. refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  692. refec3.Speed = NumberRange.new(0)
  693. refec3.RotSpeed = NumberRange.new(-50,50)
  694.  
  695. for i = 0, 35 do
  696. valuaring = valuaring + 10
  697. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  698. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  699. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  700. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  701. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  702. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  703. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  704. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  705. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  706. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  707. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  708. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  709. end
  710.  
  711.  
  712. local handle = CreateParta(m,1,1,"Neon",maincolor)
  713. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  714. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  715.  
  716. --- Left wing.
  717.  
  718. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  719. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  720. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  721.  
  722. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  723. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  724. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  725. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  726. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  727. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  728. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  729. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  730. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  731. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  732. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  733. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  734. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  735. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  736. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  737. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  738. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  739. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  740. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  741. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  742. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  743. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  744. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  745. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  746. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  747. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  748. CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  749. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  750. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  751. CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  752.  
  753.  
  754. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  755. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  756. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  757.  
  758. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  759. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  760. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  761. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  762. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  763. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  764. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  765. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  766. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  767. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  768. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  769. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  770. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  771. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  772. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  773. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  774. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  775. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  776. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  777. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  778. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  779. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  780. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  781. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  782. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  783. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  784. CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  785. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  786. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  787. CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  788.  
  789. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  790. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  791. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  792.  
  793. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  794. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  795. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  796. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  797. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  798. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  799. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  800. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  801. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  802. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  803. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  804. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  805. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  806. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  807. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  808. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  809. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  810. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  811. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  812. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  813. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  814. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  815. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  816. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  817. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  818. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  819. CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  820. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  821. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  822. CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  823.  
  824. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  825. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  826. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  827.  
  828. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  829. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  830. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  831. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  832. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  833. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  834. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  835. CreateMesh(wed,"Wedge",0.05,0.5,3)
  836. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  837. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  838. CreateMesh(wed,"Wedge",0.05,3,0.5)
  839. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  840.  
  841. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  842. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  843. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  844.  
  845. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  846. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  847. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  848. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  849. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  850. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  851. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  852. CreateMesh(wed,"Wedge",0.05,0.5,3)
  853. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  854. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  855. CreateMesh(wed,"Wedge",0.05,3,0.5)
  856. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  857.  
  858. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  859. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  860. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  861.  
  862. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  863. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  864. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  865. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  866. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  867. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  868. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  869. CreateMesh(wed,"Wedge",0.05,0.5,3)
  870. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  871. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  872. CreateMesh(wed,"Wedge",0.05,3,0.5)
  873. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  874.  
  875. -- Right wing.
  876.  
  877. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  878. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  879. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  880.  
  881. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  882. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  883. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  884. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  885. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  886. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  887. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  888. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  889. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  890. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  891. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  892. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  893. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  894. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  895. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  896. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  897. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  898. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  899. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  900. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  901. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  902. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  903. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  904. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  905. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  906. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  907. CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  908. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  909. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  910. CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  911.  
  912. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  913. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  914. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  915.  
  916. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  917. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  918. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  919. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  920. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  921. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  922. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  923. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  924. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  925. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  926. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  927. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  928. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  929. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  930. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  931. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  932. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  933. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  934. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  935. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  936. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  937. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  938. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  939. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  940. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  941. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  942. CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  943. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  944. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  945. CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  946.  
  947. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  948. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  949. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  950.  
  951.  
  952. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  953. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  954. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  955. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  956. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  957. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  958. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  959. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  960. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  961. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  962. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  963. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  964. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  965. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  966. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  967. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  969. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  970. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  971. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  972. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  973. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  974. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  975. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  976. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  977. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  978. CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  979. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  980. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  981. CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  982.  
  983.  
  984. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  985. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  986. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  987.  
  988. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  989. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  990. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  991. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  992. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  993. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  994. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  995. CreateMesh(wed,"Wedge",0.05,0.5,3)
  996. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  997. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  998. CreateMesh(wed,"Wedge",0.05,3,0.5)
  999. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1000.  
  1001. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1002. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1003. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1004.  
  1005. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1006. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1007. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1008. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1009. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1010. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1011. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1012. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1013. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1014. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1015. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1016. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1017.  
  1018. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1019. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1020. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1021.  
  1022. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1023. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1024. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1025. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1026. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1027. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1028. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1029. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1030. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1031. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1032. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1033. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1034.  
  1035.  
  1036. ---- HERES THE RING
  1037.  
  1038.  
  1039. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1040. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1041. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1042. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1043. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1044. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1045. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1046. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1047. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1048.  
  1049.  
  1050. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1051. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1052. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1053.  
  1054. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1055. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1056. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1057.  
  1058.  
  1059.  
  1060. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1061. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1062. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1063.  
  1064. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1065. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1066. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1067.  
  1068. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1069. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1070. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1071.  
  1072. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1073. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1074. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1075. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1076. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1077. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1078.  
  1079. --- second ring
  1080.  
  1081. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1082. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1083. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1084. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1085. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1086. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1087. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1088. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1089. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1090.  
  1091. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1092. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1093. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1094.  
  1095. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1096. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1097. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1098.  
  1099.  
  1100.  
  1101. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1102. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1103. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1104.  
  1105. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1106. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1107. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1108.  
  1109. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1110. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1111. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1112.  
  1113. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1114. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1115. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1116. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1117. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1118. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1119.  
  1120. ------------- Trails
  1121. local A0 = Instance.new("Attachment",lwing1)
  1122. A0.Position = Vector3.new(0,-0.7,0)
  1123. local A1 = Instance.new("Attachment",lwing1)
  1124. A1.Position = Vector3.new(0,-3.5,0)
  1125. tl1 = Instance.new('Trail',lwing1)
  1126. tl1.Attachment0 = A0
  1127. tl1.Attachment1 = A1
  1128. tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1129. tl1.LightEmission = 1
  1130. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1131. tl1.Color = ColorSequence.new(BrickColor.new('White').Color)
  1132. tl1.Lifetime = 0.6
  1133.  
  1134. local A0 = Instance.new("Attachment",lwing2)
  1135. A0.Position = Vector3.new(0,-0.7,0)
  1136. local A1 = Instance.new("Attachment",lwing2)
  1137. A1.Position = Vector3.new(0,-3.5,0)
  1138. tl2 = Instance.new('Trail',lwing2)
  1139. tl2.Attachment0 = A0
  1140. tl2.Attachment1 = A1
  1141. tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1142. tl2.LightEmission = 1
  1143. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1144. tl2.Color = ColorSequence.new(BrickColor.new('White').Color)
  1145. tl2.Lifetime = 0.6
  1146.  
  1147. local A0 = Instance.new("Attachment",lwing3)
  1148. A0.Position = Vector3.new(0,-0.7,0)
  1149. local A1 = Instance.new("Attachment",lwing3)
  1150. A1.Position = Vector3.new(0,-3.5,0)
  1151. tl3 = Instance.new('Trail',lwing3)
  1152. tl3.Attachment0 = A0
  1153. tl3.Attachment1 = A1
  1154. tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1155. tl3.LightEmission = 1
  1156. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1157. tl3.Color = ColorSequence.new(BrickColor.new('White').Color)
  1158. tl3.Lifetime = 0.6
  1159.  
  1160. local A0 = Instance.new("Attachment",rwing1)
  1161. A0.Position = Vector3.new(0,-0.7,0)
  1162. local A1 = Instance.new("Attachment",rwing1)
  1163. A1.Position = Vector3.new(0,-3.5,0)
  1164. tr1 = Instance.new('Trail',rwing1)
  1165. tr1.Attachment0 = A0
  1166. tr1.Attachment1 = A1
  1167. tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1168. tr1.LightEmission = 1
  1169. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1170. tr1.Color = ColorSequence.new(BrickColor.new('White').Color)
  1171. tr1.Lifetime = 0.6
  1172.  
  1173. local A0 = Instance.new("Attachment",rwing2)
  1174. A0.Position = Vector3.new(0,-0.7,0)
  1175. local A1 = Instance.new("Attachment",rwing2)
  1176. A1.Position = Vector3.new(0,-3.5,0)
  1177. tr2 = Instance.new('Trail',rwing2)
  1178. tr2.Attachment0 = A0
  1179. tr2.Attachment1 = A1
  1180. tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1181. tr2.LightEmission = 1
  1182. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1183. tr2.Color = ColorSequence.new(BrickColor.new('White').Color)
  1184. tr2.Lifetime = 0.6
  1185.  
  1186. local A0 = Instance.new("Attachment",rwing3)
  1187. A0.Position = Vector3.new(0,-0.7,0)
  1188. local A1 = Instance.new("Attachment",rwing3)
  1189. A1.Position = Vector3.new(0,-3.5,0)
  1190. tr3 = Instance.new('Trail',rwing3)
  1191. tr3.Attachment0 = A0
  1192. tr3.Attachment1 = A1
  1193. tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1194. tr3.LightEmission = 1
  1195. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1196. tr3.Color = ColorSequence.new(BrickColor.new('White').Color)
  1197. tr3.Lifetime = 0.6
  1198.  
  1199. for i, v in pairs(mw2:GetChildren()) do
  1200. if v:IsA("Part") then
  1201. v.BrickColor = BrickColor.new("Navy blue")
  1202. v.Material = "Neon"
  1203. end
  1204. end
  1205. for i, v in pairs(mw1:GetChildren()) do
  1206. if v:IsA("Part") then
  1207. v.Transparency = 0
  1208. v.BrickColor = BrickColor.new("Navy blue")
  1209. v.Material = "Neon"
  1210. end
  1211. end
  1212. for i, v in pairs(extrawingmod1:GetChildren()) do
  1213. if v:IsA("Part") then
  1214. v.Transparency = 1
  1215. v.BrickColor = BrickColor.new("White")
  1216. v.Material = "Neon"
  1217. end
  1218. end
  1219. for i, v in pairs(extrawingmod2:GetChildren()) do
  1220. if v:IsA("Part") then
  1221. v.Transparency = 1
  1222. v.BrickColor = BrickColor.new("White")
  1223. v.Material = "Neon"
  1224. end
  1225. end
  1226. local MAINRUINCOLOR = BrickColor.new("Navy blue")
  1227. ------
  1228.  
  1229.  
  1230. function RemoveOutlines(part)
  1231. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1232. end
  1233. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1234. local Part = Create("Part")({
  1235. Parent = Parent,
  1236. Reflectance = Reflectance,
  1237. Transparency = Transparency,
  1238. CanCollide = false,
  1239. Locked = true,
  1240. BrickColor = BrickColor.new(tostring(BColor)),
  1241. Name = Name,
  1242. Size = Size,
  1243. Material = Material
  1244. })
  1245. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1246. RemoveOutlines(Part)
  1247. return Part
  1248. end
  1249. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1250. local Msh = Create(Mesh)({
  1251. Parent = Part,
  1252. Offset = OffSet,
  1253. Scale = Scale
  1254. })
  1255. if Mesh == "SpecialMesh" then
  1256. Msh.MeshType = MeshType
  1257. Msh.MeshId = MeshId
  1258. end
  1259. return Msh
  1260. end
  1261. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1262. local Weld = Create("Weld")({
  1263. Parent = Parent,
  1264. Part0 = Part0,
  1265. Part1 = Part1,
  1266. C0 = C0,
  1267. C1 = C1
  1268. })
  1269. return Weld
  1270. end
  1271.  
  1272. Player=owner
  1273. Character=Player.Character
  1274. PlayerGui=Player.PlayerGui
  1275. Backpack=Player.Backpack
  1276. Torso=Character.Torso
  1277. Head=Character.Head
  1278. Humanoid=Character.Humanoid
  1279. m=Instance.new('Model',Character)
  1280. LeftArm=Character["Left Arm"]
  1281. LeftLeg=Character["Left Leg"]
  1282. RightArm=Character["Right Arm"]
  1283. RightLeg=Character["Right Leg"]
  1284. LS=Torso["Left Shoulder"]
  1285. LH=Torso["Left Hip"]
  1286. RS=Torso["Right Shoulder"]
  1287. RH=Torso["Right Hip"]
  1288. Face = Head.face
  1289. Neck=Torso.Neck
  1290. it=Instance.new
  1291. attacktype=1
  1292. vt=Vector3.new
  1293. cf=CFrame.new
  1294. euler=CFrame.fromEulerAnglesXYZ
  1295. angles=CFrame.Angles
  1296. cloaked=false
  1297. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1298. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1299. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1300. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1301. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1302. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1303. RootPart=Character.HumanoidRootPart
  1304. RootJoint=RootPart.RootJoint
  1305. RootCF=euler(-1.57,0,3.14)
  1306. attack = false
  1307. attackdebounce = false
  1308. deb=false
  1309. equipped=true
  1310. hand=false
  1311. MMouse=nil
  1312. combo=0
  1313. mana=0
  1314. trispeed=.2
  1315. attackmode='none'
  1316. local idle=0
  1317. local Anim="Idle"
  1318. local Effects={}
  1319. local gun=false
  1320. local shoot=false
  1321. local sine = 0
  1322. local change = 1
  1323. player=nil
  1324.  
  1325. function RecolorTextAndRename(name,col1,col2,font)
  1326. modet.TextStrokeColor3 = col2
  1327. modet.TextColor3 = col1
  1328. modet.Font = font
  1329. modet.Text = name
  1330. end
  1331. --save shoulders
  1332. RSH, LSH=nil, nil
  1333. --welds
  1334. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1335. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1336. LH=Torso["Left Hip"]
  1337. RH=Torso["Right Hip"]
  1338. TorsoColor=Torso.BrickColor
  1339. function NoOutline(Part)
  1340. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1341. end
  1342. player=Player
  1343. ch=Character
  1344. RSH=ch.Torso["Right Shoulder"]
  1345. LSH=ch.Torso["Left Shoulder"]
  1346. --
  1347. RSH.Parent=nil
  1348. LSH.Parent=nil
  1349. --
  1350. RW.Name="Right Shoulder"
  1351. RW.Part0=ch.Torso
  1352. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1353. RW.C1=cf(0, 0.5, 0)
  1354. RW.Part1=ch["Right Arm"]
  1355. RW.Parent=ch.Torso
  1356. --
  1357. LW.Name="Left Shoulder"
  1358. LW.Part0=ch.Torso
  1359. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1360. LW.C1=cf(0, 0.5, 0)
  1361. LW.Part1=ch["Left Arm"]
  1362. LW.Parent=ch.Torso
  1363.  
  1364. local Stats=Instance.new("BoolValue")
  1365. Stats.Name="Stats"
  1366. Stats.Parent=Character
  1367. local Atk=Instance.new("NumberValue")
  1368. Atk.Name="Damage"
  1369. Atk.Parent=Stats
  1370. Atk.Value=1
  1371. local Def=Instance.new("NumberValue")
  1372. Def.Name="Defense"
  1373. Def.Parent=Stats
  1374. Def.Value=1
  1375. local Speed=Instance.new("NumberValue")
  1376. Speed.Name="Speed"
  1377. Speed.Parent=Stats
  1378. Speed.Value=1
  1379. local Mvmt=Instance.new("NumberValue")
  1380. Mvmt.Name="Movement"
  1381. Mvmt.Parent=Stats
  1382. Mvmt.Value=1
  1383.  
  1384. local donum=0
  1385.  
  1386.  
  1387. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1388. local fp=it("Part")
  1389. fp.formFactor=formfactor
  1390. fp.Parent=parent
  1391. fp.Reflectance=reflectance
  1392. fp.Transparency=transparency
  1393. fp.CanCollide=false
  1394. fp.Locked=true
  1395. fp.BrickColor=brickcolor
  1396. fp.Name=name
  1397. fp.Size=size
  1398. fp.Position=Torso.Position
  1399. NoOutline(fp)
  1400. fp.Material="SmoothPlastic"
  1401. fp:BreakJoints()
  1402. return fp
  1403. end
  1404.  
  1405. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1406. local mesh=it(Mesh)
  1407. mesh.Parent=part
  1408. if Mesh=="SpecialMesh" then
  1409. mesh.MeshType=meshtype
  1410. if meshid~="nil" then
  1411. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1412. end
  1413. end
  1414. mesh.Offset=offset
  1415. mesh.Scale=scale
  1416. return mesh
  1417. end
  1418.  
  1419. function weld(parent,part0,part1,c0)
  1420. local weld=it("Weld")
  1421. weld.Parent=parent
  1422. weld.Part0=part0
  1423. weld.Part1=part1
  1424. weld.C0=c0
  1425. return weld
  1426. end
  1427.  
  1428. local Color1=Torso.BrickColor
  1429.  
  1430. local bodvel=Instance.new("BodyVelocity")
  1431. local bg=Instance.new("BodyGyro")
  1432.  
  1433. function swait(num)
  1434. if num==0 or num==nil then
  1435. game:service'RunService'.Stepped:wait(0)
  1436. else
  1437. for i=0,num do
  1438. game:service'RunService'.Stepped:wait(0)
  1439. end
  1440. end
  1441. end
  1442.  
  1443. -------- RAINBOW LEAVE IT TO ME
  1444. local r = 255
  1445. local g = 0
  1446. local b = 0
  1447. coroutine.resume(coroutine.create(function()
  1448. while wait() do
  1449. for i = 0, 254/5 do
  1450. swait()
  1451. g = g + 5
  1452. end
  1453. for i = 0, 254/5 do
  1454. swait()
  1455. r = r - 5
  1456. end
  1457. for i = 0, 254/5 do
  1458. swait()
  1459. b = b + 5
  1460. end
  1461. for i = 0, 254/5 do
  1462. swait()
  1463. g = g - 5
  1464. end
  1465. for i = 0, 254/5 do
  1466. swait()
  1467. r = r + 5
  1468. end
  1469. for i = 0, 254/5 do
  1470. swait()
  1471. b = b - 5
  1472. end
  1473. end
  1474. end))
  1475.  
  1476.  
  1477. so = function(id,par,vol,pit)
  1478. coroutine.resume(coroutine.create(function()
  1479. local sou = Instance.new("Sound",par or workspace)
  1480. sou.Volume=vol
  1481. sou.Pitch=pit or 1
  1482. sou.SoundId=id
  1483. swait()
  1484. sou:play()
  1485. game:GetService("Debris"):AddItem(sou,6)
  1486. end))
  1487. end
  1488.  
  1489. function clerp(a,b,t)
  1490. local qa = {QuaternionFromCFrame(a)}
  1491. local qb = {QuaternionFromCFrame(b)}
  1492. local ax, ay, az = a.x, a.y, a.z
  1493. local bx, by, bz = b.x, b.y, b.z
  1494. local _t = 1-t
  1495. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1496. end
  1497.  
  1498. function QuaternionFromCFrame(cf)
  1499. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1500. local trace = m00 + m11 + m22
  1501. if trace > 0 then
  1502. local s = math.sqrt(1 + trace)
  1503. local recip = 0.5/s
  1504. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1505. else
  1506. local i = 0
  1507. if m11 > m00 then
  1508. i = 1
  1509. end
  1510. if m22 > (i == 0 and m00 or m11) then
  1511. i = 2
  1512. end
  1513. if i == 0 then
  1514. local s = math.sqrt(m00-m11-m22+1)
  1515. local recip = 0.5/s
  1516. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1517. elseif i == 1 then
  1518. local s = math.sqrt(m11-m22-m00+1)
  1519. local recip = 0.5/s
  1520. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1521. elseif i == 2 then
  1522. local s = math.sqrt(m22-m00-m11+1)
  1523. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1524. end
  1525. end
  1526. end
  1527.  
  1528. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1529. local xs, ys, zs = x + x, y + y, z + z
  1530. local wx, wy, wz = w*xs, w*ys, w*zs
  1531. local xx = x*xs
  1532. local xy = x*ys
  1533. local xz = x*zs
  1534. local yy = y*ys
  1535. local yz = y*zs
  1536. local zz = z*zs
  1537. 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))
  1538. end
  1539.  
  1540. function QuaternionSlerp(a, b, t)
  1541. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1542. local startInterp, finishInterp;
  1543. if cosTheta >= 0.0001 then
  1544. if (1 - cosTheta) > 0.0001 then
  1545. local theta = math.acos(cosTheta)
  1546. local invSinTheta = 1/math.sin(theta)
  1547. startInterp = math.sin((1-t)*theta)*invSinTheta
  1548. finishInterp = math.sin(t*theta)*invSinTheta
  1549. else
  1550. startInterp = 1-t
  1551. finishInterp = t
  1552. end
  1553. else
  1554. if (1+cosTheta) > 0.0001 then
  1555. local theta = math.acos(-cosTheta)
  1556. local invSinTheta = 1/math.sin(theta)
  1557. startInterp = math.sin((t-1)*theta)*invSinTheta
  1558. finishInterp = math.sin(t*theta)*invSinTheta
  1559. else
  1560. startInterp = t-1
  1561. finishInterp = t
  1562. end
  1563. end
  1564. 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
  1565. end
  1566.  
  1567. local function CFrameFromTopBack(at, top, back)
  1568. local right = top:Cross(back)
  1569. return CFrame.new(at.x, at.y, at.z,
  1570. right.x, top.x, back.x,
  1571. right.y, top.y, back.y,
  1572. right.z, top.z, back.z)
  1573. end
  1574.  
  1575. function Triangle(a, b, c)
  1576. local edg1 = (c-a):Dot((b-a).unit)
  1577. local edg2 = (a-b):Dot((c-b).unit)
  1578. local edg3 = (b-c):Dot((a-c).unit)
  1579. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1580. a, b, c = a, b, c
  1581. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1582. a, b, c = b, c, a
  1583. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1584. a, b, c = c, a, b
  1585. else
  1586. assert(false, "unreachable")
  1587. end
  1588.  
  1589. local len1 = (c-a):Dot((b-a).unit)
  1590. local len2 = (b-a).magnitude - len1
  1591. local width = (a + (b-a).unit*len1 - c).magnitude
  1592.  
  1593. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1594.  
  1595. local list = {}
  1596.  
  1597. if len1 > 0.01 then
  1598. local w1 = Instance.new('WedgePart', m)
  1599. game:GetService("Debris"):AddItem(w1,5)
  1600. w1.Material = "SmoothPlastic"
  1601. w1.FormFactor = 'Custom'
  1602. w1.BrickColor = BrickColor.new("Really red")
  1603. w1.Transparency = 0
  1604. w1.Reflectance = 0
  1605. w1.Material = "SmoothPlastic"
  1606. w1.CanCollide = false
  1607. local l1 = Instance.new("PointLight",w1)
  1608. l1.Color = Color3.new(170,0,0)
  1609. NoOutline(w1)
  1610. local sz = Vector3.new(0.2, width, len1)
  1611. w1.Size = sz
  1612. local sp = Instance.new("SpecialMesh",w1)
  1613. sp.MeshType = "Wedge"
  1614. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1615. w1:BreakJoints()
  1616. w1.Anchored = true
  1617. w1.Parent = workspace
  1618. w1.Transparency = 0.7
  1619. table.insert(Effects,{w1,"Disappear",.01})
  1620. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1621. table.insert(list,w1)
  1622. end
  1623.  
  1624. if len2 > 0.01 then
  1625. local w2 = Instance.new('WedgePart', m)
  1626. game:GetService("Debris"):AddItem(w2,5)
  1627. w2.Material = "SmoothPlastic"
  1628. w2.FormFactor = 'Custom'
  1629. w2.BrickColor = BrickColor.new("Really red")
  1630. w2.Transparency = 0
  1631. w2.Reflectance = 0
  1632. w2.Material = "SmoothPlastic"
  1633. w2.CanCollide = false
  1634. local l2 = Instance.new("PointLight",w2)
  1635. l2.Color = Color3.new(170,0,0)
  1636. NoOutline(w2)
  1637. local sz = Vector3.new(0.2, width, len2)
  1638. w2.Size = sz
  1639. local sp = Instance.new("SpecialMesh",w2)
  1640. sp.MeshType = "Wedge"
  1641. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1642. w2:BreakJoints()
  1643. w2.Anchored = true
  1644. w2.Parent = workspace
  1645. w2.Transparency = 0.7
  1646. table.insert(Effects,{w2,"Disappear",.01})
  1647. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1648. table.insert(list,w2)
  1649. end
  1650. return unpack(list)
  1651. end
  1652.  
  1653.  
  1654. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1655. if hit.Parent == nil then
  1656. return
  1657. end
  1658. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1659. for _, v in pairs(hit.Parent:children()) do
  1660. if v:IsA("Humanoid") then
  1661. h = v
  1662. end
  1663. end
  1664. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1665. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1666. return
  1667. end
  1668. local c = Create("ObjectValue")({
  1669. Name = "creator",
  1670. Value = game:service("Players").LocalPlayer,
  1671. Parent = h
  1672. })
  1673. game:GetService("Debris"):AddItem(c, 0.5)
  1674. if HitSound ~= nil and HitPitch ~= nil then
  1675. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1676. end
  1677. local Damage = math.random(minim, maxim)
  1678. local blocked = false
  1679. local block = hit.Parent:findFirstChild("Block")
  1680. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1681. blocked = true
  1682. block.Value = block.Value - 1
  1683. print(block.Value)
  1684. end
  1685. if blocked == false then
  1686. HitHealth = h.Health
  1687. h.Health = h.Health - Damage
  1688. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1689. print("gained kill")
  1690. end
  1691. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1692. else
  1693. h.Health = h.Health - Damage / 2
  1694. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1695. end
  1696. if Type == "Knockdown" then
  1697. local hum = hit.Parent.Humanoid
  1698. hum.PlatformStand = true
  1699. coroutine.resume(coroutine.create(function(HHumanoid)
  1700. swait(1)
  1701. HHumanoid.PlatformStand = false
  1702. end), hum)
  1703. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1704. local bodvol = Create("BodyVelocity")({
  1705. velocity = angle * knockback,
  1706. P = 5000,
  1707. maxForce = Vector3.new(8000, 8000, 8000),
  1708. Parent = hit
  1709. })
  1710. local rl = Create("BodyAngularVelocity")({
  1711. P = 3000,
  1712. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1713. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1714. Parent = hit
  1715. })
  1716. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1717. game:GetService("Debris"):AddItem(rl, 0.5)
  1718. elseif Type == "Normal" then
  1719. local vp = Create("BodyVelocity")({
  1720. P = 500,
  1721. maxForce = Vector3.new(math.huge, 0, math.huge),
  1722. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1723. })
  1724. if knockback > 0 then
  1725. vp.Parent = hit.Parent.Head
  1726. end
  1727. game:GetService("Debris"):AddItem(vp, 0.5)
  1728. elseif Type == "Up" then
  1729. local bodyVelocity = Create("BodyVelocity")({
  1730. velocity = Vector3.new(0, 20, 0),
  1731. P = 5000,
  1732. maxForce = Vector3.new(8000, 8000, 8000),
  1733. Parent = hit
  1734. })
  1735. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1736. local bodyVelocity = Create("BodyVelocity")({
  1737. velocity = Vector3.new(0, 20, 0),
  1738. P = 5000,
  1739. maxForce = Vector3.new(8000, 8000, 8000),
  1740. Parent = hit
  1741. })
  1742. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1743. elseif Type == "Leech" then
  1744. local hum = hit.Parent.Humanoid
  1745. if hum ~= nil then
  1746. for i = 0, 2 do
  1747. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1748. end
  1749. Humanoid.Health = Humanoid.Health + 10
  1750. end
  1751. elseif Type == "UpKnock" then
  1752. local hum = hit.Parent.Humanoid
  1753. hum.PlatformStand = true
  1754. if hum ~= nil then
  1755. hitr = true
  1756. end
  1757. coroutine.resume(coroutine.create(function(HHumanoid)
  1758. swait(5)
  1759. HHumanoid.PlatformStand = false
  1760. hitr = false
  1761. end), hum)
  1762. local bodyVelocity = Create("BodyVelocity")({
  1763. velocity = Vector3.new(0, 20, 0),
  1764. P = 5000,
  1765. maxForce = Vector3.new(8000, 8000, 8000),
  1766. Parent = hit
  1767. })
  1768. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1769. local bodyVelocity = Create("BodyVelocity")({
  1770. velocity = Vector3.new(0, 20, 0),
  1771. P = 5000,
  1772. maxForce = Vector3.new(8000, 8000, 8000),
  1773. Parent = hit
  1774. })
  1775. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1776. elseif Type == "Snare" then
  1777. local bp = Create("BodyPosition")({
  1778. P = 2000,
  1779. D = 100,
  1780. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1781. position = hit.Parent.Torso.Position,
  1782. Parent = hit.Parent.Torso
  1783. })
  1784. game:GetService("Debris"):AddItem(bp, 1)
  1785. elseif Type == "Slashnare" then
  1786. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  1787. for i = 1, math.random(4, 5) do
  1788. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1789. end
  1790. local bp = Create("BodyPosition")({
  1791. P = 2000,
  1792. D = 100,
  1793. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1794. position = hit.Parent.Torso.Position,
  1795. Parent = hit.Parent.Torso
  1796. })
  1797. game:GetService("Debris"):AddItem(bp, 1)
  1798. elseif Type == "Spike" then
  1799. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1800. local bp = Create("BodyPosition")({
  1801. P = 2000,
  1802. D = 100,
  1803. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1804. position = hit.Parent.Torso.Position,
  1805. Parent = hit.Parent.Torso
  1806. })
  1807. game:GetService("Debris"):AddItem(bp, 1)
  1808. elseif Type == "Freeze" then
  1809. local BodPos = Create("BodyPosition")({
  1810. P = 50000,
  1811. D = 1000,
  1812. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1813. position = hit.Parent.Torso.Position,
  1814. Parent = hit.Parent.Torso
  1815. })
  1816. local BodGy = Create("BodyGyro")({
  1817. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1818. P = 20000,
  1819. Parent = hit.Parent.Torso,
  1820. cframe = hit.Parent.Torso.CFrame
  1821. })
  1822. hit.Parent.Torso.Anchored = true
  1823. coroutine.resume(coroutine.create(function(Part)
  1824. swait(1.5)
  1825. Part.Anchored = false
  1826. end), hit.Parent.Torso)
  1827. game:GetService("Debris"):AddItem(BodPos, 3)
  1828. game:GetService("Debris"):AddItem(BodGy, 3)
  1829. end
  1830. local debounce = Create("BoolValue")({
  1831. Name = "DebounceHit",
  1832. Parent = hit.Parent,
  1833. Value = true
  1834. })
  1835. game:GetService("Debris"):AddItem(debounce, Delay)
  1836. c = Instance.new("ObjectValue")
  1837. c.Name = "creator"
  1838. c.Value = Player
  1839. c.Parent = h
  1840. game:GetService("Debris"):AddItem(c, 0.5)
  1841. end
  1842. end
  1843. function ShowDamage(Pos, Text, Time, Color)
  1844. local Rate = 0.03333333333333333
  1845. local Pos = Pos or Vector3.new(0, 0, 0)
  1846. local Text = Text or ""
  1847. local Time = Time or 2
  1848. local Color = Color or Color3.new(1, 0, 1)
  1849. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1850. EffectPart.Anchored = true
  1851. local BillboardGui = Create("BillboardGui")({
  1852. Size = UDim2.new(3, 0, 3, 0),
  1853. Adornee = EffectPart,
  1854. Parent = EffectPart
  1855. })
  1856. local TextLabel = Create("TextLabel")({
  1857. BackgroundTransparency = 1,
  1858. Size = UDim2.new(1, 0, 1, 0),
  1859. Text = Text,
  1860. TextColor3 = Color,
  1861. TextScaled = true,
  1862. Font = Enum.Font.ArialBold,
  1863. Parent = BillboardGui
  1864. })
  1865. game.Debris:AddItem(EffectPart, Time + 0.1)
  1866. EffectPart.Parent = game:GetService("Workspace")
  1867. delay(0, function()
  1868. local Frames = Time / Rate
  1869. for Frame = 1, Frames do
  1870. wait(Rate)
  1871. local Percent = Frame / Frames
  1872. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1873. TextLabel.TextTransparency = Percent
  1874. end
  1875. if EffectPart and EffectPart.Parent then
  1876. EffectPart:Destroy()
  1877. end
  1878. end)
  1879. end
  1880. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1881. for _, c in pairs(workspace:children()) do
  1882. local hum = c:findFirstChildOfClass("Humanoid")
  1883. if hum ~= nil then
  1884. local head = c:findFirstChild("Head")
  1885. if head ~= nil then
  1886. local targ = head.Position - Part.Position
  1887. local mag = targ.magnitude
  1888. if magni >= mag and c.Name ~= Player.Name then
  1889. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1890. end
  1891. end
  1892. end
  1893. end
  1894. end
  1895.  
  1896. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1897. for _, c in pairs(workspace:children()) do
  1898. local hum = c:findFirstChild("Humanoid")
  1899. if hum ~= nil then
  1900. local head = c:findFirstChild("Torso")
  1901. if head ~= nil then
  1902. local targ = head.Position - Part.Position
  1903. local mag = targ.magnitude
  1904. if magni >= mag and c.Name ~= Player.Name then
  1905. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1906. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1907. end
  1908. end
  1909. end
  1910. end
  1911. end
  1912.  
  1913. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1914. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1915. end
  1916.  
  1917. local origcolor = BrickColor.new("Pastel light blue")
  1918. ---- This section of explosions.
  1919.  
  1920. ----
  1921.  
  1922.  
  1923. function ring(type,pos,scale,value)
  1924. local type = type
  1925. local rng = Instance.new("Part", char)
  1926. rng.Anchored = true
  1927. rng.BrickColor = origcolor
  1928. rng.CanCollide = false
  1929. rng.FormFactor = 3
  1930. rng.Name = "Ring"
  1931. rng.Size = Vector3.new(1, 1, 1)
  1932. rng.Transparency = 0
  1933. rng.TopSurface = 0
  1934. rng.BottomSurface = 0
  1935. rng.CFrame = pos
  1936. local rngm = Instance.new("SpecialMesh", rng)
  1937. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1938. rngm.Scale = scale
  1939. local scaler2 = 1
  1940. if type == "Add" then
  1941. scaler2 = 1*value
  1942. elseif type == "Divide" then
  1943. scaler2 = 1/value
  1944. end
  1945. coroutine.resume(coroutine.create(function()
  1946. for i = 0,10,0.1 do
  1947. swait()
  1948. if type == "Add" then
  1949. scaler2 = scaler2 - 0.01*value
  1950. elseif type == "Divide" then
  1951. scaler2 = scaler2 - 0.01/value
  1952. end
  1953. rng.Transparency = rng.Transparency + 0.01
  1954. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1955. end
  1956. rng:Destroy()
  1957. end))
  1958. end
  1959.  
  1960.  
  1961. function wave(type,pos,scale,value)
  1962. local type = type
  1963. local rng = Instance.new("Part", char)
  1964. rng.Anchored = true
  1965. rng.BrickColor = origcolor
  1966. rng.CanCollide = false
  1967. rng.FormFactor = 3
  1968. rng.Name = "Ring"
  1969. rng.Size = Vector3.new(1, 1, 1)
  1970. rng.Transparency = 0
  1971. rng.TopSurface = 0
  1972. rng.BottomSurface = 0
  1973. rng.CFrame = pos
  1974. local rngm = Instance.new("SpecialMesh", rng)
  1975. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1976. rngm.Scale = scale
  1977. local scaler2 = 1
  1978. if type == "Add" then
  1979. scaler2 = 1*value
  1980. elseif type == "Divide" then
  1981. scaler2 = 1/value
  1982. end
  1983. coroutine.resume(coroutine.create(function()
  1984. for i = 0,10,0.1 do
  1985. swait()
  1986. if type == "Add" then
  1987. scaler2 = scaler2 - 0.01*value
  1988. elseif type == "Divide" then
  1989. scaler2 = scaler2 - 0.01/value
  1990. end
  1991. rng.Transparency = rng.Transparency + 0.01
  1992. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  1993. end
  1994. rng:Destroy()
  1995. end))
  1996. end
  1997.  
  1998. function sphere(bonuspeed,type,pos,scale,value,color)
  1999. local type = type
  2000. local rng = Instance.new("Part", char)
  2001. rng.Anchored = true
  2002. if ModeOfGlitch ~= 9 then
  2003. rng.BrickColor = color
  2004. elseif ModeOfGlitch == 9 then
  2005. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2006. end
  2007. rng.CanCollide = false
  2008. rng.FormFactor = 3
  2009. rng.Name = "Ring"
  2010. rng.Material = "Neon"
  2011. rng.Size = Vector3.new(1, 1, 1)
  2012. rng.Transparency = 0
  2013. rng.TopSurface = 0
  2014. rng.BottomSurface = 0
  2015. rng.CFrame = pos
  2016. local rngm = Instance.new("SpecialMesh", rng)
  2017. rngm.MeshType = "Sphere"
  2018. rngm.Scale = scale
  2019. if rainbowmode == true then
  2020. rng.Color = Color3.new(r/255,g/255,b/255)
  2021. end
  2022. if ModeOfGlitch == 9 then
  2023. coroutine.resume(coroutine.create(function()
  2024. while true do
  2025. swait()
  2026. if rng.Parent ~= nil then
  2027. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2028. else
  2029. break
  2030. end
  2031. end
  2032. end))
  2033. end
  2034. local scaler2 = 1
  2035. if type == "Add" then
  2036. scaler2 = 1*value
  2037. elseif type == "Divide" then
  2038. scaler2 = 1/value
  2039. end
  2040. coroutine.resume(coroutine.create(function()
  2041. for i = 0,10/bonuspeed,0.1 do
  2042. swait()
  2043. if rainbowmode == true then
  2044. rng.Color = Color3.new(r/255,g/255,b/255)
  2045. end
  2046. if type == "Add" then
  2047. scaler2 = scaler2 - 0.01*value/bonuspeed
  2048. elseif type == "Divide" then
  2049. scaler2 = scaler2 - 0.01/value*bonuspeed
  2050. end
  2051. if chaosmode == true then
  2052. rng.BrickColor = BrickColor.random()
  2053. end
  2054. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2055. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2056. end
  2057. rng:Destroy()
  2058. end))
  2059. end
  2060.  
  2061. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2062. local type = type
  2063. local rng = Instance.new("Part", char)
  2064. rng.Anchored = true
  2065. if ModeOfGlitch ~= 9 then
  2066. rng.BrickColor = color
  2067. elseif ModeOfGlitch == 9 then
  2068. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2069. end
  2070. rng.CanCollide = false
  2071. rng.FormFactor = 3
  2072. rng.Name = "Ring"
  2073. rng.Material = "Neon"
  2074. rng.Size = Vector3.new(1, 1, 1)
  2075. rng.Transparency = 0
  2076. rng.TopSurface = 0
  2077. rng.BottomSurface = 0
  2078. rng.CFrame = pos
  2079. local rngm = Instance.new("SpecialMesh", rng)
  2080. rngm.MeshType = "Sphere"
  2081. rngm.Scale = scale
  2082. local scaler2 = 1
  2083. local scaler2b = 1
  2084. local scaler2c = 1
  2085. if type == "Add" then
  2086. scaler2 = 1*value
  2087. scaler2b = 1*value2
  2088. scaler2c = 1*value3
  2089. elseif type == "Divide" then
  2090. scaler2 = 1/value
  2091. scaler2b = 1/value2
  2092. scaler2c = 1/value3
  2093. end
  2094. if ModeOfGlitch == 9 then
  2095. coroutine.resume(coroutine.create(function()
  2096. while true do
  2097. swait()
  2098. if rng.Parent ~= nil then
  2099. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2100. else
  2101. break
  2102. end
  2103. end
  2104. end))
  2105. end
  2106. coroutine.resume(coroutine.create(function()
  2107. for i = 0,10/bonuspeed,0.1 do
  2108. swait()
  2109. if type == "Add" then
  2110. scaler2 = scaler2 - 0.01*value/bonuspeed
  2111. scaler2b = scaler2b - 0.01*value/bonuspeed
  2112. scaler2c = scaler2c - 0.01*value/bonuspeed
  2113. elseif type == "Divide" then
  2114. scaler2 = scaler2 - 0.01/value*bonuspeed
  2115. scaler2b = scaler2b - 0.01/value*bonuspeed
  2116. scaler2c = scaler2c - 0.01/value*bonuspeed
  2117. end
  2118. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2119. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2120. end
  2121. rng:Destroy()
  2122. end))
  2123. end
  2124.  
  2125. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2126. local type = type
  2127. local rng = Instance.new("Part", char)
  2128. rng.Anchored = true
  2129. rng.BrickColor = color
  2130. rng.CanCollide = false
  2131. rng.FormFactor = 3
  2132. rng.Name = "Ring"
  2133. rng.Material = "Neon"
  2134. rng.Size = Vector3.new(1, 1, 1)
  2135. rng.Transparency = 0
  2136. rng.TopSurface = 0
  2137. rng.BottomSurface = 0
  2138. rng.CFrame = pos
  2139. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2140. local rngm = Instance.new("SpecialMesh", rng)
  2141. rngm.MeshType = "Brick"
  2142. rngm.Scale = vt(x1,y1,z1)
  2143. if rainbowmode == true then
  2144. rng.Color = Color3.new(r/255,g/255,b/255)
  2145. end
  2146. local scaler2 = 1
  2147. local speeder = FastSpeed/10
  2148. if type == "Add" then
  2149. scaler2 = 1*value
  2150. elseif type == "Divide" then
  2151. scaler2 = 1/value
  2152. end
  2153. coroutine.resume(coroutine.create(function()
  2154. for i = 0,10/bonuspeed,0.1 do
  2155. swait()
  2156. if rainbowmode == true then
  2157. rng.Color = Color3.new(r/255,g/255,b/255)
  2158. end
  2159. if type == "Add" then
  2160. scaler2 = scaler2 - 0.01*value/bonuspeed
  2161. elseif type == "Divide" then
  2162. scaler2 = scaler2 - 0.01/value*bonuspeed
  2163. end
  2164. if chaosmode == true then
  2165. rng.BrickColor = BrickColor.random()
  2166. end
  2167. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2168. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2169. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2170. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2171. end
  2172. rng:Destroy()
  2173. end))
  2174. end
  2175.  
  2176. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2177. local type = type
  2178. local rng = Instance.new("Part", char)
  2179. rng.Anchored = true
  2180. rng.BrickColor = color
  2181. rng.CanCollide = false
  2182. rng.FormFactor = 3
  2183. rng.Name = "Ring"
  2184. rng.Material = "Neon"
  2185. rng.Size = Vector3.new(1, 1, 1)
  2186. rng.Transparency = 0
  2187. rng.TopSurface = 0
  2188. rng.BottomSurface = 0
  2189. rng.CFrame = pos
  2190. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2191. local rngm = Instance.new("SpecialMesh", rng)
  2192. rngm.MeshType = "Brick"
  2193. rngm.Scale = vt(x1,y1,z1)
  2194. if rainbowmode == true then
  2195. rng.Color = Color3.new(r/255,g/255,b/255)
  2196. end
  2197. local scaler2 = 1
  2198. local speeder = FastSpeed/10
  2199. if type == "Add" then
  2200. scaler2 = 1*value
  2201. elseif type == "Divide" then
  2202. scaler2 = 1/value
  2203. end
  2204. coroutine.resume(coroutine.create(function()
  2205. for i = 0,10/bonuspeed,0.1 do
  2206. swait()
  2207. if rainbowmode == true then
  2208. rng.Color = Color3.new(r/255,g/255,b/255)
  2209. end
  2210. if type == "Add" then
  2211. scaler2 = scaler2 - 0.01*value/bonuspeed
  2212. elseif type == "Divide" then
  2213. scaler2 = scaler2 - 0.01/value*bonuspeed
  2214. end
  2215. if chaosmode == true then
  2216. rng.BrickColor = BrickColor.random()
  2217. end
  2218. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2219. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2220. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2221. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2222. end
  2223. rng:Destroy()
  2224. end))
  2225. end
  2226.  
  2227. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2228. local type = type
  2229. local rng = Instance.new("Part", char)
  2230. rng.Anchored = true
  2231. rng.BrickColor = color
  2232. rng.CanCollide = false
  2233. rng.FormFactor = 3
  2234. rng.Name = "Ring"
  2235. rng.Material = "Neon"
  2236. rng.Size = Vector3.new(1, 1, 1)
  2237. rng.Transparency = 0
  2238. rng.TopSurface = 0
  2239. rng.BottomSurface = 0
  2240. rng.CFrame = pos
  2241. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2242. local rngm = Instance.new("SpecialMesh", rng)
  2243. rngm.MeshType = "Brick"
  2244. rngm.Scale = vt(x1,y1,z1)
  2245. if rainbowmode == true then
  2246. rng.Color = Color3.new(r/255,g/255,b/255)
  2247. end
  2248. local scaler2 = 0
  2249. local speeder = FastSpeed/10
  2250. if type == "Add" then
  2251. scaler2 = 1*value
  2252. elseif type == "Divide" then
  2253. scaler2 = 1/value
  2254. end
  2255. coroutine.resume(coroutine.create(function()
  2256. for i = 0,10/bonuspeed,0.1 do
  2257. swait()
  2258. if rainbowmode == true then
  2259. rng.Color = Color3.new(r/255,g/255,b/255)
  2260. end
  2261. if type == "Add" then
  2262. scaler2 = scaler2 - 0.01*value/bonuspeed
  2263. elseif type == "Divide" then
  2264. scaler2 = scaler2 - 0.01/value*bonuspeed
  2265. end
  2266. if chaosmode == true then
  2267. rng.BrickColor = BrickColor.random()
  2268. end
  2269. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2270. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2271. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2272. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2273. end
  2274. rng:Destroy()
  2275. end))
  2276. end
  2277.  
  2278. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2279. local type = type
  2280. local rng = Instance.new("Part", char)
  2281. rng.Anchored = true
  2282. if ModeOfGlitch ~= 9 then
  2283. rng.BrickColor = color
  2284. elseif ModeOfGlitch == 9 then
  2285. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2286. end
  2287. rng.CanCollide = false
  2288. rng.FormFactor = 3
  2289. rng.Name = "Ring"
  2290. rng.Material = "Neon"
  2291. rng.Size = Vector3.new(1, 1, 1)
  2292. rng.Transparency = 0
  2293. rng.TopSurface = 0
  2294. rng.BottomSurface = 0
  2295. rng.CFrame = pos
  2296. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2297. local rngm = Instance.new("SpecialMesh", rng)
  2298. rngm.MeshType = "Sphere"
  2299. rngm.Scale = vt(x1,y1,z1)
  2300. if rainbowmode == true then
  2301. rng.Color = Color3.new(r/255,g/255,b/255)
  2302. end
  2303. if ModeOfGlitch == 9 then
  2304. coroutine.resume(coroutine.create(function()
  2305. while true do
  2306. swait()
  2307. if rng.Parent ~= nil then
  2308. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2309. else
  2310. break
  2311. end
  2312. end
  2313. end))
  2314. end
  2315. local scaler2 = 1
  2316. local speeder = FastSpeed
  2317. if type == "Add" then
  2318. scaler2 = 1*value
  2319. elseif type == "Divide" then
  2320. scaler2 = 1/value
  2321. end
  2322. coroutine.resume(coroutine.create(function()
  2323. for i = 0,10/bonuspeed,0.1 do
  2324. swait()
  2325. if rainbowmode == true then
  2326. rng.Color = Color3.new(r/255,g/255,b/255)
  2327. end
  2328. if type == "Add" then
  2329. scaler2 = scaler2 - 0.01*value/bonuspeed
  2330. elseif type == "Divide" then
  2331. scaler2 = scaler2 - 0.01/value*bonuspeed
  2332. end
  2333. if chaosmode == true then
  2334. rng.BrickColor = BrickColor.random()
  2335. end
  2336. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2337. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2338. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2339. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2340. end
  2341. rng:Destroy()
  2342. end))
  2343. end
  2344.  
  2345.  
  2346. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2347. local type = type
  2348. local rng = Instance.new("Part", char)
  2349. rng.Anchored = true
  2350. if ModeOfGlitch ~= 9 then
  2351. rng.BrickColor = color
  2352. elseif ModeOfGlitch == 9 then
  2353. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2354. end
  2355. rng.CanCollide = false
  2356. rng.FormFactor = 3
  2357. rng.Name = "Ring"
  2358. rng.Material = "Neon"
  2359. rng.Size = Vector3.new(1, 1, 1)
  2360. rng.Transparency = 1
  2361. rng.TopSurface = 0
  2362. rng.BottomSurface = 0
  2363. rng.CFrame = pos
  2364. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2365. local rngm = Instance.new("SpecialMesh", rng)
  2366. rngm.MeshType = "Sphere"
  2367. rngm.Scale = vt(x1,y1,z1)
  2368. if rainbowmode == true then
  2369. rng.Color = Color3.new(r/255,g/255,b/255)
  2370. end
  2371. if ModeOfGlitch == 9 then
  2372. coroutine.resume(coroutine.create(function()
  2373. while true do
  2374. swait()
  2375. if rng.Parent ~= nil then
  2376. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2377. else
  2378. break
  2379. end
  2380. end
  2381. end))
  2382. end
  2383. local scaler2 = 1
  2384. local speeder = FastSpeed
  2385. if type == "Add" then
  2386. scaler2 = 1*value
  2387. elseif type == "Divide" then
  2388. scaler2 = 1/value
  2389. end
  2390. coroutine.resume(coroutine.create(function()
  2391. for i = 0,10/bonuspeed,0.1 do
  2392. swait()
  2393. if rainbowmode == true then
  2394. rng.Color = Color3.new(r/255,g/255,b/255)
  2395. end
  2396. if type == "Add" then
  2397. scaler2 = scaler2 - 0.01*value/bonuspeed
  2398. elseif type == "Divide" then
  2399. scaler2 = scaler2 - 0.01/value*bonuspeed
  2400. end
  2401. if chaosmode == true then
  2402. rng.BrickColor = BrickColor.random()
  2403. end
  2404. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2405. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2406. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2407. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2408. end
  2409. rng:Destroy()
  2410. end))
  2411. end
  2412.  
  2413. function dmg(dude)
  2414. if dude.Name ~= Character then
  2415. local bgf = Instance.new("BodyGyro",dude.Head)
  2416. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2417. local val = Instance.new("BoolValue",dude)
  2418. val.Name = "IsHit"
  2419. local ds = coroutine.wrap(function()
  2420. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  2421. for i = 1, 10 do
  2422. sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true)
  2423. end
  2424. dude:WaitForChild("Head"):BreakJoints()
  2425. wait(0.5)
  2426. targetted = nil
  2427. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  2428.  
  2429. coroutine.resume(coroutine.create(function()
  2430. for i, v in pairs(dude:GetChildren()) do
  2431. if v:IsA("Accessory") then
  2432. v:Destroy()
  2433. end
  2434. if v:IsA("Humanoid") then
  2435. v:Destroy()
  2436. end
  2437. if v:IsA("CharacterMesh") then
  2438. v:Destroy()
  2439. end
  2440. if v:IsA("Model") then
  2441. v:Destroy()
  2442. end
  2443. if v:IsA("Part") or v:IsA("MeshPart") then
  2444. for x, o in pairs(v:GetChildren()) do
  2445. if o:IsA("Decal") then
  2446. o:Destroy()
  2447. end
  2448. end
  2449. coroutine.resume(coroutine.create(function()
  2450. v.Material = "Neon"
  2451. v.CanCollide = false
  2452. local bld = Instance.new("ParticleEmitter",v)
  2453. bld.LightEmission = 1
  2454. bld.Texture = "rbxassetid://284205403"
  2455. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  2456. bld.Rate = 50
  2457. bld.Lifetime = NumberRange.new(1)
  2458. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  2459. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2460. bld.Speed = NumberRange.new(0,0)
  2461. bld.VelocitySpread = 50000
  2462. bld.Rotation = NumberRange.new(-500,500)
  2463. bld.RotSpeed = NumberRange.new(-500,500)
  2464. local sbs = Instance.new("BodyPosition", v)
  2465. sbs.P = 3000
  2466. sbs.D = 1000
  2467. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2468. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2469. v.Color = Color3.new(1,1,1)
  2470. coroutine.resume(coroutine.create(function()
  2471. for i = 0, 49 do
  2472. swait(1)
  2473. v.Transparency = v.Transparency + 0.02
  2474. end
  2475. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  2476. bld.Speed = NumberRange.new(1,5)
  2477. bld.Acceleration = vt(0,10,0)
  2478. wait(0.5)
  2479. bld.Enabled = false
  2480. wait(3)
  2481. v:Destroy()
  2482. dude:Destroy()
  2483. end))
  2484. end))
  2485. end
  2486. end
  2487. end))
  2488. end)
  2489. ds()
  2490. end
  2491. end
  2492.  
  2493.  
  2494. function FindNearestHead(Position, Distance, SinglePlayer)
  2495. if SinglePlayer then
  2496. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2497. end
  2498. local List = {}
  2499. for i, v in pairs(workspace:GetChildren()) do
  2500. if v:IsA("Model") then
  2501. if v:findFirstChild("Head") then
  2502. if v ~= Character then
  2503. if (v.Head.Position - Position).magnitude <= Distance then
  2504. table.insert(List, v)
  2505. end
  2506. end
  2507. end
  2508. end
  2509. end
  2510. return List
  2511. end
  2512.  
  2513. function FaceMouse()
  2514. Cam = workspace.CurrentCamera
  2515. return {
  2516. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2517. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2518. }
  2519. end
  2520.  
  2521. function FaceMouse2()
  2522. Cam = workspace.CurrentCamera
  2523. return {
  2524. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2525. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2526. }
  2527. end
  2528.  
  2529. -- Functions are ready.
  2530. local storehumanoidWS = 16
  2531.  
  2532. function resetmode()
  2533. ModeOfGlitch = 1
  2534. storehumanoidWS = 16
  2535. hum.WalkSpeed = 16
  2536. rainbowmode = false
  2537. chaosmode = false
  2538. RecolorTextAndRename("Galaxy's Purity.",Color3.new(0,0.5,1),Color3.new(0,0.3,1),"Arcade")
  2539. newTheme("rbxassetid://621367124",0,1.1,1.25)
  2540. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  2541. for i, v in pairs(mw2:GetChildren()) do
  2542. if v:IsA("Part") then
  2543. v.BrickColor = MAINRUINCOLOR
  2544. v.Material = "Neon"
  2545. end
  2546. end
  2547. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2548. refec2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2549. refec3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2550. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2551. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2552. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2553. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2554. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2555. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2556. for i, v in pairs(mw1:GetChildren()) do
  2557. if v:IsA("Part") then
  2558. v.Transparency = 0
  2559. v.BrickColor = BrickColor.new("Navy blue")
  2560. v.Material = "Neon"
  2561. end
  2562. end
  2563. for i, v in pairs(m:GetChildren()) do
  2564. if v:IsA("Part") then
  2565. v.BrickColor = BrickColor.new("Toothpaste")
  2566. v.Material = "Ice"
  2567. end
  2568. end
  2569. for i, v in pairs(m2:GetChildren()) do
  2570. if v:IsA("Part") then
  2571. v.BrickColor = BrickColor.new("Toothpaste")
  2572. v.Material = "Ice"
  2573. end
  2574. end
  2575. for i, v in pairs(m3:GetChildren()) do
  2576. if v:IsA("Part") then
  2577. v.BrickColor = BrickColor.new("Navy blue")
  2578. v.Material = "Neon"
  2579. end
  2580. end
  2581. for i, v in pairs(extrawingmod1:GetChildren()) do
  2582. if v:IsA("Part") then
  2583. v.Transparency = 0.1
  2584. v.BrickColor = BrickColor.new("Navy blue")
  2585. v.Material = "Neon"
  2586. end
  2587. end
  2588. for i, v in pairs(extrawingmod2:GetChildren()) do
  2589. if v:IsA("Part") then
  2590. v.Transparency = 0.1
  2591. v.BrickColor = MAINRUINCOLOR
  2592. v.Material = "Neon"
  2593. end
  2594. end
  2595. end
  2596.  
  2597. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
  2598. for i, v in pairs(mw2:GetChildren()) do
  2599. if v:IsA("Part") then
  2600. v.BrickColor = one
  2601. v.Material = "Neon"
  2602. end
  2603. end
  2604. refec.Color = ColorSequence.new(one.Color)
  2605. refec2.Color = ColorSequence.new(one.Color)
  2606. refec3.Color = ColorSequence.new(one.Color)
  2607. tr1.Color = ColorSequence.new(one.Color)
  2608. tr2.Color = ColorSequence.new(one.Color)
  2609. tr3.Color = ColorSequence.new(one.Color)
  2610. for i, v in pairs(mw1:GetChildren()) do
  2611. if v:IsA("Part") then
  2612. v.Transparency = 0
  2613. v.BrickColor = two
  2614. v.Material = "Neon"
  2615. end
  2616. end
  2617. tl1.Color = ColorSequence.new(two.Color)
  2618. tl2.Color = ColorSequence.new(two.Color)
  2619. tl3.Color = ColorSequence.new(two.Color)
  2620. for i, v in pairs(m:GetChildren()) do
  2621. if v:IsA("Part") then
  2622. v.BrickColor = three
  2623. v.Material = "Ice"
  2624. end
  2625. end
  2626. for i, v in pairs(m2:GetChildren()) do
  2627. if v:IsA("Part") then
  2628. v.BrickColor = four
  2629. v.Material = "Ice"
  2630. end
  2631. end
  2632. for i, v in pairs(m3:GetChildren()) do
  2633. if v:IsA("Part") then
  2634. v.BrickColor = five
  2635. v.Material = "Neon"
  2636. end
  2637. end
  2638. for i, v in pairs(extrawingmod1:GetChildren()) do
  2639. if v:IsA("Part") then
  2640. v.Transparency = exonetran
  2641. v.BrickColor = exone
  2642. v.Material = "Neon"
  2643. end
  2644. end
  2645. for i, v in pairs(extrawingmod2:GetChildren()) do
  2646. if v:IsA("Part") then
  2647. v.Transparency = extwotran
  2648. v.BrickColor = extwo
  2649. v.Material = "Neon"
  2650. end
  2651. end
  2652. end
  2653.  
  2654. function attackone()
  2655. attack = true
  2656. local keptcolor = MAINRUINCOLOR
  2657. for i = 0,1,0.1 do
  2658. swait()
  2659. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  2660. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  2661. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  2662. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2663. 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(-15),math.rad(0),math.rad(0)),.3)
  2664. 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(2.5),math.rad(0),math.rad(0)),.3)
  2665. end
  2666. local distlook = 5
  2667. coroutine.resume(coroutine.create(function()
  2668. for i = 0, 4 do
  2669. swait(2)
  2670. CameraEnshaking(2,3)
  2671. local hite = Instance.new("Part", char)
  2672. hite.Anchored = true
  2673. hite.CanCollide = false
  2674. hite.FormFactor = 3
  2675. hite.Name = "Ring"
  2676. hite.Material = "Neon"
  2677. hite.Size = Vector3.new(1, 1, 1)
  2678. hite.Transparency = 1
  2679. hite.TopSurface = 0
  2680. hite.BottomSurface = 0
  2681. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  2682. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  2683. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  2684. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  2685. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  2686. MagniDamage(hite, 9, 10,25, 0, "Normal")
  2687. for i = 0, 14 do
  2688. local rsiz = math.random(5,20)
  2689. sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2690. end
  2691. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  2692. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  2693. game:GetService("Debris"):AddItem(hite, 5)
  2694. distlook = distlook + 10
  2695. end
  2696. end))
  2697. for i = 0,1,0.1 do
  2698. swait()
  2699. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  2700. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  2701. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  2702. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  2703. 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(-0.5),math.rad(0),math.rad(-10)),.5)
  2704. 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(-2.5),math.rad(0),math.rad(-10)),.5)
  2705. end
  2706. attack = false
  2707. end
  2708.  
  2709. function attacktwo()
  2710. attack = true
  2711. for i = 0,1,0.1 do
  2712. swait()
  2713. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  2714. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2715. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  2716. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  2717. 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(-1.5),math.rad(0),math.rad(10)),.3)
  2718. 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(-2.5),math.rad(0),math.rad(-10)),.3)
  2719. end
  2720. CameraEnshaking(3,4)
  2721. MagniDamage(root, 12, 15,30, 0, "Normal")
  2722. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2723. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2724. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2725. coroutine.resume(coroutine.create(function()
  2726. local eff = Instance.new("ParticleEmitter",root)
  2727. eff.Texture = "rbxassetid://363275192"
  2728. eff.LightEmission = 0.95
  2729. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2730. eff.Rate = 10000
  2731. eff.Lifetime = NumberRange.new(1)
  2732. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2733. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2734. eff.Speed = NumberRange.new(10,125)
  2735. eff.Drag = 5
  2736. eff.Rotation = NumberRange.new(-500,500)
  2737. eff.VelocitySpread = 9000
  2738. eff.RotSpeed = NumberRange.new(-50,50)
  2739. local eff2 = eff:Clone()
  2740. eff2.Parent = root
  2741. eff2.Texture = "rbxassetid://284205403"
  2742. eff2.Rate = 10000
  2743. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2744. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2745. eff2.Drag = 5
  2746. eff2.Speed = NumberRange.new(10,50)
  2747. eff2.Rotation = NumberRange.new(-500,500)
  2748. eff2.VelocitySpread = 9000
  2749. wait(0.25)
  2750. eff2.Enabled = false
  2751. eff.Enabled = false
  2752. wait(3)
  2753. eff2:Destroy()
  2754. eff:Destroy()
  2755. end))
  2756. for i = 0, 9 do
  2757. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR)
  2758. end
  2759. for i = 0, 24 do
  2760. local rsiz = math.random(5,20)
  2761. sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
  2762. end
  2763. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  2764. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  2765. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  2766. for i = 0,2,0.1 do
  2767. swait()
  2768. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  2769. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2770. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  2771. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  2772. 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(-1.5),math.rad(0),math.rad(-10)),.3)
  2773. 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(-2.5),math.rad(0),math.rad(10)),.3)
  2774. end
  2775. attack = false
  2776. end
  2777.  
  2778. function attackthree()
  2779. attack = true
  2780. local keptcolor = MAINRUINCOLOR
  2781. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
  2782. for i = 0,1,0.1 do
  2783. swait()
  2784. sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
  2785. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
  2786. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
  2787. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5)
  2788. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5)
  2789. 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(-1.5),math.rad(0),math.rad(0)),.5)
  2790. 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(-2.5),math.rad(0),math.rad(0)),.5)
  2791. end
  2792. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
  2793. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
  2794. local angle = -25
  2795. coroutine.resume(coroutine.create(function()
  2796. for i = 0, 2 do
  2797. local orb = Instance.new("Part", char)
  2798. orb.BrickColor = MAINRUINCOLOR
  2799. orb.CanCollide = false
  2800. orb.FormFactor = 3
  2801. orb.Name = "Ring"
  2802. orb.Material = "Neon"
  2803. orb.Size = Vector3.new(1, 1, 1)
  2804. orb.Transparency = 0.5
  2805. orb.TopSurface = 0
  2806. orb.BottomSurface = 0
  2807. local orbm = Instance.new("SpecialMesh", orb)
  2808. orbm.MeshType = "Sphere"
  2809. orbm.Name = "SizeMesh"
  2810. orbm.Scale = vt(3,3,3)
  2811. orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
  2812. local bv = Instance.new("BodyVelocity")
  2813. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2814. bv.velocity = orb.CFrame.lookVector*100
  2815. bv.Parent = orb
  2816. game:GetService("Debris"):AddItem(orb, 10)
  2817. sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  2818. sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  2819. coroutine.resume(coroutine.create(function()
  2820. MagniDamage(orb, 6, 8,15, 0, "Normal")
  2821. for i = 0, 7 do
  2822. swait(2.5)
  2823. CameraEnshaking(1,2)
  2824. MagniDamage(orb, 6, 8,15, 0, "Normal")
  2825. CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
  2826. for i = 0, 4 do
  2827. local rsiz = math.random(5,10)
  2828. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor)
  2829. sphereMK(math.random(2,6),0.15,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2830. end
  2831. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  2832. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  2833. end
  2834. orb.Transparency = 1
  2835. orb.Anchored = false
  2836. wait(10)
  2837. orb:Destroy()
  2838. end))
  2839. angle = angle + 25
  2840. end
  2841. end))
  2842. for i = 0,1,0.1 do
  2843. swait()
  2844. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  2845. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2846. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
  2847. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2848. 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(-1.5),math.rad(0),math.rad(-10)),.3)
  2849. 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(-2.5),math.rad(0),math.rad(10)),.3)
  2850. end
  2851. attack = false
  2852. end
  2853.  
  2854. ------------------------------------- Abilities ---------------------------------------------------------
  2855. function Fireball()
  2856. attack = true
  2857. hum.WalkSpeed = 0
  2858. local keptcolor = MAINRUINCOLOR
  2859. for i = 0,2,0.1 do
  2860. swait()
  2861. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  2862. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  2863. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  2864. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  2865. 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(-1.5),math.rad(0),math.rad(0)),.3)
  2866. 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(-1),math.rad(0),math.rad(0)),.3)
  2867. end
  2868. local orb = Instance.new("Part", char)
  2869. orb.BrickColor = keptcolor
  2870. orb.CanCollide = false
  2871. orb.FormFactor = 3
  2872. orb.Name = "Ring"
  2873. orb.Material = "Neon"
  2874. orb.Size = Vector3.new(1, 1, 1)
  2875. orb.Transparency = 0
  2876. orb.TopSurface = 0
  2877. orb.BottomSurface = 0
  2878. local orbm = Instance.new("SpecialMesh", orb)
  2879. orbm.MeshType = "Sphere"
  2880. orbm.Name = "SizeMesh"
  2881. orbm.Scale = vt(4,4,4)
  2882. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  2883. local eff = Instance.new("ParticleEmitter",orb)
  2884. eff.Texture = "rbxassetid://296874871"
  2885. eff.LightEmission = 0.95
  2886. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  2887. eff.Rate = 10000
  2888. eff.Lifetime = NumberRange.new(1.5)
  2889. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2890. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2891. eff.Speed = NumberRange.new(25)
  2892. eff.Drag = 5
  2893. eff.Rotation = NumberRange.new(-500,500)
  2894. eff.VelocitySpread = 9000
  2895. eff.RotSpeed = NumberRange.new(-500,500)
  2896. local a = Instance.new("Part",workspace)
  2897. a.Name = "Direction"
  2898. a.Anchored = true
  2899. a.BrickColor = bc("Bright red")
  2900. a.Material = "Neon"
  2901. a.Transparency = 1
  2902. a.CanCollide = false
  2903. local ray = Ray.new(
  2904. orb.CFrame.p, -- origin
  2905. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  2906. )
  2907. local ignore = orb
  2908. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2909. a.BottomSurface = 10
  2910. a.TopSurface = 10
  2911. local distance = (orb.CFrame.p - position).magnitude
  2912. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2913. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2914. orb.CFrame = a.CFrame
  2915. a:Destroy()
  2916. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  2917. local bv = Instance.new("BodyVelocity")
  2918. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2919. bv.velocity = orb.CFrame.lookVector*75
  2920. bv.Parent = orb
  2921. game:GetService("Debris"):AddItem(orb, 10)
  2922. local hitted = false
  2923. coroutine.resume(coroutine.create(function()
  2924. while true do
  2925. swait()
  2926. if orb.Parent ~= nil and hitted == false then
  2927. sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
  2928. elseif orb.Parent == nil and hitted == true then
  2929. break
  2930. end
  2931. end
  2932. end))
  2933. local hit =orb.Touched:connect(function(hit)
  2934. if hitted == false and hit.Parent ~= char then
  2935. hitted = true
  2936. eff.Enabled = false
  2937. CameraEnshaking(4,4)
  2938. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  2939. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  2940. MagniDamage(orb, 25, 20,30, 0, "Normal")
  2941. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2942. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2943. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2944. for i = 0, 9 do
  2945. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  2946. end
  2947. for i = 0, 49 do
  2948. local rsiz = math.random(10,30)
  2949. sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2950. end
  2951. local eff = Instance.new("ParticleEmitter",orb)
  2952. eff.Texture = "rbxassetid://296874871"
  2953. eff.LightEmission = 0.95
  2954. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  2955. eff.Rate = 10000
  2956. eff.Lifetime = NumberRange.new(1.5)
  2957. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2958. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2959. eff.Speed = NumberRange.new(150)
  2960. eff.Drag = 5
  2961. eff.Rotation = NumberRange.new(-500,500)
  2962. eff.VelocitySpread = 9000
  2963. eff.RotSpeed = NumberRange.new(-500,500)
  2964. coroutine.resume(coroutine.create(function()
  2965. wait(0.25)
  2966. eff.Enabled = false
  2967. end))
  2968. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  2969. orb.Anchored = true
  2970. orb.Transparency = 1
  2971. coroutine.resume(coroutine.create(function()
  2972. if hfr ~= nil then
  2973. orb.Size = vt(50,1,50)
  2974. orb.Orientation = vt(0,0,0)
  2975. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  2976. orbm:Destroy()
  2977. local firef = eff:Clone()
  2978. firef.Parent = orb
  2979. firef.VelocitySpread = 50
  2980. firef.Rate = 500
  2981. firef.Drag = 3
  2982. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2983. firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2984. firef.Speed = NumberRange.new(10,30)
  2985. for i = 0, 24 do
  2986. wait(0.25)
  2987. MagniDamage(orb, 25, 3,6, 0, "Normal")
  2988. end
  2989. firef.Enabled = false
  2990. end
  2991. end))
  2992. wait(10)
  2993. orb:Destroy()
  2994. end
  2995. end)
  2996. for i = 0,1,0.1 do
  2997. swait()
  2998. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
  2999. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  3000. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  3001. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  3002. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  3003. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3004. end
  3005. hum.WalkSpeed = storehumanoidWS
  3006. attack = false
  3007. end
  3008.  
  3009. function BeamOfDeath()
  3010. attack = true
  3011. chatfunc("DETERMINED STRIKE!",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3012. hum.WalkSpeed = 0
  3013. local keptcolor = MAINRUINCOLOR
  3014. local orb = Instance.new("Part", char)
  3015. orb.BrickColor = keptcolor
  3016. orb.CanCollide = false
  3017. orb.FormFactor = 3
  3018. orb.Name = "Ring"
  3019. orb.Material = "Neon"
  3020. orb.Size = Vector3.new(1, 1, 1)
  3021. orb.Transparency = 1
  3022. orb.TopSurface = 0
  3023. orb.BottomSurface = 0
  3024. local orbm = Instance.new("SpecialMesh", orb)
  3025. orbm.MeshType = "Sphere"
  3026. orbm.Name = "SizeMesh"
  3027. orbm.Scale = vt(22.5,10000,22.5)
  3028. orb.CFrame = mouse.Hit
  3029. orb.Anchored = true
  3030. orb.Orientation = vt(0,0,0)
  3031. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  3032. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
  3033. coroutine.resume(coroutine.create(function()
  3034. coroutine.resume(coroutine.create(function()
  3035. for i = 0, 399 do
  3036. swait()
  3037. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  3038. orb.Transparency = orb.Transparency - 0.0025
  3039. end
  3040. end))
  3041. wait(9)
  3042. coroutine.resume(coroutine.create(function()
  3043. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  3044. if hfr ~= nil then
  3045. for i = 0, 49 do
  3046. local deb = Instance.new("Part", char)
  3047. deb.Anchored = true
  3048. deb.CanCollide = false
  3049. deb.FormFactor = 3
  3050. deb.Name = "Ring"
  3051. deb.Material = hitfloor.Material
  3052. deb.Color = hitfloor.Color
  3053. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  3054. deb.Transparency = 0
  3055. deb.TopSurface = 0
  3056. deb.BottomSurface = 0
  3057. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3058. local deb2 = Instance.new("Part", char)
  3059. deb2.CanCollide = false
  3060. deb2.FormFactor = 3
  3061. deb2.Name = "Ring"
  3062. deb2.Material = hitfloor.Material
  3063. deb2.Color = hitfloor.Color
  3064. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  3065. deb2.Transparency = 0
  3066. deb2.TopSurface = 0
  3067. deb2.BottomSurface = 0
  3068. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  3069. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3070. local eff = Instance.new("ParticleEmitter",deb)
  3071. eff.Texture = "rbxassetid://363275192"
  3072. eff.LightEmission = 0.95
  3073. eff.Color = ColorSequence.new(keptcolor.Color)
  3074. eff.Rate = 100
  3075. eff.Lifetime = NumberRange.new(1)
  3076. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  3077. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3078. eff.Speed = NumberRange.new(0,5)
  3079. eff.Rotation = NumberRange.new(-500,500)
  3080. eff.VelocitySpread = 9000
  3081. eff.RotSpeed = NumberRange.new(-10,10)
  3082. local at1 = Instance.new('Attachment',deb2)
  3083. at1.Position = vt(0,15,0)
  3084. local at2 = Instance.new('Attachment',deb2)
  3085. at2.Position = vt(0,-15,0)
  3086. local tl = Instance.new('Trail',deb2)
  3087. tl.Attachment0 = at1
  3088. tl.Attachment1 = at2
  3089. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3090. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  3091. tl.Lifetime = 1
  3092. game:GetService("Debris"):AddItem(deb,30)
  3093. game:GetService("Debris"):AddItem(deb2,30)
  3094. coroutine.resume(coroutine.create(function()
  3095. wait(15)
  3096. eff.Enabled = false
  3097. for i = 0, 49 do
  3098. swait()
  3099. deb.Transparency = deb.Transparency + 0.02
  3100. end
  3101. wait(1)
  3102. deb:Destroy()
  3103. end))
  3104. end
  3105. end
  3106. end))
  3107. for i = 0, 199 do
  3108. swait(1.5)
  3109. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  3110. if v:FindFirstChild('Head') then
  3111. dmg(v)
  3112. end
  3113. end
  3114. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  3115. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  3116. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  3117. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  3118. end
  3119. orb:Destroy()
  3120. end))
  3121. hum.WalkSpeed = storehumanoidWS
  3122. attack = false
  3123. end
  3124.  
  3125.  
  3126. function Beams()
  3127. attack = true
  3128. hum.WalkSpeed = 0
  3129. local keptcolor = MAINRUINCOLOR
  3130. coroutine.resume(coroutine.create(function()
  3131. for i = 0, 24 do
  3132. swait(5)
  3133. local orb = Instance.new("Part", char)
  3134. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  3135. orb.BrickColor = keptcolor
  3136. orb.CanCollide = false
  3137. orb.FormFactor = 3
  3138. orb.Name = "Ring"
  3139. orb.Material = "Neon"
  3140. orb.Size = Vector3.new(1, 1, 1)
  3141. orb.Transparency = 0
  3142. orb.TopSurface = 0
  3143. orb.BottomSurface = 0
  3144. orb.Anchored = true
  3145. local orbm = Instance.new("SpecialMesh", orb)
  3146. orbm.MeshType = "Sphere"
  3147. orbm.Name = "SizeMesh"
  3148. orbm.Scale = vt(1.25,1.25,1.25)
  3149. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  3150. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3151. coroutine.resume(coroutine.create(function()
  3152. wait(0.5)
  3153. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  3154. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3155. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3156. orb.Transparency = 1
  3157. local a = Instance.new("Part",char)
  3158. a.Name = "Direction"
  3159. a.Anchored = true
  3160. a.BrickColor = keptcolor
  3161. a.Material = "Neon"
  3162. a.Transparency = 0.25
  3163. a.Shape = "Cylinder"
  3164. local ht = Instance.new("Part",char)
  3165. ht.Name = "DirectionHit"
  3166. ht.Anchored = true
  3167. ht.BrickColor = keptcolor
  3168. ht.CanCollide = false
  3169. ht.Transparency = 1
  3170. ht.Size = vt(0.1,0.1,0.1)
  3171. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
  3172. a.CanCollide = false
  3173. local ray = Ray.new(
  3174. orb.CFrame.p, -- origin
  3175. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3176. )
  3177. local ignore = char
  3178. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3179. a.BottomSurface = 10
  3180. a.TopSurface = 10
  3181. local distance = (orb.CFrame.p - position).magnitude
  3182. a.Size = Vector3.new(distance,1,1)
  3183. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3184. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3185. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  3186. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  3187. MagniDamage(ht, 9, 10,15, 0, "Normal")
  3188. coroutine.resume(coroutine.create(function()
  3189. local eff = Instance.new("ParticleEmitter",ht)
  3190. eff.Texture = "rbxassetid://284205403"
  3191. eff.LightEmission = 0.95
  3192. eff.Color = ColorSequence.new(keptcolor.Color)
  3193. eff.Rate = 500
  3194. eff.Lifetime = NumberRange.new(0.5)
  3195. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3196. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3197. eff.Speed = NumberRange.new(10,50)
  3198. eff.Drag = 5
  3199. eff.Rotation = NumberRange.new(-500,500)
  3200. eff.VelocitySpread = 9000
  3201. eff.RotSpeed = NumberRange.new(-500,500)
  3202. wait(0.25)
  3203. eff.Enabled = false
  3204. end))
  3205. for i = 0, 4 do
  3206. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
  3207. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
  3208. local rsiz = math.random(10,30)
  3209. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3210. end
  3211. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3212. local msh = Instance.new("SpecialMesh",a)
  3213. msh.MeshType = "Cylinder"
  3214. msh.Scale = vt(1,1,1)
  3215. for i = 0, 49 do
  3216. swait()
  3217. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  3218. a.Transparency = a.Transparency + 0.02
  3219. end
  3220. orb:Destroy()
  3221. a:Destroy()
  3222. ht:Destroy()
  3223. end))
  3224. game:GetService("Debris"):AddItem(orb, 10)
  3225. end
  3226. end))
  3227. for i = 0,12,0.1 do
  3228. swait()
  3229. sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
  3230. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  3231. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  3232. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  3233. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  3234. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3)
  3235. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
  3236. end
  3237. hum.WalkSpeed = storehumanoidWS
  3238. attack = false
  3239. end
  3240.  
  3241. function smiter()
  3242. local targetted = nil
  3243. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3244. targetted = mouse.Target.Parent
  3245. end
  3246. if targetted ~= nil then
  3247. RootPart.CFrame = FaceMouse()[1]
  3248. attack = true
  3249. hum.WalkSpeed = 0
  3250. coroutine.resume(coroutine.create(function()
  3251. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  3252. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  3253. local vel = Instance.new("BodyPosition", targetted.Head)
  3254. vel.P = 12500
  3255. vel.D = 1000
  3256. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3257. vel.position = targetted.Head.CFrame.p
  3258. end))
  3259. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  3260. for i = 0,4,0.1 do
  3261. swait()
  3262. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR)
  3263. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3264. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3265. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3266. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3267. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2)
  3268. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2)
  3269. end
  3270. coroutine.resume(coroutine.create(function()
  3271. CameraEnshaking(6,5)
  3272. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  3273. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  3274. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  3275. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  3276. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3277. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3278. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3279. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3280. coroutine.resume(coroutine.create(function()
  3281. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3282. eff.Texture = "rbxassetid://363275192"
  3283. eff.LightEmission = 0.95
  3284. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3285. eff.Rate = 10000
  3286. eff.Lifetime = NumberRange.new(1.5)
  3287. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3288. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3289. eff.Speed = NumberRange.new(25,150)
  3290. eff.Drag = 5
  3291. eff.Rotation = NumberRange.new(-500,500)
  3292. eff.VelocitySpread = 9000
  3293. eff.RotSpeed = NumberRange.new(-50,50)
  3294. local eff2 = eff:Clone()
  3295. eff2.Parent = targetted.Head
  3296. eff2.Texture = "rbxassetid://284205403"
  3297. eff2.Rate = 10000
  3298. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3299. eff2.Drag = 5
  3300. eff2.Rotation = NumberRange.new(-500,500)
  3301. eff2.VelocitySpread = 9000
  3302. wait(0.5)
  3303. eff2.Enabled = false
  3304. eff.Enabled = false
  3305. end))
  3306. for i = 0, 9 do
  3307. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  3308. end
  3309. for i = 0, 49 do
  3310. local rsiz = math.random(10,50)
  3311. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3312. end
  3313. game:GetService("Debris"):AddItem(vel,1)
  3314. dmg(targetted)
  3315. end))
  3316. for i = 0,1,0.1 do
  3317. swait()
  3318. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  3319. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  3320. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  3321. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  3322. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  3323. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5)
  3324. end
  3325. attack = false
  3326. hum.WalkSpeed = storehumanoidWS
  3327. end
  3328. end
  3329.  
  3330. function supsmiter()
  3331. local targetted = nil
  3332. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3333. targetted = mouse.Target.Parent
  3334. end
  3335. if targetted ~= nil then
  3336. RootPart.CFrame = FaceMouse()[1]
  3337. attack = true
  3338. hum.WalkSpeed = 0
  3339. coroutine.resume(coroutine.create(function()
  3340. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  3341. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  3342. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.2,0.2,0.2,MAINRUINCOLOR)
  3343. local vel = Instance.new("BodyPosition", targetted.Head)
  3344. vel.P = 12500
  3345. vel.D = 1000
  3346. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3347. vel.position = targetted.Head.CFrame.p
  3348. end))
  3349. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
  3350. for i = 0,14,0.1 do
  3351. swait()
  3352. rsiz = math.random(5,15)
  3353. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)
  3354. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,MAINRUINCOLOR)
  3355. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3356. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3357. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3358. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3359. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3360. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3361. end
  3362. coroutine.resume(coroutine.create(function()
  3363. CameraEnshaking(6,5)
  3364. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  3365. MagniDamage(targetted.Head, 9, 18000,30000, 0, "Normal")
  3366. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 5.5, 0.8)
  3367. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5.25, 0.8)
  3368. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 4, 0.8)
  3369. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3370. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3371. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3372. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3373. coroutine.resume(coroutine.create(function()
  3374. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3375. eff.Texture = "rbxassetid://363275192"
  3376. eff.LightEmission = 0.95
  3377. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3378. eff.Rate = 10000
  3379. eff.Lifetime = NumberRange.new(1.5)
  3380. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3381. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3382. eff.Speed = NumberRange.new(25,150)
  3383. eff.Drag = 5
  3384. eff.Rotation = NumberRange.new(-500,500)
  3385. eff.VelocitySpread = 9000
  3386. eff.RotSpeed = NumberRange.new(-50,50)
  3387. local eff2 = eff:Clone()
  3388. eff2.Parent = targetted.Head
  3389. eff2.Texture = "rbxassetid://284205403"
  3390. eff2.Rate = 10000
  3391. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3392. eff2.Drag = 5
  3393. eff2.Rotation = NumberRange.new(-500,500)
  3394. eff2.VelocitySpread = 9000
  3395. wait(0.5)
  3396. eff2.Enabled = false
  3397. eff.Enabled = false
  3398. end))
  3399. for i = 0, 9 do
  3400. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  3401. end
  3402. for i = 0, 49 do
  3403. local rsiz = math.random(10,50)
  3404. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3405. end
  3406. wait(0.75)
  3407. CameraEnshaking(6,6)
  3408. MagniDamage(targetted.Head, 20, 25,40, 0, "Normal")
  3409. MagniDamage(targetted.Head, 12, 18000,30000, 0, "Normal")
  3410. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.7)
  3411. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.7)
  3412. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.7)
  3413. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  3414. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  3415. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  3416. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  3417. coroutine.resume(coroutine.create(function()
  3418. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3419. eff.Texture = "rbxassetid://363275192"
  3420. eff.LightEmission = 0.95
  3421. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3422. eff.Rate = 10000
  3423. eff.Lifetime = NumberRange.new(1.5)
  3424. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,35,0),NumberSequenceKeypoint.new(1,0,0)})
  3425. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3426. eff.Speed = NumberRange.new(25,250)
  3427. eff.Drag = 5
  3428. eff.Rotation = NumberRange.new(-500,500)
  3429. eff.VelocitySpread = 9000
  3430. eff.RotSpeed = NumberRange.new(-50,50)
  3431. local eff2 = eff:Clone()
  3432. eff2.Parent = targetted.Head
  3433. eff2.Texture = "rbxassetid://284205403"
  3434. eff2.Rate = 10000
  3435. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3436. eff2.Drag = 5
  3437. eff2.Rotation = NumberRange.new(-500,500)
  3438. eff2.VelocitySpread = 9000
  3439. wait(0.5)
  3440. eff2.Enabled = false
  3441. eff.Enabled = false
  3442. end))
  3443. for i = 0, 9 do
  3444. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,4.5,-0.02,MAINRUINCOLOR)
  3445. end
  3446. for i = 0, 49 do
  3447. local rsiz = math.random(15,55)
  3448. sphereMK(math.random(1,4),1.5,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3449. end
  3450. wait(0.75)
  3451. CameraEnshaking(6,7)
  3452. MagniDamage(targetted.Head, 23, 40,80, 0, "Normal")
  3453. MagniDamage(targetted.Head, 15, 18000,30000, 0, "Normal")
  3454. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 7.5, 0.6)
  3455. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 7.25, 0.6)
  3456. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 6, 0.6)
  3457. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  3458. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  3459. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  3460. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  3461. coroutine.resume(coroutine.create(function()
  3462. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3463. eff.Texture = "rbxassetid://363275192"
  3464. eff.LightEmission = 0.95
  3465. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3466. eff.Rate = 10000
  3467. eff.Lifetime = NumberRange.new(1.5)
  3468. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  3469. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3470. eff.Speed = NumberRange.new(50,450)
  3471. eff.Drag = 5
  3472. eff.Rotation = NumberRange.new(-500,500)
  3473. eff.VelocitySpread = 9000
  3474. eff.RotSpeed = NumberRange.new(-50,50)
  3475. local eff2 = eff:Clone()
  3476. eff2.Parent = targetted.Head
  3477. eff2.Texture = "rbxassetid://284205403"
  3478. eff2.Rate = 10000
  3479. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3480. eff2.Drag = 5
  3481. eff2.Rotation = NumberRange.new(-500,500)
  3482. eff2.VelocitySpread = 9000
  3483. wait(0.5)
  3484. eff2.Enabled = false
  3485. eff.Enabled = false
  3486. end))
  3487. for i = 0, 9 do
  3488. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,6,-0.02,MAINRUINCOLOR)
  3489. end
  3490. for i = 0, 49 do
  3491. local rsiz = math.random(20,60)
  3492. sphereMK(math.random(1,4),2,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3493. end
  3494. dmg(targetted)
  3495. game:GetService("Debris"):AddItem(vel,1)
  3496. end))
  3497. for i = 0,7,0.1 do
  3498. swait()
  3499. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  3500. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.5)
  3501. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  3502. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-60)), 0.5)
  3503. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.5)
  3504. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.5)
  3505. end
  3506. attack = false
  3507. hum.WalkSpeed = storehumanoidWS
  3508. end
  3509. end
  3510.  
  3511. function BinaryBLINK()
  3512. for i = 0, 9 do
  3513. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  3514. end
  3515. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3516. coroutine.resume(coroutine.create(function()
  3517. local eff = Instance.new("ParticleEmitter",root)
  3518. eff.Texture = "rbxassetid://1175838406"
  3519. eff.LightEmission = 0.95
  3520. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3521. eff.Rate = 10000
  3522. eff.Lifetime = NumberRange.new(1)
  3523. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  3524. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3525. eff.Speed = NumberRange.new(30,160)
  3526. eff.Drag = 5
  3527. eff.Rotation = NumberRange.new(-500,500)
  3528. eff.VelocitySpread = 100000
  3529. wait(0.25)
  3530. eff.Enabled = false
  3531. wait(4)
  3532. eff:Destroy()
  3533. end))
  3534. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3535. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3536. CameraEnshaking(2,10)
  3537. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  3538. if v:FindFirstChild('Head') then
  3539. dmg(v)
  3540. end
  3541. end
  3542. for i = 0, 9 do
  3543. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  3544. end
  3545. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3546. end
  3547.  
  3548. function BinaryE()
  3549. local posit = -2
  3550. attack = true
  3551. hum.WalkSpeed = 5
  3552. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  3553. for i = 0,2,0.1 do
  3554. swait()
  3555. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3556. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  3557. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  3558. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  3559. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  3560. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  3561. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3562. end
  3563. for i = 0, 2 do
  3564. CameraEnshaking(1,2)
  3565. local hite = Instance.new("Part", char)
  3566. hite.Anchored = true
  3567. hite.CanCollide = false
  3568. hite.FormFactor = 3
  3569. hite.Name = "Ring"
  3570. hite.Material = "Neon"
  3571. hite.Size = Vector3.new(1, 1, 1)
  3572. hite.Transparency = 1
  3573. hite.TopSurface = 0
  3574. hite.BottomSurface = 0
  3575. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  3576. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  3577. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  3578. coroutine.resume(coroutine.create(function()
  3579. local eff = Instance.new("ParticleEmitter",hite)
  3580. eff.Texture = "rbxassetid://1175838406"
  3581. eff.LightEmission = 0.95
  3582. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3583. eff.Rate = 1000
  3584. eff.Lifetime = NumberRange.new(1)
  3585. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  3586. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3587. eff.Speed = NumberRange.new(10,50)
  3588. eff.Drag = 5
  3589. eff.Rotation = NumberRange.new(-500,500)
  3590. eff.VelocitySpread = 100000
  3591. wait(0.25)
  3592. eff.Enabled = false
  3593. end))
  3594. coroutine.resume(coroutine.create(function()
  3595. for i = 0, 1 do
  3596. swait()
  3597. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3598. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3599. end
  3600. end))
  3601. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
  3602. MagniDamage(hite, 3, 30,40, 0, "Normal")
  3603. game:GetService("Debris"):AddItem(hite, 5)
  3604. posit = posit + 2
  3605. end
  3606. for i = 0,1,0.1 do
  3607. swait()
  3608. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3609. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  3610. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  3611. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  3612. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  3613. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  3614. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3615. end
  3616. for i = 0,1,0.1 do
  3617. swait()
  3618. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3619. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  3620. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  3621. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  3622. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  3623. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
  3624. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
  3625. end
  3626. posit = -6
  3627. for i = 0, 6 do
  3628. CameraEnshaking(1,3)
  3629. local hite = Instance.new("Part", char)
  3630. hite.Anchored = true
  3631. hite.CanCollide = false
  3632. hite.FormFactor = 3
  3633. hite.Name = "Ring"
  3634. hite.Material = "Neon"
  3635. hite.Size = Vector3.new(1, 1, 1)
  3636. hite.Transparency = 1
  3637. hite.TopSurface = 0
  3638. hite.BottomSurface = 0
  3639. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  3640. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  3641. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  3642. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
  3643. coroutine.resume(coroutine.create(function()
  3644. local eff = Instance.new("ParticleEmitter",hite)
  3645. eff.Texture = "rbxassetid://1175838406"
  3646. eff.LightEmission = 0.95
  3647. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3648. eff.Rate = 1000
  3649. eff.Lifetime = NumberRange.new(1)
  3650. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  3651. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3652. eff.Speed = NumberRange.new(20,70)
  3653. eff.Drag = 5
  3654. eff.Rotation = NumberRange.new(-500,500)
  3655. eff.VelocitySpread = 100000
  3656. wait(0.25)
  3657. eff.Enabled = false
  3658. end))
  3659. coroutine.resume(coroutine.create(function()
  3660. for i = 0, 2 do
  3661. swait()
  3662. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3663. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3664. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3665. end
  3666. end))
  3667. MagniDamage(hite, 5, 40,70, 0, "Normal")
  3668. game:GetService("Debris"):AddItem(hite, 5)
  3669. posit = posit + 2
  3670. end
  3671. for i = 0,1,0.1 do
  3672. swait()
  3673. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3674. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  3675. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  3676. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  3677. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  3678. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
  3679. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
  3680. end
  3681. hum.WalkSpeed = storehumanoidWS
  3682. attack = false
  3683. end
  3684.  
  3685. function AZUREFINALE()
  3686. attack = true
  3687. duringend = true
  3688. hum.WalkSpeed = 0
  3689. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  3690. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  3691. local hite = Instance.new("Part", char)
  3692. hite.Anchored = true
  3693. hite.CanCollide = false
  3694. hite.FormFactor = 3
  3695. hite.Name = "Ring"
  3696. hite.Material = "Neon"
  3697. hite.Size = Vector3.new(1, 1, 1)
  3698. hite.Transparency = 0
  3699. hite.TopSurface = 0
  3700. hite.BottomSurface = 0
  3701. hite.BrickColor = MAINRUINCOLOR
  3702. local orbm = Instance.new("SpecialMesh", hite)
  3703. orbm.MeshType = "Sphere"
  3704. orbm.Name = "SizeMesh"
  3705. orbm.Scale = vt(0,0,0)
  3706. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  3707. for i = 0,70,0.1 do
  3708. swait()
  3709. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  3710. rsiz = math.random(10,45)
  3711. kan.Volume = kan.Volume + 0.01
  3712. kan.Pitch = kan.Pitch - 0.00070
  3713. chatfunc("I'm sorry I have to do this...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3714. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3715. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3716. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3717. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3718. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3719. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3720. end
  3721. kan.Pitch = 0.6
  3722. hite.Transparency = 1
  3723. for i = 0,2 do
  3724. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  3725. end
  3726. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  3727. coroutine.resume(coroutine.create(function()
  3728. local eff = Instance.new("ParticleEmitter",hite)
  3729. eff.Texture = "rbxassetid://284205403"
  3730. eff.LightEmission = 0.95
  3731. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3732. eff.Rate = 10000
  3733. eff.Lifetime = NumberRange.new(5)
  3734. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  3735. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3736. eff.Speed = NumberRange.new(600,1250)
  3737. eff.Drag = 5
  3738. eff.Rotation = NumberRange.new(-500,500)
  3739. eff.VelocitySpread = 9000
  3740. eff.RotSpeed = NumberRange.new(-500,500)
  3741. wait(1)
  3742. eff.Enabled = false
  3743. end))
  3744. for i = 0,5,0.1 do
  3745. swait()
  3746. chatfunc("...This will kill me... But I don't care...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3747. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3748. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3749. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3750. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3751. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3752. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3753. end
  3754. local adsc = 0
  3755. local radiatezone = 0
  3756. for i = 0,20,0.1 do
  3757. swait()
  3758. adsc = adsc + 0.025
  3759. radiatezone = radiatezone + 1.25
  3760. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3761. if v:FindFirstChild('Head') then
  3762. dmg(v)
  3763. end
  3764. end
  3765. chatfunc("Goodbye...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3766. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3767. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3768. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3769. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3770. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3771. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3772. end
  3773. for i = 0,2 do
  3774. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  3775. end
  3776. for i = 0,40,0.1 do
  3777. swait()
  3778. adsc = adsc + 0.05
  3779. radiatezone = radiatezone + 2.5
  3780. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3781. if v:FindFirstChild('Head') then
  3782. dmg(v)
  3783. end
  3784. end
  3785. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3786. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3787. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3788. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3789. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3790. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3791. end
  3792. for i = 0,4 do
  3793. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  3794. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  3795. end
  3796. for i = 0,80,0.1 do
  3797. swait()
  3798. adsc = adsc + 0.075
  3799. radiatezone = radiatezone + 3.75
  3800. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  3801. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3802. if v:FindFirstChild('Head') then
  3803. dmg(v)
  3804. end
  3805. end
  3806. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3807. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3808. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3809. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3810. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3811. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3812. end
  3813. hite:Destroy()
  3814. char:BreakJoints()
  3815. duringend = false
  3816. hum.WalkSpeed = storehumanoidWS
  3817. attack = false
  3818. end
  3819.  
  3820. function GalacticalBeams()
  3821. attack = true
  3822. local keptcolor = MAINRUINCOLOR
  3823. coroutine.resume(coroutine.create(function()
  3824. for i = 0, 0 do
  3825. swait(10)
  3826. local orb = Instance.new("Part", char)
  3827. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  3828. orb.BrickColor = keptcolor
  3829. orb.CanCollide = false
  3830. orb.FormFactor = 3
  3831. orb.Name = "Ring"
  3832. orb.Material = "Neon"
  3833. orb.Size = Vector3.new(1, 1, 1)
  3834. orb.Transparency = 1
  3835. orb.TopSurface = 0
  3836. orb.BottomSurface = 0
  3837. orb.Anchored = true
  3838. local orbm = Instance.new("SpecialMesh", orb)
  3839. orbm.MeshType = "Sphere"
  3840. orbm.Name = "SizeMesh"
  3841. orbm.Scale = vt(1.25,1.25,1.25)
  3842. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  3843. coroutine.resume(coroutine.create(function()
  3844. orb.Transparency = 1
  3845. local a = Instance.new("Part",char)
  3846. a.Name = "Direction"
  3847. a.Anchored = true
  3848. a.BrickColor = keptcolor
  3849. a.Material = "Neon"
  3850. a.Transparency = 1
  3851. a.Shape = "Cylinder"
  3852. local x = Instance.new("Part",char)
  3853. x.Name = "Direction"
  3854. x.Anchored = true
  3855. x.BrickColor = keptcolor
  3856. x.Material = "Neon"
  3857. x.Transparency = 1
  3858. x.Shape = "Cylinder"
  3859. local ht = Instance.new("Part",char)
  3860. ht.Name = "DirectionHit"
  3861. ht.Anchored = true
  3862. ht.BrickColor = keptcolor
  3863. ht.CanCollide = false
  3864. ht.Transparency = 1
  3865. ht.Size = vt(0.1,0.1,0.1)
  3866. a.CanCollide = false
  3867. local ray = Ray.new(
  3868. orb.CFrame.p, -- origin
  3869. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  3870. )
  3871. local ignore = char
  3872. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3873. a.BottomSurface = 10
  3874. a.TopSurface = 10
  3875. local distance = (orb.CFrame.p - position).magnitude
  3876. a.Size = Vector3.new(distance,1,1)
  3877. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3878. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3879. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3880. local poste = 0
  3881. local rotation = 0
  3882. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  3883. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  3884. CameraEnshaking(2,2)
  3885. for i = 0, 49 do
  3886. swait()
  3887. rotation = rotation + 5
  3888. poste = poste + 1
  3889. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3890. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3891. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3892. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3893. end
  3894. local A1 = Instance.new("Attachment",x)
  3895. local A2 = Instance.new("Attachment",ht)
  3896. local Beem = Instance.new("Beam",ht)
  3897. Beem.Attachment0 = A1
  3898. Beem.Attachment1 = A2
  3899. Beem.LightEmission = 1
  3900. Beem.FaceCamera = true
  3901. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  3902. Beem.Width0 = 125
  3903. Beem.Width1 = 125
  3904. Beem.Texture = "rbxassetid://1134824633"
  3905. Beem.TextureMode = "Wrap"
  3906. Beem.TextureLength = 200
  3907. Beem.TextureSpeed = 1.5
  3908. Beem.Color = ColorSequence.new(keptcolor.Color)
  3909. CameraEnshaking(3,6)
  3910. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  3911. a.Transparency = 0.25
  3912. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  3913. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  3914. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  3915. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  3916. local eff = Instance.new("ParticleEmitter",ht)
  3917. eff.Texture = "rbxassetid://284205403"
  3918. eff.LightEmission = 0.95
  3919. eff.Color = ColorSequence.new(keptcolor.Color)
  3920. eff.Rate = 500
  3921. eff.Lifetime = NumberRange.new(1)
  3922. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3923. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3924. eff.Speed = NumberRange.new(80,500)
  3925. eff.Drag = 5
  3926. eff.Rotation = NumberRange.new(-500,500)
  3927. eff.VelocitySpread = 9000
  3928. eff.RotSpeed = NumberRange.new(-500,500)
  3929. for i = 0, 24 do
  3930. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  3931. local rsiz = math.random(10,50)
  3932. sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3933. end
  3934. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3935. local msh = Instance.new("SpecialMesh",a)
  3936. msh.MeshType = "Cylinder"
  3937. msh.Scale = vt(1,15,15)
  3938. for i = 0, 49 do
  3939. swait()
  3940. CameraEnshaking(1,4)
  3941. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  3942. rotation = rotation + 5
  3943. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  3944. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  3945. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  3946. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3947. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3948. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3949. for i = 0, 2 do
  3950. local rsiz = math.random(50,250)
  3951. sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3952. end
  3953. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  3954. end
  3955. eff.Enabled = false
  3956. local visibility = 0
  3957. for i = 0, 49 do
  3958. swait()
  3959. visibility = visibility + 0.02
  3960. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  3961. rotation = rotation + 5
  3962. poste = poste - 1
  3963. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3964. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3965. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3966. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  3967. a.Transparency = a.Transparency + 0.02
  3968. end
  3969. wait(1)
  3970. orb:Destroy()
  3971. a:Destroy()
  3972. ht:Destroy()
  3973. end))
  3974. game:GetService("Debris"):AddItem(orb, 10)
  3975. end
  3976. end))
  3977. hum.WalkSpeed = storehumanoidWS
  3978. attack = false
  3979. end
  3980.  
  3981.  
  3982. function WarpedDash()
  3983. attack = true
  3984. hum.WalkSpeed = 0
  3985. hum.JumpPower = 0
  3986. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  3987. local poste = 3
  3988. local rotation = 0
  3989. local rate = 0
  3990. for i = 0, 124 do
  3991. swait()
  3992. rotation = rotation + rate
  3993. poste = poste + 0.1
  3994. rate = rate + 0.1
  3995. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  3996. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
  3997. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  3998. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  3999. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4000. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4001. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  4002. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5)
  4003. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  4004. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  4005. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  4006. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  4007. end
  4008. CameraEnshaking(3,7)
  4009. local loc = Instance.new("Part", char)
  4010. loc.BrickColor = MAINRUINCOLOR
  4011. loc.CanCollide = false
  4012. loc.FormFactor = 3
  4013. loc.Name = "Ring"
  4014. loc.Material = "Neon"
  4015. loc.Size = Vector3.new(1, 1, 1)
  4016. loc.Transparency = 1
  4017. loc.TopSurface = 0
  4018. loc.BottomSurface = 0
  4019. loc.Anchored = true
  4020. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  4021. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  4022. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  4023. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  4024. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  4025. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4026. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4027. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4028. coroutine.resume(coroutine.create(function()
  4029. local eff = Instance.new("ParticleEmitter",loc)
  4030. eff.Texture = "rbxassetid://363275192"
  4031. eff.LightEmission = 0.95
  4032. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4033. eff.Rate = 10000
  4034. eff.Lifetime = NumberRange.new(1)
  4035. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  4036. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4037. eff.Speed = NumberRange.new(100,500)
  4038. eff.Drag = 5
  4039. eff.Rotation = NumberRange.new(-500,500)
  4040. eff.VelocitySpread = 9000
  4041. eff.RotSpeed = NumberRange.new(-50,50)
  4042. wait(0.5)
  4043. eff.Enabled = false
  4044. end))
  4045. for i = 0, 49 do
  4046. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  4047. end
  4048. for i = 0, 9 do
  4049. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  4050. end
  4051. game:GetService("Debris"):AddItem(loc, 5)
  4052. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  4053. hum.WalkSpeed = storehumanoidWS
  4054. hum.JumpPower = 50
  4055. attack = false
  4056. end
  4057.  
  4058. ------------------------------------
  4059. function harmonytaunty()
  4060. attack = true
  4061. hum.WalkSpeed = 0
  4062. CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15)
  4063. for i = 0,7,0.1 do
  4064. swait()
  4065. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-20 + 6 * math.cos(sine / 34))),.2)
  4066. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(10 - 4 * math.cos(sine / 47))),.2)
  4067. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-2 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-2 + 4 * math.cos(sine / 62))),.2)
  4068. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 - 3 * math.cos(sine / 28)),math.rad(12 - 3 * math.cos(sine / 79)),math.rad(2 - 4 * math.cos(sine / 62))),.2)
  4069. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.01 * math.cos(sine / 28),-0.1)*angles(math.rad(34 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-13 - 3 * math.cos(sine / 28))),.2)
  4070. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(80 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(10 + 5 * math.cos(sine / 30))),.2)
  4071. end
  4072. attack = false
  4073. end
  4074.  
  4075. function vistaunty()
  4076. attack = true
  4077. hum.WalkSpeed = 0
  4078. local rd = math.random(1,5)
  4079. if rd == 1 then
  4080. chatfunc("Do you know this song?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4081. elseif rd == 2 then
  4082. chatfunc("You seem annoyed. Did I make you? It's possible...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4083. elseif rd == 3 then
  4084. chatfunc("I'm just bored. Don't mess with me, Capiche?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4085. elseif rd == 4 then
  4086. chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4087. elseif rd == 5 then
  4088. chatfunc("Dance to the beat with me, Yeah?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4089. end
  4090. for i = 0, 8, 0.1 do
  4091. swait()
  4092. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  4093. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  4094. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
  4095. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
  4096. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
  4097. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  4098. end
  4099. attack = false
  4100. end
  4101.  
  4102. function shytaunty()
  4103. attack = true
  4104. hum.WalkSpeed = 0
  4105. CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1)
  4106. local blush = Instance.new("Decal",hed)
  4107. blush.Texture = "rbxassetid://898404027"
  4108. blush.Face = "Front"
  4109. for i = 0, 13, 0.1 do
  4110. swait()
  4111. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  4112. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  4113. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  4114. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
  4115. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
  4116. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
  4117. end
  4118. coroutine.resume(coroutine.create(function()
  4119. for i = 0, 49 do
  4120. swait()
  4121. blush.Transparency = blush.Transparency + 0.02
  4122. end
  4123. blush:Destroy()
  4124. end))
  4125. attack = false
  4126. end
  4127. ------------------------------------ Mode Ascendances
  4128. function UnknownA()
  4129. hum.WalkSpeed = 0
  4130. attack = true
  4131. local keptcolor = MAINRUINCOLOR
  4132. local locat = Instance.new("Part", char)
  4133. locat.CanCollide = false
  4134. locat.FormFactor = 3
  4135. locat.Name = "Ring"
  4136. locat.Material = "Neon"
  4137. locat.Size = Vector3.new(1, 1, 1)
  4138. locat.Transparency = 1
  4139. locat.TopSurface = 0
  4140. locat.BottomSurface = 0
  4141. locat.Anchored = true
  4142. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4143. local poste = 0
  4144. local rotation = 0
  4145. local upperpos = 0
  4146. local rate = 0
  4147. local x = locat
  4148. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4149. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4150. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4151. CameraEnshaking(2,5)
  4152. for i = 0, 49 do
  4153. swait()
  4154. rotation = rotation + 5
  4155. poste = poste + 1
  4156. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  4157. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  4158. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4159. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4160. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.5)
  4161. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.5)
  4162. end
  4163. for i = 0, 49 do
  4164. swait()
  4165. rotation = rotation + 5
  4166. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  4167. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  4168. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4169. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4170. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.5)
  4171. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.5)
  4172. end
  4173. ModeOfGlitch = 6000000000
  4174. storehumanoidWS = 300
  4175. hum.WalkSpeed = 300
  4176. rainbowmode = false
  4177. chaosmode = false
  4178. RecolorTextAndRename("ELITE's FINAL STRAW",BrickColor.new("Navy blue").Color,BrickColor.new("Really red").Color,"Antique")
  4179. newThemeCust("rbxassetid://1504604335",0,1.25,1.5)
  4180. MAINRUINCOLOR = BrickColor.new("Really blue")
  4181. keptcolor = MAINRUINCOLOR
  4182. RecolorThing(MAINRUINCOLOR,BrickColor.new("Navy blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4183. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4184. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4185. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  4186. attack = false
  4187. hum.WalkSpeed = storehumanoidWS
  4188. for i = 0, 49 do
  4189. local rsiz = math.random(150,450)
  4190. sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Deep blue"))
  4191. end
  4192. coroutine.resume(coroutine.create(function()
  4193. local eff = Instance.new("ParticleEmitter",x)
  4194. eff.Texture = "rbxassetid://284205403"
  4195. eff.LightEmission = 0.95
  4196. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  4197. eff.Rate = 50000
  4198. eff.Lifetime = NumberRange.new(2.5)
  4199. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4200. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4201. eff.Speed = NumberRange.new(250,1000)
  4202. eff.Drag = 5
  4203. eff.Rotation = NumberRange.new(-500,500)
  4204. eff.VelocitySpread = 9000
  4205. eff.RotSpeed = NumberRange.new(-500,500)
  4206. wait(0.5)
  4207. eff.Enabled = false
  4208. end))
  4209. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4210. if v:FindFirstChild('Head') then
  4211. dmg(v)
  4212. end
  4213. end]]--
  4214. CameraEnshaking(8,10)
  4215. for i = 0, 99 do
  4216. swait()
  4217. rotation = rotation + 5
  4218. poste = poste + 1
  4219. upperpos = upperpos + rate
  4220. rate = rate + 0.1
  4221. end
  4222. x:Destroy()
  4223. end
  4224.  
  4225. function ChaosGroundStrike()
  4226. attack = true
  4227. for i = 0, 2, 0.1 do
  4228. swait()
  4229. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  4230. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  4231. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4232. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4233. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  4234. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  4235. end
  4236. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  4237. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  4238. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  4239. if v:FindFirstChild("Head") then
  4240. dmg(v)
  4241. end
  4242. end
  4243. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  4244. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  4245. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  4246. for i = 0, 2, 0.1 do
  4247. swait()
  4248. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  4249. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  4250. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  4251. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  4252. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4253. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4254. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  4255. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  4256. end
  4257. attack = false
  4258. end
  4259.  
  4260. function ExtinctiveHeartbreak()
  4261. local targetted
  4262. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4263. targetted = mouse.Target.Parent
  4264. end
  4265. if targetted ~= nil then
  4266. attack = true
  4267. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  4268. for i = 0, 9 do
  4269. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4270. end
  4271. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Navy blue"))
  4272. local originalpos = root.CFrame
  4273. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2)
  4274. for i = 0, 9 do
  4275. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4276. end
  4277. hum.WalkSpeed = 0
  4278. targetted.Head.Anchored = true
  4279. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Navy blue"))
  4280. for i = 0, 2, 0.1 do
  4281. swait()
  4282. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
  4283. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
  4284. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.4)
  4285. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  4286. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)
  4287. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.4)
  4288. end
  4289. coroutine.resume(coroutine.create(function()
  4290. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
  4291. bld.LightEmission = 0.1
  4292. bld.Texture = "rbxassetid://284205403"
  4293. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  4294. bld.Rate = 500
  4295. bld.Lifetime = NumberRange.new(1)
  4296. bld.Size = NumberSequence.new({
  4297. NumberSequenceKeypoint.new(0, 2, 0),
  4298. NumberSequenceKeypoint.new(1, 0, 0)
  4299. })
  4300. bld.Acceleration = vt(0, -25, 0)
  4301. bld.Transparency = NumberSequence.new({
  4302. NumberSequenceKeypoint.new(0, 0, 0),
  4303. NumberSequenceKeypoint.new(1, 0, 0)
  4304. })
  4305. bld.Speed = NumberRange.new(10, 50)
  4306. bld.EmissionDirection = "Front"
  4307. bld.VelocitySpread = 25
  4308. bld.Rotation = NumberRange.new(-500, 500)
  4309. bld.RotSpeed = NumberRange.new(-500, 500)
  4310. end))
  4311. coroutine.resume(coroutine.create(function()
  4312. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
  4313. bld.LightEmission = 0.1
  4314. bld.Texture = "rbxassetid://284205403"
  4315. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  4316. bld.Rate = 500
  4317. bld.Lifetime = NumberRange.new(1)
  4318. bld.Size = NumberSequence.new({
  4319. NumberSequenceKeypoint.new(0, 2, 0),
  4320. NumberSequenceKeypoint.new(1, 0, 0)
  4321. })
  4322. bld.Acceleration = vt(0, -25, 0)
  4323. bld.Transparency = NumberSequence.new({
  4324. NumberSequenceKeypoint.new(0, 0, 0),
  4325. NumberSequenceKeypoint.new(1, 0, 0)
  4326. })
  4327. bld.Speed = NumberRange.new(10, 50)
  4328. bld.EmissionDirection = "Front"
  4329. bld.VelocitySpread = 25
  4330. bld.Rotation = NumberRange.new(-500, 500)
  4331. bld.RotSpeed = NumberRange.new(-500, 500)
  4332. end))
  4333. game:GetService("Debris"):AddItem(bld, 3)
  4334. dmg(targetted)
  4335. CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
  4336. for i = 0, 1, 0.1 do
  4337. swait()
  4338. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8)
  4339. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8)
  4340. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0.25, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.8)
  4341. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8)
  4342. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  4343. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.8)
  4344. end
  4345. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  4346. for i = 0, 9 do
  4347. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4348. end
  4349. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Deep blue"))
  4350. root.CFrame = originalpos
  4351. for i = 0, 9 do
  4352. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4353. end
  4354. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Deep blue"))
  4355. bld.Enabled = false
  4356. attack = false
  4357. hum.WalkSpeed = 20
  4358. end
  4359. end
  4360.  
  4361. function Suicidal()
  4362. hum.WalkSpeed = 0
  4363. attack = true
  4364. local keptcolor = MAINRUINCOLOR
  4365. local locat = Instance.new("Part", char)
  4366. locat.CanCollide = false
  4367. locat.FormFactor = 3
  4368. locat.Name = "Ring"
  4369. locat.Material = "Neon"
  4370. locat.Size = Vector3.new(1, 1, 1)
  4371. locat.Transparency = 1
  4372. locat.TopSurface = 0
  4373. locat.BottomSurface = 0
  4374. locat.Anchored = true
  4375. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4376. local poste = 0
  4377. local rotation = 0
  4378. local upperpos = 0
  4379. local rate = 0
  4380. local x = locat
  4381. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4382. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4383. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4384. CameraEnshaking(2,5)
  4385. for i = 0, 49 do
  4386. swait()
  4387. rotation = rotation + 5
  4388. poste = poste + 1
  4389. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4390. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4391. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4392. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4393. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4394. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4395. end
  4396. for i = 0, 49 do
  4397. swait()
  4398. rotation = rotation + 5
  4399. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4400. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4401. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4402. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4403. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4404. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4405. end
  4406. ModeOfGlitch = 999
  4407. storehumanoidWS = 300
  4408. hum.WalkSpeed = 16
  4409. rainbowmode = false
  4410. chaosmode = false
  4411. RecolorTextAndRename("InSaNe ElItE",BrickColor.new("Black").Color,BrickColor.new("Really red").Color,"Antique")
  4412. newThemeCust("rbxassetid://1369263130",0,1,1)
  4413. MAINRUINCOLOR = BrickColor.new("Really red")
  4414. keptcolor = MAINRUINCOLOR
  4415. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4416. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4417. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4418. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  4419. attack = false
  4420. hum.WalkSpeed = storehumanoidWS
  4421. for i = 0, 49 do
  4422. local rsiz = math.random(150,450)
  4423. end
  4424. coroutine.resume(coroutine.create(function()
  4425. local eff = Instance.new("ParticleEmitter",x)
  4426. eff.Texture = "rbxassetid://284205403"
  4427. eff.LightEmission = 0.95
  4428. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  4429. eff.Rate = 50000
  4430. eff.Lifetime = NumberRange.new(2.5)
  4431. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4432. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4433. eff.Speed = NumberRange.new(250,1000)
  4434. eff.Drag = 5
  4435. eff.Rotation = NumberRange.new(-500,500)
  4436. eff.VelocitySpread = 9000
  4437. eff.RotSpeed = NumberRange.new(-500,500)
  4438. wait(0.5)
  4439. eff.Enabled = false
  4440. end))
  4441. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4442. if v:FindFirstChild('Head') then
  4443. dmg(v)
  4444. end
  4445. end]]--
  4446. CameraEnshaking(8,10)
  4447. for i = 0, 99 do
  4448. swait()
  4449. rotation = rotation + 5
  4450. poste = poste + 1
  4451. upperpos = upperpos + rate
  4452. rate = rate + 0.1
  4453. end
  4454. x:Destroy()
  4455. end
  4456.  
  4457. function BITCHPLEASE()
  4458. hum.WalkSpeed = 0
  4459. attack = true
  4460. local keptcolor = MAINRUINCOLOR
  4461. local locat = Instance.new("Part", char)
  4462. locat.CanCollide = false
  4463. locat.FormFactor = 3
  4464. locat.Name = "Ring"
  4465. locat.Material = "Neon"
  4466. locat.Size = Vector3.new(1, 1, 1)
  4467. locat.Transparency = 1
  4468. locat.TopSurface = 0
  4469. locat.BottomSurface = 0
  4470. locat.Anchored = true
  4471. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4472. local poste = 0
  4473. local rotation = 0
  4474. local upperpos = 0
  4475. local rate = 0
  4476. local x = locat
  4477. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4478. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4479. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4480. CameraEnshaking(2,5)
  4481. for i = 0, 49 do
  4482. swait()
  4483. rotation = rotation + 5
  4484. poste = poste + 1
  4485. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4486. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4487. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4488. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4489. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4490. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4491. end
  4492. for i = 0, 49 do
  4493. swait()
  4494. rotation = rotation + 5
  4495. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4496. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4497. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4498. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4499. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4500. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4501. end
  4502. ModeOfGlitch = 6969
  4503. storehumanoidWS = 300
  4504. hum.WalkSpeed = 300
  4505. rainbowmode = false
  4506. chaosmode = false
  4507. RecolorTextAndRename("MEME-WORTHY DERPZ",BrickColor.new("Pink").Color,BrickColor.new("Really blue").Color,"Antique")
  4508. newThemeCust("rbxassetid://2039029608",0,0,1.5)
  4509. MAINRUINCOLOR = BrickColor.new("Really blue")
  4510. keptcolor = MAINRUINCOLOR
  4511. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4512. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4513. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4514. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  4515. attack = false
  4516. hum.WalkSpeed = storehumanoidWS
  4517. for i = 0, 49 do
  4518. local rsiz = math.random(150,450)
  4519. end
  4520. coroutine.resume(coroutine.create(function()
  4521. local eff = Instance.new("ParticleEmitter",x)
  4522. eff.Texture = "rbxassetid://284205403"
  4523. eff.LightEmission = 0.95
  4524. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  4525. eff.Rate = 50000
  4526. eff.Lifetime = NumberRange.new(2.5)
  4527. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4528. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4529. eff.Speed = NumberRange.new(250,1000)
  4530. eff.Drag = 5
  4531. eff.Rotation = NumberRange.new(-500,500)
  4532. eff.VelocitySpread = 9000
  4533. eff.RotSpeed = NumberRange.new(-500,500)
  4534. wait(0.5)
  4535. eff.Enabled = false
  4536. end))
  4537. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4538. if v:FindFirstChild('Head') then
  4539. dmg(v)
  4540. end
  4541. end]]--
  4542. CameraEnshaking(8,10)
  4543. for i = 0, 99 do
  4544. swait()
  4545. rotation = rotation + 5
  4546. poste = poste + 1
  4547. upperpos = upperpos + rate
  4548. rate = rate + 0.1
  4549. end
  4550. x:Destroy()
  4551. end
  4552.  
  4553. function iNSaNITY()
  4554. ModeOfGlitch = 666
  4555. storehumanoidWS = 9
  4556. hum.WalkSpeed = 9
  4557. rainbowmode = false
  4558. PartyMode = false
  4559. chaosmode = true
  4560. RecolorTextAndRename("GREATLY INSANE ELITE",BrickColor.Random().Color,BrickColor.Random().Color,"Antique")
  4561. newThemeCust("rbxassetid://623662713",2.9,0.9,1.5)
  4562. MAINRUINCOLOR = BrickColor.new("Really black")
  4563. RecolorThing(BrickColor.new("Really black"),BrickColor.new("Medium stone grey"),BrickColor.new("Institutional white"),BrickColor.new("Really black"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Institutional white"))
  4564. end
  4565.  
  4566. coroutine.resume(coroutine.create(function()
  4567. while true do
  4568. swait()
  4569. if chaosmode == true then
  4570. lolwut = {"InSANITY","iNSANITY","INsANITY","INSaNITY","INSAnITY","INSANiTY","INSANItY","INSANITy",}
  4571. Sanicz = lolwut[math.random(1,#lolwut)]
  4572. RecolorTextAndRename(Sanicz,BrickColor.Random().Color,BrickColor.Random().Color,"Antique")
  4573. MAINRUINCOLOR = BrickColor.Random()
  4574. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4575. end
  4576. end
  4577. end))
  4578.  
  4579. coroutine.resume(coroutine.create(function()
  4580. while true do
  4581. if math.random(1,10) == 1 and PartyMode == true then
  4582. PartyMode = false
  4583. elseif math.random(1,10) == 10 and PartyMode == true then
  4584. PartyMode = true
  4585. end
  4586.  
  4587.  
  4588. swait()
  4589. if PartyMode == true then
  4590. RecolorThing(BrickColor.new("Dark stone grey"),BrickColor.new("Dark stone grey"),BrickColor.new("Medium stone grey"),BrickColor.new("Dark stone grey"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Dark stone grey"))
  4591. wait()
  4592. RecolorThing(BrickColor.new("Institutional white"),BrickColor.new("Institutional white"),BrickColor.new("Really black"),BrickColor.new("Institutional white"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Really black"))
  4593. wait()
  4594. RecolorThing(BrickColor.new("Dark stone grey"),BrickColor.new("Dark stone grey"),BrickColor.new("Medium stone grey"),BrickColor.new("Dark stone grey"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Dark stone grey"))
  4595. wait()
  4596. RecolorThing(BrickColor.new("Really black"),BrickColor.new("Really black"),BrickColor.new("Institutional white"),BrickColor.new("Really black"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Institutional white"))
  4597. wait()
  4598. end
  4599. end
  4600. end))
  4601.  
  4602. function loveydovey()
  4603. attack = true
  4604. local keptcolor = MAINRUINCOLOR
  4605. hum.WalkSpeed = 0
  4606. for i = 0, 5, 0.1 do
  4607. swait()
  4608. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4609. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  4610. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4611. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4612. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4613. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4614. end
  4615. CameraEnshaking(4,9)
  4616. CFuncs["Sound"].Create("rbxassetid://763717897", char, 0.75, 1.25)
  4617. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 0.75, 1)
  4618. coroutine.resume(coroutine.create(function()
  4619. local eff = Instance.new("ParticleEmitter",root)
  4620. eff.Texture = "rbxassetid://363275192"
  4621. eff.LightEmission = 0.95
  4622. eff.Color = ColorSequence.new(keptcolor.Color)
  4623. eff.Rate = 10000
  4624. eff.Lifetime = NumberRange.new(1)
  4625. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  4626. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4627. eff.Speed = NumberRange.new(50,200)
  4628. eff.Drag = 5
  4629. eff.Rotation = NumberRange.new(-500,500)
  4630. eff.VelocitySpread = 9000
  4631. eff.RotSpeed = NumberRange.new(-50,50)
  4632. wait(0.5)
  4633. eff.Enabled = false
  4634. wait(5)
  4635. eff:Destroy()
  4636. end))
  4637. for i = 0, 49 do
  4638. local rsiz = math.random(70,90)
  4639. end
  4640. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4641. CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1)
  4642. newTheme("rbxassetid://1067833276",0,1,2)
  4643. ModeOfGlitch = 9600000000
  4644. MAINRUINCOLOR = BrickColor.new("Hot pink")
  4645. for i = 0, 1, 0.2 do
  4646. swait()
  4647. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4648. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4649. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4650. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  4651. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  4652. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  4653. end
  4654. for i = 0, 9, 0.1 do
  4655. swait()
  4656. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4657. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  4658. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4659. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4660. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4661. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4662. end
  4663. CameraEnshaking(2,11)
  4664. CFuncs["Sound"].Create("rbxassetid://763717897", char, 1, 1.125)
  4665. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 0.75)
  4666. for i = 0, 49 do
  4667. local rsiz = math.random(70,90)
  4668. end
  4669. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4670. for i = 0, 1, 0.2 do
  4671. swait()
  4672. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4673. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4674. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4675. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  4676. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  4677. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  4678. end
  4679. for i = 0, 1, 0.1 do
  4680. swait()
  4681. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4682. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  4683. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4684. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4685. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4686. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4687. end
  4688. CameraEnshaking(9,14)
  4689. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4690. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4691. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4692. for i = 0, 99 do
  4693. local rsiz = math.random(150,450)
  4694. end
  4695. coroutine.resume(coroutine.create(function()
  4696. local eff = Instance.new("ParticleEmitter",root)
  4697. eff.Texture = "rbxassetid://749327003"
  4698. eff.LightEmission = 1
  4699. eff.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  4700. eff.Rate = 50000
  4701. eff.Lifetime = NumberRange.new(5)
  4702. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4703. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4704. eff.Speed = NumberRange.new(250,1000)
  4705. eff.Drag = 5
  4706. eff.Rotation = NumberRange.new(-50,50)
  4707. eff.VelocitySpread = 9000
  4708. eff.RotSpeed = NumberRange.new(-50,50)
  4709. wait(0.5)
  4710. eff.Enabled = false
  4711. wait(5)
  4712. eff:Destroy()
  4713. end))
  4714. storehumanoidWS = 20
  4715. rainbowmode = false
  4716. chaosmode = false
  4717. RecolorTextAndRename("Elite's Feeling's",BrickColor.new("Pink").Color,BrickColor.new("Hot pink").Color,"Cartoon")
  4718. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4719. for i = 0, 10, 0.1 do
  4720. swait()
  4721. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4722. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4723. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4724. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8)
  4725. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  4726. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  4727. end
  4728. hum.WalkSpeed = 20
  4729. attack = false
  4730. end
  4731. -------------------------------------
  4732.  
  4733. Humanoid.Animator.Parent = nil
  4734.  
  4735. -------------------------------------
  4736.  
  4737. local attacktype = 1
  4738. mouse.Button1Down:connect(function()
  4739. if attack == false and attacktype == 1 then
  4740. attacktype = 2
  4741. attackone()
  4742. elseif attack == false and attacktype == 2 then
  4743. attacktype = 3
  4744. attacktwo()
  4745. elseif attack == false and attacktype == 3 then
  4746. attacktype = 1
  4747. attackthree()
  4748. elseif attack == false and attacktype == 4 then
  4749. attacktype = 1
  4750. --attackfour()
  4751. end
  4752. end)
  4753.  
  4754. local OVMID = 1702473314
  4755. local OVMPIT = 1
  4756. local OVMVOL = 1
  4757. mouse.KeyDown:connect(function(k)
  4758. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  4759. resetmode()
  4760. end
  4761. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  4762. ModeOfGlitch = 2
  4763. storehumanoidWS = 16
  4764. hum.WalkSpeed = 16
  4765. rainbowmode = false
  4766. chaosmode = false
  4767. RecolorTextAndRename("Elite's Mystery",Color3.new(0,0,0),BrickColor.new("Really red").Color,"Code")
  4768. newTheme("rbxassetid://660801673",0,1.1,1.25)
  4769. MAINRUINCOLOR = BrickColor.new("Really black")
  4770. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4771. end
  4772. if k == "m" and attack == false and ModeOfGlitch == 7 then
  4773. ModeOfGlitch = 7
  4774. storehumanoidWS = 999
  4775. hum.WalkSpeed = 999
  4776. rainbowmode = false
  4777. chaosmode = false
  4778. RecolorTextAndRename("Elite THE SPEED",Color3.new(0,0,0),BrickColor.new("Toothpaste").Color,"Cartoon")
  4779. newTheme("rbxassetid://1312492868",0,2,1.25)
  4780. MAINRUINCOLOR = BrickColor.new("Really blue")
  4781. RecolorThing(MAINRUINCOLOR,BrickColor.new("Navy blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4782. end
  4783. if k == "m" and attack == false and ModeOfGlitch == 1 then
  4784. ModeOfGlitch = 6699
  4785. storehumanoidWS = 16
  4786. hum.WalkSpeed = 16
  4787. rainbowmode = false
  4788. chaosmode = false
  4789. RecolorTextAndRename("Elite's Behavior...",Color3.new(0,0,0),BrickColor.new("Pink").Color,"Cartoon")
  4790. newTheme("rbxassetid://1131624146",0,1,1.25)
  4791. MAINRUINCOLOR = BrickColor.new("Really blue")
  4792. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4793. end
  4794. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  4795. ModeOfGlitch = 3
  4796. storehumanoidWS = 16
  4797. hum.WalkSpeed = 16
  4798. rainbowmode = false
  4799. chaosmode = false
  4800. RecolorTextAndRename("Elite the hacker",Color3.new(0,0,0),Color3.new(0,0.5,0),"Code")
  4801. newTheme("rbxassetid://919231299",0,1.01,1.25)
  4802. MAINRUINCOLOR = BrickColor.new("Forest green")
  4803. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4804. end
  4805. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  4806. ModeOfGlitch = 4
  4807. storehumanoidWS = 16
  4808. hum.WalkSpeed = 16
  4809. rainbowmode = false
  4810. chaosmode = false
  4811. RecolorTextAndRename("Controlled Elite",Color3.new(0,0,0.25),BrickColor.new("Really red").Color,"Code")
  4812. newTheme("rbxassetid://1430790805",1,1,10)
  4813. MAINRUINCOLOR = BrickColor.new("Navy blue")
  4814. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4815. end
  4816. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  4817. ModeOfGlitch = 5
  4818. storehumanoidWS = 16
  4819. hum.WalkSpeed = 16
  4820. rainbowmode = false
  4821. chaosmode = false
  4822. RecolorTextAndRename("BURNING ELITE.",Color3.new(1,0.5,0),Color3.new(1,1,0),"Fantasy")
  4823. newTheme("rbxassetid://1146120545",0,1.2,1.25)
  4824. MAINRUINCOLOR = BrickColor.new("Deep orange")
  4825. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4826. end
  4827. if k == "m" and attack == false and ModeOfGlitch == 5 then
  4828. ModeOfGlitch = 7
  4829. storehumanoidWS = 16
  4830. hum.WalkSpeed = 16
  4831. rainbowmode = false
  4832. chaosmode = false
  4833. RecolorTextAndRename("Elite's Purity",Color3.new(0,0,0.3),Color3.new(0,0,0.2),"Code")
  4834. newTheme("rbxassetid://1146120545",0,1.2,1.25)
  4835. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  4836. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4837. end
  4838. if k == "m" and attack == false and ModeOfGlitch == 9 then
  4839. ModeOfGlitch = 25
  4840. storehumanoidWS = 16
  4841. hum.WalkSpeed = 16
  4842. rainbowmode = false
  4843. chaosmode = false
  4844. RecolorTextAndRename("This isn't a elite the glitcher form",Color3.new(1,0,1),Color3.new(0,0,0.3),"Fantasy")
  4845. newTheme("rbxassetid://1146120545",0,1.2,1.25)
  4846. MAINRUINCOLOR = BrickColor.new("Really blue")
  4847. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4848. end
  4849. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  4850. ModeOfGlitch = 6
  4851. storehumanoidWS = 100
  4852. hum.WalkSpeed = 100
  4853. rainbowmode = false
  4854. chaosmode = false
  4855. RecolorTextAndRename("Elite's Justice",Color3.new(0,0,0.5),Color3.new(0.75,1,1),"Fantasy")
  4856. newTheme("rbxassetid://186267011",0,1.1,1.25)
  4857. MAINRUINCOLOR = BrickColor.new("Navy blue")
  4858. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4859. end
  4860. if k == "p" and attack == false and ModeOfGlitch ~= 7 then
  4861. ModeOfGlitch = 7
  4862. storehumanoidWS = 175
  4863. hum.WalkSpeed = 175
  4864. rainbowmode = false
  4865. chaosmode = false
  4866. RecolorTextAndRename("Elite's Speed",BrickColor.new("Cyan").Color,BrickColor.new("Toothpaste").Color,"Code")
  4867. newTheme("rbxassetid://1522980500",0,1.01,1.25)
  4868. MAINRUINCOLOR = BrickColor.new("Cyan")
  4869. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4870. end
  4871. if k == "g" and attack == false and ModeOfGlitch ~= 8 then
  4872. ModeOfGlitch = 8
  4873. storehumanoidWS = 100
  4874. hum.WalkSpeed = 100
  4875. rainbowmode = false
  4876. chaosmode = false
  4877. RecolorTextAndRename("Elite's DETERMANATION",BrickColor.new("Really red").Color,BrickColor.new("Deep blue").Color,"Antique")
  4878. newTheme("rbxassetid://453388540",0,1,1)
  4879. MAINRUINCOLOR = BrickColor.new("Really red")
  4880. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4881. end
  4882. if k == "h" and attack == false and ModeOfGlitch ~= 9 then
  4883. ModeOfGlitch = 9
  4884. storehumanoidWS = 135
  4885. hum.WalkSpeed = 135
  4886. rainbowmode = false
  4887. chaosmode = false
  4888. RecolorTextAndRename("Elite's Peace.",BrickColor.new("Navy blue").Color,BrickColor.new("Toothpaste").Color,"Arcade")
  4889. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4890. MAINRUINCOLOR = BrickColor.new("Navy blue")
  4891. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4892. end
  4893. if k == "j" and attack == false and ModeOfGlitch ~= 10 then
  4894. ModeOfGlitch = 10
  4895. storehumanoidWS = 12
  4896. hum.WalkSpeed = 12
  4897. rainbowmode = false
  4898. chaosmode = false
  4899. RecolorTextAndRename("Elite Lucid Dream.",BrickColor.new("Navy blue").Color,BrickColor.new("Deep blue").Color,"Garamond")
  4900. newTheme("rbxassetid://328340676",0,1.01,1.65)
  4901. MAINRUINCOLOR = BrickColor.new("Black")
  4902. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4903. end
  4904. if k == "m" and attack == false and ModeOfGlitch == 10 then
  4905. ModeOfGlitch = 30
  4906. storehumanoidWS = 12
  4907. hum.WalkSpeed = 12
  4908. rainbowmode = false
  4909. chaosmode = false
  4910. RecolorTextAndRename("Freezing Elite.",BrickColor.new("Toothpaste").Color,BrickColor.new("Light pastel blue").Color,"Garamond")
  4911. newTheme("rbxassetid://561833161",0,1.1,1.65)
  4912. MAINRUINCOLOR = BrickColor.new("Light pastel blue")
  4913. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4914. end
  4915. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 2000000000 then
  4916. ModeOfGlitch = 2000000000
  4917. storehumanoidWS = 200
  4918. hum.WalkSpeed = 200
  4919. rainbowmode = false
  4920. chaosmode = false
  4921. RecolorTextAndRename("ELITE's FINAL ACT",BrickColor.new("Navy blue").Color,BrickColor.new("Really red").Color,"Antique")
  4922. newThemeCust("rbxassetid://496055561",0.8, 0.8, 10)
  4923. MAINRUINCOLOR = BrickColor.new("Really red")
  4924. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4925. end
  4926.  
  4927. if k == "b" and attack == false and ModeOfGlitch == 2000000000 then
  4928. ModeOfGlitch = 1346
  4929. storehumanoidWS = 12
  4930. hum.WalkSpeed = 12
  4931. rainbowmode = false
  4932. chaosmode = false
  4933. RecolorTextAndRename("ELITE's HATRED",BrickColor.new("Really red").Color,BrickColor.new("Maroon").Color,"Cartoon")
  4934. newTheme("rbxassetid://1625328647",0,1,1.65)
  4935. MAINRUINCOLOR = BrickColor.new("Really red")
  4936. RecolorThing(MAINRUINCOLOR,BrickColor.new("Maroon"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4937. end
  4938.  
  4939. if k == "f" and attack == false and ModeOfGlitch ~= 9600000000 then
  4940. loveydovey()
  4941. end
  4942. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 6000000000 then
  4943. UnknownA()
  4944. end
  4945. if k == "b" and ModeOfGlitch == 6000000000 and attack == false then
  4946. harmonytaunty()
  4947. elseif k == "b" and ModeOfGlitch == 9 and attack == false then
  4948. vistaunty()
  4949. elseif k == "b" and ModeOfGlitch == 9600000000 and attack == false then
  4950. shytaunty()
  4951. end
  4952. if k == "z" and ModeOfGlitch == 1 and attack == false then
  4953. Beams()
  4954. elseif k == "z" and ModeOfGlitch == 2 and attack == false then
  4955. smiter()
  4956. elseif k == "z" and ModeOfGlitch == 2000000000 and attack == false then
  4957. supsmiter()
  4958. elseif k == "z" and ModeOfGlitch == 6000000000 and ModeOfGlitch == 3 and attack == false then
  4959. BinaryE()
  4960. elseif k == "x" and ModeOfGlitch == 6000000000 and attack == false then
  4961. AZUREFINALE()
  4962. elseif k == "c" and ModeOfGlitch == 6000000000 and attack == false then
  4963. AZUREFINALE()
  4964. elseif k == "z" and ModeOfGlitch == 4 and attack == false then
  4965. BinaryBLINK()
  4966. elseif k == "x" and ModeOfGlitch == 4 and attack == false then
  4967. ExtinctiveHeartbreak()
  4968. elseif k == "z" and ModeOfGlitch == 5 and attack == false then
  4969. Fireball()
  4970. elseif k == "z" and ModeOfGlitch == 6 and attack == false then
  4971. GalacticalBeams()
  4972. elseif k == "z" and ModeOfGlitch == 7 and attack == false then
  4973. WarpedDash()
  4974. elseif k == "z" and ModeOfGlitch == 8 and attack == false then
  4975. BeamOfDeath()
  4976. elseif k == "z" and ModeOfGlitch == 9 and attack == false then
  4977. end
  4978. if k == "x" and ModeOfGlitch == 3 and attack == false then
  4979. BinaryBLINK()
  4980. end
  4981. if k == "v" and ModeOfGlitch == 2000000000 and attack == false then
  4982. AZUREFINALE()
  4983. end
  4984. if k == "k" and attack == false and ModeOfGlitch ~= 666 then
  4985. iNSaNITY()
  4986. end
  4987. if k == "l" and ModeOfGlitch ~= 2 and ModeOfGlitch ~= 999 and attack == false then
  4988. Suicidal()
  4989. end
  4990. if k == "l" and ModeOfGlitch == 2 and ModeOfGlitch ~= 6969 and attack == false then
  4991. BITCHPLEASE()
  4992. end
  4993. if k == "z" and ModeOfGlitch == 4 and ModeOfGlitch == 1 and attack == false then
  4994. ExtinctiveHeartbreak()
  4995. end
  4996. if k == "z" and ModeOfGlitch == 666 and attack == false then
  4997. ChaosGroundStrike()
  4998. end
  4999. if k == "z" and ModeOfGlitch == 999 and attack == false then
  5000. ChaosGroundStrike()
  5001. end
  5002. if k == "z" and ModeOfGlitch == 1346 and attack == false then
  5003. ChaosGroundStrike()
  5004. end
  5005. if k == "x" and ModeOfGlitch == 1346 and attack == false then
  5006. ExtinctiveHeartbreak()
  5007. end
  5008. if k == "c" and ModeOfGlitch == 1346 and attack == false then
  5009. BinaryBLINK()
  5010. end
  5011. if k == "o" and mutedtog == false then
  5012. mutedtog = true
  5013. kan.Volume = 0.1
  5014. elseif k == "o" and mutedtog == true then
  5015. mutedtog = false
  5016. kan.Volume = 1.25
  5017. end
  5018. if k == "n" and toggleTag == false then
  5019. toggleTag = true
  5020. modet.TextTransparency = 0
  5021. modet.TextStrokeTransparency = 0
  5022. elseif k == "n" and toggleTag == true then
  5023. toggleTag = false
  5024. modet.TextTransparency = 0.8
  5025. modet.TextStrokeTransparency = 0.8
  5026. end
  5027. if k == "z" and attack == false and ModeOfGlitch == 1 then
  5028. end
  5029. end)
  5030.  
  5031. plr.Chatted:connect(function(message)
  5032. if ModeOfGlitch == 9 then
  5033. if message:sub(1,5) == "play/" then
  5034. OVMID = message:sub(6)
  5035. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5036. elseif message:sub(1,6) == "pitch/" then
  5037. OVMPIT = message:sub(7)
  5038. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5039. elseif message:sub(1,4) == "vol/" then
  5040. OVMVOL = message:sub(5)
  5041. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5042. elseif message:sub(1,7) == "skipto/" then
  5043. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  5044. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  5045. elseif message:sub(1,9) == "telltime/" then
  5046. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  5047. end
  5048. end
  5049. end)
  5050. local rotperm = 0
  5051. coroutine.resume(coroutine.create(function()
  5052. while true do
  5053. swait()
  5054. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 then
  5055. swait(0.5)
  5056. sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
  5057. elseif ModeOfGlitch == 5 then
  5058. swait(0.5)
  5059. local rsiz = math.random(1,3)
  5060. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  5061. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  5062. elseif ModeOfGlitch == 9600000000 then
  5063. swait(0.25)
  5064. sphereMK(5,math.random(-14,-8)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0)
  5065. elseif ModeOfGlitch == 6000000000 then
  5066. coroutine.resume(coroutine.create(function()
  5067. swait(5)
  5068. sphereMK(10,math.random(15,45)/45,"Add",root.CFrame*CFrame.new(math.random(-50,50),-40,math.random(-50,50))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,60,-0.01,MAINRUINCOLOR,0)
  5069. end))
  5070. swait(1)
  5071. rotperm = rotperm + 12
  5072. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,MAINRUINCOLOR)
  5073. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,BrickColor.new("Cool yellow"))
  5074. elseif ModeOfGlitch == 9 and kan.PlaybackLoudness >= 50 then
  5075. swait(25 - kan.PlaybackLoudness/80)
  5076. sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR)
  5077. if kan.PlaybackLoudness >= 300 then
  5078. CameraEnshaking(1,3)
  5079. for i = 0, 4 do
  5080. sphereMK(5,math.random(15,35)/150,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,20,-0.01,MAINRUINCOLOR,0)
  5081. end
  5082. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR)
  5083. end
  5084. local notsp = Instance.new("Part", char)
  5085. notsp.CanCollide = false
  5086. notsp.FormFactor = 3
  5087. notsp.Name = "Ring"
  5088. notsp.Material = "Neon"
  5089. notsp.Size = Vector3.new(10, 1, 10)
  5090. if kan.PlaybackLoudness >= 300 then
  5091. notsp.Size = Vector3.new(25, 1, 25)
  5092. end
  5093. notsp.Transparency = 1
  5094. notsp.TopSurface = 0
  5095. notsp.BottomSurface = 0
  5096. notsp.Anchored = true
  5097. notsp.CFrame = root.CFrame*CFrame.new(0,-3,0)
  5098. coroutine.resume(coroutine.create(function()
  5099. local eff = Instance.new("ParticleEmitter",notsp)
  5100. eff.Texture = "rbxassetid://288898235"
  5101. eff.LightEmission = 0.5
  5102. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  5103. eff.Rate = 300
  5104. eff.Lifetime = NumberRange.new(1)
  5105. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
  5106. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5107. eff.Speed = NumberRange.new(20,40)
  5108. eff.Acceleration = vt(0,-75,0)
  5109. eff.Drag = 1
  5110. eff.Rotation = NumberRange.new(-10,10)
  5111. eff.VelocitySpread = 20
  5112. eff.RotSpeed = NumberRange.new(-1,1)
  5113. coroutine.resume(coroutine.create(function()
  5114. while true do
  5115. swait()
  5116. if eff.Parent ~= nil then
  5117. if ModeOfGlitch == 9 then
  5118. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  5119. elseif ModeOfGlitch ~= 9 then
  5120. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5121. end
  5122. else
  5123. break
  5124. end
  5125. end
  5126. end))
  5127. wait(0.1)
  5128. eff.Enabled = false
  5129. end))
  5130. game:GetService("Debris"):AddItem(notsp, 5)
  5131. end
  5132. end
  5133. end))
  5134.  
  5135.  
  5136. Humanoid.Name = "GGLITCHER"
  5137. Humanoid.MaxHealth = math.huge
  5138. Humanoid.Health = math.huge
  5139. Instance.new("ForceField",char).Visible = false
  5140.  
  5141. idleanim=.4
  5142. while true do
  5143. Humanoid.MaxHealth = math.huge
  5144. Humanoid.Health = math.huge
  5145. if mutedtog == false and duringend == false then
  5146. kan.Volume = currentVol
  5147. elseif mutedtog == true and duringend == false then
  5148. kan.Volume = 0
  5149. end
  5150. if duringend == false then
  5151. kan.PlaybackSpeed = currentPitch
  5152. kan.Pitch = currentPitch
  5153. end
  5154. kan.SoundId = currentThemePlaying
  5155. kan.Looped = true
  5156. kan.Parent = char
  5157. kan:Resume()
  5158.  
  5159. modeteller.Text = string.upper(modet.Text)
  5160. modeteller.TextColor3 = MAINRUINCOLOR.Color
  5161.  
  5162. swait()
  5163. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
  5164.  
  5165. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
  5166. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
  5167. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
  5168. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
  5169. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
  5170. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
  5171. --------------- Visualiser Zone
  5172. if ModeOfGlitch == 9 then
  5173. modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5174. for i, v in pairs(mw2:GetChildren()) do
  5175. if v:IsA("Part") then
  5176. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5177. v.Material = "Neon"
  5178. end
  5179. end
  5180. for i, v in pairs(mw1:GetChildren()) do
  5181. if v:IsA("Part") then
  5182. v.Transparency = 0
  5183. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5184. v.Material = "Neon"
  5185. end
  5186. end
  5187. end
  5188. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  5189. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  5190. ---------------
  5191. sine = sine + change
  5192. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  5193. local velderp=RootPart.Velocity.y
  5194. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  5195. if equipped==true or equipped==false then
  5196. if attack==false then
  5197. idle=idle+1
  5198. else
  5199. idle=0
  5200. end
  5201. if idle>=500 then
  5202. if attack==false then
  5203. --Sheath()
  5204. end
  5205. end
  5206. if RootPart.Velocity.y > 1 and hitfloor==nil then
  5207. Anim="Jump"
  5208. if attack==false then
  5209. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  5210. 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)
  5211. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  5212. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  5213. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  5214. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  5215. end
  5216. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  5217. Anim="Fall"
  5218. if attack==false then
  5219. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  5220. 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)
  5221. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  5222. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  5223. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  5224. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  5225. end
  5226. elseif torvel<1 and hitfloor~=nil then
  5227. Anim="Idle"
  5228. if attack==false then
  5229. if ModeOfGlitch == 1 then
  5230. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.sin(sine / 14),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(2 + 1 * math.cos(sine / 14))),.1)
  5231. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.sin(sine / 14),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(1 + 1 * math.cos(sine / 14))),.1)
  5232. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.sin(sine / 14))*angles(math.rad(0 - 1 * math.sin(sine / 14)),math.rad(0),math.rad(-20)),.1)
  5233. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5, 0.3 - 0.2 * math.sin(sine / 14)),math.rad(0),math.rad(20)),.1)
  5234. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.2 * math.sin(sine / 14),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 14)),math.rad(0),math.rad(-100 - 2.5 * math.sin(sine / 14))),.1)
  5235. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.2 * math.sin(sine / 14),-0.65)*angles(math.rad(40 - 1 * math.sin(sine / 14)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 14))),.1)
  5236. elseif ModeOfGlitch == 2 then
  5237. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5 + 3 * math.cos(sine / 45)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  5238. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5239. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.03 * math.cos(sine / 45),0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0)),.1)
  5240. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1)
  5241. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1)
  5242. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1)
  5243. elseif ModeOfGlitch == 6969 then
  5244. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  5245. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  5246. LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5247. RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  5248. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  5249. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  5250. elseif ModeOfGlitch == 666 then
  5251. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  5252. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  5253. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  5254. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5255. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5256. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5257. elseif ModeOfGlitch == 1346 then
  5258. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  5259. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5260. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  5261. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  5262. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  5263. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  5264. elseif ModeOfGlitch == 999 then
  5265. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  5266. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  5267. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  5268. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5269. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  5270. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  5271. elseif ModeOfGlitch == 10 then
  5272. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5273. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0)), 0.3)
  5274. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-4.5), math.rad(0), math.rad(0)), 0.15)
  5275. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.15)
  5276. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  5277. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  5278. elseif ModeOfGlitch == 3 then
  5279. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 34))),.1)
  5280. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5281. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
  5282. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
  5283. RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
  5284. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
  5285. elseif ModeOfGlitch == 4 then
  5286. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5287. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5288. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5289. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
  5290. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5291. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5292. elseif ModeOfGlitch == 5 then
  5293. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  5294. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5295. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  5296. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  5297. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
  5298. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
  5299. elseif ModeOfGlitch == 6 then
  5300. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-10 + 4 * math.cos(sine / 34))),.1)
  5301. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(5 + 2 * math.cos(sine / 34))),.1)
  5302. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 53))),.1)
  5303. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1)
  5304. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(0),math.rad(14 + 8 * math.cos(sine / 28))),.1)
  5305. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1)
  5306. elseif ModeOfGlitch == 7 then
  5307. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(1),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  5308. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5309. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5310. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1)
  5311. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1)
  5312. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1)
  5313. elseif ModeOfGlitch == 8 then
  5314. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  5315. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  5316. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  5317. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  5318. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1)
  5319. LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
  5320. elseif ModeOfGlitch == 9 then
  5321. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  5322. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  5323. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5324. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  5325. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  5326. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  5327. elseif ModeOfGlitch == 2000000000 then
  5328. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  5329. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  5330. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  5331. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5332. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  5333. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  5334. elseif ModeOfGlitch == 6000000000 then
  5335. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-15 + 6 * math.cos(sine / 34))),.1)
  5336. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(7.5 - 4 * math.cos(sine / 47))),.1)
  5337. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-1 + 4 * math.cos(sine / 62))),.1)
  5338. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 28)),math.rad(5 - 6 * math.cos(sine / 79)),math.rad(1 - 4 * math.cos(sine / 62))),.1)
  5339. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(38 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-95 - 3 * math.cos(sine / 28))),.1)
  5340. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(45 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(80 + 5 * math.cos(sine / 30))),.1)
  5341. elseif ModeOfGlitch == 9600000000 then
  5342. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  5343. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  5344. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  5345. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5 - 2.5 * math.cos(sine / 28)),math.rad(10 + 5 * math.cos(sine / 62)),math.rad(17 + 5 * math.cos(sine / 59))),.1)
  5346. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
  5347. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
  5348. end
  5349. end
  5350. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  5351. Anim="Walk"
  5352. if attack==false then
  5353. if ModeOfGlitch == 10 then
  5354. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(4-2.5 * math.cos(sine / 3.5)), math.rad(0) - root.RotVelocity.Y / 75, math.rad(5 * math.cos(sine / 7))), 0.15)
  5355. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
  5356. RH.C0 = clerp(RH.C0, cf(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 5 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  5357. LH.C0 = clerp(LH.C0, cf(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 5 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  5358. RW.C0 = clerp(RW.C0, cf(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  5359. LW.C0 = clerp(LW.C0, cf(-1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  5360. elseif ModeOfGlitch == 666 then
  5361. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/10))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  5362. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/10))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  5363. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
  5364. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5365. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5366. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5367. elseif ModeOfGlitch == 999 then
  5368. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  5369. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  5370. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  5371. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5372. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  5373. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  5374. elseif ModeOfGlitch ~= 9600000000 then
  5375. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  5376. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  5377. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  5378. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  5379. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  5380. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  5381. elseif ModeOfGlitch == 9600000000 then
  5382. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  5383. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  5384. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(15 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
  5385. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15 + 3 * math.cos(sine / 4)),math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0 - hed.RotVelocity.Y*2.5 + 10 * math.cos(sine / 8))),.1)
  5386. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 80 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  5387. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 80 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  5388. end
  5389. end
  5390. elseif torvel>=22 and hitfloor~=nil then
  5391. Anim="Run"
  5392. if attack==false then
  5393. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 2000000000 and ModeOfGlitch ~= 6000000000 then
  5394. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
  5395. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
  5396. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(15 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 6))),.1)
  5397. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5 + 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 6))),.1)
  5398. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
  5399. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
  5400. if ModeOfGlitch == 7 then
  5401. end
  5402. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 then
  5403. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  5404. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  5405. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  5406. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  5407. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  5408. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  5409. end
  5410. end
  5411. end
  5412. end
  5413. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement