Advertisement
Goo345

Untitled

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