Advertisement
Goo345

Untitled

Jul 31st, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 258.82 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}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
  5.  
  6. warn([[What, another glitcher? This is an edit by OmegaNoscope leave credit to danny19990, NoobyGames12, 2003boobear, makhail07 (Creterisk), and XXUNORIBOASXX.]])
  7.  
  8. --- its obs smooth af do not touch
  9. ---- Sources and functions might be taken from others
  10. plr = owner
  11. char = plr.Character
  12. hum = char.Humanoid
  13. local cam = game.Workspace.CurrentCamera
  14. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  15. Camera = cam
  16. local CamInterrupt = false
  17. local TwoD = false
  18. local TargetInfo = {nil, nil}
  19. cam.CameraType = "Custom"
  20. t = char.Torso
  21. h = char.Head
  22. ra = char["Right Arm"]
  23. la = char["Left Arm"]
  24. rl = char["Right Leg"]
  25. ll = char["Left Leg"]
  26. tors = char.Torso
  27. lleg = char["Left Leg"]
  28. root = char.HumanoidRootPart
  29. hed = char.Head
  30. rleg = char["Right Leg"]
  31. rarm = char["Right Arm"]
  32. larm = char["Left Arm"]
  33. radian = math.rad
  34. random = math.random
  35. Vec3 = Vector3.new
  36. Inst = Instance.new
  37. cFrame = CFrame.new
  38. Euler = CFrame.fromEulerAnglesXYZ
  39. vt = Vector3.new
  40. bc = BrickColor.new
  41. br = BrickColor.random
  42. it = Instance.new
  43. cf = CFrame.new
  44. local eff = true
  45. local shielding = false
  46.  
  47. local Booleans = {
  48. CamFollow = true,
  49. GyroUse = true
  50. }
  51.  
  52. function lerp(object, newCFrame, alpha)
  53. return object:lerp(newCFrame, alpha)
  54. end
  55.  
  56. local Directer = Inst("BodyGyro", root)
  57. Directer.MaxTorque = Vec3(0, 0, 0)
  58. Directer.P = 600000
  59. local CPart = Inst("Part")
  60. CPart.Anchored = true
  61. CPart.CanCollide = false
  62. CPart.Locked = true
  63. CPart.Transparency = 1
  64.  
  65. local rainbowmode = false
  66. local chaosmode = false
  67.  
  68. kan = Instance.new("Sound",char)
  69. kan.Volume = 1.25
  70. kan.TimePosition = 0
  71. kan.PlaybackSpeed = 1
  72. kan.Pitch = 1
  73. kan.SoundId = "rbxassetid://1547042045"
  74. kan.Name = "wrecked"
  75. kan.Looped = true
  76. kan:Play()
  77.  
  78. function newTheme(ID,timepos,pitch,vol)
  79. local kanz = kan
  80. --kanz:Stop()
  81. --kanz.Volume = vol
  82. --kanz.TimePosition = timepos
  83. kanz.PlaybackSpeed = pitch
  84. kanz.Pitch = pitch
  85. kanz.SoundId = ID
  86. kanz.Name = "wrecked"
  87. kanz.Looped = true
  88. kanz.Volume = 0.3
  89. --kanz:Play()
  90. --coroutine.resume(coroutine.create(function()
  91. --wait(0.05)
  92. --end))
  93. end
  94.  
  95. function newThemeCust(ID,timepos,pitch,vol)
  96. local kanz = kan
  97. kanz:Stop()
  98. kanz.Volume = vol
  99. kanz.TimePosition = timepos
  100. kanz.PlaybackSpeed = pitch
  101. kanz.Pitch = pitch
  102. kanz.SoundId = ID
  103. kanz.Name = "wrecked"
  104. kanz.Looped = true
  105. kanz:Play()
  106. coroutine.resume(coroutine.create(function()
  107. wait(0.05)
  108. end))
  109. end
  110.  
  111.  
  112.  
  113. function CameraShake(Times, Power, PlayerTarget)
  114. coroutine.resume(coroutine.create(function()
  115. FV = Instance.new("BoolValue", PlayerTarget)
  116. FV.Name = "CameraShake"
  117. for ShakeNum=1,Times do
  118. swait()
  119. local ef=Power
  120. if ef>=1 then
  121. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  122. else
  123. ef=Power*10
  124. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  125. end
  126. end
  127. Humanoid.CameraOffset = Vector3.new(0,0,0)
  128. FV:Destroy()
  129. end))
  130. end
  131.  
  132. function CameraEnshaking(Length,Intensity)
  133. coroutine.resume(coroutine.create(function()
  134. local intensity = 1*Intensity
  135. local rotM = 0.01*Intensity
  136. for i = 0, Length, 0.1 do
  137. swait()
  138. intensity = intensity - 0.05*Intensity/Length
  139. rotM = rotM - 0.0005*Intensity/Length
  140. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  141. 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)
  142. end
  143. Humanoid.CameraOffset = Vec3(0, 0, 0)
  144. end))
  145. end
  146. CamShake=function(Part,Distan,Power,Times)
  147. local de=Part.Position
  148. for i,v in pairs(workspace:children()) do
  149. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  150. for _,c in pairs(v:children()) do
  151. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  152. local Noob=v.Humanoid
  153. if Noob~=nil then
  154. coroutine.resume(coroutine.create(function()
  155. FV = Instance.new("BoolValue", Noob)
  156. FV.Name = "CameraShake"
  157. for ShakeNum=1,Times do
  158. swait()
  159. local ef=Power
  160. if ef>=1 then
  161. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  162. else
  163. ef=Power*10
  164. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  165. end
  166. end
  167. Humanoid.CameraOffset = Vector3.new(0,0,0)
  168. FV:Destroy()
  169. end))
  170. CameraShake(Times, Power, Noob)
  171. end
  172. end
  173. end
  174. end
  175. end
  176. end
  177.  
  178. function chatfunc(text,color)
  179. local chat = coroutine.wrap(function()
  180. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  181. Character:FindFirstChild("TalkingBillBoard"):destroy()
  182. end
  183. local naeeym2 = Instance.new("BillboardGui",Character)
  184. naeeym2.Size = UDim2.new(0,100,0,40)
  185. naeeym2.StudsOffset = Vector3.new(0,3,0)
  186. naeeym2.Adornee = Character.Head
  187. naeeym2.Name = "TalkingBillBoard"
  188. local tecks2 = Instance.new("TextLabel",naeeym2)
  189. tecks2.BackgroundTransparency = 1
  190. tecks2.BorderSizePixel = 0
  191. tecks2.Text = ""
  192. tecks2.Font = "SciFi"
  193. tecks2.TextSize = 30
  194. tecks2.TextStrokeTransparency = 0
  195. tecks2.TextColor3 = color
  196. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  197. tecks2.Size = UDim2.new(1,0,0.5,0)
  198. local tecks3 = Instance.new("TextLabel",naeeym2)
  199. tecks3.BackgroundTransparency = 1
  200. tecks3.BorderSizePixel = 0
  201. tecks3.Text = ""
  202. tecks3.Font = "SciFi"
  203. tecks3.TextSize = 30
  204. tecks3.TextStrokeTransparency = 0
  205. tecks3.TextColor3 = Color3.new(0,0,0)
  206. tecks3.TextStrokeColor3 = color
  207. tecks3.Size = UDim2.new(1,0,0.5,0)
  208. coroutine.resume(coroutine.create(function()
  209. while true do
  210. swait(1)
  211. plr.Character.wrecked.Volume = 0.3
  212. if chaosmode == true then
  213. tecks2.TextColor3 = BrickColor.random().Color
  214. tecks3.TextStrokeColor3 = BrickColor.random().Color
  215. end
  216. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  217. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  218. tecks2.Rotation = math.random(-5,5)
  219. tecks3.Rotation = math.random(-5,5)
  220. end
  221. end))
  222. for i = 1,string.len(text),1 do
  223. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  224. tecks2.Text = string.sub(text,1,i)
  225. tecks3.Text = string.sub(text,1,i)
  226. swait(1)
  227. end
  228. wait(1)
  229. local randomrot = math.random(1,2)
  230. if randomrot == 1 then
  231. for i = 1, 50 do
  232. swait()
  233. tecks2.Rotation = tecks2.Rotation - .75
  234. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  235. tecks2.TextTransparency = tecks2.TextTransparency + .04
  236. tecks3.Rotation = tecks2.Rotation + .75
  237. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  238. tecks3.TextTransparency = tecks2.TextTransparency + .04
  239. end
  240. elseif randomrot == 2 then
  241. for i = 1, 50 do
  242. swait()
  243. tecks2.Rotation = tecks2.Rotation + .75
  244. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  245. tecks2.TextTransparency = tecks2.TextTransparency + .04
  246. tecks3.Rotation = tecks2.Rotation - .75
  247. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  248. tecks3.TextTransparency = tecks2.TextTransparency + .04
  249. end
  250. end
  251. naeeym2:Destroy()
  252. end)
  253. chat()
  254. end
  255.  
  256.  
  257. local Create = LoadLibrary("RbxUtility").Create
  258.  
  259. CFuncs = {
  260. ["Part"] = {
  261. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  262. local Part = Create("Part"){
  263. Parent = Parent,
  264. Reflectance = Reflectance,
  265. Transparency = Transparency,
  266. CanCollide = false,
  267. Locked = true,
  268. BrickColor = BrickColor.new(tostring(BColor)),
  269. Name = Name,
  270. Size = Size,
  271. Material = Material,
  272. }
  273. RemoveOutlines(Part)
  274. return Part
  275. end;
  276. };
  277.  
  278. ["Mesh"] = {
  279. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  280. local Msh = Create(Mesh){
  281. Parent = Part,
  282. Offset = OffSet,
  283. Scale = Scale,
  284. }
  285. if Mesh == "SpecialMesh" then
  286. Msh.MeshType = MeshType
  287. Msh.MeshId = MeshId
  288. end
  289. return Msh
  290. end;
  291. };
  292.  
  293. ["Mesh"] = {
  294. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  295. local Msh = Create(Mesh){
  296. Parent = Part,
  297. Offset = OffSet,
  298. Scale = Scale,
  299. }
  300. if Mesh == "SpecialMesh" then
  301. Msh.MeshType = MeshType
  302. Msh.MeshId = MeshId
  303. end
  304. return Msh
  305. end;
  306. };
  307.  
  308. ["Weld"] = {
  309. Create = function(Parent, Part0, Part1, C0, C1)
  310. local Weld = Create("Weld"){
  311. Parent = Parent,
  312. Part0 = Part0,
  313. Part1 = Part1,
  314. C0 = C0,
  315. C1 = C1,
  316. }
  317. return Weld
  318. end;
  319. };
  320.  
  321. ["Sound"] = {
  322. Create = function(id, par, vol, pit)
  323. coroutine.resume(coroutine.create(function()
  324. local S = Create("Sound"){
  325. Volume = vol,
  326. Name = "EffectSoundo",
  327. Pitch = pit or 1,
  328. SoundId = id,
  329. Parent = par or workspace,
  330. }
  331. wait()
  332. S:play()
  333. game:GetService("Debris"):AddItem(S, 10)
  334. end))
  335. end;
  336. };
  337.  
  338. ["LongSound"] = {
  339. Create = function(id, par, vol, pit)
  340. coroutine.resume(coroutine.create(function()
  341. local S = Create("Sound"){
  342. Volume = vol,
  343. Pitch = pit or 1,
  344. SoundId = id,
  345. Parent = par or workspace,
  346. }
  347. wait()
  348. S:play()
  349. game:GetService("Debris"):AddItem(S, 30)
  350. end))
  351. end;
  352. };
  353.  
  354. ["ParticleEmitter"] = {
  355. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  356. local fp = Create("ParticleEmitter"){
  357. Parent = Parent,
  358. Color = ColorSequence.new(Color1, Color2),
  359. LightEmission = LightEmission,
  360. Size = Size,
  361. Texture = Texture,
  362. Transparency = Transparency,
  363. ZOffset = ZOffset,
  364. Acceleration = Accel,
  365. Drag = Drag,
  366. LockedToPart = LockedToPart,
  367. VelocityInheritance = VelocityInheritance,
  368. EmissionDirection = EmissionDirection,
  369. Enabled = Enabled,
  370. Lifetime = LifeTime,
  371. Rate = Rate,
  372. Rotation = Rotation,
  373. RotSpeed = RotSpeed,
  374. Speed = Speed,
  375. VelocitySpread = VelocitySpread,
  376. }
  377. return fp
  378. end;
  379. };
  380.  
  381. CreateTemplate = {
  382.  
  383. };
  384. }
  385.  
  386.  
  387.  
  388. New = function(Object, Parent, Name, Data)
  389. local Object = Instance.new(Object)
  390. for Index, Value in pairs(Data or {}) do
  391. Object[Index] = Value
  392. end
  393. Object.Parent = Parent
  394. Object.Name = Name
  395. return Object
  396. end
  397. local halocolor = BrickColor.new("Pastel light blue")
  398. local halocolor2 = BrickColor.new("Cool yellow")
  399. local starcolor = BrickColor.new("Bright yellow")
  400. local lunacolor = BrickColor.new("Navy blue")
  401. local lunacolor2 = BrickColor.new("Bright blue")
  402. local wepcolor = BrickColor.new("Really black")
  403. local maincolor = BrickColor.new("Really black")
  404. local m = Instance.new("Model",char)
  405. local m2 = Instance.new("Model",char)
  406. local m3 = Instance.new("Model",char)
  407. local mw1 = Instance.new("Model",char)
  408. local mw2 = Instance.new("Model",char)
  409.  
  410. local extrawingmod1 = Instance.new("Model",char)
  411. local extrawingmod2 = Instance.new("Model",char)
  412.  
  413. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  414. local p = Instance.new("Part")
  415. p.TopSurface = 0
  416. p.BottomSurface = 0
  417. p.Parent = parent
  418. p.Size = Vector3.new(0.1,0.1,0.1)
  419. p.Transparency = transparency
  420. p.Reflectance = reflectance
  421. p.CanCollide = false
  422. p.Locked = true
  423. p.BrickColor = brickcolor
  424. p.Material = material
  425. return p
  426. end
  427.  
  428. function CreateMesh(parent,meshtype,x1,y1,z1)
  429. local mesh = Instance.new("SpecialMesh",parent)
  430. mesh.MeshType = meshtype
  431. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  432. return mesh
  433. end
  434.  
  435. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  436. local mesh = Instance.new("SpecialMesh",parent)
  437. mesh.MeshType = "FileMesh"
  438. mesh.MeshId = meshid
  439. mesh.Scale = Vector3.new(x1,y1,z1)
  440. return mesh
  441. end
  442.  
  443.  
  444. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  445. local mesh = Instance.new("SpecialMesh",parent)
  446. mesh.MeshType = "FileMesh"
  447. mesh.MeshId = meshid
  448. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  449. mesh.Scale = Vector3.new(x1,y1,z1)
  450. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  451. return mesh
  452. end
  453.  
  454. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  455. local weld = Instance.new("Weld")
  456. weld.Parent = parent
  457. weld.Part0 = part0
  458. weld.Part1 = part1
  459. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  460. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  461. return weld
  462. end
  463.  
  464.  
  465. --------------
  466. local secondchar = Instance.new("Model",char)
  467. local GhostCol = BrickColor.new("Dark red")
  468. local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
  469. CreateMesh(sectors,"Brick",2*8,2*8,1*8)
  470. local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  471.  
  472. local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  473. CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
  474. local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  475.  
  476. local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  477. CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
  478. local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  479.  
  480. local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  481. CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
  482. local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  483.  
  484. local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  485. CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
  486. local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  487.  
  488. local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
  489. CreateMesh(seched,"Brick",1*8,1*8,1*8)
  490. local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  491. --------------
  492. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  493. 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))
  494. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  495. 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))
  496.  
  497. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  498. CreateMesh(handle,"Brick",0,0,0)
  499. 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))
  500. local valuaring = 10
  501. for i = 0, 49 do
  502. valuaring = valuaring + 10
  503. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  504. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  505. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  506. end
  507.  
  508. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  509. CreateMesh(handle,"Brick",0,0,0)
  510. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  511. local valuaring = 10
  512. for i = 0, 49 do
  513. valuaring = valuaring + 10
  514. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  515. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  516. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  517. end
  518.  
  519.  
  520. local handle = CreateParta(m,1,1,"Neon",maincolor)
  521. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  522. 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))
  523.  
  524. --- Left wing.
  525.  
  526. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  527. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  528. 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))
  529.  
  530. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  531. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  532. 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))
  533. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  534. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  535. 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))
  536. A0 = Instance.new('Attachment',wed)
  537. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  538. CreateMesh(wed,"Wedge",0.05,0.5,3)
  539. 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))
  540. A1 = Instance.new('Attachment',wed)
  541. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  542. CreateMesh(wed,"Wedge",0.05,3,0.5)
  543. 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))
  544.  
  545. tl1 = Instance.new('Trail',wed)
  546. tl1.Attachment0 = A0
  547. tl1.Attachment1 = A1
  548. tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  549. tl1.LightEmission = 1
  550. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  551. tl1.Color = ColorSequence.new(BrickColor.new('Dark green').Color)
  552. tl1.Lifetime = 0.6
  553.  
  554.  
  555. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  556. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  557. 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))
  558.  
  559. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  560. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  561. 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))
  562. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  563. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  564. 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))
  565. A0 = Instance.new('Attachment',wed)
  566. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  567. CreateMesh(wed,"Wedge",0.05,0.5,3)
  568. 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))
  569. A1 = Instance.new('Attachment',wed)
  570. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  571. CreateMesh(wed,"Wedge",0.05,3,0.5)
  572. 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))
  573.  
  574. tl2 = Instance.new('Trail',wed)
  575. tl2.Attachment0 = A0
  576. tl2.Attachment1 = A1
  577. tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  578. tl2.LightEmission = 1
  579. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  580. tl2.Color = ColorSequence.new(BrickColor.new('Dark green').Color)
  581. tl2.Lifetime = 0.6
  582.  
  583. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  584. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  585. 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))
  586.  
  587. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  588. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  589. 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))
  590. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  591. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  592. 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))
  593. A0 = Instance.new('Attachment',wed)
  594. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  595. CreateMesh(wed,"Wedge",0.05,0.5,3)
  596. 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))
  597. A1 = Instance.new('Attachment',wed)
  598. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  599. CreateMesh(wed,"Wedge",0.05,3,0.5)
  600. 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))
  601.  
  602. tl3 = Instance.new('Trail',wed)
  603. tl3.Attachment0 = A0
  604. tl3.Attachment1 = A1
  605. tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  606. tl3.LightEmission = 1
  607. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  608. tl3.Color = ColorSequence.new(BrickColor.new('Dark green').Color)
  609. tl3.Lifetime = 0.6
  610.  
  611. tl1.Enabled = false
  612. tl2.Enabled = false
  613. tl3.Enabled = false
  614. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  615. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  616. 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))
  617.  
  618. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  619. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  620. 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))
  621. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  622. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  623. 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))
  624. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  625. CreateMesh(wed,"Wedge",0.05,0.5,3)
  626. 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))
  627. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  628. CreateMesh(wed,"Wedge",0.05,3,0.5)
  629. 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))
  630.  
  631. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  632. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  633. 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))
  634.  
  635. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  636. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  637. 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))
  638. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  639. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  640. 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))
  641. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  642. CreateMesh(wed,"Wedge",0.05,0.5,3)
  643. 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))
  644. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  645. CreateMesh(wed,"Wedge",0.05,3,0.5)
  646. 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))
  647.  
  648. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  649. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  650. 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))
  651.  
  652. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  653. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  654. 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))
  655. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  656. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  657. 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))
  658. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  659. CreateMesh(wed,"Wedge",0.05,0.5,3)
  660. 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))
  661. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  662. CreateMesh(wed,"Wedge",0.05,3,0.5)
  663. 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))
  664.  
  665. -- Right wing.
  666.  
  667. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  668. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  669. 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))
  670.  
  671. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  672. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  673. 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))
  674. A0 = Instance.new('Attachment',wed)
  675. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  676. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  677. 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))
  678. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  679. CreateMesh(wed,"Wedge",0.05,0.5,3)
  680. 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))
  681. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  682. CreateMesh(wed,"Wedge",0.05,3,0.5)
  683. 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))
  684. A1 = Instance.new('Attachment',wed)
  685.  
  686. tr1 = Instance.new('Trail',wed)
  687. tr1.Attachment0 = A0
  688. tr1.Attachment1 = A1
  689. tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  690. tr1.LightEmission = 1
  691. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  692. tr1.Color = ColorSequence.new(BrickColor.new('Dark green').Color)
  693. tr1.Lifetime = 0.6
  694.  
  695. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  696. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  697. 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))
  698.  
  699. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  700. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  701. 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))
  702. A0 = Instance.new('Attachment',wed)
  703. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  704. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  705. 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))
  706. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  707. CreateMesh(wed,"Wedge",0.05,0.5,3)
  708. 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))
  709. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  710. CreateMesh(wed,"Wedge",0.05,3,0.5)
  711. 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))
  712. A1 = Instance.new('Attachment',wed)
  713.  
  714. tr2 = Instance.new('Trail',wed)
  715. tr2.Attachment0 = A0
  716. tr2.Attachment1 = A1
  717. tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  718. tr2.LightEmission = 1
  719. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  720. tr2.Color = ColorSequence.new(BrickColor.new('Dark green').Color)
  721. tr2.Lifetime = 0.6
  722.  
  723. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  724. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  725. 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))
  726.  
  727. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  728. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  729. 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))
  730. A0 = Instance.new('Attachment',wed)
  731. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  732. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  733. 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))
  734. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  735. CreateMesh(wed,"Wedge",0.05,0.5,3)
  736. 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))
  737. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  738. CreateMesh(wed,"Wedge",0.05,3,0.5)
  739. 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))
  740. A1 = Instance.new('Attachment',wed)
  741.  
  742. tr3 = Instance.new('Trail',wed)
  743. tr3.Attachment0 = A0
  744. tr3.Attachment1 = A1
  745. tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  746. tr3.LightEmission = 1
  747. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  748. tr3.Color = ColorSequence.new(BrickColor.new('Dark green').Color)
  749. tr3.Lifetime = 0.6
  750.  
  751.  
  752. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  753. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  754. 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))
  755.  
  756. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  757. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  758. 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))
  759. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  760. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  761. 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))
  762. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  763. CreateMesh(wed,"Wedge",0.05,0.5,3)
  764. 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))
  765. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  766. CreateMesh(wed,"Wedge",0.05,3,0.5)
  767. 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))
  768.  
  769. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  770. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  771. 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))
  772.  
  773. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  774. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  775. 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))
  776. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  777. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  778. 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))
  779. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  780. CreateMesh(wed,"Wedge",0.05,0.5,3)
  781. 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))
  782. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  783. CreateMesh(wed,"Wedge",0.05,3,0.5)
  784. 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))
  785.  
  786. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  787. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  788. 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))
  789.  
  790. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  791. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  792. 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))
  793. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  794. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  795. 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))
  796. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  797. CreateMesh(wed,"Wedge",0.05,0.5,3)
  798. 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))
  799. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  800. CreateMesh(wed,"Wedge",0.05,3,0.5)
  801. 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))
  802.  
  803. ---- HERES THE RING
  804.  
  805.  
  806. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  807. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  808. 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))
  809. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  810. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  811. 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))
  812. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  813. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  814. 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))
  815.  
  816.  
  817. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  818. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  819. 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))
  820.  
  821. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  822. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  823. 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))
  824.  
  825.  
  826.  
  827. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  828. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  829. 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))
  830.  
  831. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  832. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  833. 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))
  834.  
  835. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  836. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  837. 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))
  838.  
  839. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  840. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  841. 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))
  842. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  843. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  844. 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))
  845.  
  846. --- second ring
  847.  
  848. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  849. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  850. 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))
  851. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  852. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  853. 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))
  854. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  855. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  856. 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))
  857.  
  858. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  859. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  860. 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))
  861.  
  862. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  863. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  864. 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))
  865.  
  866.  
  867.  
  868. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  869. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  870. 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))
  871.  
  872. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  873. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  874. 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))
  875.  
  876. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  877. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  878. 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))
  879.  
  880. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  881. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  882. 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))
  883. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  884. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  885. 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))]]--
  886.  
  887.  
  888.  
  889. for i, v in pairs(m:GetChildren()) do
  890. if v:IsA("Part") then
  891. v.BrickColor = BrickColor.new("Really black")
  892. v.Material = "Glass"
  893. end
  894. end
  895. for i, v in pairs(m2:GetChildren()) do
  896. if v:IsA("Part") then
  897. v.BrickColor = BrickColor.new("Navy blue")
  898. v.Material = "Granite"
  899. end
  900. end
  901. for i, v in pairs(m3:GetChildren()) do
  902. if v:IsA("Part") then
  903. v.BrickColor = BrickColor.new("Dark green")
  904. v.Material = "Neon"
  905. end
  906. end
  907. for i, v in pairs(mw2:GetChildren()) do
  908. if v:IsA("Part") then
  909. v.BrickColor = BrickColor.new("Dark green")
  910. v.Material = "Neon"
  911. end
  912. end
  913. for i, v in pairs(mw1:GetChildren()) do
  914. if v:IsA("Part") then
  915. v.Transparency = 1
  916. v.BrickColor = BrickColor.new("Dark green")
  917. v.Material = "Neon"
  918. end
  919. end
  920. for i, v in pairs(extrawingmod1:GetChildren()) do
  921. if v:IsA("Part") then
  922. v.Transparency = 1
  923. v.BrickColor = BrickColor.new("White")
  924. v.Material = "Neon"
  925. end
  926. end
  927. for i, v in pairs(extrawingmod2:GetChildren()) do
  928. if v:IsA("Part") then
  929. v.Transparency = 1
  930. v.BrickColor = BrickColor.new("White")
  931. v.Material = "Neon"
  932. end
  933. end
  934. local MAINRUINCOLOR = BrickColor.new("Dark green")
  935. ------
  936.  
  937.  
  938. function RemoveOutlines(part)
  939. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  940. end
  941. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  942. local Part = Create("Part")({
  943. Parent = Parent,
  944. Reflectance = Reflectance,
  945. Transparency = Transparency,
  946. CanCollide = false,
  947. Locked = true,
  948. BrickColor = BrickColor.new(tostring(BColor)),
  949. Name = Name,
  950. Size = Size,
  951. Material = Material
  952. })
  953. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  954. RemoveOutlines(Part)
  955. return Part
  956. end
  957. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  958. local Msh = Create(Mesh)({
  959. Parent = Part,
  960. Offset = OffSet,
  961. Scale = Scale
  962. })
  963. if Mesh == "SpecialMesh" then
  964. Msh.MeshType = MeshType
  965. Msh.MeshId = MeshId
  966. end
  967. return Msh
  968. end
  969. function CreateWeld(Parent, Part0, Part1, C0, C1)
  970. local Weld = Create("Weld")({
  971. Parent = Parent,
  972. Part0 = Part0,
  973. Part1 = Part1,
  974. C0 = C0,
  975. C1 = C1
  976. })
  977. return Weld
  978. end
  979.  
  980. Player=game:GetService("Players").LocalPlayer
  981. Character=Player.Character
  982. PlayerGui=Player.PlayerGui
  983. Backpack=Player.Backpack
  984. Torso=Character.Torso
  985. Head=Character.Head
  986. Humanoid=Character.Humanoid
  987. m=Instance.new('Model',Character)
  988. LeftArm=Character["Left Arm"]
  989. LeftLeg=Character["Left Leg"]
  990. RightArm=Character["Right Arm"]
  991. RightLeg=Character["Right Leg"]
  992. LS=Torso["Left Shoulder"]
  993. LH=Torso["Left Hip"]
  994. RS=Torso["Right Shoulder"]
  995. RH=Torso["Right Hip"]
  996. Face = Head.face
  997. Neck=Torso.Neck
  998. it=Instance.new
  999. attacktype=1
  1000. vt=Vector3.new
  1001. cf=CFrame.new
  1002. euler=CFrame.fromEulerAnglesXYZ
  1003. angles=CFrame.Angles
  1004. cloaked=false
  1005. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1006. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1007. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1008. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1009. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1010. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1011. RootPart=Character.HumanoidRootPart
  1012. RootJoint=RootPart.RootJoint
  1013. RootCF=euler(-1.57,0,3.14)
  1014. attack = false
  1015. attackdebounce = false
  1016. deb=false
  1017. equipped=true
  1018. hand=false
  1019. MMouse=nil
  1020. combo=0
  1021. mana=0
  1022. trispeed=.2
  1023. attackmode='none'
  1024. local idle=0
  1025. local Anim="Idle"
  1026. local Effects={}
  1027. local gun=false
  1028. local shoot=false
  1029. local sine = 0
  1030. local change = 1
  1031. player=nil
  1032.  
  1033.  
  1034. local toggleTag = true
  1035. local txt = Instance.new("BillboardGui", Head)
  1036. txt.Adornee = nil
  1037. txt.Name = "NameDetect"
  1038. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1039. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1040. local text = Instance.new("TextLabel", txt)
  1041. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1042. text.FontSize = "Size8"
  1043. text.TextScaled = true
  1044. text.TextTransparency = 0
  1045. text.BackgroundTransparency = 1
  1046. text.TextTransparency = 0
  1047. text.TextStrokeTransparency = 0
  1048. text.Font = "Fantasy"
  1049. text.TextStrokeColor3 = Color3.new(40/255, 127/255, 71/255)
  1050. text.TextColor3 = Color3.new(0,0,0)
  1051. text.Text = "Normal"
  1052.  
  1053. function RecolorTextAndRename(name,col1,col2)
  1054. text.TextStrokeColor3 = col2
  1055. text.TextColor3 = col1
  1056. text.Text = name
  1057. end
  1058. mouse=Player:GetMouse()
  1059. --save shoulders
  1060. RSH, LSH=nil, nil
  1061. --welds
  1062. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1063. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1064. LH=Torso["Left Hip"]
  1065. RH=Torso["Right Hip"]
  1066. TorsoColor=Torso.BrickColor
  1067. function NoOutline(Part)
  1068. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1069. end
  1070. player=Player
  1071. ch=Character
  1072. RSH=ch.Torso["Right Shoulder"]
  1073. LSH=ch.Torso["Left Shoulder"]
  1074. --
  1075. RSH.Parent=nil
  1076. LSH.Parent=nil
  1077. --
  1078. RW.Name="Right Shoulder"
  1079. RW.Part0=ch.Torso
  1080. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1081. RW.C1=cf(0, 0.5, 0)
  1082. RW.Part1=ch["Right Arm"]
  1083. RW.Parent=ch.Torso
  1084. --
  1085. LW.Name="Left Shoulder"
  1086. LW.Part0=ch.Torso
  1087. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1088. LW.C1=cf(0, 0.5, 0)
  1089. LW.Part1=ch["Left Arm"]
  1090. LW.Parent=ch.Torso
  1091.  
  1092. local Stats=Instance.new("BoolValue")
  1093. Stats.Name="Stats"
  1094. Stats.Parent=Character
  1095. local Atk=Instance.new("NumberValue")
  1096. Atk.Name="Damage"
  1097. Atk.Parent=Stats
  1098. Atk.Value=1
  1099. local Def=Instance.new("NumberValue")
  1100. Def.Name="Defense"
  1101. Def.Parent=Stats
  1102. Def.Value=1
  1103. local Speed=Instance.new("NumberValue")
  1104. Speed.Name="Speed"
  1105. Speed.Parent=Stats
  1106. Speed.Value=1
  1107. local Mvmt=Instance.new("NumberValue")
  1108. Mvmt.Name="Movement"
  1109. Mvmt.Parent=Stats
  1110. Mvmt.Value=1
  1111.  
  1112. local donum=0
  1113.  
  1114.  
  1115. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1116. local fp=it("Part")
  1117. fp.formFactor=formfactor
  1118. fp.Parent=parent
  1119. fp.Reflectance=reflectance
  1120. fp.Transparency=transparency
  1121. fp.CanCollide=false
  1122. fp.Locked=true
  1123. fp.BrickColor=brickcolor
  1124. fp.Name=name
  1125. fp.Size=size
  1126. fp.Position=Torso.Position
  1127. NoOutline(fp)
  1128. fp.Material="SmoothPlastic"
  1129. fp:BreakJoints()
  1130. return fp
  1131. end
  1132.  
  1133. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1134. local mesh=it(Mesh)
  1135. mesh.Parent=part
  1136. if Mesh=="SpecialMesh" then
  1137. mesh.MeshType=meshtype
  1138. if meshid~="nil" then
  1139. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1140. end
  1141. end
  1142. mesh.Offset=offset
  1143. mesh.Scale=scale
  1144. return mesh
  1145. end
  1146.  
  1147. function weld(parent,part0,part1,c0)
  1148. local weld=it("Weld")
  1149. weld.Parent=parent
  1150. weld.Part0=part0
  1151. weld.Part1=part1
  1152. weld.C0=c0
  1153. return weld
  1154. end
  1155.  
  1156. local Color1=Torso.BrickColor
  1157.  
  1158. local bodvel=Instance.new("BodyVelocity")
  1159. local bg=Instance.new("BodyGyro")
  1160.  
  1161. function swait(num)
  1162. if num==0 or num==nil then
  1163. game:service'RunService'.Stepped:wait(0)
  1164. else
  1165. for i=0,num do
  1166. game:service'RunService'.Stepped:wait(0)
  1167. end
  1168. end
  1169. end
  1170.  
  1171. -------- RAINBOW LEAVE IT TO ME
  1172. local r = 255
  1173. local g = 0
  1174. local b = 0
  1175. coroutine.resume(coroutine.create(function()
  1176. while wait() do
  1177. for i = 0, 254/5 do
  1178. swait()
  1179. g = g + 5
  1180. end
  1181. for i = 0, 254/5 do
  1182. swait()
  1183. r = r - 5
  1184. end
  1185. for i = 0, 254/5 do
  1186. swait()
  1187. b = b + 5
  1188. end
  1189. for i = 0, 254/5 do
  1190. swait()
  1191. g = g - 5
  1192. end
  1193. for i = 0, 254/5 do
  1194. swait()
  1195. r = r + 5
  1196. end
  1197. for i = 0, 254/5 do
  1198. swait()
  1199. b = b - 5
  1200. end
  1201. end
  1202. end))
  1203.  
  1204.  
  1205. so = function(id,par,vol,pit)
  1206. coroutine.resume(coroutine.create(function()
  1207. local sou = Instance.new("Sound",par or workspace)
  1208. sou.Volume=vol
  1209. sou.Pitch=pit or 1
  1210. sou.SoundId=id
  1211. swait()
  1212. sou:play()
  1213. game:GetService("Debris"):AddItem(sou,6)
  1214. end))
  1215. end
  1216.  
  1217. function clerp(a,b,t)
  1218. local qa = {QuaternionFromCFrame(a)}
  1219. local qb = {QuaternionFromCFrame(b)}
  1220. local ax, ay, az = a.x, a.y, a.z
  1221. local bx, by, bz = b.x, b.y, b.z
  1222. local _t = 1-t
  1223. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1224. end
  1225.  
  1226. function QuaternionFromCFrame(cf)
  1227. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1228. local trace = m00 + m11 + m22
  1229. if trace > 0 then
  1230. local s = math.sqrt(1 + trace)
  1231. local recip = 0.5/s
  1232. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1233. else
  1234. local i = 0
  1235. if m11 > m00 then
  1236. i = 1
  1237. end
  1238. if m22 > (i == 0 and m00 or m11) then
  1239. i = 2
  1240. end
  1241. if i == 0 then
  1242. local s = math.sqrt(m00-m11-m22+1)
  1243. local recip = 0.5/s
  1244. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1245. elseif i == 1 then
  1246. local s = math.sqrt(m11-m22-m00+1)
  1247. local recip = 0.5/s
  1248. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1249. elseif i == 2 then
  1250. local s = math.sqrt(m22-m00-m11+1)
  1251. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1252. end
  1253. end
  1254. end
  1255.  
  1256. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1257. local xs, ys, zs = x + x, y + y, z + z
  1258. local wx, wy, wz = w*xs, w*ys, w*zs
  1259. local xx = x*xs
  1260. local xy = x*ys
  1261. local xz = x*zs
  1262. local yy = y*ys
  1263. local yz = y*zs
  1264. local zz = z*zs
  1265. 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))
  1266. end
  1267.  
  1268. function QuaternionSlerp(a, b, t)
  1269. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1270. local startInterp, finishInterp;
  1271. if cosTheta >= 0.0001 then
  1272. if (1 - cosTheta) > 0.0001 then
  1273. local theta = math.acos(cosTheta)
  1274. local invSinTheta = 1/math.sin(theta)
  1275. startInterp = math.sin((1-t)*theta)*invSinTheta
  1276. finishInterp = math.sin(t*theta)*invSinTheta
  1277. else
  1278. startInterp = 1-t
  1279. finishInterp = t
  1280. end
  1281. else
  1282. if (1+cosTheta) > 0.0001 then
  1283. local theta = math.acos(-cosTheta)
  1284. local invSinTheta = 1/math.sin(theta)
  1285. startInterp = math.sin((t-1)*theta)*invSinTheta
  1286. finishInterp = math.sin(t*theta)*invSinTheta
  1287. else
  1288. startInterp = t-1
  1289. finishInterp = t
  1290. end
  1291. end
  1292. 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
  1293. end
  1294.  
  1295. local function CFrameFromTopBack(at, top, back)
  1296. local right = top:Cross(back)
  1297. return CFrame.new(at.x, at.y, at.z,
  1298. right.x, top.x, back.x,
  1299. right.y, top.y, back.y,
  1300. right.z, top.z, back.z)
  1301. end
  1302.  
  1303. function Triangle(a, b, c)
  1304. local edg1 = (c-a):Dot((b-a).unit)
  1305. local edg2 = (a-b):Dot((c-b).unit)
  1306. local edg3 = (b-c):Dot((a-c).unit)
  1307. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1308. a, b, c = a, b, c
  1309. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1310. a, b, c = b, c, a
  1311. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1312. a, b, c = c, a, b
  1313. else
  1314. assert(false, "unreachable")
  1315. end
  1316.  
  1317. local len1 = (c-a):Dot((b-a).unit)
  1318. local len2 = (b-a).magnitude - len1
  1319. local width = (a + (b-a).unit*len1 - c).magnitude
  1320.  
  1321. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1322.  
  1323. local list = {}
  1324.  
  1325. if len1 > 0.01 then
  1326. local w1 = Instance.new('WedgePart', m)
  1327. game:GetService("Debris"):AddItem(w1,5)
  1328. w1.Material = "SmoothPlastic"
  1329. w1.FormFactor = 'Custom'
  1330. w1.BrickColor = BrickColor.new("Dark red")
  1331. w1.Transparency = 0
  1332. w1.Reflectance = 0
  1333. w1.Material = "SmoothPlastic"
  1334. w1.CanCollide = false
  1335. local l1 = Instance.new("PointLight",w1)
  1336. l1.Color = Color3.new(170,0,0)
  1337. NoOutline(w1)
  1338. local sz = Vector3.new(0.2, width, len1)
  1339. w1.Size = sz
  1340. local sp = Instance.new("SpecialMesh",w1)
  1341. sp.MeshType = "Wedge"
  1342. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1343. w1:BreakJoints()
  1344. w1.Anchored = true
  1345. w1.Parent = workspace
  1346. w1.Transparency = 0.7
  1347. table.insert(Effects,{w1,"Disappear",.01})
  1348. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1349. table.insert(list,w1)
  1350. end
  1351.  
  1352. if len2 > 0.01 then
  1353. local w2 = Instance.new('WedgePart', m)
  1354. game:GetService("Debris"):AddItem(w2,5)
  1355. w2.Material = "SmoothPlastic"
  1356. w2.FormFactor = 'Custom'
  1357. w2.BrickColor = BrickColor.new("Dark red")
  1358. w2.Transparency = 0
  1359. w2.Reflectance = 0
  1360. w2.Material = "SmoothPlastic"
  1361. w2.CanCollide = false
  1362. local l2 = Instance.new("PointLight",w2)
  1363. l2.Color = Color3.new(170,0,0)
  1364. NoOutline(w2)
  1365. local sz = Vector3.new(0.2, width, len2)
  1366. w2.Size = sz
  1367. local sp = Instance.new("SpecialMesh",w2)
  1368. sp.MeshType = "Wedge"
  1369. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1370. w2:BreakJoints()
  1371. w2.Anchored = true
  1372. w2.Parent = workspace
  1373. w2.Transparency = 0.7
  1374. table.insert(Effects,{w2,"Disappear",.01})
  1375. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1376. table.insert(list,w2)
  1377. end
  1378. return unpack(list)
  1379. end
  1380.  
  1381.  
  1382. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1383. if hit.Parent == nil then
  1384. return
  1385. end
  1386. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1387. for _, v in pairs(hit.Parent:children()) do
  1388. if v:IsA("Humanoid") then
  1389. h = v
  1390. end
  1391. end
  1392. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1393. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1394. return
  1395. end
  1396. local c = Create("ObjectValue")({
  1397. Name = "creator",
  1398. Value = game:service("Players").LocalPlayer,
  1399. Parent = h
  1400. })
  1401. game:GetService("Debris"):AddItem(c, 0.5)
  1402. if HitSound ~= nil and HitPitch ~= nil then
  1403. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1404. end
  1405. local Damage = math.random(minim, maxim)
  1406. local blocked = false
  1407. local block = hit.Parent:findFirstChild("Block")
  1408. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1409. blocked = true
  1410. block.Value = block.Value - 1
  1411. print(block.Value)
  1412. end
  1413. if blocked == false then
  1414. HitHealth = h.Health
  1415. h.Health = h.Health - Damage
  1416. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1417. print("gained kill")
  1418. end
  1419. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1420. else
  1421. h.Health = h.Health - Damage / 2
  1422. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1423. end
  1424. if Type == "Knockdown" then
  1425. local hum = hit.Parent.Humanoid
  1426. hum.PlatformStand = true
  1427. coroutine.resume(coroutine.create(function(HHumanoid)
  1428. swait(1)
  1429. HHumanoid.PlatformStand = false
  1430. end), hum)
  1431. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1432. local bodvol = Create("BodyVelocity")({
  1433. velocity = angle * knockback,
  1434. P = 5000,
  1435. maxForce = Vector3.new(8000, 8000, 8000),
  1436. Parent = hit
  1437. })
  1438. local rl = Create("BodyAngularVelocity")({
  1439. P = 3000,
  1440. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1441. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1442. Parent = hit
  1443. })
  1444. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1445. game:GetService("Debris"):AddItem(rl, 0.5)
  1446. elseif Type == "Normal" then
  1447. local vp = Create("BodyVelocity")({
  1448. P = 500,
  1449. maxForce = Vector3.new(math.huge, 0, math.huge),
  1450. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1451. })
  1452. if knockback > 0 then
  1453. vp.Parent = hit.Parent.Head
  1454. end
  1455. game:GetService("Debris"):AddItem(vp, 0.5)
  1456. elseif Type == "Up" then
  1457. local bodyVelocity = Create("BodyVelocity")({
  1458. velocity = Vector3.new(0, 20, 0),
  1459. P = 5000,
  1460. maxForce = Vector3.new(8000, 8000, 8000),
  1461. Parent = hit
  1462. })
  1463. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1464. local bodyVelocity = Create("BodyVelocity")({
  1465. velocity = Vector3.new(0, 20, 0),
  1466. P = 5000,
  1467. maxForce = Vector3.new(8000, 8000, 8000),
  1468. Parent = hit
  1469. })
  1470. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1471. elseif Type == "Leech" then
  1472. local hum = hit.Parent.Humanoid
  1473. if hum ~= nil then
  1474. for i = 0, 2 do
  1475. 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)
  1476. end
  1477. Humanoid.Health = Humanoid.Health + 10
  1478. end
  1479. elseif Type == "UpKnock" then
  1480. local hum = hit.Parent.Humanoid
  1481. hum.PlatformStand = true
  1482. if hum ~= nil then
  1483. hitr = true
  1484. end
  1485. coroutine.resume(coroutine.create(function(HHumanoid)
  1486. swait(5)
  1487. HHumanoid.PlatformStand = false
  1488. hitr = false
  1489. end), hum)
  1490. local bodyVelocity = Create("BodyVelocity")({
  1491. velocity = Vector3.new(0, 20, 0),
  1492. P = 5000,
  1493. maxForce = Vector3.new(8000, 8000, 8000),
  1494. Parent = hit
  1495. })
  1496. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1497. local bodyVelocity = Create("BodyVelocity")({
  1498. velocity = Vector3.new(0, 20, 0),
  1499. P = 5000,
  1500. maxForce = Vector3.new(8000, 8000, 8000),
  1501. Parent = hit
  1502. })
  1503. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1504. elseif Type == "Snare" then
  1505. local bp = Create("BodyPosition")({
  1506. P = 2000,
  1507. D = 100,
  1508. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1509. position = hit.Parent.Torso.Position,
  1510. Parent = hit.Parent.Torso
  1511. })
  1512. game:GetService("Debris"):AddItem(bp, 1)
  1513. elseif Type == "Slashnare" then
  1514. 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)
  1515. for i = 1, math.random(4, 5) do
  1516. 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)
  1517. end
  1518. local bp = Create("BodyPosition")({
  1519. P = 2000,
  1520. D = 100,
  1521. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1522. position = hit.Parent.Torso.Position,
  1523. Parent = hit.Parent.Torso
  1524. })
  1525. game:GetService("Debris"):AddItem(bp, 1)
  1526. elseif Type == "Spike" then
  1527. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1528. local bp = Create("BodyPosition")({
  1529. P = 2000,
  1530. D = 100,
  1531. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1532. position = hit.Parent.Torso.Position,
  1533. Parent = hit.Parent.Torso
  1534. })
  1535. game:GetService("Debris"):AddItem(bp, 1)
  1536. elseif Type == "Freeze" then
  1537. local BodPos = Create("BodyPosition")({
  1538. P = 50000,
  1539. D = 1000,
  1540. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1541. position = hit.Parent.Torso.Position,
  1542. Parent = hit.Parent.Torso
  1543. })
  1544. local BodGy = Create("BodyGyro")({
  1545. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1546. P = 20000,
  1547. Parent = hit.Parent.Torso,
  1548. cframe = hit.Parent.Torso.CFrame
  1549. })
  1550. hit.Parent.Torso.Anchored = true
  1551. coroutine.resume(coroutine.create(function(Part)
  1552. swait(1.5)
  1553. Part.Anchored = false
  1554. end), hit.Parent.Torso)
  1555. game:GetService("Debris"):AddItem(BodPos, 3)
  1556. game:GetService("Debris"):AddItem(BodGy, 3)
  1557. end
  1558. local debounce = Create("BoolValue")({
  1559. Name = "DebounceHit",
  1560. Parent = hit.Parent,
  1561. Value = true
  1562. })
  1563. game:GetService("Debris"):AddItem(debounce, Delay)
  1564. c = Instance.new("ObjectValue")
  1565. c.Name = "creator"
  1566. c.Value = Player
  1567. c.Parent = h
  1568. game:GetService("Debris"):AddItem(c, 0.5)
  1569. end
  1570. end
  1571. function ShowDamage(Pos, Text, Time, Color)
  1572. local Rate = 0.03333333333333333
  1573. local Pos = Pos or Vector3.new(0, 0, 0)
  1574. local Text = Text or ""
  1575. local Time = Time or 2
  1576. local Color = Color or Color3.new(1, 0, 1)
  1577. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1578. EffectPart.Anchored = true
  1579. local BillboardGui = Create("BillboardGui")({
  1580. Size = UDim2.new(3, 0, 3, 0),
  1581. Adornee = EffectPart,
  1582. Parent = EffectPart
  1583. })
  1584. local TextLabel = Create("TextLabel")({
  1585. BackgroundTransparency = 1,
  1586. Size = UDim2.new(1, 0, 1, 0),
  1587. Text = Text,
  1588. TextColor3 = Color,
  1589. TextScaled = true,
  1590. Font = Enum.Font.ArialBold,
  1591. Parent = BillboardGui
  1592. })
  1593. game.Debris:AddItem(EffectPart, Time + 0.1)
  1594. EffectPart.Parent = game:GetService("Workspace")
  1595. delay(0, function()
  1596. local Frames = Time / Rate
  1597. for Frame = 1, Frames do
  1598. wait(Rate)
  1599. local Percent = Frame / Frames
  1600. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1601. TextLabel.TextTransparency = Percent
  1602. end
  1603. if EffectPart and EffectPart.Parent then
  1604. EffectPart:Destroy()
  1605. end
  1606. end)
  1607. end
  1608. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1609. for _, c in pairs(workspace:children()) do
  1610. local hum = c:findFirstChildOfClass("Humanoid")
  1611. if hum ~= nil then
  1612. local head = c:findFirstChild("Head")
  1613. if head ~= nil then
  1614. local targ = head.Position - Part.Position
  1615. local mag = targ.magnitude
  1616. if magni >= mag and c.Name ~= Player.Name then
  1617. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1618. end
  1619. end
  1620. end
  1621. end
  1622. end
  1623.  
  1624. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1625. for _, c in pairs(workspace:children()) do
  1626. local hum = c:findFirstChild("Humanoid")
  1627. if hum ~= nil then
  1628. local head = c:findFirstChild("Torso")
  1629. if head ~= nil then
  1630. local targ = head.Position - Part.Position
  1631. local mag = targ.magnitude
  1632. if magni >= mag and c.Name ~= Player.Name then
  1633. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1634. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1635. end
  1636. end
  1637. end
  1638. end
  1639. end
  1640.  
  1641. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1642. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1643. end
  1644.  
  1645. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1646. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1647. prt.Anchored=true
  1648. prt.CFrame=cframe
  1649. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1650. --http://www.roblox.com/asset/?id=4770560
  1651. game:GetService("Debris"):AddItem(prt,2)
  1652. CF=prt.CFrame
  1653. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1654. for i=0,1,0.2 do
  1655. wait()
  1656. Part.CFrame=CF*cf(0,0,-0.4)
  1657. end
  1658. for i=0,1,delay do
  1659. wait()
  1660. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1661. Mesh.Scale=Mesh.Scale
  1662. end
  1663. for i=0,1,0.1 do
  1664. wait()
  1665. Part.Transparency=i
  1666. end
  1667. Part.Parent=nil
  1668. end),prt,msh,CF)
  1669. end
  1670.  
  1671. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1672. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1673. prt.Anchored=true
  1674. prt.Material = "Neon"
  1675. prt.CFrame=cframe
  1676. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1677. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1678. game:GetService("Debris"):AddItem(prt,5)
  1679. coroutine.resume(coroutine.create(function(Part,Mesh)
  1680. for i=0,1,delay do
  1681. swait()
  1682. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1683. Part.Transparency=i
  1684. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1685. end
  1686. Part.Parent=nil
  1687. end),prt,msh)
  1688. end
  1689.  
  1690. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1691. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1692. prt.Anchored=true
  1693. prt.Material = "Neon"
  1694. prt.CFrame=cframe
  1695. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1696. game:GetService("Debris"):AddItem(prt,5)
  1697. coroutine.resume(coroutine.create(function(Part,Mesh)
  1698. local rtype = rottype
  1699. for i=0,1,delay do
  1700. swait()
  1701. if rtype == 1 then
  1702. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1703. elseif rtype == 2 then
  1704. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1705. end
  1706. Part.Transparency=i
  1707. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1708. end
  1709. Part.Parent=nil
  1710. end),prt,msh)
  1711. end
  1712.  
  1713. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1714. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1715. prt.Anchored=true
  1716. prt.CFrame=cframe
  1717. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1718. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1719. game:GetService("Debris"):AddItem(prt,5)
  1720. coroutine.resume(coroutine.create(function(Part,Mesh)
  1721. for i=0,1,delay do
  1722. wait()
  1723. Part.Transparency=i
  1724. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1725. end
  1726. Part.Parent=nil
  1727. end),prt,msh)
  1728. end
  1729.  
  1730. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1731. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1732. prt.Anchored=true
  1733. prt.Material = "Neon"
  1734. prt.CFrame=cframe
  1735. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1736. game:GetService("Debris"):AddItem(prt,5)
  1737. coroutine.resume(coroutine.create(function(Part,Mesh)
  1738. local rtype = rottype
  1739. for i=0,1,delay do
  1740. swait()
  1741. if rtype == 1 then
  1742. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1743. elseif rtype == 2 then
  1744. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1745. end
  1746. Part.Transparency=i
  1747. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1748. end
  1749. Part.Parent=nil
  1750. end),prt,msh)
  1751. end
  1752.  
  1753. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1754. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1755. prt.Anchored=true
  1756. prt.Material = "Neon"
  1757. prt.CFrame=cframe
  1758. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1759. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1760. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1761. game:GetService("Debris"):AddItem(prt,5)
  1762. coroutine.resume(coroutine.create(function(Part,Mesh)
  1763. local rtype = rottype
  1764. for i=0,1,delay do
  1765. swait()
  1766. if rtype == 1 then
  1767. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1768. elseif rtype == 2 then
  1769. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1770. end
  1771. dec.Transparency=i
  1772. dec2.Transparency=i
  1773. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1774. end
  1775. Part.Parent=nil
  1776. end),prt,msh)
  1777. end
  1778.  
  1779. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1780. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1781. prt.Anchored=true
  1782. prt.Material = "Neon"
  1783. prt.CFrame=cframe
  1784. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1785. game:GetService("Debris"):AddItem(prt,5)
  1786. coroutine.resume(coroutine.create(function(Part,Mesh)
  1787. local rtype = rottype
  1788. for i=0,1,delay do
  1789. swait()
  1790. if rtype == 1 then
  1791. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1792. elseif rtype == 2 then
  1793. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1794. end
  1795. prt.Transparency=i
  1796. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1797. end
  1798. Part.Parent=nil
  1799. end),prt,msh)
  1800. end
  1801.  
  1802. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1803. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1804. prt.Anchored=true
  1805. prt.Material = "Neon"
  1806. prt.CFrame=cframe
  1807. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1808. game:GetService("Debris"):AddItem(prt,5)
  1809. coroutine.resume(coroutine.create(function(Part,Mesh)
  1810. local rtype = rottype
  1811. for i=0,1,delay do
  1812. swait()
  1813. if rtype == 1 then
  1814. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1815. elseif rtype == 2 then
  1816. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1817. end
  1818. prt.Transparency=i
  1819. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1820. end
  1821. Part.Parent=nil
  1822. end),prt,msh)
  1823. end
  1824.  
  1825. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1826. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1827. prt.Anchored=true
  1828. prt.Material = "Neon"
  1829. prt.CFrame=cframe
  1830. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1831. game:GetService("Debris"):AddItem(prt,5)
  1832. coroutine.resume(coroutine.create(function(Part,Mesh)
  1833. local rtype = rottype
  1834. for i=0,1,delay do
  1835. swait()
  1836. if rtype == 1 then
  1837. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1838. elseif rtype == 2 then
  1839. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1840. end
  1841. prt.Transparency=i
  1842. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1843. end
  1844. Part.Parent=nil
  1845. end),prt,msh)
  1846. end
  1847.  
  1848. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1849. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1850. prt.Anchored=true
  1851. prt.Material = "Neon"
  1852. prt.CFrame=cframe
  1853. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1854. game:GetService("Debris"):AddItem(prt,5)
  1855. coroutine.resume(coroutine.create(function(Part,Mesh)
  1856. local rtype = rottype
  1857. for i=0,1,delay do
  1858. swait()
  1859. if rtype == 1 then
  1860. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1861. elseif rtype == 2 then
  1862. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1863. end
  1864. prt.Transparency=i
  1865. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1866. end
  1867. Part.Parent=nil
  1868. end),prt,msh)
  1869. end
  1870.  
  1871. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1872. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1873. prt.Anchored=false
  1874. prt.CFrame=cframe
  1875. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1876. local wld=weld(prt,prt,Parent,cframe)
  1877. game:GetService("Debris"):AddItem(prt,5)
  1878. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1879. for i=0,1,delay do
  1880. wait()
  1881. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1882. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1883. Part.Transparency=i
  1884. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1885. end
  1886. Part.Parent=nil
  1887. end),prt,msh,wld)
  1888. end
  1889.  
  1890. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1891. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1892. prt.Anchored=false
  1893. prt.CFrame=cframe
  1894. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1895. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1896. game:GetService("Debris"):AddItem(prt,5)
  1897. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1898. for i=0,1,delay do
  1899. wait()
  1900. Weld.C0=euler(i*20,0,0)
  1901. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1902. Part.Transparency=i
  1903. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1904. end
  1905. Part.Parent=nil
  1906. end),prt,msh,wld)
  1907. end
  1908.  
  1909. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1910. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1911. prt.Anchored=true
  1912. prt.CFrame=cframe
  1913. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1914. game:GetService("Debris"):AddItem(prt,2)
  1915. coroutine.resume(coroutine.create(function(Part,Mesh)
  1916. for i=0,1,delay do
  1917. wait()
  1918. Part.CFrame=Part.CFrame
  1919. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1920. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1921. prt2.Anchored=true
  1922. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1923. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1924. game:GetService("Debris"):AddItem(prt2,2)
  1925. coroutine.resume(coroutine.create(function(Part,Mesh)
  1926. for i=0,1,0.1 do
  1927. wait()
  1928. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1929. end
  1930. Part.Parent=nil
  1931. end),prt2,msh2)
  1932. end
  1933. for i=0,1,delay*2 do
  1934. wait()
  1935. Part.CFrame=Part.CFrame
  1936. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1937. end
  1938. Part.Parent=nil
  1939. end),prt,msh)
  1940. end
  1941.  
  1942. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1943. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1944. prt.Anchored=true
  1945. prt.CFrame=cframe
  1946. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1947. game:GetService("Debris"):AddItem(prt,2)
  1948. coroutine.resume(coroutine.create(function(Part,Mesh)
  1949. for i=0,1,delay do
  1950. wait()
  1951. Part.CFrame=Part.CFrame
  1952. Part.Transparency=i
  1953. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1954. end
  1955. Part.Parent=nil
  1956. end),prt,msh)
  1957. end
  1958.  
  1959. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1960. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1961. prt.Anchored=true
  1962. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1963. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1964. game:GetService("Debris"):AddItem(prt,2)
  1965. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1966. CF=Part.CFrame
  1967. Numbb=0
  1968. randnumb=math.random()/10
  1969. rand1=math.random()/10
  1970. for i=0,1,rand1 do
  1971. wait()
  1972. CF=CF*cf(0,math.random()/2,0)
  1973. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1974. Part.CFrame=CF*euler(Numbb,0,0)
  1975. Part.Transparency=i
  1976. Numbb=Numbb+randnumb
  1977. end
  1978. Part.Parent=nil
  1979. end),prt,CF,Numbb,randnumb)
  1980. end
  1981.  
  1982. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1983. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1984. prt.Anchored=true
  1985. prt.CFrame=cframe
  1986. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1987. game:GetService("Debris"):AddItem(prt,5)
  1988. coroutine.resume(coroutine.create(function(Part,Mesh)
  1989. for i=0,1,delay do
  1990. wait()
  1991. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1992. Part.Transparency=i
  1993. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1994. end
  1995. Part.Parent=nil
  1996. end),prt,msh)
  1997. end
  1998.  
  1999. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2000. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2001. prt.Anchored=true
  2002. prt.CFrame=cframe
  2003. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2004. game:GetService("Debris"):AddItem(prt,2)
  2005. coroutine.resume(coroutine.create(function(Part,Mesh)
  2006. for i=0,1,delay do
  2007. wait()
  2008. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2009. Part.Transparency=i
  2010. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2011. end
  2012. Part.Parent=nil
  2013. end),prt,msh)
  2014. end
  2015.  
  2016. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2017. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2018. prt.Anchored=true
  2019. prt.CFrame=cframe*cf(x,y,z)
  2020. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2021. game:GetService("Debris"):AddItem(prt,5)
  2022. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2023. local num=math.random()
  2024. local num2=math.random(-3,2)+math.random()
  2025. local numm=0
  2026. for i=0,1,delay*2 do
  2027. swait()
  2028. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2029. Part.Transparency=i
  2030. numm=numm+0.01
  2031. end
  2032. Part.Parent=nil
  2033. Mesh.Parent=nil
  2034. end),prt,msh,x,y,z)
  2035. end
  2036.  
  2037. function dmgstart(dmg,what)
  2038. hitcon = what.Touched:connect(function(hit)
  2039. local hum = hit.Parent:FindFirstChild("Humanoid")
  2040. if hum and not hum:IsDescendantOf(Character) then
  2041. hum:TakeDamage(dmg)
  2042. end
  2043. end)
  2044. end
  2045.  
  2046. function dmgstop()
  2047. hitcon:disconnect()
  2048. end
  2049.  
  2050. function Cloak()
  2051. Face.Parent=nil
  2052. cloaked=true
  2053. for _,v in pairs(Torso.Parent:children()) do
  2054. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2055. coroutine.resume(coroutine.create(function()
  2056. for i=0,1,0.2 do
  2057. wait()
  2058. v.Transparency=i
  2059. end
  2060. v.Transparency=1
  2061. end))
  2062. end
  2063. if v.className=="Hat" then
  2064. hatp=v.Handle
  2065. coroutine.resume(coroutine.create(function(derp)
  2066. for i=0,1,0.2 do
  2067. wait()
  2068. derp.Transparency=i
  2069. end
  2070. derp.Transparency=1
  2071. end),hatp)
  2072. end
  2073. end
  2074. for _,v in pairs(m:children()) do
  2075. if v.className=="Part" then
  2076. coroutine.resume(coroutine.create(function()
  2077. for i=0,1,0.2 do
  2078. wait()
  2079. v.Transparency=i
  2080. end
  2081. v.Transparency=1
  2082. end))
  2083. end
  2084. end
  2085. end
  2086.  
  2087. function UnCloak()
  2088. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2089. Face.Parent=Head
  2090. cloaked=false
  2091. for _,v in pairs(Torso.Parent:children()) do
  2092. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2093. coroutine.resume(coroutine.create(function()
  2094. for i=0,1,0.1 do
  2095. wait()
  2096. v.Transparency=v.Transparency-0.1
  2097. end
  2098. v.Transparency=0
  2099. end))
  2100. end
  2101. if v.className=="Hat" then
  2102. hatp=v.Handle
  2103. coroutine.resume(coroutine.create(function(derp)
  2104. for i=0,1,0.1 do
  2105. wait()
  2106. derp.Transparency=derp.Transparency-0.1
  2107. end
  2108. derp.Transparency=0
  2109. end),hatp)
  2110. end
  2111. end
  2112. for _,v in pairs(m:children()) do
  2113. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2114. coroutine.resume(coroutine.create(function()
  2115. for i=0,1,0.1 do
  2116. wait()
  2117. v.Transparency=v.Transparency-0.1
  2118. end
  2119. v.Transparency=0
  2120. end))
  2121. v.Transparency=0
  2122. end
  2123. end
  2124. end
  2125.  
  2126. local origcolor = BrickColor.new("Pastel light blue")
  2127. ---- This section of explosions.
  2128. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2129. local expart = Instance.new("Part",char)
  2130. local expart2 = Instance.new("Part",char)
  2131. local rin = Instance.new("Part",char)
  2132. local rin2 = Instance.new("Part",char)
  2133. local partMesh = Instance.new("SpecialMesh",expart)
  2134. partMesh.MeshType = "Sphere"
  2135. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2136. partMesh2.MeshType = "Sphere"
  2137. local partMesh3 = Instance.new("SpecialMesh",rin)
  2138. partMesh3.MeshType = "Brick"
  2139. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2140. partMesh4.MeshType = "Brick"
  2141. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2142. partMesh.Scale = vt(rad,rad,rad)
  2143. expart.Size = vt(1,1,1)
  2144. expart.Transparency = 0
  2145. expart.Anchored = true
  2146. expart.Material = "Neon"
  2147. expart.BrickColor = bc("White")
  2148. expart.CFrame = par.CFrame
  2149. partMesh2.Scale = vt(rad,rad,rad)
  2150. expart2.Size = vt(1.15,1.15,1.15)
  2151. expart2.Transparency = 0.5
  2152. expart2.Anchored = true
  2153. expart2.Material = "Neon"
  2154. expart2.BrickColor = par.BrickColor
  2155. expart2.CFrame = par.CFrame
  2156. rin.Size = vt(1.15,1.15,1.15)
  2157. rin.Transparency = 1
  2158. rin.Anchored = true
  2159. rin.Material = "Neon"
  2160. rin.BrickColor = par.BrickColor
  2161. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2162. rin2.Size = vt(1.15,1.15,1.15)
  2163. rin2.Transparency = 1
  2164. rin2.Anchored = true
  2165. rin2.Material = "Neon"
  2166. rin2.BrickColor = par.BrickColor
  2167. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2168. partMesh3.Scale = vt(0,1,0)
  2169. partMesh4.Scale = vt(0,1,0)
  2170. local dec2 = Instance.new("Decal", rin)
  2171. dec2.Face = "Top"
  2172. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2173. dec2.Parent = rin
  2174. local dec2b = dec2:Clone()
  2175. dec2b.Face = "Bottom"
  2176. dec2b.Parent = rin
  2177.  
  2178. local dec2a = Instance.new("Decal", rin2)
  2179. dec2a.Face = "Top"
  2180. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2181. dec2a.Parent = rin2
  2182. local dec2ab = dec2a:Clone()
  2183. dec2ab.Face = "Bottom"
  2184. dec2ab.Parent = rin2
  2185. expart.CanCollide = false
  2186. expart2.CanCollide = false
  2187. rin.CanCollide = false
  2188. rin2.CanCollide = false
  2189. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2190. local value = 1*rad/6.5
  2191. for i = 0, 199 do
  2192. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2193. expart.CFrame = expart.CFrame
  2194. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2195. expart2.CFrame = expart.CFrame
  2196. value = value - 0.035*rad/30
  2197. if value < 7.5 then
  2198. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2199. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2200. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2201. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2202. end
  2203. if value < 0 then
  2204. dec2.Transparency = dec2.Transparency + 0.025
  2205. dec2a.Transparency = dec2a.Transparency + 0.025
  2206. dec2b.Transparency = dec2b.Transparency + 0.025
  2207. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2208. expart.Transparency = expart.Transparency + 0.025
  2209. expart2.Transparency = expart2.Transparency + 0.025
  2210. rin.Transparency = rin.Transparency + 0.025
  2211. rin2.Transparency = rin2.Transparency + 0.025
  2212. end
  2213. swait()
  2214. end
  2215. game:GetService("Debris"):AddItem(expart, 1)
  2216. game:GetService("Debris"):AddItem(expart2, 1)
  2217. game:GetService("Debris"):AddItem(rin, 1)
  2218. game:GetService("Debris"):AddItem(rin2, 1)
  2219. end
  2220.  
  2221. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2222. local expart = Instance.new("Part",char)
  2223. local expart2 = Instance.new("Part",char)
  2224. local partMesh = Instance.new("SpecialMesh",expart)
  2225. partMesh.MeshType = "Sphere"
  2226. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2227. partMesh2.MeshType = "Sphere"
  2228. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2229. partMesh.Scale = vt(rad,rad,rad)
  2230. expart.Size = vt(1,1,1)
  2231. expart.Transparency = 0
  2232. expart.Anchored = true
  2233. expart.Material = "Neon"
  2234. expart.BrickColor = bc("White")
  2235. expart.CFrame = par.CFrame
  2236. partMesh2.Scale = vt(rad,rad,rad)
  2237. expart2.Size = vt(1.15,1.15,1.15)
  2238. expart2.Transparency = 0.5
  2239. expart2.Anchored = true
  2240. expart2.Material = "Neon"
  2241. expart2.BrickColor = par.BrickColor
  2242. expart2.CFrame = par.CFrame
  2243. expart.CanCollide = false
  2244. expart2.CanCollide = false
  2245. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2246. local value = 1*rad/6.5
  2247. for i = 0, 75 do
  2248. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2249. expart.CFrame = expart.CFrame
  2250. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2251. expart2.CFrame = expart.CFrame
  2252. value = value - 0.035*rad/5
  2253. if value < 0 then
  2254. value = 0
  2255. expart.Transparency = expart.Transparency + 0.05
  2256. expart2.Transparency = expart2.Transparency + 0.05
  2257. end
  2258. swait()
  2259. end
  2260. game:GetService("Debris"):AddItem(expart, 1)
  2261. game:GetService("Debris"):AddItem(expart2, 1)
  2262. end
  2263.  
  2264. function AreaDanger(rad,par,mindam,maxdam)
  2265. local expart = Instance.new("Part",char)
  2266. local partMesh = Instance.new("SpecialMesh",expart)
  2267. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2268. partMesh.MeshType = "Sphere"
  2269. partMesh.Scale = vt(rad,rad,rad)
  2270. expart.Size = vt(1,1,1)
  2271. expart.Transparency = 0.5
  2272. expart.Anchored = true
  2273. expart.Material = "Neon"
  2274. expart.CanCollide = false
  2275. expart.BrickColor = par.BrickColor
  2276. expart.CFrame = par.CFrame
  2277. local value = 1*rad/5
  2278. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2279. for i = 0, 14 do
  2280. wait()
  2281. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2282. expart.CFrame = expart.CFrame
  2283. value = value - 0.035*rad
  2284. if value < 0 then
  2285. value = 0
  2286. end
  2287. end
  2288. wait(0.25)
  2289. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2290. wait(0.5)
  2291. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2292. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2293. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2294. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2295. for i = 0, 14 do
  2296. wait()
  2297. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2298. expart.CFrame = expart.CFrame
  2299. value = value - 0.035*rad/2
  2300. end
  2301. expart.Transparency = 1
  2302. game:GetService("Debris"):AddItem(expart, 5)
  2303. end
  2304.  
  2305. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2306. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2307. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2308. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2309. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2310. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2311. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2312. for i = 0, 24 do
  2313. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  2314. end
  2315. for i = 0, 24 do
  2316. local expart = Instance.new("Part",char)
  2317. expart.Transparency = 1
  2318. expart.Anchored = true
  2319. expart.CanCollide = false
  2320. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2321. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2322. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2323. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2324. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2325. for i = 0, 9 do
  2326. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  2327. end
  2328. game:GetService("Debris"):AddItem(expart, 2)
  2329. wait(0.1)
  2330. end
  2331. end
  2332.  
  2333. function EXterPlosion(par)
  2334. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2335. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2336. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2337. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2338. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2339. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2340. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2341. for i = 0, 24 do
  2342. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  2343. end
  2344. for i = 0, 24 do
  2345. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  2346. end
  2347. end
  2348. ----
  2349.  
  2350.  
  2351. function ring(type,pos,scale,value)
  2352. local type = type
  2353. local rng = Instance.new("Part", char)
  2354. rng.Anchored = true
  2355. rng.BrickColor = origcolor
  2356. rng.CanCollide = false
  2357. rng.FormFactor = 3
  2358. rng.Name = "Ring"
  2359. rng.Size = Vector3.new(1, 1, 1)
  2360. rng.Transparency = 0
  2361. rng.TopSurface = 0
  2362. rng.BottomSurface = 0
  2363. rng.CFrame = pos
  2364. local rngm = Instance.new("SpecialMesh", rng)
  2365. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2366. rngm.Scale = scale
  2367. local scaler2 = 1
  2368. if type == "Add" then
  2369. scaler2 = 1*value
  2370. elseif type == "Divide" then
  2371. scaler2 = 1/value
  2372. end
  2373. coroutine.resume(coroutine.create(function()
  2374. for i = 0,10,0.1 do
  2375. swait()
  2376. if type == "Add" then
  2377. scaler2 = scaler2 - 0.01*value
  2378. elseif type == "Divide" then
  2379. scaler2 = scaler2 - 0.01/value
  2380. end
  2381. rng.Transparency = rng.Transparency + 0.01
  2382. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2383. end
  2384. rng:Destroy()
  2385. end))
  2386. end
  2387.  
  2388.  
  2389. function wave(type,pos,scale,value)
  2390. local type = type
  2391. local rng = Instance.new("Part", char)
  2392. rng.Anchored = true
  2393. rng.BrickColor = origcolor
  2394. rng.CanCollide = false
  2395. rng.FormFactor = 3
  2396. rng.Name = "Ring"
  2397. rng.Size = Vector3.new(1, 1, 1)
  2398. rng.Transparency = 0
  2399. rng.TopSurface = 0
  2400. rng.BottomSurface = 0
  2401. rng.CFrame = pos
  2402. local rngm = Instance.new("SpecialMesh", rng)
  2403. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2404. rngm.Scale = scale
  2405. local scaler2 = 1
  2406. if type == "Add" then
  2407. scaler2 = 1*value
  2408. elseif type == "Divide" then
  2409. scaler2 = 1/value
  2410. end
  2411. coroutine.resume(coroutine.create(function()
  2412. for i = 0,10,0.1 do
  2413. swait()
  2414. if type == "Add" then
  2415. scaler2 = scaler2 - 0.01*value
  2416. elseif type == "Divide" then
  2417. scaler2 = scaler2 - 0.01/value
  2418. end
  2419. rng.Transparency = rng.Transparency + 0.01
  2420. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2421. end
  2422. rng:Destroy()
  2423. end))
  2424. end
  2425.  
  2426. function wind(type,pos,scale,value,speed)
  2427. local type = type
  2428. local rng = Instance.new("Part", char)
  2429. rng.Anchored = true
  2430. rng.BrickColor = origcolor
  2431. rng.CanCollide = false
  2432. rng.FormFactor = 3
  2433. rng.Name = "Ring"
  2434. rng.Size = Vector3.new(1, 1, 1)
  2435. rng.Transparency = 0
  2436. rng.TopSurface = 0
  2437. rng.BottomSurface = 0
  2438. rng.CFrame = pos
  2439. local rngm = Instance.new("SpecialMesh", rng)
  2440. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2441. rngm.Scale = scale
  2442. local scaler2 = 1
  2443. if type == "Add" then
  2444. scaler2 = 1*value
  2445. elseif type == "Divide" then
  2446. scaler2 = 1/value
  2447. end
  2448. coroutine.resume(coroutine.create(function()
  2449. for i = 0,10,0.1 do
  2450. swait()
  2451. if type == "Add" then
  2452. scaler2 = scaler2 - 0.01*value
  2453. elseif type == "Divide" then
  2454. scaler2 = scaler2 - 0.01/value
  2455. end
  2456. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2457. rng.Transparency = rng.Transparency + 0.01
  2458. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2459. end
  2460. rng:Destroy()
  2461. end))
  2462. end
  2463.  
  2464. function groundwind(type,pos,scale,value,speed)
  2465. local type = type
  2466. local rng = Instance.new("Part", char)
  2467. rng.Anchored = true
  2468. rng.BrickColor = origcolor
  2469. rng.CanCollide = false
  2470. rng.FormFactor = 3
  2471. rng.Name = "Ring"
  2472. rng.Size = Vector3.new(1, 1, 1)
  2473. rng.Transparency = 0
  2474. rng.TopSurface = 0
  2475. rng.BottomSurface = 0
  2476. rng.CFrame = pos
  2477. local rngm = Instance.new("SpecialMesh", rng)
  2478. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2479. rngm.Scale = scale
  2480. local scaler2 = 1
  2481. if type == "Add" then
  2482. scaler2 = 1*value
  2483. elseif type == "Divide" then
  2484. scaler2 = 1/value
  2485. end
  2486. coroutine.resume(coroutine.create(function()
  2487. for i = 0,10,0.1 do
  2488. swait()
  2489. if type == "Add" then
  2490. scaler2 = scaler2 - 0.01*value
  2491. elseif type == "Divide" then
  2492. scaler2 = scaler2 - 0.01/value
  2493. end
  2494. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2495. rng.Transparency = rng.Transparency + 0.01
  2496. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2497. end
  2498. rng:Destroy()
  2499. end))
  2500. end
  2501.  
  2502. function CameraManager()
  2503. if TwoD and not CamInterrupt then
  2504. if Humanoid.Health > 0 then
  2505. Camera.CameraSubject = Humanoid
  2506. Camera.CameraType = "Scriptable"
  2507. Humanoid.AutoRotate = false
  2508. if Booleans.GyroUse then
  2509. Directer.MaxTorque = Vec3(0, huge, 0)
  2510. else
  2511. Directer.MaxTorque = Vec3(0, 0, 0)
  2512. end
  2513. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2514. if Booleans.CamFollow then
  2515. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2516. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2517. else
  2518. CPart.Position = RootPart.Position
  2519. end
  2520. else
  2521. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2522. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2523. end
  2524. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2525. else
  2526. Camera.CameraSubject = Humanoid
  2527. Camera.CameraType = "Custom"
  2528. Controller.Disabled = false
  2529. end
  2530. end
  2531. end
  2532.  
  2533. function sphere(bonuspeed,type,pos,scale,value,color)
  2534. local type = type
  2535. local rng = Instance.new("Part", workspace)
  2536. rng.Anchored = true
  2537. rng.BrickColor = color
  2538. rng.CanCollide = false
  2539. rng.FormFactor = 3
  2540. rng.Name = "Ring"
  2541. rng.Material = "Neon"
  2542. rng.Size = Vector3.new(1, 1, 1)
  2543. rng.Transparency = 0
  2544. rng.TopSurface = 0
  2545. rng.BottomSurface = 0
  2546. rng.CFrame = pos
  2547. local rngm = Instance.new("SpecialMesh", rng)
  2548. rngm.MeshType = "Sphere"
  2549. rngm.Scale = scale
  2550. if rainbowmode == true then
  2551. rng.Color = Color3.new(r/255,g/255,b/255)
  2552. end
  2553. local scaler2 = 1
  2554. if type == "Add" then
  2555. scaler2 = 1*value
  2556. elseif type == "Divide" then
  2557. scaler2 = 1/value
  2558. end
  2559. coroutine.resume(coroutine.create(function()
  2560. for i = 0,10/bonuspeed,0.1 do
  2561. swait()
  2562. if rainbowmode == true then
  2563. rng.Color = Color3.new(r/255,g/255,b/255)
  2564. end
  2565. if type == "Add" then
  2566. scaler2 = scaler2 - 0.01*value/bonuspeed
  2567. elseif type == "Divide" then
  2568. scaler2 = scaler2 - 0.01/value*bonuspeed
  2569. end
  2570. if chaosmode == true then
  2571. rng.BrickColor = BrickColor.random()
  2572. end
  2573. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2574. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2575. end
  2576. rng:Destroy()
  2577. end))
  2578. end
  2579.  
  2580. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2581. local type = type
  2582. local rng = Instance.new("Part", char)
  2583. rng.Anchored = true
  2584. rng.BrickColor = color
  2585. rng.CanCollide = false
  2586. rng.FormFactor = 3
  2587. rng.Name = "Ring"
  2588. rng.Material = "Neon"
  2589. rng.Size = Vector3.new(1, 1, 1)
  2590. rng.Transparency = 0
  2591. rng.TopSurface = 0
  2592. rng.BottomSurface = 0
  2593. rng.CFrame = pos
  2594. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2595. local rngm = Instance.new("SpecialMesh", rng)
  2596. rngm.MeshType = "Brick"
  2597. rngm.Scale = vt(x1,y1,z1)
  2598. if rainbowmode == true then
  2599. rng.Color = Color3.new(r/255,g/255,b/255)
  2600. end
  2601. local scaler2 = 1
  2602. local speeder = FastSpeed/10
  2603. if type == "Add" then
  2604. scaler2 = 1*value
  2605. elseif type == "Divide" then
  2606. scaler2 = 1/value
  2607. end
  2608. coroutine.resume(coroutine.create(function()
  2609. for i = 0,10/bonuspeed,0.1 do
  2610. swait()
  2611. if rainbowmode == true then
  2612. rng.Color = Color3.new(r/255,g/255,b/255)
  2613. end
  2614. if type == "Add" then
  2615. scaler2 = scaler2 - 0.01*value/bonuspeed
  2616. elseif type == "Divide" then
  2617. scaler2 = scaler2 - 0.01/value*bonuspeed
  2618. end
  2619. if chaosmode == true then
  2620. rng.BrickColor = BrickColor.random()
  2621. end
  2622. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2623. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2624. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2625. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2626. end
  2627. rng:Destroy()
  2628. end))
  2629. end
  2630.  
  2631. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2632. local type = type
  2633. local rng = Instance.new("Part", char)
  2634. rng.Anchored = true
  2635. rng.BrickColor = color
  2636. rng.CanCollide = false
  2637. rng.FormFactor = 3
  2638. rng.Name = "Ring"
  2639. rng.Material = "Neon"
  2640. rng.Size = Vector3.new(1, 1, 1)
  2641. rng.Transparency = 0
  2642. rng.TopSurface = 0
  2643. rng.BottomSurface = 0
  2644. rng.CFrame = pos
  2645. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2646. local rngm = Instance.new("SpecialMesh", rng)
  2647. rngm.MeshType = "Brick"
  2648. rngm.Scale = vt(x1,y1,z1)
  2649. if rainbowmode == true then
  2650. rng.Color = Color3.new(r/255,g/255,b/255)
  2651. end
  2652. local scaler2 = 0
  2653. local speeder = FastSpeed/10
  2654. if type == "Add" then
  2655. scaler2 = 1*value
  2656. elseif type == "Divide" then
  2657. scaler2 = 1/value
  2658. end
  2659. coroutine.resume(coroutine.create(function()
  2660. for i = 0,10/bonuspeed,0.1 do
  2661. swait()
  2662. if rainbowmode == true then
  2663. rng.Color = Color3.new(r/255,g/255,b/255)
  2664. end
  2665. if type == "Add" then
  2666. scaler2 = scaler2 - 0.01*value/bonuspeed
  2667. elseif type == "Divide" then
  2668. scaler2 = scaler2 - 0.01/value*bonuspeed
  2669. end
  2670. if chaosmode == true then
  2671. rng.BrickColor = BrickColor.random()
  2672. end
  2673. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2674. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2675. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2676. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2677. end
  2678. rng:Destroy()
  2679. end))
  2680. end
  2681.  
  2682. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2683. local type = type
  2684. local rng = Instance.new("Part", workspace)
  2685. rng.Anchored = true
  2686. rng.BrickColor = color
  2687. rng.CanCollide = false
  2688. rng.FormFactor = 3
  2689. rng.Name = "Ring"
  2690. rng.Material = "Neon"
  2691. rng.Size = Vector3.new(1, 1, 1)
  2692. rng.Transparency = 0
  2693. rng.TopSurface = 0
  2694. rng.BottomSurface = 0
  2695. rng.CFrame = pos
  2696. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2697. local rngm = Instance.new("SpecialMesh", rng)
  2698. rngm.MeshType = "Sphere"
  2699. rngm.Scale = vt(x1,y1,z1)
  2700. if rainbowmode == true then
  2701. rng.Color = Color3.new(r/255,g/255,b/255)
  2702. end
  2703. local scaler2 = 1
  2704. local speeder = FastSpeed
  2705. if type == "Add" then
  2706. scaler2 = 1*value
  2707. elseif type == "Divide" then
  2708. scaler2 = 1/value
  2709. end
  2710. coroutine.resume(coroutine.create(function()
  2711. for i = 0,10/bonuspeed,0.1 do
  2712. swait()
  2713. if rainbowmode == true then
  2714. rng.Color = Color3.new(r/255,g/255,b/255)
  2715. end
  2716. if type == "Add" then
  2717. scaler2 = scaler2 - 0.01*value/bonuspeed
  2718. elseif type == "Divide" then
  2719. scaler2 = scaler2 - 0.01/value*bonuspeed
  2720. end
  2721. if chaosmode == true then
  2722. rng.BrickColor = BrickColor.random()
  2723. end
  2724. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2725. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2726. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2727. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2728. end
  2729. rng:Destroy()
  2730. end))
  2731. end
  2732.  
  2733.  
  2734. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2735. local type = type
  2736. local rng = Instance.new("Part", char)
  2737. rng.Anchored = true
  2738. rng.BrickColor = color
  2739. rng.CanCollide = false
  2740. rng.FormFactor = 3
  2741. rng.Name = "Ring"
  2742. rng.Material = "Neon"
  2743. rng.Size = Vector3.new(1, 1, 1)
  2744. rng.Transparency = 1
  2745. rng.TopSurface = 0
  2746. rng.BottomSurface = 0
  2747. rng.CFrame = pos
  2748. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2749. local rngm = Instance.new("SpecialMesh", rng)
  2750. rngm.MeshType = "Sphere"
  2751. rngm.Scale = vt(x1,y1,z1)
  2752. if rainbowmode == true then
  2753. rng.Color = Color3.new(r/255,g/255,b/255)
  2754. end
  2755. local scaler2 = 1
  2756. local speeder = FastSpeed
  2757. if type == "Add" then
  2758. scaler2 = 1*value
  2759. elseif type == "Divide" then
  2760. scaler2 = 1/value
  2761. end
  2762. coroutine.resume(coroutine.create(function()
  2763. for i = 0,10/bonuspeed,0.1 do
  2764. swait()
  2765. if rainbowmode == true then
  2766. rng.Color = Color3.new(r/255,g/255,b/255)
  2767. end
  2768. if type == "Add" then
  2769. scaler2 = scaler2 - 0.01*value/bonuspeed
  2770. elseif type == "Divide" then
  2771. scaler2 = scaler2 - 0.01/value*bonuspeed
  2772. end
  2773. if chaosmode == true then
  2774. rng.BrickColor = BrickColor.random()
  2775. end
  2776. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2777. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2778. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2779. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2780. end
  2781. rng:Destroy()
  2782. end))
  2783. end
  2784.  
  2785. function dmg(dude)
  2786. if dude.Name ~= Character then
  2787. local bgf = Instance.new("BodyGyro",dude.Head)
  2788. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2789. local val = Instance.new("BoolValue",dude)
  2790. val.Name = "IsHit"
  2791. local ds = coroutine.wrap(function()
  2792. dude:WaitForChild("Head"):BreakJoints()
  2793. wait(0.5)
  2794. targetted = nil
  2795. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  2796. coroutine.resume(coroutine.create(function()
  2797. for i, v in pairs(dude:GetChildren()) do
  2798. if v:IsA("Accessory") then
  2799. v:Destroy()
  2800. end
  2801. if v:IsA("Humanoid") then
  2802. v:Destroy()
  2803. end
  2804. if v:IsA("CharacterMesh") then
  2805. v:Destroy()
  2806. end
  2807. if v:IsA("Model") then
  2808. v:Destroy()
  2809. end
  2810. if v:IsA("Part") or v:IsA("MeshPart") then
  2811. for x, o in pairs(v:GetChildren()) do
  2812. if o:IsA("Decal") then
  2813. o:Destroy()
  2814. end
  2815. end
  2816. coroutine.resume(coroutine.create(function()
  2817. v.Material = "Neon"
  2818. v.CanCollide = false
  2819. local bld = Instance.new("ParticleEmitter",v)
  2820. bld.LightEmission = 1
  2821. bld.Texture = "rbxassetid://284205403"
  2822. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  2823. bld.Rate = 50
  2824. bld.Lifetime = NumberRange.new(1)
  2825. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  2826. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2827. bld.Speed = NumberRange.new(0,0)
  2828. bld.VelocitySpread = 50000
  2829. bld.Rotation = NumberRange.new(-500,500)
  2830. bld.RotSpeed = NumberRange.new(-500,500)
  2831. local sbs = Instance.new("BodyPosition", v)
  2832. sbs.P = 3000
  2833. sbs.D = 1000
  2834. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2835. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2836. v.Color = Color3.new(1,1,1)
  2837. coroutine.resume(coroutine.create(function()
  2838. for i = 0, 49 do
  2839. swait(1)
  2840. v.Transparency = v.Transparency + 0.02
  2841. end
  2842. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  2843. bld.Speed = NumberRange.new(1,5)
  2844. bld.Acceleration = vt(0,10,0)
  2845. wait(0.5)
  2846. bld.Enabled = false
  2847. wait(3)
  2848. v:Destroy()
  2849. dude:Destroy()
  2850. end))
  2851. end))
  2852. end
  2853. end
  2854. end))
  2855. end)
  2856. ds()
  2857. end
  2858. end
  2859.  
  2860.  
  2861. function FindNearestHead(Position, Distance, SinglePlayer)
  2862. if SinglePlayer then
  2863. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2864. end
  2865. local List = {}
  2866. for i, v in pairs(workspace:GetChildren()) do
  2867. if v:IsA("Model") then
  2868. if v:findFirstChild("Head") then
  2869. if v ~= Character then
  2870. if (v.Head.Position - Position).magnitude <= Distance then
  2871. table.insert(List, v)
  2872. end
  2873. end
  2874. end
  2875. end
  2876. end
  2877. return List
  2878. end
  2879.  
  2880. function FaceMouse()
  2881. Cam = workspace.CurrentCamera
  2882. return {
  2883. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2884. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2885. }
  2886. end
  2887.  
  2888. function FaceMouse2()
  2889. Cam = workspace.CurrentCamera
  2890. return {
  2891. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2892. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2893. }
  2894. end
  2895.  
  2896. local ModeOfGlitch = 1
  2897. -- Functions are ready.
  2898. local storehumanoidWS = 16
  2899.  
  2900. function Blink()
  2901. for i = 0, 14 do
  2902. 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)
  2903. end
  2904. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  2905. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  2906. CameraEnshaking(2,10)
  2907. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  2908. if v:FindFirstChild('Head') then
  2909. end
  2910. end
  2911. for i = 0, 14 do
  2912. 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)
  2913. end
  2914. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  2915. end
  2916.  
  2917. function ExtinctiveHeartbreak()
  2918. local targetted = nil
  2919. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2920. targetted = mouse.Target.Parent
  2921. end
  2922. if targetted ~= nil then
  2923. attack = true
  2924. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  2925. for i = 0, 9 do
  2926. 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("Dark red"),0)
  2927. end
  2928. for i = 0, 24 do
  2929. 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("Dark red"),0)
  2930. end
  2931. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Dark red"))
  2932. local originalpos = root.CFrame
  2933. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  2934. for i = 0, 9 do
  2935. 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("Dark red"),0)
  2936. end
  2937. for i = 0, 24 do
  2938. 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("Dark red"),0)
  2939. end
  2940. hum.WalkSpeed = 0
  2941. targetted.Head.Anchored = true
  2942. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Dark red"))
  2943. for i = 0,2,0.1 do
  2944. swait()
  2945. 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)
  2946. 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)
  2947. 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)
  2948. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  2949. 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)
  2950. 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)
  2951. end
  2952. coroutine.resume(coroutine.create(function()
  2953. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  2954. bld.LightEmission = 0.1
  2955. bld.Texture = "rbxassetid://284205403"
  2956. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2957. bld.Rate = 500
  2958. bld.Lifetime = NumberRange.new(1)
  2959. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2960. bld.Acceleration = vt(0,-25,0)
  2961. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2962. bld.Speed = NumberRange.new(10,50)
  2963. bld.EmissionDirection = "Front"
  2964. bld.VelocitySpread = 25
  2965. bld.Rotation = NumberRange.new(-500,500)
  2966. bld.RotSpeed = NumberRange.new(-500,500)
  2967. end))
  2968. coroutine.resume(coroutine.create(function()
  2969. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  2970. bld.LightEmission = 0.1
  2971. bld.Texture = "rbxassetid://284205403"
  2972. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  2973. bld.Rate = 500
  2974. bld.Lifetime = NumberRange.new(1)
  2975. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2976. bld.Acceleration = vt(0,-25,0)
  2977. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  2978. bld.Speed = NumberRange.new(10,50)
  2979. bld.EmissionDirection = "Front"
  2980. bld.VelocitySpread = 25
  2981. bld.Rotation = NumberRange.new(-500,500)
  2982. bld.RotSpeed = NumberRange.new(-500,500)
  2983. end))
  2984. CameraEnshaking(5,5)
  2985. game:GetService("Debris"):AddItem(bld,3)
  2986. dmg(targetted)
  2987. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  2988. for i = 0,1,0.1 do
  2989. swait()
  2990. 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)
  2991. 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)
  2992. 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)
  2993. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  2994. 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)
  2995. 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)
  2996. end
  2997. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  2998. for i = 0, 9 do
  2999. 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("Dark red"),0)
  3000. end
  3001. for i = 0, 24 do
  3002. 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("Dark red"),0)
  3003. end
  3004. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Dark red"))
  3005. root.CFrame = originalpos
  3006. for i = 0, 9 do
  3007. 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("Dark red"),0)
  3008. end
  3009. for i = 0, 24 do
  3010. 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("Dark red"),0)
  3011. end
  3012. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Dark red"))
  3013. bld.Enabled = false
  3014. attack = false
  3015. hum.WalkSpeed = storehumanoidWS
  3016. end
  3017. end
  3018. function test()
  3019. attack = true
  3020. for i = 0, 2, 0.1 do
  3021. swait()
  3022. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3023. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3024. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4)
  3025. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4)
  3026. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1)
  3027. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3028. end
  3029. CFuncs["Sound"].Create("rbxassetid://136007472", root, 1,2)
  3030. for i=1,20 do
  3031. sphereMKCharge(5,-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))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10)
  3032. swait()
  3033. end
  3034. swait(30)
  3035. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3036. for i =1,20 do
  3037. 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,MAINRUINCOLOR,0)
  3038. 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,MAINRUINCOLOR,0)
  3039. end
  3040. for i = 0,2,0.1 do
  3041. swait()
  3042. 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(-30)),.5)
  3043. 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(30)),.5)
  3044. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,30 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  3045. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  3046. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  3047. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  3048. end
  3049. for i =1,20 do
  3050. sphereMK(1,1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,0.05,MAINRUINCOLOR,0)
  3051. end
  3052. text.TextTransparency = 1
  3053. text.TextStrokeTransparency = 1
  3054. tr2.Enabled = false
  3055. tr1.Enabled = false
  3056. tr3.Enabled = false
  3057. tl1.Enabled = false
  3058. tl2.Enabled = false
  3059. tl3.Enabled = false
  3060. sphere(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  3061. eff = false
  3062. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3063. local invtab = {}
  3064. local function search(targ)
  3065. if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
  3066. table.insert(invtab,targ)
  3067. end
  3068. for i,v in pairs(targ:GetChildren()) do
  3069. search(v)
  3070. end
  3071. end
  3072. search(plr.Character)
  3073. local frm = 0
  3074. local frmcon
  3075. frmcon = game:GetService("RunService").Heartbeat:connect(function()
  3076. if frm < 10 then
  3077. for i,v in pairs(invtab) do
  3078. if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
  3079. v.Transparency = v.Transparency + 0.1
  3080. end
  3081. end
  3082. frm = frm + 1
  3083. else
  3084. frmcon:disconnect()
  3085. end
  3086. end)
  3087. swait(200)
  3088. text.TextTransparency = 0
  3089. text.TextStrokeTransparency = 0
  3090. tr2.Enabled = false
  3091. tr1.Enabled = false
  3092. tr3.Enabled = false
  3093. tl1.Enabled = false
  3094. tl2.Enabled = false
  3095. tl3.Enabled = false
  3096. eff = true
  3097. for i =1,20 do
  3098. sphereMK(1,1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,0.05,MAINRUINCOLOR,0)
  3099. end
  3100. sphere(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  3101. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3102. local invtab = {}
  3103. local function search(targ)
  3104. if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
  3105. table.insert(invtab,targ)
  3106. end
  3107. for i,v in pairs(targ:GetChildren()) do
  3108. search(v)
  3109. end
  3110. end
  3111. search(plr.Character)
  3112. local frm = 0
  3113. local frmcon
  3114. frmcon = game:GetService("RunService").Heartbeat:connect(function()
  3115. if frm < 10 then
  3116. for i,v in pairs(invtab) do
  3117. if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
  3118. v.Transparency = v.Transparency - 0.1
  3119. end
  3120. end
  3121. frm = frm + 1
  3122. else
  3123. frmcon:disconnect()
  3124. end
  3125. end)
  3126. swait(5)
  3127. for i = 0, 2, 0.1 do
  3128. swait()
  3129. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3130. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3131. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4)
  3132. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4)
  3133. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1)
  3134. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3135. end
  3136. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3137. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  3138. MagniDamage(root, 30, 65,90, 0, "Normal")
  3139. for i =1,20 do
  3140. sphereMK(1,1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,0.05,MAINRUINCOLOR,0)
  3141. end
  3142. sphere(1,"Add",Torso.CFrame,vt(1,1,1),1,MAINRUINCOLOR)
  3143. for i =1,20 do
  3144. 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,MAINRUINCOLOR,0)
  3145. end
  3146. swait(20)
  3147. attack = false
  3148. tr2.Enabled = true
  3149. tr1.Enabled = true
  3150. tr3.Enabled = true
  3151. tl1.Enabled = true
  3152. tl2.Enabled = true
  3153. tl3.Enabled = true
  3154. end
  3155. function FinalCalam()
  3156. attack = true
  3157.  
  3158. local orb = Instance.new("Part", char)
  3159. orb.Anchored = true
  3160. orb.BrickColor = MAINRUINCOLOR
  3161. orb.CanCollide = false
  3162. orb.FormFactor = 3
  3163. orb.Name = "Ring"
  3164. orb.Material = "Neon"
  3165. orb.Size = Vector3.new(1, 1, 1)
  3166. orb.Transparency = 0
  3167. orb.TopSurface = 0
  3168. orb.BottomSurface = 0
  3169. local orbm = Instance.new("SpecialMesh", orb)
  3170. orbm.MeshType = "Sphere"
  3171. orbm.Name = "SizeMesh"
  3172. orbm.Scale = vt(0,0,0)
  3173. local scaled = 0.1
  3174. local posid = 0
  3175. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3176. for i = 0, 5, 0.1 do
  3177. swait()
  3178. scaled = scaled - 0.001
  3179. posid = posid - scaled
  3180. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3181. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3182. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10)
  3183. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  3184. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 10))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3185. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3186. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3187. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3188. end
  3189. swait(60)
  3190. for i =1,3 do
  3191. swait(30)
  3192. CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9)
  3193. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  3194. end
  3195. swait(30)
  3196. for i = 0, 2, 0.1 do
  3197. swait()
  3198. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3199. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3200. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3201. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3202. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3203. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3204. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3205. end
  3206. swait(60)
  3207. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3208. CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1)
  3209. sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR)
  3210. sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR)
  3211. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3212. if v:FindFirstChild('Head') then
  3213. dmg(v)
  3214. end
  3215. end
  3216. for i = 1,20 do
  3217. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,MAINRUINCOLOR,0)
  3218. for i = 0, 10 do
  3219. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,MAINRUINCOLOR,0)
  3220. end
  3221. end
  3222. orb:Remove()
  3223. attack = false
  3224. end
  3225. function PureBomb()
  3226. attack = true
  3227.  
  3228. local orb = Instance.new("Part", char)
  3229. orb.Anchored = true
  3230. orb.BrickColor = BrickColor.new("Bright red")
  3231. orb.CanCollide = false
  3232. orb.FormFactor = 3
  3233. orb.Name = "Ring"
  3234. orb.Material = "Neon"
  3235. orb.Size = Vector3.new(1, 1, 1)
  3236. orb.Transparency = 0
  3237. orb.TopSurface = 0
  3238. orb.BottomSurface = 0
  3239. local orbm = Instance.new("SpecialMesh", orb)
  3240. orbm.MeshType = "Sphere"
  3241. orbm.Name = "SizeMesh"
  3242. orbm.Scale = vt(0,0,0)
  3243. local scaled = 0.1
  3244. local posid = 0
  3245. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3246. for i = 0, 5, 0.1 do
  3247. swait()
  3248. scaled = scaled - 0.001
  3249. posid = posid - scaled
  3250. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3251. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3252. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Bright red"),10)
  3253. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Bright red"),0)
  3254. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3255. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3256. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3257. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3258. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3259. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3260. end
  3261. for i = 0, 2, 0.1 do
  3262. swait()
  3263. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3264. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3265. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3266. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3267. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3268. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3269. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3270. end
  3271. coroutine.resume(coroutine.create(function()
  3272. orb.Anchored = false
  3273. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3274. local a = Instance.new("Part",workspace)
  3275. a.Name = "Direction"
  3276. a.Anchored = true
  3277. a.BrickColor = bc("Bright red")
  3278. a.Material = "Neon"
  3279. a.Transparency = 1
  3280. a.CanCollide = false
  3281. local ray = Ray.new(
  3282. orb.CFrame.p, -- origin
  3283. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3284. )
  3285. local ignore = orb
  3286. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3287. a.BottomSurface = 10
  3288. a.TopSurface = 10
  3289. local distance = (orb.CFrame.p - position).magnitude
  3290. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3291. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3292. orb.CFrame = a.CFrame
  3293. a:Destroy()
  3294. local bv = Instance.new("BodyVelocity")
  3295. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3296. bv.velocity = orb.CFrame.lookVector*125
  3297. bv.Parent = orb
  3298. local hitted = false
  3299. game:GetService("Debris"):AddItem(orb, 15)
  3300. wait()
  3301. local hit =orb.Touched:connect(function(hit)
  3302. if hitted == false then
  3303. hitted = true
  3304. CameraEnshaking(10,2.5)
  3305. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3306. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Bright red"))
  3307. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Bright red"))
  3308. for i = 0, 49 do
  3309. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Bright red"),0)
  3310. end
  3311. for i = 0, 9 do
  3312. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Bright red"),0)
  3313. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Bright red"),0)
  3314. end
  3315. orb.Anchored = true
  3316. orb.Transparency = 1
  3317. wait(8)
  3318. orb:Destroy()
  3319. end
  3320. end)
  3321. end))
  3322. for i = 0, 1, 0.1 do
  3323. swait()
  3324. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3325. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3326. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3327. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3328. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3329. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3330. end
  3331. attack = false
  3332. end
  3333.  
  3334. function ChaosGroundStrike()
  3335. attack = true
  3336. for i = 0, 2, 0.1 do
  3337. swait()
  3338. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3339. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3340. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3341. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3342. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3343. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3344. end
  3345. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3346. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3347. CameraEnshaking(4,12)
  3348. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3349. if v:FindFirstChild('Head') then
  3350. dmg(v)
  3351. end
  3352. end
  3353. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.new("Toothpaste"))
  3354. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.new("Toothpaste"))
  3355. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.new("Toothpaste"))
  3356. for i = 0, 2, 0.1 do
  3357. swait()
  3358. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.new("Toothpaste"),0)
  3359. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.new("Toothpaste"),0)
  3360. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3361. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3362. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3363. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3364. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3365. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3366. end
  3367. attack = false
  3368. end
  3369.  
  3370. function Starfall()
  3371. attack = true
  3372. hum.WalkSpeed = 0
  3373. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3374. for i = 0, 5, 0.1 do
  3375. swait()
  3376. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3377. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3378. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3379. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3380. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3381. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3382. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3383. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3384. end
  3385. local Overed = false
  3386. CameraEnshaking(2,20)
  3387. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3388. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3389. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3390. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3391. local orb = Instance.new("Part", char)
  3392. orb.Anchored = true
  3393. orb.BrickColor = BrickColor.new("Bright red")
  3394. orb.CanCollide = false
  3395. orb.FormFactor = 3
  3396. orb.Name = "Remenant"
  3397. orb.Material = "Neon"
  3398. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3399. orb.Size = Vector3.new(1, 1, 1)
  3400. orb.Transparency = 1
  3401. orb.TopSurface = 0
  3402. orb.BottomSurface = 0
  3403. hum.WalkSpeed = storehumanoidWS
  3404. coroutine.resume(coroutine.create(function()
  3405. for i = 0, 9 do
  3406. swait(10)
  3407. local lb = Instance.new("Part")
  3408. lb.Color = MAINRUINCOLOR.Color
  3409. lb.CanCollide = false
  3410. lb.Material = "Neon"
  3411. lb.Anchored = true
  3412. lb.TopSurface = 0
  3413. lb.BottomSurface = 0
  3414. lb.Transparency = 0
  3415. lb.Size = vt(1,1,1)
  3416. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3417. lb.Anchored = false
  3418. lb.Parent = char
  3419. local thingery = Instance.new("SpecialMesh",lb)
  3420. thingery.MeshType = "Sphere"
  3421. thingery.Scale = vt(20,20,20)
  3422. game:GetService("Debris"):AddItem(lb, 10)
  3423. local bv = Instance.new("BodyVelocity")
  3424. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3425. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3426. bv.Parent = lb
  3427. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3428. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3429. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3430. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3431. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3432. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3433. local hitted = false
  3434. coroutine.resume(coroutine.create(function()
  3435. while true do
  3436. swait(1)
  3437. if lb.Parent ~= nil and hitted == false then
  3438. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3439. elseif lb.Parent == nil then
  3440. break
  3441. end
  3442. end
  3443. end))
  3444.  
  3445. game:GetService("Debris"):AddItem(a, 0.1)
  3446.  
  3447. coroutine.resume(coroutine.create(function()
  3448. swait(1)
  3449. lb.Touched:connect(function(hit)
  3450. if hitted == false then
  3451. hitted = true
  3452. lb.Transparency = 1
  3453. lb.Anchored = true
  3454. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3455. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3456. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3457. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3458. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3459. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3460. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3461. CameraEnshaking(1,5)
  3462. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3463. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3464. for i = 0, 9 do
  3465. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3466. end
  3467. for i = 0, 49 do
  3468. swait()
  3469. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3470. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3471. end
  3472. end
  3473. end)
  3474. end))
  3475. end
  3476. Overed = true
  3477. orb:Destroy()
  3478. end))
  3479.  
  3480. attack = false
  3481. end
  3482.  
  3483. function StarfallEX()
  3484. attack = true
  3485. hum.WalkSpeed = 0
  3486. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3487. for i = 0, 5, 0.1 do
  3488. swait()
  3489. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3490. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3491. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3492. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3493. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3494. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3495. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3496. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3497. end
  3498. local Overed = false
  3499. CameraEnshaking(2,20)
  3500. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3501. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3502. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3503. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3504. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3505. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3506. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3507. local orb = Instance.new("Part", char)
  3508. orb.Anchored = true
  3509. orb.BrickColor = BrickColor.new("Bright red")
  3510. orb.CanCollide = false
  3511. orb.FormFactor = 3
  3512. orb.Name = "Remenant"
  3513. orb.Material = "Neon"
  3514. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3515. orb.Size = Vector3.new(1, 1, 1)
  3516. orb.Transparency = 1
  3517. orb.TopSurface = 0
  3518. orb.BottomSurface = 0
  3519. hum.WalkSpeed = storehumanoidWS
  3520. coroutine.resume(coroutine.create(function()
  3521. for i = 0, 9 do
  3522. swait(10)
  3523. local lb = Instance.new("Part")
  3524. lb.Color = MAINRUINCOLOR.Color
  3525. lb.CanCollide = false
  3526. lb.Material = "Neon"
  3527. lb.Anchored = true
  3528. lb.TopSurface = 0
  3529. lb.BottomSurface = 0
  3530. lb.Transparency = 0
  3531. lb.Size = vt(1,1,1)
  3532. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3533. lb.Anchored = false
  3534. lb.Parent = char
  3535. local thingery = Instance.new("SpecialMesh",lb)
  3536. thingery.MeshType = "Sphere"
  3537. thingery.Scale = vt(20,20,20)
  3538. game:GetService("Debris"):AddItem(lb, 10)
  3539. local bv = Instance.new("BodyVelocity")
  3540. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3541. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3542. bv.Parent = lb
  3543. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3544. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3545. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3546. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3547. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3548. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3549. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3550. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3551. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3552. local hitted = false
  3553. coroutine.resume(coroutine.create(function()
  3554. while true do
  3555. swait(1)
  3556. if lb.Parent ~= nil and hitted == false then
  3557. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3558. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3559. elseif lb.Parent == nil then
  3560. break
  3561. end
  3562. end
  3563. end))
  3564.  
  3565. game:GetService("Debris"):AddItem(a, 0.1)
  3566.  
  3567. coroutine.resume(coroutine.create(function()
  3568. swait(1)
  3569. lb.Touched:connect(function(hit)
  3570. if hitted == false then
  3571. hitted = true
  3572. lb.Transparency = 1
  3573. lb.Anchored = true
  3574. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3575. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3576. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3577. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3578. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3579. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3580. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3581. CameraEnshaking(10,5)
  3582. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3583. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3584. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3585. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3586. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3587. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3588. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3589. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3590. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3591. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3592. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3593. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3594. for i = 0, 9 do
  3595. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3596. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3597. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3598. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3599. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3600. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3601. end
  3602. for i = 0, 49 do
  3603. swait()
  3604. MagniDamage(lb, 30, 30, 60, 0, "Normal")
  3605. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3606. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3607. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3608. end
  3609. end
  3610. end)
  3611. end))
  3612. end
  3613. Overed = true
  3614. orb:Destroy()
  3615. end))
  3616.  
  3617. attack = false
  3618. end
  3619.  
  3620. function StarDivision()
  3621. attack = true
  3622. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  3623. for i = 0, 2, 0.1 do
  3624. swait()
  3625. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3626. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  3627. 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)),.6)
  3628. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
  3629. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  3630. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  3631. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  3632. end
  3633. local orb = Instance.new("Part", char)
  3634. orb.BrickColor = MAINRUINCOLOR
  3635. orb.CanCollide = false
  3636. orb.FormFactor = 3
  3637. orb.Name = "Ring"
  3638. orb.Material = "Neon"
  3639. orb.Size = Vector3.new(1, 1, 1)
  3640. orb.Transparency = 0
  3641. orb.TopSurface = 0
  3642. orb.BottomSurface = 0
  3643. local orbm = Instance.new("SpecialMesh", orb)
  3644. orbm.MeshType = "Sphere"
  3645. orbm.Name = "SizeMesh"
  3646. orbm.Scale = vt(2,2,2)
  3647. local a = Instance.new("Part",workspace)
  3648. a.Name = "Direction"
  3649. a.Anchored = true
  3650. a.BrickColor = bc("Bright red")
  3651. a.Material = "Neon"
  3652. a.Transparency = 1
  3653. a.CanCollide = false
  3654. local ray = Ray.new(
  3655. sorb.CFrame.p, -- origin
  3656. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  3657. )
  3658. local ignore = sorb
  3659. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3660. a.BottomSurface = 10
  3661. a.TopSurface = 10
  3662. local distance = (sorb.CFrame.p - position).magnitude
  3663. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3664. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3665. orb.CFrame = a.CFrame
  3666. a:Destroy()
  3667. local bv = Instance.new("BodyVelocity")
  3668. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3669. bv.velocity = orb.CFrame.lookVector*100
  3670. bv.Parent = orb
  3671. local hitted = false
  3672. game:GetService("Debris"):AddItem(orb, 10)
  3673. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  3674. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  3675. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  3676. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  3677. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  3678. coroutine.resume(coroutine.create(function()
  3679. while true do
  3680. swait(1)
  3681. if orb.Parent ~= nil and hitted == false then
  3682. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  3683. elseif orb.Parent == nil then
  3684. break
  3685. end
  3686. end
  3687. end))
  3688. coroutine.resume(coroutine.create(function()
  3689. swait(1)
  3690. orb.Touched:connect(function(hit)
  3691. if hitted == false then
  3692. hitted = true
  3693. game:GetService("Debris"):AddItem(orb, 5)
  3694. orb.Transparency = 1
  3695. orb.Anchored = true
  3696. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3697. elocacenter.Anchored = true
  3698. elocacenter.CFrame = orb.CFrame
  3699. elocacenter.Orientation = vt(0,0,0)
  3700. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3701. eloca1.Anchored = true
  3702. eloca1.CFrame = elocacenter.CFrame
  3703. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3704. eloca2.Anchored = true
  3705. eloca2.CFrame = elocacenter.CFrame
  3706. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3707. eloca3.Anchored = true
  3708. eloca3.CFrame = elocacenter.CFrame
  3709. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3710. eloca4.Anchored = true
  3711. eloca4.CFrame = elocacenter.CFrame
  3712. local lookavec = 0
  3713. local speeds = 0
  3714. CameraEnshaking(1,1)
  3715. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  3716. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3717. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3718. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3719. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3720. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3721. for i = 0, 99 do
  3722. swait()
  3723. lookavec = lookavec + 1
  3724. speeds = speeds + 0.1
  3725. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3726. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3727. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3728.  
  3729. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3730. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3731.  
  3732. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3733. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3734.  
  3735. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3736. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3737. end
  3738.  
  3739. for i = 0, 149 do
  3740. swait()
  3741. speeds = speeds + 0.1
  3742. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3743. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3744. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3745.  
  3746. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3747. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3748.  
  3749. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3750. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3751.  
  3752. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3753. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3754. end
  3755. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  3756. if v:FindFirstChild('Head') then
  3757. dmg(v)
  3758. end
  3759. end
  3760. CameraEnshaking(7,30)
  3761. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  3762. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  3763. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  3764. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  3765. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  3766. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  3767. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  3768. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3769. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3770. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3771. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3772. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3773. for i = 0, 24 do
  3774. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  3775. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  3776. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  3777. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  3778. end
  3779. coroutine.resume(coroutine.create(function()
  3780. for i = 0, 499 do
  3781. swait(1)
  3782. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  3783. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  3784. end
  3785. elocacenter:Destroy()
  3786. eloca1:Destroy()
  3787. eloca2:Destroy()
  3788. eloca3:Destroy()
  3789. eloca4:Destroy()
  3790. end))
  3791. end
  3792. end)
  3793. end))
  3794. attack = false
  3795. end
  3796.  
  3797.  
  3798. function UniversalCollapse()
  3799. attack = true
  3800. local speedearn = 0
  3801. hum.WalkSpeed = 0
  3802. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  3803. for i = 0, 10, 0.1 do
  3804. swait()
  3805. speedearn = speedearn + 0.1
  3806. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3807. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3808. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3809. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3810. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3811. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  3812. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  3813. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3814. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  3815. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  3816. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  3817. end
  3818. CameraEnshaking(5,45)
  3819. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  3820. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  3821. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3822. if v:FindFirstChild('Head') then
  3823. dmg(v)
  3824. end
  3825. end
  3826. hum.WalkSpeed = storehumanoidWS
  3827. attack = false
  3828. end
  3829. function ChaosBegone()
  3830. attack = true
  3831. local speedearn = 0
  3832. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  3833. for i = 0, 10, 0.1 do
  3834. swait()
  3835. speedearn = speedearn + 0.1
  3836. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3837. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3838. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3839. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3840. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3841. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3842. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3843. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3844. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3845. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3846. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3847. end
  3848. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  3849. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  3850. CameraEnshaking(5,25)
  3851. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3852. if v:FindFirstChild('Head') then
  3853. dmg(v)
  3854. end
  3855. end
  3856. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  3857. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  3858. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  3859. for i = 0, 3, 0.1 do
  3860. swait()
  3861. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3862. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3863. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3864. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3865. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3866. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3867. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3868. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3869. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3870. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3871. end
  3872. attack = false
  3873. end
  3874.  
  3875. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  3876. local orb = Instance.new("Part", char)
  3877. orb.Anchored = true
  3878. orb.BrickColor = color
  3879. orb.CanCollide = false
  3880. orb.FormFactor = 3
  3881. orb.Name = "Ring"
  3882. orb.Material = "Neon"
  3883. orb.Size = Vector3.new(1, 1, 1)
  3884. orb.Transparency = 0
  3885. orb.TopSurface = 0
  3886. orb.BottomSurface = 0
  3887. local orbm = Instance.new("SpecialMesh", orb)
  3888. orbm.MeshType = "Sphere"
  3889. orb.CFrame = positted
  3890. orbm.Name = "SizeMesh"
  3891. orbm.Scale = vt(1,1,1)
  3892. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  3893. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  3894. --[[for i = 0, 2 do
  3895. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  3896. end]]--
  3897. coroutine.resume(coroutine.create(function()
  3898. wait(timer)
  3899. CameraEnshaking(3,ShakePower)
  3900. orb.Transparency = 1
  3901. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  3902. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  3903. --[[for i = 0, 4 do
  3904. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  3905. end]]--
  3906. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  3907. wait(3)
  3908. orb:Destroy()
  3909. end))
  3910. end
  3911.  
  3912. function orb_spawn(positted,timer)
  3913. local randomcol = math.random(1,2)
  3914. local orb = Instance.new("Part", char)
  3915. orb.Anchored = true
  3916. if randomcol == 1 then
  3917. orb.BrickColor = BrickColor.new("White")
  3918. elseif randomcol == 2 then
  3919. orb.BrickColor = BrickColor.new("Really black")
  3920. end
  3921. orb.CanCollide = false
  3922. orb.FormFactor = 3
  3923. orb.Name = "Ring"
  3924. orb.Material = "Neon"
  3925. orb.Size = Vector3.new(1, 1, 1)
  3926. orb.Transparency = 0
  3927. orb.TopSurface = 0
  3928. orb.BottomSurface = 0
  3929. local orbm = Instance.new("SpecialMesh", orb)
  3930. orbm.MeshType = "Sphere"
  3931. orb.CFrame = positted
  3932. orbm.Name = "SizeMesh"
  3933. orbm.Scale = vt(1,1,1)
  3934. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  3935. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  3936. for i = 0, 2 do
  3937. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  3938. end
  3939. coroutine.resume(coroutine.create(function()
  3940. wait(timer)
  3941. CameraEnshaking(3,2)
  3942. orb.Transparency = 1
  3943. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  3944. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  3945. for i = 0, 4 do
  3946. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  3947. end
  3948. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  3949. wait(3)
  3950. orb:Destroy()
  3951. end))
  3952. end
  3953.  
  3954. function scattercorrupt()
  3955. attack = true
  3956. local rot = 0
  3957. local randomrotations = math.random(1,2)
  3958. local lookv = 2.5
  3959. local power = 5
  3960. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Bright blue"))
  3961. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Bright blue"))
  3962. for i = 0, 9 do
  3963. sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Bright blue"),0)
  3964. end
  3965. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  3966. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  3967. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  3968. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  3969. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  3970. local hite = Instance.new("Part", char)
  3971. hite.Anchored = true
  3972. hite.CanCollide = false
  3973. hite.FormFactor = 3
  3974. hite.Name = "Ring"
  3975. hite.Material = "Neon"
  3976. hite.Size = Vector3.new(1, 1, 1)
  3977. hite.Transparency = 1
  3978. hite.TopSurface = 0
  3979. hite.BottomSurface = 0
  3980. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  3981. local rem = Instance.new("Part", char)
  3982. rem.Anchored = true
  3983. rem.CanCollide = false
  3984. rem.FormFactor = 3
  3985. rem.Name = "Ring"
  3986. rem.Material = "Neon"
  3987. rem.Size = Vector3.new(1, 1, 1)
  3988. rem.Transparency = 1
  3989. rem.TopSurface = 0
  3990. rem.BottomSurface = 0
  3991. rem.CFrame = hite.CFrame
  3992. local rem2 = rem:Clone()
  3993. rem2.Parent = char
  3994. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  3995. local rem3 = rem:Clone()
  3996. rem3.Parent = char
  3997. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  3998. local rem4 = rem:Clone()
  3999. rem4.Parent = char
  4000. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4001. hite:Destroy()
  4002. coroutine.resume(coroutine.create(function()
  4003. for i = 0, 24 do
  4004. swait(1)
  4005. if randomrotations == 1 then
  4006. rot = rot + 1
  4007. elseif randomrotations == 2 then
  4008. rot = rot - 1
  4009. end
  4010. power = power + 0.5
  4011. lookv = lookv + 7.5
  4012. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4013. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4014. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4015. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4016. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Bright blue"),power,25,75,10,power/5,7.5)
  4017. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Bright blue"),power,25,75,10,power/5,7.5)
  4018. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Bright blue"),power,25,75,10,power/5,7.5)
  4019. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Bright blue"),power,25,75,10,power/5,7.5)
  4020. end
  4021. end))
  4022. attack = false
  4023. end
  4024. function yinyangi()
  4025. attack = true
  4026. for i = 0, 2, 0.1 do
  4027. swait()
  4028. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  4029. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  4030. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  4031. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4032. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4033. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4034. end
  4035. local bv = Instance.new("BodyVelocity")
  4036. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4037. bv.velocity = root.CFrame.lookVector*175
  4038. bv.Parent = root
  4039. for Rotations = 0, 9 do
  4040. for i = 0, 1, 0.5 do
  4041. swait()
  4042. bv.velocity = root.CFrame.lookVector*175
  4043. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4044. 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(20)),.5)
  4045. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  4046. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4047. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4048. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4049. end
  4050. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4051. for i = 0, 1, 0.5 do
  4052. swait()
  4053. bv.velocity = root.CFrame.lookVector*175
  4054. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4055. 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(20)),.5)
  4056. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  4057. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4058. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4059. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4060. end
  4061. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4062. for i = 0, 1, 0.5 do
  4063. swait()
  4064. bv.velocity = root.CFrame.lookVector*175
  4065. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4066. 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(20)),.5)
  4067. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  4068. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4069. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4070. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4071. end
  4072. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4073. for i = 0, 1, 0.5 do
  4074. swait()
  4075. bv.velocity = root.CFrame.lookVector*175
  4076. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4077. 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(20)),.5)
  4078. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  4079. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4080. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4081. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4082. end
  4083. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4084. end
  4085. bv:Destroy()
  4086. attack = false
  4087. end
  4088.  
  4089. function Wip()
  4090. attack = true
  4091.  
  4092. local rngb = Instance.new("Part", char)
  4093. rngb.Anchored = true
  4094. rngb.BrickColor = origcolor
  4095. rngb.CanCollide = false
  4096. rngb.FormFactor = 3
  4097. rngb.Name = "Ring"
  4098. rngb.Material = "Neon"
  4099. rngb.Size = Vector3.new(1, 0.05, 1)
  4100. rngb.Transparency = 1
  4101. rngb.TopSurface = 0
  4102. rngb.BottomSurface = 0
  4103. local rngmb = Instance.new("SpecialMesh", rngb)
  4104. rngmb.MeshType = "Brick"
  4105. rngmb.Name = "SizeMesh"
  4106. rngmb.Scale = vt(0,1,0)
  4107.  
  4108. local orb = rngb:Clone()
  4109. orb.Parent = char
  4110. orb.Transparency = 0
  4111. orb.BrickColor = BrickColor.new("White")
  4112. orb.Size = vt(1,1,1)
  4113. local orbmish = orb.SizeMesh
  4114. orbmish.Scale = vt(0,0,0)
  4115. orbmish.MeshType = "Sphere"
  4116.  
  4117. local orbe = rngb:Clone()
  4118. orbe.Parent = char
  4119. orbe.Transparency = 0.5
  4120. orbe.BrickColor = BrickColor.new("New Yeller")
  4121. orbe.Size = vt(1,1,1)
  4122. local orbmish2 = orbe.SizeMesh
  4123. orbmish2.Scale = vt(0,0,0)
  4124. orbmish2.MeshType = "Sphere"
  4125. orbe.Color = Color3.new(r/255,g/255,b/255)
  4126.  
  4127. rngb:Destroy()
  4128. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4129. local scaled = 1
  4130. for i = 0,5,0.1 do
  4131. swait()
  4132. scaled = scaled - 0.02
  4133. if rainbowmode == true then
  4134. orbe.Color = Color3.new(r/255,g/255,b/255)
  4135. end
  4136. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4137. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4138. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4139. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4140. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4141. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4142. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4143. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4144. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4145. 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(0)),.3)
  4146. 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(10),math.rad(0)),.3)
  4147. RootPart.CFrame = FaceMouse()[1]
  4148. end]]--
  4149. for i = 0,5,0.1 do
  4150. swait()
  4151. if rainbowmode == true then
  4152. orbe.Color = Color3.new(r/255,g/255,b/255)
  4153. end
  4154. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4155. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4156. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4157. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4158. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4159. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4160. 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(0)),.3)
  4161. 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(10),math.rad(0)),.3)
  4162. RootPart.CFrame = FaceMouse()[1]
  4163. end
  4164. orbe.Transparency = 1
  4165. orb.Transparency = 1
  4166. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4167. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4168. local a = Instance.new("Part",Character)
  4169. a.Name = "Direction"
  4170. a.Anchored = true
  4171. a.BrickColor = bc("White")
  4172. a.Material = "Neon"
  4173. a.Transparency = 0
  4174. a.Shape = "Cylinder"
  4175. a.CanCollide = false
  4176. local a2 = Instance.new("Part",Character)
  4177. a2.Name = "Direction"
  4178. a2.Anchored = true
  4179. a2.BrickColor = bc("New Yeller")
  4180. a2.Color = Color3.new(r/255,g/255,b/255)
  4181. a2.Material = "Neon"
  4182. a2.Transparency = 0.5
  4183. a2.Shape = "Cylinder"
  4184. a2.CanCollide = false
  4185. local ba = Instance.new("Part",Character)
  4186. ba.Name = "HitDirect"
  4187. ba.Anchored = true
  4188. ba.BrickColor = bc("Cool yellow")
  4189. ba.Material = "Neon"
  4190. ba.Transparency = 1
  4191. ba.CanCollide = false
  4192. local ray = Ray.new(
  4193. orb.CFrame.p, -- origin
  4194. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4195. )
  4196. local ignore = Character
  4197. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4198. a.BottomSurface = 10
  4199. a.TopSurface = 10
  4200. a2.BottomSurface = 10
  4201. a2.TopSurface = 10
  4202. local distance = (orb.CFrame.p - position).magnitude
  4203. a.Size = Vector3.new(distance, 1, 1)
  4204. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4205. a2.Size = Vector3.new(distance, 1, 1)
  4206. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4207. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4208. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4209. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4210. game:GetService("Debris"):AddItem(a, 20)
  4211. game:GetService("Debris"):AddItem(a2, 20)
  4212. game:GetService("Debris"):AddItem(ba, 20)
  4213. local msh = Instance.new("SpecialMesh",a)
  4214. msh.MeshType = "Cylinder"
  4215. msh.Scale = vt(1,5*5,5*5)
  4216. local msh2 = Instance.new("SpecialMesh",a2)
  4217. msh2.MeshType = "Cylinder"
  4218. msh2.Scale = vt(1,6*5,6*5)
  4219.  
  4220. for i = 0,10,0.1 do
  4221. swait()
  4222. CameraEnshaking(1,5)
  4223. a2.Color = Color3.new(r/255,g/255,b/255)
  4224. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4225. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4226. ray = Ray.new(
  4227. orb.CFrame.p, -- origin
  4228. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4229. )
  4230. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4231. distance = (orb.CFrame.p - position).magnitude
  4232. if typrot == 1 then
  4233. rotation = rotation + 2.5
  4234. elseif typrot == 2 then
  4235. rotation = rotation - 2.5
  4236. end
  4237. RootPart.CFrame = FaceMouse()[1]
  4238. a.Size = Vector3.new(distance, 1, 1)
  4239. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4240. a2.Size = Vector3.new(distance, 1, 1)
  4241. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4242. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4243. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4244. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4245. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  4246. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  4247. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4248. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4249. MagniDamage(ba, 30, 500,60000, 0, "Normal")
  4250. end
  4251. a:Destroy()
  4252. a2:Destroy()
  4253. ba:Destroy()
  4254. orb:Destroy()
  4255. orbe:Destroy()
  4256. attack = false
  4257. end
  4258. function HolyBarrier()
  4259. attack = true
  4260. for i = 0, 2, 0.1 do
  4261. swait()
  4262. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4263. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  4264. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  4265. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  4266. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
  4267. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
  4268. end
  4269. CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
  4270. stash = Instance.new("Model",workspace)
  4271. local barrier = Instance.new("Part",stash)
  4272. barrier.Anchored = true
  4273. barrier.CanCollide = false
  4274. barrier.Size = Vector3.new(20,20,20)
  4275. barrier.CFrame = root.CFrame
  4276. barrier.Transparency = 0.6
  4277. barrier.BrickColor = MAINRUINCOLOR
  4278. barrier.Material = Enum.Material.Neon
  4279. barrier.Shape = Enum.PartType.Ball
  4280. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  4281. Torso.Anchored = true
  4282. shielding = true
  4283. for i=1,50 do
  4284. local p = Instance.new("Part",stash)
  4285. p.Anchored = true
  4286. p.Transparency = 1
  4287. p.Size = Vector3.new(11,11,11)
  4288. p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  4289. end
  4290. end
  4291. function Judgement()
  4292. attack = true
  4293. hum.WalkSpeed = 0
  4294. local p = Instance.new("Part",root)
  4295. p.Anchored = true
  4296. p.CanCollide = false
  4297. p.BrickColor = MAINRUINCOLOR
  4298. p.Material = Enum.Material.Neon
  4299. p.Size = Vector3.new(1,1,1)
  4300. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  4301. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  4302. local m = Instance.new("SpecialMesh",p)
  4303. m.MeshType = "Cylinder"
  4304. m.Scale = Vector3.new(2000,2,2)
  4305. local targ = Instance.new("Part",root)
  4306. targ.Transparency = 1
  4307. targ.CanCollide = false
  4308. targ.Size = Vector3.new(1,1,1)
  4309. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  4310. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  4311. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  4312. for i = 1,15 do
  4313. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  4314. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  4315. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  4316. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  4317. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  4318. 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(-20)),.2)
  4319. 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(10),math.rad(20)),.2)
  4320. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  4321. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  4322. m.Scale = m.Scale+Vector3.new(0,1,1)
  4323. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  4324. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  4325. swait()
  4326. end
  4327. sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  4328. for i = 1,200 do
  4329. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  4330. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  4331. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  4332. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  4333. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  4334. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  4335. swait()
  4336. end
  4337. for i =1,15 do
  4338. m.Scale = m.Scale-Vector3.new(1,1,1)
  4339. p.Transparency = i / 15
  4340. swait()
  4341. end
  4342. p:Destroy()
  4343. hum.WalkSpeed = storehumanoidWS
  4344. attack = false
  4345. end
  4346.  
  4347. function UniversalSpark()
  4348. attack = true
  4349.  
  4350. local rngb = Instance.new("Part", char)
  4351. rngb.Anchored = true
  4352. rngb.BrickColor = origcolor
  4353. rngb.CanCollide = false
  4354. rngb.FormFactor = 3
  4355. rngb.Name = "Ring"
  4356. rngb.Material = "Neon"
  4357. rngb.Size = Vector3.new(1, 0.05, 1)
  4358. rngb.Transparency = 1
  4359. rngb.TopSurface = 0
  4360. rngb.BottomSurface = 0
  4361. local rngmb = Instance.new("SpecialMesh", rngb)
  4362. rngmb.MeshType = "Brick"
  4363. rngmb.Name = "SizeMesh"
  4364. rngmb.Scale = vt(0,1,0)
  4365.  
  4366. local orb = rngb:Clone()
  4367. orb.Parent = char
  4368. orb.Transparency = 0
  4369. orb.BrickColor = BrickColor.new("White")
  4370. orb.Size = vt(1,1,1)
  4371. local orbmish = orb.SizeMesh
  4372. orbmish.Scale = vt(0,0,0)
  4373. orbmish.MeshType = "Sphere"
  4374.  
  4375. local orbe = rngb:Clone()
  4376. orbe.Parent = char
  4377. orbe.Transparency = 0.5
  4378. orbe.BrickColor = BrickColor.new("New Yeller")
  4379. orbe.Size = vt(1,1,1)
  4380. local orbmish2 = orbe.SizeMesh
  4381. orbmish2.Scale = vt(0,0,0)
  4382. orbmish2.MeshType = "Sphere"
  4383. orbe.Color = Color3.new(r/255,g/255,b/255)
  4384.  
  4385. rngb:Destroy()
  4386. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4387. local scaled = 1
  4388. for i = 0,5,0.1 do
  4389. swait()
  4390. scaled = scaled - 0.02
  4391. if rainbowmode == true then
  4392. orbe.Color = Color3.new(r/255,g/255,b/255)
  4393. end
  4394. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4395. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4396. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4397. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4398. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4399. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4400. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4401. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4402. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4403. 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(0)),.3)
  4404. 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(10),math.rad(0)),.3)
  4405. RootPart.CFrame = FaceMouse()[1]
  4406. end]]--
  4407. for i = 0,5,0.1 do
  4408. swait()
  4409. if rainbowmode == true then
  4410. orbe.Color = Color3.new(r/255,g/255,b/255)
  4411. end
  4412. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4413. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4414. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4415. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4416. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4417. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4418. 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(0)),.3)
  4419. 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(10),math.rad(0)),.3)
  4420. RootPart.CFrame = FaceMouse()[1]
  4421. end
  4422. orbe.Transparency = 1
  4423. orb.Transparency = 1
  4424. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4425. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  4426. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  4427. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4428.  
  4429. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4430. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  4431. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4432. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  4433. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  4434. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  4435. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  4436. local xd= Instance.new("Sound",char)
  4437. xd.SoundId = "rbxassetid://445796828"
  4438. xd.Pitch = 0.75
  4439. xd.Looped = true
  4440. xd.Volume = 1.25
  4441. xd:Play()
  4442. local a = Instance.new("Part",Character)
  4443. a.Name = "Direction"
  4444. a.Anchored = true
  4445. a.BrickColor = bc("Alder")
  4446. a.Color = MAINRUINCOLOR.Color
  4447. a.Material = "Neon"
  4448. a.Transparency = 0.5
  4449. a.Shape = "Cylinder"
  4450. a.CanCollide = false
  4451. local a2 = Instance.new("Part",Character)
  4452. a2.Name = "Direction"
  4453. a2.Anchored = true
  4454. a2.BrickColor = bc("New Yeller")
  4455. a2.Color = MAINRUINCOLOR.Color
  4456. a2.Material = "Neon"
  4457. a2.Transparency = 0.5
  4458. a2.Shape = "Cylinder"
  4459. a2.CanCollide = false
  4460. local ba = Instance.new("Part",Character)
  4461. ba.Name = "HitDirect"
  4462. ba.Anchored = true
  4463. ba.BrickColor = bc("Cool yellow")
  4464. ba.Material = "Neon"
  4465. ba.Transparency = 1
  4466. ba.CanCollide = false
  4467. local ray = Ray.new(
  4468. orb.CFrame.p, -- origin
  4469. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4470. )
  4471. local ignore = Character
  4472. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4473. a.BottomSurface = 10
  4474. a.TopSurface = 10
  4475. a2.BottomSurface = 10
  4476. a2.TopSurface = 10
  4477. local distance = (orb.CFrame.p - position).magnitude
  4478. a.Size = Vector3.new(distance, 1, 1)
  4479. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4480. a2.Size = Vector3.new(distance, 1, 1)
  4481. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4482. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4483. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4484. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4485. game:GetService("Debris"):AddItem(a, 60)
  4486. game:GetService("Debris"):AddItem(a2, 60)
  4487. game:GetService("Debris"):AddItem(ba, 60)
  4488. local outerscale = 0
  4489. local msh = Instance.new("SpecialMesh",a)
  4490. msh.MeshType = "Cylinder"
  4491. msh.Scale = vt(1,0,0)
  4492. local msh2 = Instance.new("SpecialMesh",a2)
  4493. msh2.MeshType = "Cylinder"
  4494. msh2.Scale = vt(1,0,0)
  4495. for i = 0,2,0.1 do
  4496. swait()
  4497. CameraEnshaking(1,1)
  4498. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  4499. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  4500. outerscale = outerscale - 0.015
  4501. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4502. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4503. ray = Ray.new(
  4504. orb.CFrame.p, -- origin
  4505. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4506. )
  4507. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4508. distance = (orb.CFrame.p - position).magnitude
  4509. if typrot == 1 then
  4510. rotation = rotation + 2.5
  4511. elseif typrot == 2 then
  4512. rotation = rotation - 2.5
  4513. end
  4514. RootPart.CFrame = FaceMouse()[1]
  4515. a.Size = Vector3.new(distance, 1, 1)
  4516. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4517. a2.Size = Vector3.new(distance, 1, 1)
  4518. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4519. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4520. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4521. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4522. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4523. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4524. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4525. end
  4526. for z = 0, 2 do
  4527. for i = 0,4,0.1 do
  4528. swait()
  4529. CameraEnshaking(1,1)
  4530. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4531. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4532. outerscale = outerscale + 0.015
  4533. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4534. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4535. ray = Ray.new(
  4536. orb.CFrame.p, -- origin
  4537. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4538. )
  4539. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4540. distance = (orb.CFrame.p - position).magnitude
  4541. if typrot == 1 then
  4542. rotation = rotation + 2.5
  4543. elseif typrot == 2 then
  4544. rotation = rotation - 2.5
  4545. end
  4546. RootPart.CFrame = FaceMouse()[1]
  4547. a.Size = Vector3.new(distance, 1, 1)
  4548. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4549. a2.Size = Vector3.new(distance, 1, 1)
  4550. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4551. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4552. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4553. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4554. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4555. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4556. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4557. end
  4558. for i = 0,4,0.1 do
  4559. swait()
  4560. CameraEnshaking(1,1)
  4561. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4562. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4563. outerscale = outerscale - 0.015
  4564. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4565. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4566. ray = Ray.new(
  4567. orb.CFrame.p, -- origin
  4568. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4569. )
  4570. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4571. distance = (orb.CFrame.p - position).magnitude
  4572. if typrot == 1 then
  4573. rotation = rotation + 2.5
  4574. elseif typrot == 2 then
  4575. rotation = rotation - 2.5
  4576. end
  4577. RootPart.CFrame = FaceMouse()[1]
  4578. a.Size = Vector3.new(distance, 1, 1)
  4579. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4580. a2.Size = Vector3.new(distance, 1, 1)
  4581. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4582. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4583. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4584. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4585. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4586. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4587. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4588. end
  4589. end
  4590. for i = 0,4,0.1 do
  4591. swait()
  4592. CameraEnshaking(1,1)
  4593. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4594. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4595. xd.Volume = xd.Volume - 0.025
  4596. a.Transparency = a.Transparency + 0.025
  4597. a2.Transparency = a2.Transparency + 0.025
  4598. outerscale = outerscale - 0.015
  4599. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4600. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4601. ray = Ray.new(
  4602. orb.CFrame.p, -- origin
  4603. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4604. )
  4605. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4606. distance = (orb.CFrame.p - position).magnitude
  4607. if typrot == 1 then
  4608. rotation = rotation + 2.5
  4609. elseif typrot == 2 then
  4610. rotation = rotation - 2.5
  4611. end
  4612. RootPart.CFrame = FaceMouse()[1]
  4613. a.Size = Vector3.new(distance, 1, 1)
  4614. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4615. a2.Size = Vector3.new(distance, 1, 1)
  4616. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4617. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4618. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4619. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4620. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4621. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4622. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4623. end
  4624. xd:Destroy()
  4625. a:Destroy()
  4626. a2:Destroy()
  4627. ba:Destroy()
  4628. orb:Destroy()
  4629. orbe:Destroy()
  4630. attack = false
  4631. end
  4632.  
  4633.  
  4634. function resetmode()
  4635. rainbowmode = false
  4636. chaosmode = false
  4637. tl1.Enabled = false
  4638. tl2.Enabled = false
  4639. tl3.Enabled = false
  4640. ModeOfGlitch = 1
  4641. storehumanoidWS = 16
  4642. coroutine.resume(coroutine.create(function()
  4643. attack = true
  4644. hum.WalkSpeed = 0
  4645. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  4646. for i = 0,4,0.1 do
  4647. swait()
  4648. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  4649. 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(30)),.5)
  4650. 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(-30)),.5)
  4651. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.5)
  4652. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.5)
  4653. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.5)
  4654. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.5)
  4655. end
  4656. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  4657. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  4658. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  4659. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  4660. RecolorTextAndRename("Normal",Color3.new(0,0,0),Color3.new(40/255, 127/255, 71/255))
  4661. CameraEnshaking(5,2.5)
  4662. MAINRUINCOLOR = BrickColor.new("Dark green")
  4663. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4664. for i = 0, 49 do
  4665. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  4666. end
  4667. for i = 0,3,0.1 do
  4668. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  4669. end
  4670. for i, v in pairs(mw2:GetChildren()) do
  4671. if v:IsA("Part") then
  4672. v.BrickColor = BrickColor.new("Dark green")
  4673. v.Material = "Neon"
  4674. end
  4675. end
  4676. for i, v in pairs(mw1:GetChildren()) do
  4677. if v:IsA("Part") then
  4678. v.Transparency = 1
  4679. v.BrickColor = BrickColor.new("Dark green")
  4680. v.Material = "Neon"
  4681. end
  4682. end
  4683. for i, v in pairs(m:GetChildren()) do
  4684. if v:IsA("Part") then
  4685. v.BrickColor = BrickColor.new("Really black")
  4686. v.Material = "Glass"
  4687. end
  4688. end
  4689. for i, v in pairs(m2:GetChildren()) do
  4690. if v:IsA("Part") then
  4691. v.BrickColor = BrickColor.new("Navy blue")
  4692. v.Material = "Granite"
  4693. end
  4694. end
  4695. for i, v in pairs(m3:GetChildren()) do
  4696. if v:IsA("Part") then
  4697. v.BrickColor = BrickColor.new("Dark green")
  4698. v.Material = "Neon"
  4699. end
  4700. end
  4701. for i, v in pairs(extrawingmod1:GetChildren()) do
  4702. if v:IsA("Part") then
  4703. v.Transparency = 1
  4704. v.BrickColor = BrickColor.new("White")
  4705. v.Material = "Neon"
  4706. end
  4707. end
  4708. for i, v in pairs(extrawingmod2:GetChildren()) do
  4709. if v:IsA("Part") then
  4710. v.Transparency = 1
  4711. v.BrickColor = BrickColor.new("White")
  4712. v.Material = "Neon"
  4713. end
  4714. end
  4715. for i = 0,2,0.1 do
  4716. swait()
  4717. 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(-30)),.5)
  4718. 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(30)),.5)
  4719. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  4720. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  4721. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  4722. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  4723. end
  4724. hum.WalkSpeed = storehumanoidWS
  4725. attack = false
  4726. end))
  4727. newTheme("rbxassetid://1547042045",48.6,1,0.3)
  4728. end
  4729.  
  4730. function attackone()
  4731. attack = true
  4732. for i = 0,1,0.1 do
  4733. swait()
  4734. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  4735. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  4736. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4737. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4738. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  4739. 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(10)),.2)
  4740. end
  4741. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  4742.  
  4743. local hitb = Instance.new("Part", char)
  4744. hitb.Anchored = true
  4745. hitb.CanCollide = false
  4746. hitb.FormFactor = 3
  4747. hitb.Name = "Ring"
  4748. hitb.Material = "Neon"
  4749. hitb.Size = Vector3.new(1, 1, 1)
  4750. hitb.Transparency = 1
  4751. hitb.TopSurface = 0
  4752. hitb.BottomSurface = 0
  4753. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4754. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4755. hitb:Destroy()
  4756. for i = 0,1,0.1 do
  4757. swait()
  4758. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  4759. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  4760. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  4761. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  4762. RH.C0=clerp(RH.C0,cf(1,-1 - 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(-40)),.4)
  4763. 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(-10)),.4)
  4764. end
  4765.  
  4766. attack = false
  4767. end
  4768.  
  4769. function attacktwo()
  4770. attack = true
  4771. for i = 0,1,0.1 do
  4772. swait()
  4773. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  4774. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  4775. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4776. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4777. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  4778. 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(10)),.2)
  4779. end
  4780. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  4781. local hitb = Instance.new("Part", char)
  4782. hitb.Anchored = true
  4783. hitb.CanCollide = false
  4784. hitb.FormFactor = 3
  4785. hitb.Name = "Ring"
  4786. hitb.Material = "Neon"
  4787. hitb.Size = Vector3.new(1, 1, 1)
  4788. hitb.Transparency = 1
  4789. hitb.TopSurface = 0
  4790. hitb.BottomSurface = 0
  4791. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4792. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4793. hitb:Destroy()
  4794. for i = 0,1,0.1 do
  4795. swait()
  4796. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  4797. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  4798. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  4799. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  4800. 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(-5),math.rad(0),math.rad(-40)),.4)
  4801. 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(-10)),.4)
  4802. end
  4803. attack = false
  4804. end
  4805.  
  4806. function attackthree()
  4807. attack = true
  4808. for i = 0,1,0.1 do
  4809. swait()
  4810. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  4811. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  4812. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  4813. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4814. 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(0)),.3)
  4815. 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(10),math.rad(0)),.3)
  4816. end
  4817. local distlook = 5
  4818. for i = 0, 4 do
  4819. swait(2)
  4820. CameraEnshaking(2,3)
  4821. local hite = Instance.new("Part", char)
  4822. hite.Anchored = true
  4823. hite.CanCollide = false
  4824. hite.FormFactor = 3
  4825. hite.Name = "Ring"
  4826. hite.Material = "Neon"
  4827. hite.Size = Vector3.new(1, 1, 1)
  4828. hite.Transparency = 1
  4829. hite.TopSurface = 0
  4830. hite.BottomSurface = 0
  4831. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  4832. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  4833. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  4834. MagniDamage(hite, 10, 15,35, 0, "Normal")
  4835. for i = 0, 2 do
  4836. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  4837. sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  4838. sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  4839. end
  4840. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  4841. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  4842. game:GetService("Debris"):AddItem(hite, 5)
  4843. distlook = distlook + 10
  4844. end
  4845. attack = false
  4846. end
  4847.  
  4848. local ActiveGia = false
  4849. function THEHELLITSTHATBIG()
  4850. ActiveGia = true
  4851. attack = true
  4852. hum.WalkSpeed = 0
  4853. for i = 0,2,0.1 do
  4854. swait()
  4855. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  4856. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  4857. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  4858. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  4859. 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(-20)),.2)
  4860. 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(10),math.rad(20)),.2)
  4861. end
  4862. for i = 0,1,0.1 do
  4863. torsweld.C1=clerp(torsweld.C1,cf(0,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  4864. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1)
  4865. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1)
  4866. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  4867. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  4868. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1)
  4869. end
  4870. CFuncs["Sound"].Create("rbxassetid://528589382", sectors, 5, 1)
  4871. secrleg.Transparency = 0.5
  4872. seclleg.Transparency = 0.5
  4873. secrarm.Transparency = 0.5
  4874. seclarm.Transparency = 0.5
  4875. seched.Transparency = 0.5
  4876. sectors.Transparency = 0.5
  4877. for i = 0,25,0.1 do
  4878. swait()
  4879. PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,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))),5,5,5,0.1,MAINRUINCOLOR,-10)
  4880. torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  4881. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),0.025)
  4882. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),0.025)
  4883. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  4884. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  4885. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
  4886. end
  4887. --[[secrleg.Transparency = 1
  4888. seclleg.Transparency = 1
  4889. secrarm.Transparency = 1
  4890. seclarm.Transparency = 1
  4891. seched.Transparency = 1
  4892. sectors.Transparency = 1]]--
  4893. torsweld.Part0 = root
  4894. hum.WalkSpeed = storehumanoidWS
  4895. attack = false
  4896. end
  4897.  
  4898. function removelol()
  4899. ActiveGia = false
  4900. attack = true
  4901. hum.WalkSpeed = 0
  4902. for i = 0,2,0.1 do
  4903. swait()
  4904. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  4905. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  4906. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  4907. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  4908. 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(-20)),.2)
  4909. 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(10),math.rad(20)),.2)
  4910. end
  4911. CFuncs["Sound"].Create("rbxassetid://528589274", sectors, 5, 1)
  4912. for i = 0,25,0.1 do
  4913. swait()
  4914. secrleg.Transparency = secrleg.Transparency + 0.00225
  4915. seclleg.Transparency = secrleg.Transparency
  4916. secrarm.Transparency = secrleg.Transparency
  4917. seclarm.Transparency = secrleg.Transparency
  4918. seched.Transparency = secrleg.Transparency
  4919. sectors.Transparency = secrleg.Transparency
  4920. PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,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))),5,5,5,0.1,MAINRUINCOLOR,-10)
  4921. torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  4922. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(20)),0.025)
  4923. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),0.025)
  4924. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  4925. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  4926. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
  4927. end
  4928. CFuncs["Sound"].Create("rbxassetid://468991944", sectors, 10, 1)
  4929. sphere(1,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4930. sphere(2,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4931. sphere(3,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4932. secrleg.Transparency = 1
  4933. seclleg.Transparency = 1
  4934. secrarm.Transparency = 1
  4935. seclarm.Transparency = 1
  4936. seched.Transparency = 1
  4937. sectors.Transparency = 1
  4938. torsweld.Part0 = root
  4939. hum.WalkSpeed = storehumanoidWS
  4940. attack = false
  4941. end
  4942.  
  4943. function FinalCalamity()
  4944. end
  4945.  
  4946. local attacktype = 1
  4947. mouse.Button1Down:connect(function()
  4948. if attack == false and attacktype == 1 then
  4949. attacktype = 2
  4950. attackone()
  4951. elseif attack == false and attacktype == 2 then
  4952. attacktype = 3
  4953. attacktwo()
  4954. elseif attack == false and attacktype == 3 then
  4955. attacktype = 1
  4956. attackthree()
  4957. elseif attack == false and attacktype == 4 then
  4958. attacktype = 1
  4959. --attackfour()
  4960. end
  4961. end)
  4962. mouse.KeyDown:connect(function(k)
  4963. if k == "1" and attack == false and ModeOfGlitch ~= 2 then
  4964. ModeOfGlitch = 2
  4965. storehumanoidWS = 16
  4966. hum.WalkSpeed = 16
  4967. rainbowmode = false
  4968. chaosmode = false
  4969. tl1.Enabled = false
  4970. tl2.Enabled = false
  4971. tl3.Enabled = false
  4972. RecolorTextAndRename("Machinery",Color3.new(196/255, 40/255, 28/255),Color3.new(255/255, 89/255, 89/255))
  4973. newTheme("rbxassetid://409475133",0,1,0.3)
  4974. MAINRUINCOLOR = BrickColor.new("Bright red")
  4975. for i, v in pairs(mw2:GetChildren()) do
  4976. if v:IsA("Part") then
  4977. v.BrickColor = MAINRUINCOLOR
  4978. v.Material = "Neon"
  4979. end
  4980. end
  4981. for i, v in pairs(mw1:GetChildren()) do
  4982. if v:IsA("Part") then
  4983. v.Transparency = 1
  4984. v.BrickColor = MAINRUINCOLOR
  4985. v.Material = "Neon"
  4986. end
  4987. end
  4988. for i, v in pairs(m:GetChildren()) do
  4989. if v:IsA("Part") then
  4990. v.BrickColor = BrickColor.new("White")
  4991. v.Material = "Ice"
  4992. end
  4993. end
  4994. for i, v in pairs(m2:GetChildren()) do
  4995. if v:IsA("Part") then
  4996. v.BrickColor = BrickColor.new("Pastel light blue")
  4997. v.Material = "Glass"
  4998. end
  4999. end
  5000. for i, v in pairs(m3:GetChildren()) do
  5001. if v:IsA("Part") then
  5002. v.BrickColor = BrickColor.new("Bright red")
  5003. v.Material = "Neon"
  5004. end
  5005. end
  5006. for i, v in pairs(extrawingmod1:GetChildren()) do
  5007. if v:IsA("Part") then
  5008. v.Transparency = 1
  5009. v.BrickColor = BrickColor.new("White")
  5010. v.Material = "Neon"
  5011. end
  5012. end
  5013. for i, v in pairs(extrawingmod2:GetChildren()) do
  5014. if v:IsA("Part") then
  5015. v.Transparency = 1
  5016. v.BrickColor = BrickColor.new("White")
  5017. v.Material = "Neon"
  5018. end
  5019. end
  5020. elseif k == "1" and attack == false and ModeOfGlitch == 2 then
  5021. resetmode()
  5022. end
  5023. if k == "2" and attack == false and ModeOfGlitch ~= 3 then
  5024. ModeOfGlitch = 3
  5025. storehumanoidWS = 16
  5026. hum.WalkSpeed = 16
  5027. rainbowmode = false
  5028. chaosmode = false
  5029. tl1.Enabled = false
  5030. tl2.Enabled = false
  5031. tl3.Enabled = false
  5032. RecolorTextAndRename("Below-Zero",Color3.new(1,1,1),Color3.new(0,1,1))
  5033. newTheme("rbxassetid://1634231515",58.15,0.98,1.25)
  5034. MAINRUINCOLOR = BrickColor.new("Bright blue")
  5035. for i, v in pairs(mw2:GetChildren()) do
  5036. if v:IsA("Part") then
  5037. v.BrickColor = MAINRUINCOLOR
  5038. v.Material = "Neon"
  5039. end
  5040. end
  5041. for i, v in pairs(mw1:GetChildren()) do
  5042. if v:IsA("Part") then
  5043. v.Transparency = 1
  5044. v.BrickColor = MAINRUINCOLOR
  5045. v.Material = "Neon"
  5046. end
  5047. end
  5048. for i, v in pairs(m:GetChildren()) do
  5049. if v:IsA("Part") then
  5050. v.BrickColor = BrickColor.new("Black")
  5051. v.Material = "Ice"
  5052. end
  5053. end
  5054. for i, v in pairs(m2:GetChildren()) do
  5055. if v:IsA("Part") then
  5056. v.BrickColor = BrickColor.new("Dark indigo")
  5057. v.Material = "Glass"
  5058. end
  5059. end
  5060. for i, v in pairs(m3:GetChildren()) do
  5061. if v:IsA("Part") then
  5062. v.BrickColor = BrickColor.new("Bright blue")
  5063. v.Material = "Neon"
  5064. end
  5065. end
  5066. for i, v in pairs(extrawingmod1:GetChildren()) do
  5067. if v:IsA("Part") then
  5068. v.Transparency = 1
  5069. v.BrickColor = BrickColor.new("White")
  5070. v.Material = "Neon"
  5071. end
  5072. end
  5073. for i, v in pairs(extrawingmod2:GetChildren()) do
  5074. if v:IsA("Part") then
  5075. v.Transparency = 1
  5076. v.BrickColor = BrickColor.new("White")
  5077. v.Material = "Neon"
  5078. end
  5079. end
  5080. elseif k == "2" and attack == false and ModeOfGlitch == 3 then
  5081. resetmode()
  5082. end
  5083. if k == "3" and attack == false and ModeOfGlitch ~= 4 then
  5084. ModeOfGlitch = 4
  5085. storehumanoidWS = 16
  5086. hum.WalkSpeed = 16
  5087. rainbowmode = false
  5088. chaosmode = false
  5089. tl1.Enabled = true
  5090. tl2.Enabled = true
  5091. tl3.Enabled = true
  5092. RecolorTextAndRename("Infused",Color3.new(0,0,0), Color3.new(245/255, 205/255, 48/255))
  5093. newTheme("rbxassetid://539526132",0,1,1)
  5094. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  5095. for i, v in pairs(mw2:GetChildren()) do
  5096. if v:IsA("Part") then
  5097. v.BrickColor = MAINRUINCOLOR
  5098. v.Material = "Neon"
  5099. end
  5100. end
  5101. for i, v in pairs(mw1:GetChildren()) do
  5102. if v:IsA("Part") then
  5103. v.Transparency = 0
  5104. v.BrickColor = MAINRUINCOLOR
  5105. v.Material = "Neon"
  5106. end
  5107. end
  5108. for i, v in pairs(m:GetChildren()) do
  5109. if v:IsA("Part") then
  5110. v.BrickColor = BrickColor.new("Black")
  5111. v.Material = "Neon"
  5112. end
  5113. end
  5114. for i, v in pairs(m2:GetChildren()) do
  5115. if v:IsA("Part") then
  5116. v.BrickColor = BrickColor.random()
  5117. v.Material = "Neon"
  5118. end
  5119. end
  5120. for i, v in pairs(m3:GetChildren()) do
  5121. if v:IsA("Part") then
  5122. v.BrickColor = BrickColor.new("Black")
  5123. v.Material = "Neon"
  5124. end
  5125. end
  5126. for i, v in pairs(extrawingmod1:GetChildren()) do
  5127. if v:IsA("Part") then
  5128. v.Transparency = 1
  5129. v.BrickColor = BrickColor.new("White")
  5130. v.Material = "Neon"
  5131. end
  5132. end
  5133. for i, v in pairs(extrawingmod2:GetChildren()) do
  5134. if v:IsA("Part") then
  5135. v.Transparency = 1
  5136. v.BrickColor = BrickColor.new("White")
  5137. v.Material = "Neon"
  5138. end
  5139. end
  5140. elseif k == "3" and attack == false and ModeOfGlitch == 4 then
  5141. resetmode()
  5142. end
  5143. if k == "4" and attack == false and ModeOfGlitch ~= 5 then
  5144. ModeOfGlitch = 5
  5145. storehumanoidWS = 16
  5146. hum.WalkSpeed = 16
  5147. rainbowmode = false
  5148. chaosmode = false
  5149. tl1.Enabled = true
  5150. tl2.Enabled = true
  5151. tl3.Enabled = true
  5152. RecolorTextAndRename("Cyber",Color3.new(0,0,0),Color3.new(0,1,1))
  5153. newTheme("rbxassetid://170282324",0,1,1)
  5154. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5155. for i, v in pairs(mw2:GetChildren()) do
  5156. if v:IsA("Part") then
  5157. v.BrickColor = MAINRUINCOLOR
  5158. v.Material = "Neon"
  5159. end
  5160. end
  5161. for i, v in pairs(mw1:GetChildren()) do
  5162. if v:IsA("Part") then
  5163. v.Transparency = 0
  5164. v.BrickColor = MAINRUINCOLOR
  5165. v.Material = "Neon"
  5166. end
  5167. end
  5168. for i, v in pairs(m:GetChildren()) do
  5169. if v:IsA("Part") then
  5170. v.BrickColor = BrickColor.new("Cool yellow")
  5171. v.Material = "Ice"
  5172. end
  5173. end
  5174. for i, v in pairs(m2:GetChildren()) do
  5175. if v:IsA("Part") then
  5176. v.BrickColor = BrickColor.new("Bright yellow")
  5177. v.Material = "Ice"
  5178. end
  5179. end
  5180. for i, v in pairs(m3:GetChildren()) do
  5181. if v:IsA("Part") then
  5182. v.BrickColor = BrickColor.new("Bright yellow")
  5183. v.Material = "Neon"
  5184. end
  5185. end
  5186. for i, v in pairs(extrawingmod1:GetChildren()) do
  5187. if v:IsA("Part") then
  5188. v.Transparency = 1
  5189. v.BrickColor = BrickColor.new("White")
  5190. v.Material = "Neon"
  5191. end
  5192. end
  5193. for i, v in pairs(extrawingmod2:GetChildren()) do
  5194. if v:IsA("Part") then
  5195. v.Transparency = 1
  5196. v.BrickColor = BrickColor.new("White")
  5197. v.Material = "Neon"
  5198. end
  5199. end
  5200. elseif k == "4" and attack == false and ModeOfGlitch == 5 then
  5201. resetmode()
  5202. end
  5203. if k == "5" and attack == false and ModeOfGlitch ~= 6 then
  5204. ModeOfGlitch = 6
  5205. storehumanoidWS = 13
  5206. hum.WalkSpeed = 13
  5207. rainbowmode = false
  5208. chaosmode = false
  5209. tl1.Enabled = true
  5210. tl2.Enabled = true
  5211. tl3.Enabled = true
  5212. RecolorTextAndRename("ControlledBR",Color3.new(0,0,0),Color3.new(1, 89/255, 89/255))
  5213. newTheme("rbxassetid://407749940",0,1,1)
  5214. MAINRUINCOLOR = BrickColor.new("Dark red")
  5215. for i, v in pairs(mw2:GetChildren()) do
  5216. if v:IsA("Part") then
  5217. v.BrickColor = MAINRUINCOLOR
  5218. v.Material = "Neon"
  5219. end
  5220. end
  5221. for i, v in pairs(mw1:GetChildren()) do
  5222. if v:IsA("Part") then
  5223. v.Transparency = 0
  5224. v.BrickColor = MAINRUINCOLOR
  5225. v.Material = "Neon"
  5226. end
  5227. end
  5228. for i, v in pairs(m:GetChildren()) do
  5229. if v:IsA("Part") then
  5230. v.BrickColor = BrickColor.new("White")
  5231. v.Material = "Ice"
  5232. end
  5233. end
  5234. for i, v in pairs(m2:GetChildren()) do
  5235. if v:IsA("Part") then
  5236. v.BrickColor = BrickColor.new("Really black")
  5237. v.Material = "Ice"
  5238. end
  5239. end
  5240. for i, v in pairs(m3:GetChildren()) do
  5241. if v:IsA("Part") then
  5242. v.BrickColor = BrickColor.new("White")
  5243. v.Material = "Neon"
  5244. end
  5245. end
  5246. for i, v in pairs(extrawingmod1:GetChildren()) do
  5247. if v:IsA("Part") then
  5248. v.Transparency = 1
  5249. v.BrickColor = BrickColor.new("White")
  5250. v.Material = "Neon"
  5251. end
  5252. end
  5253. for i, v in pairs(extrawingmod2:GetChildren()) do
  5254. if v:IsA("Part") then
  5255. v.Transparency = 1
  5256. v.BrickColor = BrickColor.new("White")
  5257. v.Material = "Neon"
  5258. end
  5259. end
  5260. elseif k == "5" and attack == false and ModeOfGlitch == 6 then
  5261. resetmode()
  5262. end
  5263. if k == "8" and attack == false and ModeOfGlitch ~= 6 then
  5264. ModeOfGlitch = 69
  5265. storehumanoidWS = 16
  5266. hum.WalkSpeed = 16
  5267. rainbowmode = false
  5268. chaosmode = false
  5269. tl1.Enabled = true
  5270. tl2.Enabled = true
  5271. tl3.Enabled = true
  5272. RecolorTextAndRename("Balance",Color3.new(1,1,1),Color3.new(0,0,0))
  5273. newTheme("rbxassetid://933385346",0,1,1)
  5274. MAINRUINCOLOR = BrickColor.new("Really black")
  5275. for i, v in pairs(mw2:GetChildren()) do
  5276. if v:IsA("Part") then
  5277. v.BrickColor = BrickColor.new("White")
  5278. v.Material = "Neon"
  5279. end
  5280. end
  5281. for i, v in pairs(mw1:GetChildren()) do
  5282. if v:IsA("Part") then
  5283. v.Transparency = 0
  5284. v.BrickColor = BrickColor.new("Really black")
  5285. v.Material = "Neon"
  5286. end
  5287. end
  5288. for i, v in pairs(m:GetChildren()) do
  5289. if v:IsA("Part") then
  5290. v.BrickColor = BrickColor.new("White")
  5291. v.Material = "Ice"
  5292. end
  5293. end
  5294. for i, v in pairs(m2:GetChildren()) do
  5295. if v:IsA("Part") then
  5296. v.BrickColor = BrickColor.new("Really black")
  5297. v.Material = "Ice"
  5298. end
  5299. end
  5300. for i, v in pairs(m3:GetChildren()) do
  5301. if v:IsA("Part") then
  5302. v.BrickColor = BrickColor.new("White")
  5303. v.Material = "Neon"
  5304. end
  5305. end
  5306. for i, v in pairs(extrawingmod1:GetChildren()) do
  5307. if v:IsA("Part") then
  5308. v.Transparency = 1
  5309. v.BrickColor = BrickColor.new("White")
  5310. v.Material = "Neon"
  5311. end
  5312. end
  5313. for i, v in pairs(extrawingmod2:GetChildren()) do
  5314. if v:IsA("Part") then
  5315. v.Transparency = 1
  5316. v.BrickColor = BrickColor.new("White")
  5317. v.Material = "Neon"
  5318. end
  5319. end
  5320. elseif k == "8" and attack == false and ModeOfGlitch == 69 then
  5321. resetmode()
  5322. end
  5323. if k == "6" and attack == false and ModeOfGlitch ~= 6127843 then
  5324. ModeOfGlitch = 6127843
  5325. storehumanoidWS = 16
  5326. hum.WalkSpeed = 16
  5327. rainbowmode = false
  5328. chaosmode = false
  5329. tl1.Enabled = true
  5330. tl2.Enabled = true
  5331. tl3.Enabled = true
  5332. RecolorTextAndRename("Such Wow",Color3.new(163/255, 162/255, 165/255),Color3.new(253/255, 234/255, 141/255))
  5333. newTheme("rbxassetid://150794704",0,1,1)
  5334. MAINRUINCOLOR = BrickColor.new("Cool yellow")
  5335. for i, v in pairs(mw2:GetChildren()) do
  5336. if v:IsA("Part") then
  5337. v.BrickColor = MAINRUINCOLOR
  5338. v.Material = "Neon"
  5339. end
  5340. end
  5341. for i, v in pairs(mw1:GetChildren()) do
  5342. if v:IsA("Part") then
  5343. v.Transparency = 0
  5344. v.BrickColor = MAINRUINCOLOR
  5345. v.Material = "Neon"
  5346. end
  5347. end
  5348. for i, v in pairs(m:GetChildren()) do
  5349. if v:IsA("Part") then
  5350. v.BrickColor = BrickColor.new("White")
  5351. v.Material = "Neon"
  5352. end
  5353. end
  5354. for i, v in pairs(m2:GetChildren()) do
  5355. if v:IsA("Part") then
  5356. v.BrickColor = BrickColor.new("White")
  5357. v.Material = "Neon"
  5358. end
  5359. end
  5360. for i, v in pairs(m3:GetChildren()) do
  5361. if v:IsA("Part") then
  5362. v.BrickColor = BrickColor.new("White")
  5363. v.Material = "Neon"
  5364. end
  5365. end
  5366. for i, v in pairs(extrawingmod1:GetChildren()) do
  5367. if v:IsA("Part") then
  5368. v.Transparency = 1
  5369. v.BrickColor = BrickColor.new("White")
  5370. v.Material = "Neon"
  5371. end
  5372. end
  5373. for i, v in pairs(extrawingmod2:GetChildren()) do
  5374. if v:IsA("Part") then
  5375. v.Transparency = 1
  5376. v.BrickColor = BrickColor.new("White")
  5377. v.Material = "Neon"
  5378. end
  5379. end
  5380. elseif k == "6" and attack == false and ModeOfGlitch == 6127843 then
  5381. resetmode()
  5382. end
  5383. if k == "7" and attack == false and ModeOfGlitch ~= 1000000 then
  5384. ModeOfGlitch = 1000000
  5385. storehumanoidWS = 16
  5386. hum.WalkSpeed = 16
  5387. rainbowmode = false
  5388. chaosmode = false
  5389. tl1.Enabled = true
  5390. tl2.Enabled = true
  5391. tl3.Enabled = true
  5392. RecolorTextAndRename("Lunar",Color3.new(18/255, 238/255, 212/255),Color3.new(4/255, 175/255, 236/255))
  5393. newTheme("rbxassetid://561833161",0,1,1)
  5394. MAINRUINCOLOR = BrickColor.new("Teal")
  5395. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5396. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5397. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5398. for i, v in pairs(mw2:GetChildren()) do
  5399. if v:IsA("Part") then
  5400. v.BrickColor = MAINRUINCOLOR
  5401. v.Material = "Neon"
  5402. end
  5403. end
  5404. for i, v in pairs(mw1:GetChildren()) do
  5405. if v:IsA("Part") then
  5406. v.Transparency = 0
  5407. v.BrickColor = MAINRUINCOLOR
  5408. v.Material = "Neon"
  5409. end
  5410. end
  5411. for i, v in pairs(m:GetChildren()) do
  5412. if v:IsA("Part") then
  5413. v.Color = Color3.new(0.5,0,1)
  5414. v.Material = "Neon"
  5415. end
  5416. end
  5417. for i, v in pairs(m2:GetChildren()) do
  5418. if v:IsA("Part") then
  5419. v.Color = Color3.new(0.25,0,1)
  5420. v.Material = "Neon"
  5421. end
  5422. end
  5423. for i, v in pairs(m3:GetChildren()) do
  5424. if v:IsA("Part") then
  5425. v.Color = Color3.new(0.45,0,1)
  5426. v.Material = "Neon"
  5427. end
  5428. end
  5429. for i, v in pairs(extrawingmod1:GetChildren()) do
  5430. if v:IsA("Part") then
  5431. v.Transparency = 0
  5432. v.Color = MAINRUINCOLOR
  5433. v.Material = "Neon"
  5434. end
  5435. end
  5436. for i, v in pairs(extrawingmod2:GetChildren()) do
  5437. if v:IsA("Part") then
  5438. v.Transparency = 0
  5439. v.Color = MAINRUINCOLOR
  5440. v.Material = "Neon"
  5441. end
  5442. end
  5443. elseif k == "7" and attack == false and ModeOfGlitch == 1000000 then
  5444. resetmode()
  5445. end
  5446. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 then
  5447. newTheme("rbxassetid://1770978966",0,1,1)
  5448. attack = true
  5449. hum.WalkSpeed = 0
  5450. MAINRUINCOLOR = BrickColor.new("Ghost grey")
  5451. for i = 0, 0, 0.1 do
  5452. swait()
  5453. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  5454. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  5455. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  5456. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5457. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5458. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  5459. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  5460. end
  5461. CameraEnshaking(1,1)
  5462. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5463. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  5464. wait(0.55)
  5465. CameraEnshaking(1,2)
  5466. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  5467. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5468. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5469. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  5470. wait(0.55)
  5471. CameraEnshaking(1,3)
  5472. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  5473. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5474. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  5475. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5476. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5477. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  5478. wait(0.55)
  5479. CameraEnshaking(10,5)
  5480. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  5481. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  5482. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5483. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  5484. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  5485. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  5486. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  5487. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  5488. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  5489. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5490. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  5491. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  5492. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  5493. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  5494. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  5495. for i = 0, 49 do
  5496. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  5497. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  5498. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  5499. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  5500. end
  5501. ModeOfGlitch = 12345678987654321
  5502. storehumanoidWS = 19
  5503. hum.WalkSpeed = 19
  5504. rainbowmode = false
  5505. chaosmode = false
  5506. tl1.Enabled = true
  5507. tl2.Enabled = true
  5508. tl3.Enabled = true
  5509. RecolorTextAndRename("Spirit",Color3.new(1,1,1),Color3.new(163/255, 162/255, 165/255))
  5510. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5511. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5512. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5513. for i, v in pairs(mw2:GetChildren()) do
  5514. if v:IsA("Part") then
  5515. v.BrickColor = MAINRUINCOLOR
  5516. v.Material = "Neon"
  5517. end
  5518. end
  5519. for i, v in pairs(mw1:GetChildren()) do
  5520. if v:IsA("Part") then
  5521. v.Transparency = 0
  5522. v.BrickColor = MAINRUINCOLOR
  5523. v.Material = "Neon"
  5524. end
  5525. end
  5526. for i, v in pairs(m:GetChildren()) do
  5527. if v:IsA("Part") then
  5528. v.Color = Color3.new(0.5,0,1)
  5529. v.Material = "Neon"
  5530. end
  5531. end
  5532. for i, v in pairs(m2:GetChildren()) do
  5533. if v:IsA("Part") then
  5534. v.Color = Color3.new(0.5,0,1)
  5535. v.Material = "Neon"
  5536. end
  5537. end
  5538. for i, v in pairs(m3:GetChildren()) do
  5539. if v:IsA("Part") then
  5540. v.Color = Color3.new(0.5,0,1)
  5541. v.Material = "Neon"
  5542. end
  5543. end
  5544. for i, v in pairs(extrawingmod1:GetChildren()) do
  5545. if v:IsA("Part") then
  5546. v.Transparency = 0
  5547. v.BrickColor = MAINRUINCOLOR
  5548. v.Material = "Neon"
  5549. end
  5550. end
  5551. for i, v in pairs(extrawingmod2:GetChildren()) do
  5552. if v:IsA("Part") then
  5553. v.Transparency = 0
  5554. v.BrickColor = MAINRUINCOLOR
  5555. v.Material = "Neon"
  5556. end
  5557. attack = false
  5558. end
  5559. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  5560. resetmode()
  5561. end
  5562. if k == "m" and attack == false and ModeOfGlitch == 69 and ModeOfGlitch ~= 33 then
  5563. newThemeCust("rbxassetid://919231299",0,1,1)
  5564. attack = true
  5565. hum.WalkSpeed = 0
  5566. MAINRUINCOLOR = BrickColor.new("Ghost grey")
  5567. for i = 0, 0, 0.1 do
  5568. swait()
  5569. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  5570. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  5571. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  5572. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5573. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5574. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  5575. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  5576. end
  5577. CameraEnshaking(1,1)
  5578. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5579. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  5580. wait(0.55)
  5581. CameraEnshaking(1,2)
  5582. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  5583. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5584. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5585. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  5586. wait(0.55)
  5587. CameraEnshaking(1,3)
  5588. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  5589. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5590. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  5591. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5592. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5593. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  5594. wait(0.55)
  5595. CameraEnshaking(10,5)
  5596. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  5597. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  5598. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5599. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  5600. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  5601. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  5602. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  5603. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  5604. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  5605. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5606. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  5607. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  5608. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  5609. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  5610. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  5611. for i = 0, 49 do
  5612. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  5613. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  5614. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  5615. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  5616. end
  5617. ModeOfGlitch = 33
  5618. storehumanoidWS = 16
  5619. hum.WalkSpeed = 16
  5620. rainbowmode = false
  5621. chaosmode = true
  5622. tl1.Enabled = true
  5623. tl2.Enabled = true
  5624. tl3.Enabled = true
  5625. RecolorTextAndRename("InSaNe",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  5626. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5627. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5628. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5629. for i, v in pairs(mw2:GetChildren()) do
  5630. if v:IsA("Part") then
  5631. v.BrickColor = MAINRUINCOLOR
  5632. v.Material = "Neon"
  5633. end
  5634. end
  5635. for i, v in pairs(mw1:GetChildren()) do
  5636. if v:IsA("Part") then
  5637. v.Transparency = 0
  5638. v.BrickColor = MAINRUINCOLOR
  5639. v.Material = "Neon"
  5640. end
  5641. end
  5642. for i, v in pairs(m:GetChildren()) do
  5643. if v:IsA("Part") then
  5644. v.Color = Color3.new(0.5,0,1)
  5645. v.Material = "Neon"
  5646. end
  5647. end
  5648. for i, v in pairs(m2:GetChildren()) do
  5649. if v:IsA("Part") then
  5650. v.Color = Color3.new(0.5,0,1)
  5651. v.Material = "Neon"
  5652. end
  5653. end
  5654. for i, v in pairs(m3:GetChildren()) do
  5655. if v:IsA("Part") then
  5656. v.Color = Color3.new(0.5,0,1)
  5657. v.Material = "Neon"
  5658. end
  5659. end
  5660. for i, v in pairs(extrawingmod1:GetChildren()) do
  5661. if v:IsA("Part") then
  5662. v.Transparency = 0
  5663. v.Color = Color3.new(0.5,0,1)
  5664. v.Material = "Neon"
  5665. end
  5666. end
  5667. for i, v in pairs(extrawingmod2:GetChildren()) do
  5668. if v:IsA("Part") then
  5669. v.Transparency = 0
  5670. v.Color = Color3.new(0.5,0,1)
  5671. v.Material = "Neon"
  5672. end
  5673. attack = false
  5674. end
  5675. elseif k == "m" and attack == false and ModeOfGlitch == 33 then
  5676. resetmode()
  5677. end
  5678. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 21 then
  5679. newTheme("rbxassetid://1764195391",0,1,1)
  5680. attack = true
  5681. hum.WalkSpeed = 0
  5682. MAINRUINCOLOR = BrickColor.new("New Yeller")
  5683. for i = 0, 75, 0.1 do
  5684. swait()
  5685. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  5686. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  5687. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  5688. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5689. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5690. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  5691. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  5692. end
  5693. CameraEnshaking(1,1)
  5694. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5695. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  5696. wait(0.55)
  5697. CameraEnshaking(1,2)
  5698. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  5699. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5700. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5701. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  5702. wait(0.55)
  5703. CameraEnshaking(1,3)
  5704. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  5705. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5706. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  5707. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5708. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5709. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  5710. wait(0.55)
  5711. CameraEnshaking(10,5)
  5712. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  5713. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  5714. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5715. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  5716. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  5717. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  5718. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  5719. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  5720. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  5721. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5722. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  5723. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  5724. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  5725. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  5726. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  5727. for i = 0, 49 do
  5728. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  5729. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  5730. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  5731. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  5732. end
  5733. ModeOfGlitch = 21
  5734. storehumanoidWS = 16
  5735. hum.WalkSpeed = 16
  5736. rainbowmode = false
  5737. chaosmode = false
  5738. tl1.Enabled = true
  5739. tl2.Enabled = true
  5740. tl3.Enabled = true
  5741. RecolorTextAndRename("Overclocked",Color3.new(0,0,0),Color3.new(255/255, 176/255, 0))
  5742. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5743. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5744. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5745. for i, v in pairs(mw2:GetChildren()) do
  5746. if v:IsA("Part") then
  5747. v.BrickColor = BrickColor.new("Really black")
  5748. v.Material = "Neon"
  5749. end
  5750. end
  5751. for i, v in pairs(mw1:GetChildren()) do
  5752. if v:IsA("Part") then
  5753. v.Transparency = 0
  5754. v.BrickColor = BrickColor.new("Really black")
  5755. v.Material = "Neon"
  5756. end
  5757. end
  5758. for i, v in pairs(m:GetChildren()) do
  5759. if v:IsA("Part") then
  5760. v.Color = Color3.new(0.5,0,1)
  5761. v.Material = "Neon"
  5762. end
  5763. end
  5764. for i, v in pairs(m2:GetChildren()) do
  5765. if v:IsA("Part") then
  5766. v.Color = Color3.new(0.5,0,1)
  5767. v.Material = "Neon"
  5768. end
  5769. end
  5770. for i, v in pairs(m3:GetChildren()) do
  5771. if v:IsA("Part") then
  5772. v.Color = Color3.new(0.5,0,1)
  5773. v.Material = "Neon"
  5774. end
  5775. end
  5776. for i, v in pairs(extrawingmod1:GetChildren()) do
  5777. if v:IsA("Part") then
  5778. v.Transparency = 0
  5779. v.BrickColor = MAINRUINCOLOR
  5780. v.Material = "DiamondPlate"
  5781. end
  5782. end
  5783. for i, v in pairs(extrawingmod2:GetChildren()) do
  5784. if v:IsA("Part") then
  5785. v.Transparency = 0
  5786. v.BrickColor = MAINRUINCOLOR
  5787. v.Material = "DiamondPlate"
  5788. end
  5789. attack = false
  5790. end
  5791. elseif k == "m" and attack == false and ModeOfGlitch == 21 then
  5792. resetmode()
  5793. end
  5794. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 666 then
  5795. newThemeCust("rbxassetid://1244332148",0,1,1)
  5796. attack = true
  5797. hum.WalkSpeed = 0
  5798. MAINRUINCOLOR = BrickColor.new("Navy blue")
  5799. for i = 0, 33, 0.1 do
  5800. swait()
  5801. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  5802. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  5803. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  5804. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5805. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5806. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  5807. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  5808. end
  5809. CameraEnshaking(1,1)
  5810. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5811. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  5812. wait(0.55)
  5813. CameraEnshaking(1,2)
  5814. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  5815. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5816. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5817. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  5818. wait(0.55)
  5819. CameraEnshaking(1,3)
  5820. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  5821. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5822. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  5823. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5824. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5825. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  5826. wait(0.55)
  5827. CameraEnshaking(10,5)
  5828. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  5829. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  5830. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5831. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  5832. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  5833. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  5834. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  5835. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  5836. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  5837. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5838. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  5839. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  5840. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  5841. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  5842. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  5843. for i = 0, 49 do
  5844. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  5845. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  5846. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  5847. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  5848. end
  5849. ModeOfGlitch = 666
  5850. storehumanoidWS = 16
  5851. hum.WalkSpeed = 16
  5852. rainbowmode = false
  5853. chaosmode = false
  5854. tl1.Enabled = true
  5855. tl2.Enabled = true
  5856. tl3.Enabled = true
  5857. RecolorTextAndRename("Pixels",Color3.new(0,1,1),Color3.new(0,0,1))
  5858. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5859. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5860. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5861. for i, v in pairs(mw2:GetChildren()) do
  5862. if v:IsA("Part") then
  5863. v.BrickColor = MAINRUINCOLOR
  5864. v.Material = "Neon"
  5865. end
  5866. end
  5867. for i, v in pairs(mw1:GetChildren()) do
  5868. if v:IsA("Part") then
  5869. v.Transparency = 0
  5870. v.BrickColor = MAINRUINCOLOR
  5871. v.Material = "Neon"
  5872. end
  5873. end
  5874. for i, v in pairs(m:GetChildren()) do
  5875. if v:IsA("Part") then
  5876. v.Color = Color3.new(1,0,0)
  5877. v.Material = "Neon"
  5878. end
  5879. end
  5880. for i, v in pairs(m2:GetChildren()) do
  5881. if v:IsA("Part") then
  5882. v.Color = Color3.new(1,0,0)
  5883. v.Material = "Neon"
  5884. end
  5885. end
  5886. for i, v in pairs(m3:GetChildren()) do
  5887. if v:IsA("Part") then
  5888. v.Color = Color3.new(1,0,0)
  5889. v.Material = "Neon"
  5890. end
  5891. end
  5892. for i, v in pairs(extrawingmod1:GetChildren()) do
  5893. if v:IsA("Part") then
  5894. v.Transparency = 0
  5895. v.Color = Color3.new(0, 32/255, 96/255)
  5896. v.Material = "Neon"
  5897. end
  5898. end
  5899. for i, v in pairs(extrawingmod2:GetChildren()) do
  5900. if v:IsA("Part") then
  5901. v.Transparency = 0
  5902. v.Color = Color3.new(0, 32/255, 96/255)
  5903. v.Material = "Neon"
  5904. end
  5905. attack = false
  5906. end
  5907. elseif k == "m" and attack == false and ModeOfGlitch == 666 then
  5908. resetmode()
  5909. end
  5910. if k == "l" and toggleTag == false then
  5911. toggleTag = true
  5912. text.TextTransparency = 0
  5913. text.TextStrokeTransparency = 0
  5914. elseif k == "l" and toggleTag == true then
  5915. toggleTag = false
  5916. text.TextTransparency = 1
  5917. text.TextStrokeTransparency = 1
  5918. end
  5919. if k == "z" and attack == false and ModeOfGlitch == 6 or ModeOfGlitch == 33 then
  5920. ExtinctiveHeartbreak()
  5921. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  5922. PureBomb()
  5923. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  5924. scattercorrupt()
  5925. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  5926. ChaosGroundStrike()
  5927. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  5928. Judgement()
  5929. elseif k == "z" and attack == false and ModeOfGlitch == 21 then
  5930. Judgement()
  5931. elseif k == "|" and attack == false and ModeOfGlitch == 4 then
  5932. HolyBarrier()
  5933. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  5934. Starfall()
  5935. elseif k == "z" and attack == false and ModeOfGlitch == 69 then
  5936. yinyangi()
  5937. elseif k == "x" and attack == false and ModeOfGlitch == 69 then
  5938. test()
  5939. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  5940. Wip()
  5941. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  5942. StarfallEX()
  5943. elseif k == "c" and attack == false and ModeOfGlitch == 12345678987654321 then
  5944. FinalCalam()
  5945. end
  5946. if k == "n" and attack == false then
  5947. Blink()
  5948. elseif k == "x" and attack == false and ModeOfGlitch == 1000000 then
  5949. StarDivision()
  5950. end
  5951. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  5952. UniversalCollapse()
  5953. end
  5954.  
  5955. if k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed < 200 then
  5956. hum.WalkSpeed = 16 + 184
  5957. elseif k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed == 200 then
  5958. hum.WalkSpeed = 200 - 184
  5959. end
  5960. if k == "x" and attack == false and ModeOfGlitch == 12345678987654321 then
  5961. UniversalSpark()
  5962. end
  5963. if k == "z" and attack == false and ModeOfGlitch == 666 then
  5964. StarDivision()
  5965. end
  5966. if k == "x" and attack == false and ModeOfGlitch == 666 then
  5967. Starfall()
  5968. end
  5969. if k == "m" and attack == false and ModeOfGlitch == 4 then
  5970. ChaosBegone()
  5971. elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == false then
  5972. THEHELLITSTHATBIG()
  5973. elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == true then
  5974. removelol()
  5975. end
  5976. end)
  5977. mouse.KeyUp:connect(function(k)
  5978. if k == "f" and ModeOfGlitch == 5 then
  5979. stash:Remove()
  5980. attack = false
  5981. Torso.Anchored = false
  5982. shielding = false
  5983. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  5984. end
  5985. end)
  5986. coroutine.resume(coroutine.create(function()
  5987. while true do
  5988. swait(2)
  5989. if rainbowmode == true or ModeOfGlitch == 69 then
  5990. if eff == true then
  5991. sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
  5992. end
  5993. end
  5994. end
  5995. end))
  5996. coroutine.resume(coroutine.create(function()
  5997. while true do
  5998. swait(2)
  5999. if shielding == true then
  6000. 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("White"),0)
  6001. end
  6002. end
  6003. end))
  6004.  
  6005.  
  6006. coroutine.resume(coroutine.create(function()
  6007. while true do
  6008. if ModeOfGlitch == 1000000 then
  6009. swait(0.5)
  6010. end
  6011. swait()
  6012. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  6013. sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
  6014. end
  6015. if ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  6016. sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
  6017. end
  6018. end
  6019. end))
  6020.  
  6021.  
  6022. coroutine.resume(coroutine.create(function()
  6023. while true do
  6024. swait(2)
  6025. if chaosmode == true then
  6026. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6027. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6028. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6029. tr1.Color = ColorSequence.new(BrickColor.random().Color)
  6030. tr2.Color = ColorSequence.new(BrickColor.random().Color)
  6031. tr3.Color = ColorSequence.new(BrickColor.random().Color)
  6032. RecolorTextAndRename("InSaNe",BrickColor.random().Color,BrickColor.random().Color)
  6033. for i, v in pairs(mw1:GetChildren()) do
  6034. if v:IsA("Part") then
  6035. v.Transparency = 0
  6036. v.BrickColor = BrickColor.random()
  6037. v.Material = "Neon"
  6038. end
  6039. end
  6040. for i, v in pairs(mw2:GetChildren()) do
  6041. if v:IsA("Part") then
  6042. v.Transparency = 0
  6043. v.BrickColor = BrickColor.random()
  6044. v.Material = "Neon"
  6045. end
  6046. end
  6047. for i, v in pairs(m2:GetChildren()) do
  6048. if v:IsA("Part") then
  6049. v.BrickColor = BrickColor.random()
  6050. v.Material = "Neon"
  6051. end
  6052. end
  6053. for i, v in pairs(extrawingmod1:GetChildren()) do
  6054. if v:IsA("Part") then
  6055. v.Transparency = 0
  6056. v.BrickColor = BrickColor.random()
  6057. v.Material = "Neon"
  6058. end
  6059. end
  6060. for i, v in pairs(extrawingmod2:GetChildren()) do
  6061. if v:IsA("Part") then
  6062. v.Transparency = 0
  6063. v.BrickColor = BrickColor.random()
  6064. v.Material = "Neon"
  6065. end
  6066. end
  6067. for i, v in pairs(secondchar:GetChildren()) do
  6068. if v:IsA("Part") then
  6069. v.BrickColor = BrickColor.random()
  6070. v.Material = "Neon"
  6071. end
  6072. end
  6073. end
  6074. end
  6075. end))
  6076. Humanoid.Name = "STARGLITCHER"
  6077. Humanoid.MaxHealth = math.huge
  6078. Humanoid.Health = math.huge
  6079. Instance.new("ForceField",char).Visible = false
  6080. Humanoid.Animator.Parent = nil
  6081. idleanim=.4
  6082. while true do
  6083. if rainbowmode == false then
  6084. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6085. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6086. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6087. for i, v in pairs(secondchar:GetChildren()) do
  6088. if v:IsA("Part") then
  6089. v.BrickColor = MAINRUINCOLOR
  6090. v.Material = "Neon"
  6091. end
  6092. end
  6093. if chaosmode == false then
  6094. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6095. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6096. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6097. for i, v in pairs(secondchar:GetChildren()) do
  6098. if v:IsA("Part") then
  6099. v.BrickColor = MAINRUINCOLOR
  6100. v.Material = "Neon"
  6101. end
  6102. end
  6103. end
  6104. end
  6105. if rainbowmode == true then
  6106. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6107. MAINRUINCOLOR = BrickColor.new("White")
  6108. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6109. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6110. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6111. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6112. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6113. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6114. for i, v in pairs(m:GetChildren()) do
  6115. if v:IsA("Part") then
  6116. v.Color = Color3.new(r/255,g/255,b/255)
  6117. end
  6118. end
  6119. for i, v in pairs(m2:GetChildren()) do
  6120. if v:IsA("Part") then
  6121. v.Color = Color3.new(r/255,g/255,b/255)
  6122. end
  6123. end
  6124. for i, v in pairs(secondchar:GetChildren()) do
  6125. if v:IsA("Part") then
  6126. v.Color = Color3.new(r/255,g/255,b/255)
  6127. v.Material = "Neon"
  6128. end
  6129. end
  6130. for i, v in pairs(m3:GetChildren()) do
  6131. if v:IsA("Part") then
  6132. v.Color = Color3.new(r/255,g/255,b/255)
  6133. end
  6134. end
  6135. for i, v in pairs(mw1:GetChildren()) do
  6136. if v:IsA("Part") then
  6137. v.Color = Color3.new(r/255,g/255,b/255)
  6138. v.Material = "Neon"
  6139. end
  6140. end
  6141. for i, v in pairs(mw2:GetChildren()) do
  6142. if v:IsA("Part") then
  6143. v.Color = Color3.new(r/255,g/255,b/255)
  6144. v.Material = "Neon"
  6145. end
  6146. end
  6147. end
  6148. CameraManager()
  6149. swait()
  6150. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  6151. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  6152. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  6153. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  6154. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  6155. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  6156.  
  6157. if attack == false and ActiveGia == false then
  6158. torsweld.C1=clerp(torsweld.C1,cf(2,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  6159. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1)
  6160. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1)
  6161. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  6162. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  6163. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1)
  6164. elseif attack == false and ActiveGia == true then
  6165. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then
  6166. torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  6167. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025)
  6168. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025)
  6169. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  6170. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  6171. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025)
  6172. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  6173. torsweld.C1=clerp(torsweld.C1,cf(0,-25 + 0.5 * math.cos(sine / 32) ,-8)*angles(math.rad(20),math.rad(0),math.rad(0)),.025)
  6174. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025)
  6175. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025)
  6176. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,1.5*8,0.6*8)*angles(math.rad(20),math.rad(0),math.rad(0)),0.025)
  6177. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0.11*8)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025)
  6178. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(5),math.rad(0),math.rad(0)),0.025)
  6179. end
  6180. end
  6181.  
  6182. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  6183. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  6184. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  6185. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  6186. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  6187. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  6188. sine = sine + change
  6189. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6190. local velderp=RootPart.Velocity.y
  6191. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6192. if equipped==true or equipped==false then
  6193. if attack==false then
  6194. idle=idle+1
  6195. else
  6196. idle=0
  6197. end
  6198. if idle>=500 then
  6199. if attack==false then
  6200. --Sheath()
  6201. end
  6202. end
  6203. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6204. Anim="Jump"
  6205. if attack==false then
  6206. 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(-5),math.rad(0),math.rad(-20)),.1)
  6207. 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)
  6208. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  6209. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6210. 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)
  6211. 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)
  6212. end
  6213. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6214. Anim="Fall"
  6215. if attack==false then
  6216. 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(-5),math.rad(0),math.rad(-20)),.1)
  6217. 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)
  6218. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6219. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6220. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  6221. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  6222. end
  6223. elseif torvel<1 and hitfloor~=nil then
  6224. Anim="Idle"
  6225. if attack==false then
  6226. if ModeOfGlitch == 2 then
  6227. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  6228. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  6229. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  6230. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  6231. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  6232. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6233.  
  6234. elseif ModeOfGlitch == 33 then
  6235. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  6236. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  6237. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  6238. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6239. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  6240. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  6241.  
  6242. elseif ModeOfGlitch == 4 then
  6243. 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(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6244. 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 + 1 * math.cos(sine / 34))),.1)
  6245. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6246. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  6247. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  6248. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  6249.  
  6250. elseif ModeOfGlitch == 1 then
  6251. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  6252. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6253. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  6254. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  6255. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  6256. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  6257.  
  6258. elseif ModeOfGlitch == 3 or ModeOfGlitch == 6 or ModeOfGlitch == 666 then
  6259. 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)
  6260. 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)
  6261. 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)
  6262. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  6263. RW.C0=clerp(RW.C0,cf(1.5,0.5,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))),.1)
  6264. LW.C0=clerp(LW.C0,cf(-1.5,0.5,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))),.1)
  6265.  
  6266. elseif ModeOfGlitch == 6127843 or ModeOfGlitch == 69 then
  6267. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6268. 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 + 1 * math.cos(sine / 34))),.1)
  6269. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6270. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  6271. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
  6272. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  6273.  
  6274. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 5 or ModeOfGlitch == 21 then
  6275. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  6276. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  6277. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6278. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  6279. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  6280. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  6281.  
  6282. elseif ModeOfGlitch == 12345678987654321 then
  6283. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  6284. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  6285. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  6286. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  6287. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  6288. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  6289. end
  6290. end
  6291. elseif torvel>2 and torvel<50 and hitfloor~=nil then
  6292. Anim="Walk"
  6293. if attack==false then
  6294. if ModeOfGlitch == 2 then
  6295. RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1)
  6296. LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1)
  6297. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  6298. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 5 * math.cos(sine / 0.325)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  6299. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  6300. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6301.  
  6302. elseif ModeOfGlitch == 6 then
  6303. RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(5 + 25 * math.cos(sine / 12))),.1)
  6304. LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(-5 + 25 * math.cos(sine / 12))),.1)
  6305. 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)
  6306. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  6307. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  6308. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  6309.  
  6310. elseif ModeOfGlitch == 5 or ModeOfGlitch == 1000000 or ModeOfGlitch == 33 or ModeOfGlitch == 21 or ModeOfGlitch == 12345678987654321 then
  6311. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  6312. 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(20)),.2)
  6313. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  6314. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6315. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
  6316. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
  6317.  
  6318. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 or ModeOfGlitch ~= 666 then
  6319. RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1)
  6320. LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1)
  6321. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  6322. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  6323. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  6324. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
  6325. end
  6326. end
  6327. elseif torvel>=22 and hitfloor~=nil then
  6328. Anim="Run"
  6329. if attack==false then
  6330. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then
  6331. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  6332. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  6333. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  6334. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  6335. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 155 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  6336. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 155 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  6337. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  6338. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  6339. 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(20)),.2)
  6340. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  6341. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6342. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
  6343. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
  6344. end
  6345. end
  6346. end
  6347. end
  6348. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement