Advertisement
NoHackJustStevePlayz

Untitled

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