Advertisement
Goo345

Untitled

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