Advertisement
jasonskg1234

dd

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