Advertisement
13242

Untitled

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