Advertisement
NoHackJustStevePlayz

refw

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