Advertisement
CrastAndNoob

???

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