VIPER23

Untitled

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