Advertisement
Goo345

nebula glitcher

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