Advertisement
Darkelx

Untitled

Feb 16th, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 289.19 KB | None | 0 0
  1. print("Welcome, ILikeCars1. Your require is loading.")
  2. local Player = game:GetService("Players").ILikeCars1
  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 = game:GetService("Players").Godcat567
  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=game:GetService("Players").ILikeCars1
  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. function clerp(a,b,t)
  1518. return a:lerp(b,t)
  1519. end
  1520.  
  1521. local function CFrameFromTopBack(at, top, back)
  1522. local right = top:Cross(back)
  1523. return CFrame.new(at.x, at.y, at.z,
  1524. right.x, top.x, back.x,
  1525. right.y, top.y, back.y,
  1526. right.z, top.z, back.z)
  1527. end
  1528.  
  1529. function Triangle(a, b, c)
  1530. local edg1 = (c-a):Dot((b-a).unit)
  1531. local edg2 = (a-b):Dot((c-b).unit)
  1532. local edg3 = (b-c):Dot((a-c).unit)
  1533. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1534. a, b, c = a, b, c
  1535. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1536. a, b, c = b, c, a
  1537. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1538. a, b, c = c, a, b
  1539. else
  1540. assert(false, "unreachable")
  1541. end
  1542.  
  1543. local len1 = (c-a):Dot((b-a).unit)
  1544. local len2 = (b-a).magnitude - len1
  1545. local width = (a + (b-a).unit*len1 - c).magnitude
  1546.  
  1547. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1548.  
  1549. local list = {}
  1550.  
  1551. if len1 > 0.01 then
  1552. local w1 = Instance.new('WedgePart', m)
  1553. game:GetService("Debris"):AddItem(w1,5)
  1554. w1.Material = "SmoothPlastic"
  1555. w1.FormFactor = 'Custom'
  1556. w1.BrickColor = BrickColor.new("Really black")
  1557. w1.Transparency = 0
  1558. w1.Reflectance = 0
  1559. w1.Material = "SmoothPlastic"
  1560. w1.CanCollide = false
  1561. local l1 = Instance.new("PointLight",w1)
  1562. l1.Color = Color3.new(170,0,0)
  1563. NoOutline(w1)
  1564. local sz = Vector3.new(0.2, width, len1)
  1565. w1.Size = sz
  1566. local sp = Instance.new("SpecialMesh",w1)
  1567. sp.MeshType = "Wedge"
  1568. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1569. w1:BreakJoints()
  1570. w1.Anchored = true
  1571. w1.Parent = workspace
  1572. w1.Transparency = 0.7
  1573. table.insert(Effects,{w1,"Disappear",.01})
  1574. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1575. table.insert(list,w1)
  1576. end
  1577.  
  1578. if len2 > 0.01 then
  1579. local w2 = Instance.new('WedgePart', m)
  1580. game:GetService("Debris"):AddItem(w2,5)
  1581. w2.Material = "SmoothPlastic"
  1582. w2.FormFactor = 'Custom'
  1583. w2.BrickColor = BrickColor.new("Really black")
  1584. w2.Transparency = 0
  1585. w2.Reflectance = 0
  1586. w2.Material = "SmoothPlastic"
  1587. w2.CanCollide = false
  1588. local l2 = Instance.new("PointLight",w2)
  1589. l2.Color = Color3.new(170,0,0)
  1590. NoOutline(w2)
  1591. local sz = Vector3.new(0.2, width, len2)
  1592. w2.Size = sz
  1593. local sp = Instance.new("SpecialMesh",w2)
  1594. sp.MeshType = "Wedge"
  1595. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1596. w2:BreakJoints()
  1597. w2.Anchored = true
  1598. w2.Parent = workspace
  1599. w2.Transparency = 0.7
  1600. table.insert(Effects,{w2,"Disappear",.01})
  1601. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1602. table.insert(list,w2)
  1603. end
  1604. return unpack(list)
  1605. end
  1606.  
  1607.  
  1608. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1609. if hit.Parent == nil then
  1610. return
  1611. end
  1612. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1613. for _, v in pairs(hit.Parent:children()) do
  1614. if v:IsA("Humanoid") then
  1615. h = v
  1616. end
  1617. end
  1618. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1619. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1620. return
  1621. end
  1622. local c = Create("ObjectValue")({
  1623. Name = "creator",
  1624. Value = game:service("Players").Godcat567,
  1625. Parent = h
  1626. })
  1627. game:GetService("Debris"):AddItem(c, 0.5)
  1628. if HitSound ~= nil and HitPitch ~= nil then
  1629. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1630. end
  1631. local Damage = math.random(minim, maxim)
  1632. local blocked = false
  1633. local block = hit.Parent:findFirstChild("Block")
  1634. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1635. blocked = true
  1636. block.Value = block.Value - 1
  1637. print(block.Value)
  1638. end
  1639. if blocked == false then
  1640. HitHealth = h.Health
  1641. h.Health = h.Health - Damage
  1642. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1643. print("gained kill")
  1644. end
  1645. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1646. else
  1647. h.Health = h.Health - Damage / 2
  1648. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1649. end
  1650. if Type == "Knockdown" then
  1651. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1652. hum.PlatformStand = true
  1653. coroutine.resume(coroutine.create(function(HHumanoid)
  1654. swait(1)
  1655. HHumanoid.PlatformStand = false
  1656. end), hum)
  1657. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1658. local bodvol = Create("BodyVelocity")({
  1659. velocity = angle * knockback,
  1660. P = 5000,
  1661. maxForce = Vector3.new(8000, 8000, 8000),
  1662. Parent = hit
  1663. })
  1664. local rl = Create("BodyAngularVelocity")({
  1665. P = 3000,
  1666. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1667. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1668. Parent = hit
  1669. })
  1670. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1671. game:GetService("Debris"):AddItem(rl, 0.5)
  1672. elseif Type == "Normal" then
  1673. local vp = Create("BodyVelocity")({
  1674. P = 500,
  1675. maxForce = Vector3.new(math.huge, 0, math.huge),
  1676. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1677. })
  1678. if knockback > 0 then
  1679. vp.Parent = hit.Parent.Head
  1680. end
  1681. game:GetService("Debris"):AddItem(vp, 0.5)
  1682. elseif Type == "Up" then
  1683. local bodyVelocity = Create("BodyVelocity")({
  1684. velocity = Vector3.new(0, 20, 0),
  1685. P = 5000,
  1686. maxForce = Vector3.new(8000, 8000, 8000),
  1687. Parent = hit
  1688. })
  1689. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1690. local bodyVelocity = Create("BodyVelocity")({
  1691. velocity = Vector3.new(0, 20, 0),
  1692. P = 5000,
  1693. maxForce = Vector3.new(8000, 8000, 8000),
  1694. Parent = hit
  1695. })
  1696. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1697. elseif Type == "Leech" then
  1698. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1699. if hum ~= nil then
  1700. for i = 0, 2 do
  1701. 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)
  1702. end
  1703. Humanoid.Health = Humanoid.Health + 10
  1704. end
  1705. elseif Type == "UpKnock" then
  1706. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1707. hum.PlatformStand = true
  1708. if hum ~= nil then
  1709. hitr = true
  1710. end
  1711. coroutine.resume(coroutine.create(function(HHumanoid)
  1712. swait(5)
  1713. HHumanoid.PlatformStand = false
  1714. hitr = false
  1715. end), hum)
  1716. local bodyVelocity = Create("BodyVelocity")({
  1717. velocity = Vector3.new(0, 20, 0),
  1718. P = 5000,
  1719. maxForce = Vector3.new(8000, 8000, 8000),
  1720. Parent = hit
  1721. })
  1722. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1723. local bodyVelocity = Create("BodyVelocity")({
  1724. velocity = Vector3.new(0, 20, 0),
  1725. P = 5000,
  1726. maxForce = Vector3.new(8000, 8000, 8000),
  1727. Parent = hit
  1728. })
  1729. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1730. elseif Type == "Snare" then
  1731. local bp = Create("BodyPosition")({
  1732. P = 2000,
  1733. D = 100,
  1734. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1735. position = hit.Parent.Torso.Position,
  1736. Parent = hit.Parent.Torso
  1737. })
  1738. game:GetService("Debris"):AddItem(bp, 1)
  1739. elseif Type == "Slashnare" then
  1740. 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)
  1741. for i = 1, math.random(4, 5) do
  1742. 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)
  1743. end
  1744. local bp = Create("BodyPosition")({
  1745. P = 2000,
  1746. D = 100,
  1747. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1748. position = hit.Parent.Torso.Position,
  1749. Parent = hit.Parent.Torso
  1750. })
  1751. game:GetService("Debris"):AddItem(bp, 1)
  1752. elseif Type == "Spike" then
  1753. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1754. local bp = Create("BodyPosition")({
  1755. P = 2000,
  1756. D = 100,
  1757. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1758. position = hit.Parent.Torso.Position,
  1759. Parent = hit.Parent.Torso
  1760. })
  1761. game:GetService("Debris"):AddItem(bp, 1)
  1762. elseif Type == "Freeze" then
  1763. local BodPos = Create("BodyPosition")({
  1764. P = 50000,
  1765. D = 1000,
  1766. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1767. position = hit.Parent.Torso.Position,
  1768. Parent = hit.Parent.Torso
  1769. })
  1770. local BodGy = Create("BodyGyro")({
  1771. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1772. P = 20000,
  1773. Parent = hit.Parent.Torso,
  1774. cframe = hit.Parent.Torso.CFrame
  1775. })
  1776. hit.Parent.Torso.Anchored = true
  1777. coroutine.resume(coroutine.create(function(Part)
  1778. swait(1.5)
  1779. Part.Anchored = false
  1780. end), hit.Parent.Torso)
  1781. game:GetService("Debris"):AddItem(BodPos, 3)
  1782. game:GetService("Debris"):AddItem(BodGy, 3)
  1783. end
  1784. local debounce = Create("BoolValue")({
  1785. Name = "DebounceHit",
  1786. Parent = hit.Parent,
  1787. Value = true
  1788. })
  1789. game:GetService("Debris"):AddItem(debounce, Delay)
  1790. c = Instance.new("ObjectValue")
  1791. c.Name = "creator"
  1792. c.Value = Player
  1793. c.Parent = h
  1794. game:GetService("Debris"):AddItem(c, 0.5)
  1795. end
  1796. end
  1797. function ShowDamage(Pos, Text, Time, Color)
  1798. local Rate = 0.03333333333333333
  1799. local Pos = Pos or Vector3.new(0, 0, 0)
  1800. local Text = Text or ""
  1801. local Time = Time or 2
  1802. local Color = Color or Color3.new(1, 0, 1)
  1803. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1804. EffectPart.Anchored = true
  1805. local BillboardGui = Create("BillboardGui")({
  1806. Size = UDim2.new(3, 0, 3, 0),
  1807. Adornee = EffectPart,
  1808. Parent = EffectPart
  1809. })
  1810. local TextLabel = Create("TextLabel")({
  1811. BackgroundTransparency = 1,
  1812. Size = UDim2.new(1, 0, 1, 0),
  1813. Text = Text,
  1814. TextColor3 = Color,
  1815. TextScaled = true,
  1816. Font = Enum.Font.ArialBold,
  1817. Parent = BillboardGui
  1818. })
  1819. game.Debris:AddItem(EffectPart, Time + 0.1)
  1820. EffectPart.Parent = game:GetService("Workspace")
  1821. delay(0, function()
  1822. local Frames = Time / Rate
  1823. for Frame = 1, Frames do
  1824. wait(Rate)
  1825. local Percent = Frame / Frames
  1826. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1827. TextLabel.TextTransparency = Percent
  1828. end
  1829. if EffectPart and EffectPart.Parent then
  1830. EffectPart:Destroy()
  1831. end
  1832. end)
  1833. end
  1834. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1835. for _, c in pairs(workspace:children()) do
  1836. local hum = c:findFirstChildOfClass("Humanoid")
  1837. if hum ~= nil then
  1838. local head = c:findFirstChild("Head")
  1839. if head ~= nil then
  1840. local targ = head.Position - Part.Position
  1841. local mag = targ.magnitude
  1842. if magni >= mag and c.Name ~= Player.Name then
  1843. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1844. end
  1845. end
  1846. end
  1847. end
  1848. end
  1849.  
  1850. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1851. for _, c in pairs(workspace:children()) do
  1852. local hum = c:findFirstChild("Humanoid")
  1853. if hum ~= nil then
  1854. local head = c:findFirstChild("Torso")
  1855. if head ~= nil then
  1856. local targ = head.Position - Part.Position
  1857. local mag = targ.magnitude
  1858. if magni >= mag and c.Name ~= Player.Name then
  1859. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1860. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1861. end
  1862. end
  1863. end
  1864. end
  1865. end
  1866.  
  1867. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1868. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1869. end
  1870.  
  1871. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1872. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1873. prt.Anchored=true
  1874. prt.CFrame=cframe
  1875. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1876. --http://www.roblox.com/asset/?id=4770560
  1877. game:GetService("Debris"):AddItem(prt,2)
  1878. CF=prt.CFrame
  1879. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1880. for i=0,1,0.2 do
  1881. wait()
  1882. Part.CFrame=CF*cf(0,0,-0.4)
  1883. end
  1884. for i=0,1,delay do
  1885. wait()
  1886. --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)
  1887. Mesh.Scale=Mesh.Scale
  1888. end
  1889. for i=0,1,0.1 do
  1890. wait()
  1891. Part.Transparency=i
  1892. end
  1893. Part.Parent=nil
  1894. end),prt,msh,CF)
  1895. end
  1896.  
  1897. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1898. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1899. prt.Anchored=true
  1900. prt.Material = "Neon"
  1901. prt.CFrame=cframe
  1902. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1903. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1904. game:GetService("Debris"):AddItem(prt,5)
  1905. coroutine.resume(coroutine.create(function(Part,Mesh)
  1906. for i=0,1,delay do
  1907. swait()
  1908. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1909. Part.Transparency=i
  1910. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1911. end
  1912. Part.Parent=nil
  1913. end),prt,msh)
  1914. end
  1915.  
  1916. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1917. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1918. prt.Anchored=true
  1919. prt.Material = "Neon"
  1920. prt.CFrame=cframe
  1921. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1922. game:GetService("Debris"):AddItem(prt,5)
  1923. coroutine.resume(coroutine.create(function(Part,Mesh)
  1924. local rtype = rottype
  1925. for i=0,1,delay do
  1926. swait()
  1927. if rtype == 1 then
  1928. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1929. elseif rtype == 2 then
  1930. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1931. end
  1932. Part.Transparency=i
  1933. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1934. end
  1935. Part.Parent=nil
  1936. end),prt,msh)
  1937. end
  1938.  
  1939. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1940. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1941. prt.Anchored=true
  1942. prt.CFrame=cframe
  1943. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1944. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1945. game:GetService("Debris"):AddItem(prt,5)
  1946. coroutine.resume(coroutine.create(function(Part,Mesh)
  1947. for i=0,1,delay do
  1948. wait()
  1949. Part.Transparency=i
  1950. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1951. end
  1952. Part.Parent=nil
  1953. end),prt,msh)
  1954. end
  1955.  
  1956. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1957. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1958. prt.Anchored=true
  1959. prt.Material = "Neon"
  1960. prt.CFrame=cframe
  1961. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1962. game:GetService("Debris"):AddItem(prt,5)
  1963. coroutine.resume(coroutine.create(function(Part,Mesh)
  1964. local rtype = rottype
  1965. for i=0,1,delay do
  1966. swait()
  1967. if rtype == 1 then
  1968. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1969. elseif rtype == 2 then
  1970. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1971. end
  1972. Part.Transparency=i
  1973. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1974. end
  1975. Part.Parent=nil
  1976. end),prt,msh)
  1977. end
  1978.  
  1979. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1980. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1981. prt.Anchored=true
  1982. prt.Material = "Neon"
  1983. prt.CFrame=cframe
  1984. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1985. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1986. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1987. game:GetService("Debris"):AddItem(prt,5)
  1988. coroutine.resume(coroutine.create(function(Part,Mesh)
  1989. local rtype = rottype
  1990. for i=0,1,delay do
  1991. swait()
  1992. if rtype == 1 then
  1993. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1994. elseif rtype == 2 then
  1995. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1996. end
  1997. dec.Transparency=i
  1998. dec2.Transparency=i
  1999. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2000. end
  2001. Part.Parent=nil
  2002. end),prt,msh)
  2003. end
  2004.  
  2005. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2006. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2007. prt.Anchored=true
  2008. prt.Material = "Neon"
  2009. prt.CFrame=cframe
  2010. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2011. game:GetService("Debris"):AddItem(prt,5)
  2012. coroutine.resume(coroutine.create(function(Part,Mesh)
  2013. local rtype = rottype
  2014. for i=0,1,delay do
  2015. swait()
  2016. if rtype == 1 then
  2017. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2018. elseif rtype == 2 then
  2019. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2020. end
  2021. prt.Transparency=i
  2022. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2023. end
  2024. Part.Parent=nil
  2025. end),prt,msh)
  2026. end
  2027.  
  2028. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2029. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2030. prt.Anchored=true
  2031. prt.Material = "Neon"
  2032. prt.CFrame=cframe
  2033. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2034. game:GetService("Debris"):AddItem(prt,5)
  2035. coroutine.resume(coroutine.create(function(Part,Mesh)
  2036. local rtype = rottype
  2037. for i=0,1,delay do
  2038. swait()
  2039. if rtype == 1 then
  2040. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2041. elseif rtype == 2 then
  2042. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2043. end
  2044. prt.Transparency=i
  2045. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2046. end
  2047. Part.Parent=nil
  2048. end),prt,msh)
  2049. end
  2050.  
  2051. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2052. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2053. prt.Anchored=true
  2054. prt.Material = "Neon"
  2055. prt.CFrame=cframe
  2056. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2057. game:GetService("Debris"):AddItem(prt,5)
  2058. coroutine.resume(coroutine.create(function(Part,Mesh)
  2059. local rtype = rottype
  2060. for i=0,1,delay do
  2061. swait()
  2062. if rtype == 1 then
  2063. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2064. elseif rtype == 2 then
  2065. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2066. end
  2067. prt.Transparency=i
  2068. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2069. end
  2070. Part.Parent=nil
  2071. end),prt,msh)
  2072. end
  2073.  
  2074. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2075. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2076. prt.Anchored=true
  2077. prt.Material = "Neon"
  2078. prt.CFrame=cframe
  2079. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2080. game:GetService("Debris"):AddItem(prt,5)
  2081. coroutine.resume(coroutine.create(function(Part,Mesh)
  2082. local rtype = rottype
  2083. for i=0,1,delay do
  2084. swait()
  2085. if rtype == 1 then
  2086. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2087. elseif rtype == 2 then
  2088. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2089. end
  2090. prt.Transparency=i
  2091. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2092. end
  2093. Part.Parent=nil
  2094. end),prt,msh)
  2095. end
  2096.  
  2097. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2098. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2099. prt.Anchored=false
  2100. prt.CFrame=cframe
  2101. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2102. local wld=weld(prt,prt,Parent,cframe)
  2103. game:GetService("Debris"):AddItem(prt,5)
  2104. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2105. for i=0,1,delay do
  2106. wait()
  2107. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2108. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2109. Part.Transparency=i
  2110. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2111. end
  2112. Part.Parent=nil
  2113. end),prt,msh,wld)
  2114. end
  2115.  
  2116. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2117. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2118. prt.Anchored=false
  2119. prt.CFrame=cframe
  2120. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2121. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2122. game:GetService("Debris"):AddItem(prt,5)
  2123. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2124. for i=0,1,delay do
  2125. wait()
  2126. Weld.C0=euler(i*20,0,0)
  2127. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2128. Part.Transparency=i
  2129. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2130. end
  2131. Part.Parent=nil
  2132. end),prt,msh,wld)
  2133. end
  2134.  
  2135. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2136. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2137. prt.Anchored=true
  2138. prt.CFrame=cframe
  2139. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2140. game:GetService("Debris"):AddItem(prt,2)
  2141. coroutine.resume(coroutine.create(function(Part,Mesh)
  2142. for i=0,1,delay do
  2143. wait()
  2144. Part.CFrame=Part.CFrame
  2145. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2146. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2147. prt2.Anchored=true
  2148. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2149. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2150. game:GetService("Debris"):AddItem(prt2,2)
  2151. coroutine.resume(coroutine.create(function(Part,Mesh)
  2152. for i=0,1,0.1 do
  2153. wait()
  2154. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2155. end
  2156. Part.Parent=nil
  2157. end),prt2,msh2)
  2158. end
  2159. for i=0,1,delay*2 do
  2160. wait()
  2161. Part.CFrame=Part.CFrame
  2162. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2163. end
  2164. Part.Parent=nil
  2165. end),prt,msh)
  2166. end
  2167.  
  2168. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2169. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2170. prt.Anchored=true
  2171. prt.CFrame=cframe
  2172. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2173. game:GetService("Debris"):AddItem(prt,2)
  2174. coroutine.resume(coroutine.create(function(Part,Mesh)
  2175. for i=0,1,delay do
  2176. wait()
  2177. Part.CFrame=Part.CFrame
  2178. Part.Transparency=i
  2179. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2180. end
  2181. Part.Parent=nil
  2182. end),prt,msh)
  2183. end
  2184.  
  2185. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2186. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2187. prt.Anchored=true
  2188. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2189. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2190. game:GetService("Debris"):AddItem(prt,2)
  2191. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2192. CF=Part.CFrame
  2193. Numbb=0
  2194. randnumb=math.random()/10
  2195. rand1=math.random()/10
  2196. for i=0,1,rand1 do
  2197. wait()
  2198. CF=CF*cf(0,math.random()/2,0)
  2199. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2200. Part.CFrame=CF*euler(Numbb,0,0)
  2201. Part.Transparency=i
  2202. Numbb=Numbb+randnumb
  2203. end
  2204. Part.Parent=nil
  2205. end),prt,CF,Numbb,randnumb)
  2206. end
  2207.  
  2208. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2209. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2210. prt.Anchored=true
  2211. prt.CFrame=cframe
  2212. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2213. game:GetService("Debris"):AddItem(prt,5)
  2214. coroutine.resume(coroutine.create(function(Part,Mesh)
  2215. for i=0,1,delay do
  2216. wait()
  2217. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2218. Part.Transparency=i
  2219. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2220. end
  2221. Part.Parent=nil
  2222. end),prt,msh)
  2223. end
  2224.  
  2225. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2226. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2227. prt.Anchored=true
  2228. prt.CFrame=cframe
  2229. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2230. game:GetService("Debris"):AddItem(prt,2)
  2231. coroutine.resume(coroutine.create(function(Part,Mesh)
  2232. for i=0,1,delay do
  2233. wait()
  2234. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2235. Part.Transparency=i
  2236. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2237. end
  2238. Part.Parent=nil
  2239. end),prt,msh)
  2240. end
  2241.  
  2242. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2243. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2244. prt.Anchored=true
  2245. prt.CFrame=cframe*cf(x,y,z)
  2246. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2247. game:GetService("Debris"):AddItem(prt,5)
  2248. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2249. local num=math.random()
  2250. local num2=math.random(-3,2)+math.random()
  2251. local numm=0
  2252. for i=0,1,delay*2 do
  2253. swait()
  2254. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2255. Part.Transparency=i
  2256. numm=numm+0.01
  2257. end
  2258. Part.Parent=nil
  2259. Mesh.Parent=nil
  2260. end),prt,msh,x,y,z)
  2261. end
  2262.  
  2263. function dmgstart(dmg,what)
  2264. hitcon = what.Touched:connect(function(hit)
  2265. local hum = hit.Parent:FindFirstChild("Humanoid")
  2266. if hum and not hum:IsDescendantOf(Character) then
  2267. hum:TakeDamage(dmg)
  2268. end
  2269. end)
  2270. end
  2271.  
  2272. function dmgstop()
  2273. hitcon:disconnect()
  2274. end
  2275.  
  2276. function Cloak()
  2277. Face.Parent=nil
  2278. cloaked=true
  2279. for _,v in pairs(Torso.Parent:children()) do
  2280. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2281. coroutine.resume(coroutine.create(function()
  2282. for i=0,1,0.2 do
  2283. wait()
  2284. v.Transparency=i
  2285. end
  2286. v.Transparency=1
  2287. end))
  2288. end
  2289. if v.className=="Hat" then
  2290. hatp=v.Handle
  2291. coroutine.resume(coroutine.create(function(derp)
  2292. for i=0,1,0.2 do
  2293. wait()
  2294. derp.Transparency=i
  2295. end
  2296. derp.Transparency=1
  2297. end),hatp)
  2298. end
  2299. end
  2300. for _,v in pairs(m:children()) do
  2301. if v.className=="Part" then
  2302. coroutine.resume(coroutine.create(function()
  2303. for i=0,1,0.2 do
  2304. wait()
  2305. v.Transparency=i
  2306. end
  2307. v.Transparency=1
  2308. end))
  2309. end
  2310. end
  2311. end
  2312.  
  2313. function UnCloak()
  2314. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2315. Face.Parent=Head
  2316. cloaked=false
  2317. for _,v in pairs(Torso.Parent:children()) do
  2318. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2319. coroutine.resume(coroutine.create(function()
  2320. for i=0,1,0.1 do
  2321. wait()
  2322. v.Transparency=v.Transparency-0.1
  2323. end
  2324. v.Transparency=0
  2325. end))
  2326. end
  2327. if v.className=="Hat" then
  2328. hatp=v.Handle
  2329. coroutine.resume(coroutine.create(function(derp)
  2330. for i=0,1,0.1 do
  2331. wait()
  2332. derp.Transparency=derp.Transparency-0.1
  2333. end
  2334. derp.Transparency=0
  2335. end),hatp)
  2336. end
  2337. end
  2338. for _,v in pairs(m:children()) do
  2339. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2340. coroutine.resume(coroutine.create(function()
  2341. for i=0,1,0.1 do
  2342. wait()
  2343. v.Transparency=v.Transparency-0.1
  2344. end
  2345. v.Transparency=0
  2346. end))
  2347. v.Transparency=0
  2348. end
  2349. end
  2350. end
  2351.  
  2352. local origcolor = BrickColor.new("Pastel light blue")
  2353. ---- This section of explosions.
  2354. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2355. local expart = Instance.new("Part",char)
  2356. local expart2 = Instance.new("Part",char)
  2357. local rin = Instance.new("Part",char)
  2358. local rin2 = Instance.new("Part",char)
  2359. local partMesh = Instance.new("SpecialMesh",expart)
  2360. partMesh.MeshType = "Sphere"
  2361. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2362. partMesh2.MeshType = "Sphere"
  2363. local partMesh3 = Instance.new("SpecialMesh",rin)
  2364. partMesh3.MeshType = "Brick"
  2365. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2366. partMesh4.MeshType = "Brick"
  2367. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2368. partMesh.Scale = vt(rad,rad,rad)
  2369. expart.Size = vt(1,1,1)
  2370. expart.Transparency = 0
  2371. expart.Anchored = true
  2372. expart.Material = "Neon"
  2373. expart.BrickColor = bc("White")
  2374. expart.CFrame = par.CFrame
  2375. partMesh2.Scale = vt(rad,rad,rad)
  2376. expart2.Size = vt(1.15,1.15,1.15)
  2377. expart2.Transparency = 0.5
  2378. expart2.Anchored = true
  2379. expart2.Material = "Neon"
  2380. expart2.BrickColor = par.BrickColor
  2381. expart2.CFrame = par.CFrame
  2382. rin.Size = vt(1.15,1.15,1.15)
  2383. rin.Transparency = 1
  2384. rin.Anchored = true
  2385. rin.Material = "Neon"
  2386. rin.BrickColor = par.BrickColor
  2387. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2388. rin2.Size = vt(1.15,1.15,1.15)
  2389. rin2.Transparency = 1
  2390. rin2.Anchored = true
  2391. rin2.Material = "Neon"
  2392. rin2.BrickColor = par.BrickColor
  2393. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2394. partMesh3.Scale = vt(0,1,0)
  2395. partMesh4.Scale = vt(0,1,0)
  2396. local dec2 = Instance.new("Decal", rin)
  2397. dec2.Face = "Top"
  2398. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2399. dec2.Parent = rin
  2400. local dec2b = dec2:Clone()
  2401. dec2b.Face = "Bottom"
  2402. dec2b.Parent = rin
  2403.  
  2404. local dec2a = Instance.new("Decal", rin2)
  2405. dec2a.Face = "Top"
  2406. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2407. dec2a.Parent = rin2
  2408. local dec2ab = dec2a:Clone()
  2409. dec2ab.Face = "Bottom"
  2410. dec2ab.Parent = rin2
  2411. expart.CanCollide = false
  2412. expart2.CanCollide = false
  2413. rin.CanCollide = false
  2414. rin2.CanCollide = false
  2415. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2416. local value = 1*rad/6.5
  2417. for i = 0, 199 do
  2418. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2419. expart.CFrame = expart.CFrame
  2420. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2421. expart2.CFrame = expart.CFrame
  2422. value = value - 0.035*rad/30
  2423. if value < 7.5 then
  2424. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2425. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2426. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2427. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2428. end
  2429. if value < 0 then
  2430. dec2.Transparency = dec2.Transparency + 0.025
  2431. dec2a.Transparency = dec2a.Transparency + 0.025
  2432. dec2b.Transparency = dec2b.Transparency + 0.025
  2433. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2434. expart.Transparency = expart.Transparency + 0.025
  2435. expart2.Transparency = expart2.Transparency + 0.025
  2436. rin.Transparency = rin.Transparency + 0.025
  2437. rin2.Transparency = rin2.Transparency + 0.025
  2438. end
  2439. swait()
  2440. end
  2441. game:GetService("Debris"):AddItem(expart, 1)
  2442. game:GetService("Debris"):AddItem(expart2, 1)
  2443. game:GetService("Debris"):AddItem(rin, 1)
  2444. game:GetService("Debris"):AddItem(rin2, 1)
  2445. end
  2446.  
  2447. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2448. local expart = Instance.new("Part",char)
  2449. local expart2 = Instance.new("Part",char)
  2450. local partMesh = Instance.new("SpecialMesh",expart)
  2451. partMesh.MeshType = "Sphere"
  2452. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2453. partMesh2.MeshType = "Sphere"
  2454. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2455. partMesh.Scale = vt(rad,rad,rad)
  2456. expart.Size = vt(1,1,1)
  2457. expart.Transparency = 0
  2458. expart.Anchored = true
  2459. expart.Material = "Neon"
  2460. expart.BrickColor = bc("White")
  2461. expart.CFrame = par.CFrame
  2462. partMesh2.Scale = vt(rad,rad,rad)
  2463. expart2.Size = vt(1.15,1.15,1.15)
  2464. expart2.Transparency = 0.5
  2465. expart2.Anchored = true
  2466. expart2.Material = "Neon"
  2467. expart2.BrickColor = par.BrickColor
  2468. expart2.CFrame = par.CFrame
  2469. expart.CanCollide = false
  2470. expart2.CanCollide = false
  2471. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2472. local value = 1*rad/6.5
  2473. for i = 0, 75 do
  2474. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2475. expart.CFrame = expart.CFrame
  2476. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2477. expart2.CFrame = expart.CFrame
  2478. value = value - 0.035*rad/5
  2479. if value < 0 then
  2480. value = 0
  2481. expart.Transparency = expart.Transparency + 0.05
  2482. expart2.Transparency = expart2.Transparency + 0.05
  2483. end
  2484. swait()
  2485. end
  2486. game:GetService("Debris"):AddItem(expart, 1)
  2487. game:GetService("Debris"):AddItem(expart2, 1)
  2488. end
  2489.  
  2490. function AreaDanger(rad,par,mindam,maxdam)
  2491. local expart = Instance.new("Part",char)
  2492. local partMesh = Instance.new("SpecialMesh",expart)
  2493. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2494. partMesh.MeshType = "Sphere"
  2495. partMesh.Scale = vt(rad,rad,rad)
  2496. expart.Size = vt(1,1,1)
  2497. expart.Transparency = 0.5
  2498. expart.Anchored = true
  2499. expart.Material = "Neon"
  2500. expart.CanCollide = false
  2501. expart.BrickColor = par.BrickColor
  2502. expart.CFrame = par.CFrame
  2503. local value = 1*rad/5
  2504. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2505. for i = 0, 14 do
  2506. wait()
  2507. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2508. expart.CFrame = expart.CFrame
  2509. value = value - 0.035*rad
  2510. if value < 0 then
  2511. value = 0
  2512. end
  2513. end
  2514. wait(0.25)
  2515. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2516. wait(0.5)
  2517. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2518. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2519. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2520. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2521. for i = 0, 14 do
  2522. wait()
  2523. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2524. expart.CFrame = expart.CFrame
  2525. value = value - 0.035*rad/2
  2526. end
  2527. expart.Transparency = 1
  2528. game:GetService("Debris"):AddItem(expart, 5)
  2529. end
  2530.  
  2531. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2532. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2533. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2534. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2535. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2536. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2537. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2538. for i = 0, 24 do
  2539. 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))
  2540. end
  2541. for i = 0, 24 do
  2542. local expart = Instance.new("Part",char)
  2543. expart.Transparency = 1
  2544. expart.Anchored = true
  2545. expart.CanCollide = false
  2546. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2547. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2548. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2549. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2550. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2551. for i = 0, 9 do
  2552. 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))
  2553. end
  2554. game:GetService("Debris"):AddItem(expart, 2)
  2555. wait(0.1)
  2556. end
  2557. end
  2558.  
  2559. function EXterPlosion(par)
  2560. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2561. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2562. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2563. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2564. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2565. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2566. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2567. for i = 0, 24 do
  2568. 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))
  2569. end
  2570. for i = 0, 24 do
  2571. 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))
  2572. end
  2573. end
  2574. ----
  2575.  
  2576.  
  2577. function ring(type,pos,scale,value)
  2578. local type = type
  2579. local rng = Instance.new("Part", char)
  2580. rng.Anchored = true
  2581. rng.BrickColor = origcolor
  2582. rng.CanCollide = false
  2583. rng.FormFactor = 3
  2584. rng.Name = "Ring"
  2585. rng.Size = Vector3.new(1, 1, 1)
  2586. rng.Transparency = 0
  2587. rng.TopSurface = 0
  2588. rng.BottomSurface = 0
  2589. rng.CFrame = pos
  2590. local rngm = Instance.new("SpecialMesh", rng)
  2591. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2592. rngm.Scale = scale
  2593. local scaler2 = 1
  2594. if type == "Add" then
  2595. scaler2 = 1*value
  2596. elseif type == "Divide" then
  2597. scaler2 = 1/value
  2598. end
  2599. coroutine.resume(coroutine.create(function()
  2600. for i = 0,10,0.1 do
  2601. swait()
  2602. if type == "Add" then
  2603. scaler2 = scaler2 - 0.01*value
  2604. elseif type == "Divide" then
  2605. scaler2 = scaler2 - 0.01/value
  2606. end
  2607. rng.Transparency = rng.Transparency + 0.01
  2608. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2609. end
  2610. rng:Destroy()
  2611. end))
  2612. end
  2613.  
  2614.  
  2615. function wave(type,pos,scale,value)
  2616. local type = type
  2617. local rng = Instance.new("Part", char)
  2618. rng.Anchored = true
  2619. rng.BrickColor = origcolor
  2620. rng.CanCollide = false
  2621. rng.FormFactor = 3
  2622. rng.Name = "Ring"
  2623. rng.Size = Vector3.new(1, 1, 1)
  2624. rng.Transparency = 0
  2625. rng.TopSurface = 0
  2626. rng.BottomSurface = 0
  2627. rng.CFrame = pos
  2628. local rngm = Instance.new("SpecialMesh", rng)
  2629. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2630. rngm.Scale = scale
  2631. local scaler2 = 1
  2632. if type == "Add" then
  2633. scaler2 = 1*value
  2634. elseif type == "Divide" then
  2635. scaler2 = 1/value
  2636. end
  2637. coroutine.resume(coroutine.create(function()
  2638. for i = 0,10,0.1 do
  2639. swait()
  2640. if type == "Add" then
  2641. scaler2 = scaler2 - 0.01*value
  2642. elseif type == "Divide" then
  2643. scaler2 = scaler2 - 0.01/value
  2644. end
  2645. rng.Transparency = rng.Transparency + 0.01
  2646. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2647. end
  2648. rng:Destroy()
  2649. end))
  2650. end
  2651.  
  2652. function wind(type,pos,scale,value,speed)
  2653. local type = type
  2654. local rng = Instance.new("Part", char)
  2655. rng.Anchored = true
  2656. rng.BrickColor = origcolor
  2657. rng.CanCollide = false
  2658. rng.FormFactor = 3
  2659. rng.Name = "Ring"
  2660. rng.Size = Vector3.new(1, 1, 1)
  2661. rng.Transparency = 0
  2662. rng.TopSurface = 0
  2663. rng.BottomSurface = 0
  2664. rng.CFrame = pos
  2665. local rngm = Instance.new("SpecialMesh", rng)
  2666. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2667. rngm.Scale = scale
  2668. local scaler2 = 1
  2669. if type == "Add" then
  2670. scaler2 = 1*value
  2671. elseif type == "Divide" then
  2672. scaler2 = 1/value
  2673. end
  2674. coroutine.resume(coroutine.create(function()
  2675. for i = 0,10,0.1 do
  2676. swait()
  2677. if type == "Add" then
  2678. scaler2 = scaler2 - 0.01*value
  2679. elseif type == "Divide" then
  2680. scaler2 = scaler2 - 0.01/value
  2681. end
  2682. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2683. rng.Transparency = rng.Transparency + 0.01
  2684. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2685. end
  2686. rng:Destroy()
  2687. end))
  2688. end
  2689.  
  2690. function groundwind(type,pos,scale,value,speed)
  2691. local type = type
  2692. local rng = Instance.new("Part", char)
  2693. rng.Anchored = true
  2694. rng.BrickColor = origcolor
  2695. rng.CanCollide = false
  2696. rng.FormFactor = 3
  2697. rng.Name = "Ring"
  2698. rng.Size = Vector3.new(1, 1, 1)
  2699. rng.Transparency = 0
  2700. rng.TopSurface = 0
  2701. rng.BottomSurface = 0
  2702. rng.CFrame = pos
  2703. local rngm = Instance.new("SpecialMesh", rng)
  2704. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2705. rngm.Scale = scale
  2706. local scaler2 = 1
  2707. if type == "Add" then
  2708. scaler2 = 1*value
  2709. elseif type == "Divide" then
  2710. scaler2 = 1/value
  2711. end
  2712. coroutine.resume(coroutine.create(function()
  2713. for i = 0,10,0.1 do
  2714. swait()
  2715. if type == "Add" then
  2716. scaler2 = scaler2 - 0.01*value
  2717. elseif type == "Divide" then
  2718. scaler2 = scaler2 - 0.01/value
  2719. end
  2720. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2721. rng.Transparency = rng.Transparency + 0.01
  2722. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2723. end
  2724. rng:Destroy()
  2725. end))
  2726. end
  2727.  
  2728. function CameraManager()
  2729. if TwoD and not CamInterrupt then
  2730. if Humanoid.Health > 0 then
  2731. Camera.CameraSubject = Humanoid
  2732. Camera.CameraType = "Scriptable"
  2733. Humanoid.AutoRotate = false
  2734. if Booleans.GyroUse then
  2735. Directer.MaxTorque = Vec3(0, huge, 0)
  2736. else
  2737. Directer.MaxTorque = Vec3(0, 0, 0)
  2738. end
  2739. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2740. if Booleans.CamFollow then
  2741. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2742. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2743. else
  2744. CPart.Position = RootPart.Position
  2745. end
  2746. else
  2747. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2748. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2749. end
  2750. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2751. else
  2752. Camera.CameraSubject = Humanoid
  2753. Camera.CameraType = "Custom"
  2754. Controller.Disabled = false
  2755. end
  2756. end
  2757. end
  2758.  
  2759. function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
  2760. local type = type
  2761. local rng = Instance.new("Part", char)
  2762. rng.Anchored = true
  2763. rng.BrickColor = color
  2764. rng.CanCollide = false
  2765. rng.FormFactor = 3
  2766. rng.Name = "Ring"
  2767. rng.Material = "Neon"
  2768. rng.Size = Vector3.new(1, 1, 1)
  2769. rng.Transparency = 0
  2770. rng.TopSurface = 0
  2771. rng.BottomSurface = 0
  2772. rng.CFrame = pos
  2773. local rngm = Instance.new("SpecialMesh", rng)
  2774. rngm.MeshType = "Sphere"
  2775.  
  2776.  
  2777. if(heart)then
  2778. rngm.MeshType = Enum.MeshType.FileMesh
  2779. rngm.MeshId = "rbxassetid://105992239"
  2780. rngm.Offset = Vector3.new(0,0,-.25)
  2781. end
  2782. rngm.Scale = scale
  2783. if rainbowmode == true and not notaffectbychaosrainbow then
  2784. rng.Color = Color3.new(r/255,g/255,b/255)
  2785. end
  2786. local scaler2 = 1
  2787. if type == "Add" then
  2788. scaler2 = 1*value
  2789. elseif type == "Divide" then
  2790. scaler2 = 1/value
  2791. end
  2792. coroutine.resume(coroutine.create(function()
  2793. for i = 0,10/bonuspeed,0.1 do
  2794. swait()
  2795. if rainbowmode == true and not notaffectbychaosrainbow then
  2796. rng.Color = Color3.new(r/255,g/255,b/255)
  2797. end
  2798. if type == "Add" then
  2799. scaler2 = scaler2 - 0.01*value/bonuspeed
  2800. elseif type == "Divide" then
  2801. scaler2 = scaler2 - 0.01/value*bonuspeed
  2802. end
  2803. if chaosmode == true and not notaffectbychaosrainbow then
  2804. rng.BrickColor = BrickColor.random()
  2805. end
  2806. if glitchymode then
  2807. local val = math.random(1,255)
  2808. local color = Color3.fromRGB(val,val,val)
  2809. rng.Color = color
  2810. end
  2811. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2812. if(invert)then
  2813. if(heart)then
  2814. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2815. else
  2816. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2817. end
  2818. else
  2819. if(heart)then
  2820. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2821. else
  2822. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2823. end
  2824. end
  2825. rng.CFrame = pos
  2826. end
  2827. rng:Destroy()
  2828. end))
  2829. end
  2830.  
  2831. function newBezier(startpos, pos2, pos3, endpos, t)
  2832. local A = clerp(startpos, pos2, t)
  2833. local B = clerp(pos2, pos3, t)
  2834. local C = clerp(pos3, endpos, t)
  2835. local lerp1 = clerp(A, B, t)
  2836. local lerp2 = clerp(B, C, t)
  2837. local cubic = clerp(lerp1, lerp2, t)
  2838. return cubic
  2839. end
  2840.  
  2841.  
  2842. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2843. local type = type
  2844. local rng = Instance.new("Part", char)
  2845. rng.Anchored = true
  2846. rng.BrickColor = color
  2847. rng.CanCollide = false
  2848. rng.FormFactor = 3
  2849. rng.Name = "Ring"
  2850. rng.Material = "Neon"
  2851. rng.Size = Vector3.new(1, 1, 1)
  2852. rng.Transparency = 0
  2853. rng.TopSurface = 0
  2854. rng.BottomSurface = 0
  2855. rng.CFrame = pos
  2856. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2857. local rngm = Instance.new("SpecialMesh", rng)
  2858. rngm.MeshType = "Brick"
  2859. if(heart)then
  2860. rngm.MeshType = Enum.MeshType.FileMesh
  2861. rngm.MeshId = "rbxassetid://105992239"
  2862. rngm.Offset = Vector3.new(0,0,-.25)
  2863. end
  2864. rngm.Scale = vt(x1,y1,z1)
  2865. if rainbowmode == true then
  2866. rng.Color = Color3.new(r/255,g/255,b/255)
  2867. end
  2868. local scaler2 = 1
  2869. local speeder = FastSpeed/10
  2870. if type == "Add" then
  2871. scaler2 = 1*value
  2872. elseif type == "Divide" then
  2873. scaler2 = 1/value
  2874. end
  2875. coroutine.resume(coroutine.create(function()
  2876. for i = 0,10/bonuspeed,0.1 do
  2877. swait()
  2878. if rainbowmode == true then
  2879. rng.Color = Color3.new(r/255,g/255,b/255)
  2880. end
  2881. if type == "Add" then
  2882. scaler2 = scaler2 - 0.01*value/bonuspeed
  2883. elseif type == "Divide" then
  2884. scaler2 = scaler2 - 0.01/value*bonuspeed
  2885. end
  2886. if chaosmode == true then
  2887. rng.BrickColor = BrickColor.random()
  2888. end
  2889. if glitchymode then
  2890. local val = math.random(1,255)
  2891. local color = Color3.fromRGB(val,val,val)
  2892. rng.Color = color
  2893. end
  2894. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2895. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2896. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2897. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2898. end
  2899. rng:Destroy()
  2900. end))
  2901. end
  2902.  
  2903.  
  2904. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2905. local type = type
  2906. local rng = Instance.new("Part", char)
  2907. rng.Anchored = true
  2908. rng.BrickColor = color
  2909. rng.CanCollide = false
  2910. rng.FormFactor = 3
  2911. rng.Name = "Ring"
  2912. rng.Material = "Neon"
  2913. rng.Size = Vector3.new(1, 1, 1)
  2914. rng.Transparency = 0
  2915. rng.TopSurface = 0
  2916. rng.BottomSurface = 0
  2917. rng.CFrame = pos
  2918. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2919. local rngm = Instance.new("SpecialMesh", rng)
  2920. rngm.MeshType = "Brick"
  2921. if(heart)then
  2922. rngm.MeshType = Enum.MeshType.FileMesh
  2923. rngm.MeshId = "rbxassetid://105992239"
  2924. rngm.Offset = Vector3.new(0,0,-.25)
  2925. end
  2926. rngm.Scale = vt(x1,y1,z1)
  2927. if rainbowmode == true then
  2928. rng.Color = Color3.new(r/255,g/255,b/255)
  2929. end
  2930. local scaler2 = 0
  2931. local speeder = FastSpeed/10
  2932. if type == "Add" then
  2933. scaler2 = 1*value
  2934. elseif type == "Divide" then
  2935. scaler2 = 1/value
  2936. end
  2937. coroutine.resume(coroutine.create(function()
  2938. for i = 0,10/bonuspeed,0.1 do
  2939. swait()
  2940. if rainbowmode == true then
  2941. rng.Color = Color3.new(r/255,g/255,b/255)
  2942. end
  2943. if type == "Add" then
  2944. scaler2 = scaler2 - 0.01*value/bonuspeed
  2945. elseif type == "Divide" then
  2946. scaler2 = scaler2 - 0.01/value*bonuspeed
  2947. end
  2948. if chaosmode == true then
  2949. rng.BrickColor = BrickColor.random()
  2950. end
  2951. if glitchymode then
  2952. local val = math.random(1,255)
  2953. local color = Color3.fromRGB(val,val,val)
  2954. rng.Color = color
  2955. end
  2956. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2957. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2958. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2959. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2960. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2961. end
  2962. rng:Destroy()
  2963. end))
  2964. end
  2965.  
  2966. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2967. local type = type
  2968. local rng = Instance.new("Part", char)
  2969. rng.Anchored = true
  2970. rng.BrickColor = color
  2971. rng.CanCollide = false
  2972. rng.FormFactor = 3
  2973. rng.Name = "Ring"
  2974. rng.Material = "Neon"
  2975. rng.Size = Vector3.new(1, 1, 1)
  2976. rng.Transparency = 0
  2977. rng.TopSurface = 0
  2978. rng.BottomSurface = 0
  2979. rng.CFrame = pos
  2980. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2981. local rngm = Instance.new("SpecialMesh", rng)
  2982. rngm.MeshType = "Sphere"
  2983. rngm.Scale = vt(x1,y1,z1)
  2984. if rainbowmode == true then
  2985. rng.Color = Color3.new(r/255,g/255,b/255)
  2986. end
  2987. local scaler2 = 1
  2988. local speeder = FastSpeed
  2989. if type == "Add" then
  2990. scaler2 = 1*value
  2991. elseif type == "Divide" then
  2992. scaler2 = 1/value
  2993. end
  2994. coroutine.resume(coroutine.create(function()
  2995. for i = 0,10/bonuspeed,0.1 do
  2996. swait()
  2997. if rainbowmode == true then
  2998. rng.Color = Color3.new(r/255,g/255,b/255)
  2999. end
  3000. if type == "Add" then
  3001. scaler2 = scaler2 - 0.01*value/bonuspeed
  3002. elseif type == "Divide" then
  3003. scaler2 = scaler2 - 0.01/value*bonuspeed
  3004. end
  3005. if chaosmode == true then
  3006. rng.BrickColor = BrickColor.random()
  3007. end
  3008. if glitchymode then
  3009. local val = math.random(1,255)
  3010. local color = Color3.fromRGB(val,val,val)
  3011. rng.Color = color
  3012. end
  3013. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3014. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3015. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3016. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3017. end
  3018. rng:Destroy()
  3019. end))
  3020. end
  3021.  
  3022.  
  3023. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3024. local type = type
  3025. local rng = Instance.new("Part", char)
  3026. rng.Anchored = true
  3027. rng.BrickColor = color
  3028. rng.CanCollide = false
  3029. rng.FormFactor = 3
  3030. rng.Name = "Ring"
  3031. rng.Material = "Neon"
  3032. rng.Size = Vector3.new(1, 1, 1)
  3033. rng.Transparency = 1
  3034. rng.TopSurface = 0
  3035. rng.BottomSurface = 0
  3036. rng.CFrame = pos
  3037. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3038. local rngm = Instance.new("SpecialMesh", rng)
  3039. rngm.MeshType = "Sphere"
  3040. rngm.Scale = vt(x1,y1,z1)
  3041. if rainbowmode == true then
  3042. rng.Color = Color3.new(r/255,g/255,b/255)
  3043. end
  3044. local scaler2 = 1
  3045. local speeder = FastSpeed
  3046. if type == "Add" then
  3047. scaler2 = 1*value
  3048. elseif type == "Divide" then
  3049. scaler2 = 1/value
  3050. end
  3051. coroutine.resume(coroutine.create(function()
  3052. for i = 0,10/bonuspeed,0.1 do
  3053. swait()
  3054. if rainbowmode == true then
  3055. rng.Color = Color3.new(r/255,g/255,b/255)
  3056. end
  3057. if type == "Add" then
  3058. scaler2 = scaler2 - 0.01*value/bonuspeed
  3059. elseif type == "Divide" then
  3060. scaler2 = scaler2 - 0.01/value*bonuspeed
  3061. end
  3062. if chaosmode == true then
  3063. rng.BrickColor = BrickColor.random()
  3064. end
  3065. if glitchymode then
  3066. local val = math.random(1,255)
  3067. local color = Color3.fromRGB(val,val,val)
  3068. rng.Color = color
  3069. end
  3070. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3071. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3072. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3073. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3074. end
  3075. rng:Destroy()
  3076. end))
  3077. end
  3078.  
  3079. function dmg(dude)
  3080. if dude.Name ~= Character then
  3081. local bgf = Instance.new("BodyGyro",dude.Head)
  3082. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3083. local val = Instance.new("BoolValue",dude)
  3084. val.Name = "IsHit"
  3085. local ds = coroutine.wrap(function()
  3086. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  3087. for i = 1, 10 do
  3088. 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)
  3089. end
  3090. dude:WaitForChild("Head"):BreakJoints()
  3091. wait(0.5)
  3092. targetted = nil
  3093. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3094.  
  3095. coroutine.resume(coroutine.create(function()
  3096. for i, v in pairs(dude:GetChildren()) do
  3097. if v:IsA("Accessory") then
  3098. v:Destroy()
  3099. end
  3100. if v:IsA("Humanoid") then
  3101. v:Destroy()
  3102. end
  3103. if v:IsA("CharacterMesh") then
  3104. v:Destroy()
  3105. end
  3106. if v:IsA("Model") then
  3107. v:Destroy()
  3108. end
  3109. if v:IsA("Part") or v:IsA("MeshPart") then
  3110. for x, o in pairs(v:GetChildren()) do
  3111. if o:IsA("Decal") then
  3112. o:Destroy()
  3113. end
  3114. end
  3115. coroutine.resume(coroutine.create(function()
  3116. v.Material = "Neon"
  3117. v.CanCollide = false
  3118. local bld = Instance.new("ParticleEmitter",v)
  3119. bld.LightEmission = 1
  3120. bld.Texture = "rbxassetid://284205403"
  3121. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3122. bld.Rate = 50
  3123. bld.Lifetime = NumberRange.new(1)
  3124. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3125. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3126. bld.Speed = NumberRange.new(0,0)
  3127. bld.VelocitySpread = 50000
  3128. bld.Rotation = NumberRange.new(-500,500)
  3129. bld.RotSpeed = NumberRange.new(-500,500)
  3130. local sbs = Instance.new("BodyPosition", v)
  3131. sbs.P = 3000
  3132. sbs.D = 1000
  3133. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3134. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3135. v.Color = Color3.new(1,1,1)
  3136. coroutine.resume(coroutine.create(function()
  3137. for i = 0, 49 do
  3138. swait(1)
  3139. v.Transparency = v.Transparency + 0.02
  3140. end
  3141. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3142. bld.Speed = NumberRange.new(1,5)
  3143. bld.Acceleration = vt(0,10,0)
  3144. wait(0.5)
  3145. bld.Enabled = false
  3146. wait(3)
  3147. v:Destroy()
  3148. dude:Destroy()
  3149. end))
  3150. end))
  3151. end
  3152. end
  3153. end))
  3154. end)
  3155. ds()
  3156. end
  3157. end
  3158.  
  3159.  
  3160. function FindNearestHead(Position, Distance, SinglePlayer)
  3161. if SinglePlayer then
  3162. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3163. end
  3164. local List = {}
  3165. for i, v in pairs(workspace:GetChildren()) do
  3166. if v:IsA("Model") then
  3167. if v:findFirstChild("Head") then
  3168. if v ~= Character then
  3169. if (v.Head.Position - Position).magnitude <= Distance then
  3170. table.insert(List, v)
  3171. end
  3172. end
  3173. end
  3174. end
  3175. end
  3176. return List
  3177. end
  3178.  
  3179. function FaceMouse()
  3180. Cam = workspace.CurrentCamera
  3181. return {
  3182. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3183. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3184. }
  3185. end
  3186.  
  3187. function FaceMouse2()
  3188. Cam = workspace.CurrentCamera
  3189. return {
  3190. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3191. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3192. }
  3193. end
  3194.  
  3195. local ModeOfGlitch = 1
  3196. -- Functions are ready.
  3197. local storehumanoidWS = 16
  3198.  
  3199. function CorruptBlink()
  3200. for i = 0, 14 do
  3201. 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)
  3202. end
  3203. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3204. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3205. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3206. CameraEnshaking(2,10)
  3207. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3208. if v:FindFirstChild('Head') then
  3209. dmg(v)
  3210. end
  3211. end end
  3212. for i = 0, 14 do
  3213. 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)
  3214. end
  3215. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3216. end
  3217.  
  3218. function ExtinctiveHeartbreak()
  3219. local targetted = nil
  3220. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3221. targetted = mouse.Target.Parent
  3222. end
  3223. if targetted ~= nil then
  3224. attack = true
  3225. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3226. for i = 0, 9 do
  3227. 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)
  3228. end
  3229. for i = 0, 24 do
  3230. 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)
  3231. end
  3232. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3233. local originalpos = root.CFrame
  3234. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3235. for i = 0, 9 do
  3236. 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)
  3237. end
  3238. for i = 0, 24 do
  3239. 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)
  3240. end
  3241. hum.WalkSpeed = 0
  3242. targetted.Head.Anchored = true
  3243. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3244. for i = 0,2,0.1 do
  3245. swait()
  3246. 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)
  3247. 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)
  3248. 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)
  3249. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3250. 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)
  3251. 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)
  3252. end
  3253. coroutine.resume(coroutine.create(function()
  3254. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3255. bld.LightEmission = 0.1
  3256. bld.Texture = "rbxassetid://284205403"
  3257. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3258. bld.Rate = 500
  3259. bld.Lifetime = NumberRange.new(1)
  3260. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3261. bld.Acceleration = vt(0,-25,0)
  3262. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3263. bld.Speed = NumberRange.new(10,50)
  3264. bld.EmissionDirection = "Front"
  3265. bld.VelocitySpread = 25
  3266. bld.Rotation = NumberRange.new(-500,500)
  3267. bld.RotSpeed = NumberRange.new(-500,500)
  3268. end))
  3269. coroutine.resume(coroutine.create(function()
  3270. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3271. bld.LightEmission = 0.1
  3272. bld.Texture = "rbxassetid://284205403"
  3273. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3274. bld.Rate = 500
  3275. bld.Lifetime = NumberRange.new(1)
  3276. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3277. bld.Acceleration = vt(0,-25,0)
  3278. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3279. bld.Speed = NumberRange.new(10,50)
  3280. bld.EmissionDirection = "Front"
  3281. bld.VelocitySpread = 25
  3282. bld.Rotation = NumberRange.new(-500,500)
  3283. bld.RotSpeed = NumberRange.new(-500,500)
  3284. end))
  3285. CameraEnshaking(5,5)
  3286. game:GetService("Debris"):AddItem(bld,3)
  3287. dmg(targetted)
  3288. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3289. for i = 0,1,0.1 do
  3290. swait()
  3291. 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)
  3292. 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)
  3293. 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)
  3294. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3295. 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)
  3296. 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)
  3297. end
  3298. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3299. for i = 0, 9 do
  3300. 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)
  3301. end
  3302. for i = 0, 24 do
  3303. 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)
  3304. end
  3305. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3306. root.CFrame = originalpos
  3307. for i = 0, 9 do
  3308. 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)
  3309. end
  3310. for i = 0, 24 do
  3311. 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)
  3312. end
  3313. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3314. bld.Enabled = false
  3315. attack = false
  3316. hum.WalkSpeed = storehumanoidWS
  3317. end
  3318. end
  3319. function PureBomb()
  3320. attack = true
  3321.  
  3322. local orb = Instance.new("Part", char)
  3323. orb.Anchored = true
  3324. orb.BrickColor = BrickColor.new("Toothpaste")
  3325. orb.CanCollide = false
  3326. orb.FormFactor = 3
  3327. orb.Name = "Ring"
  3328. orb.Material = "Neon"
  3329. orb.Size = Vector3.new(1, 1, 1)
  3330. orb.Transparency = 0
  3331. orb.TopSurface = 0
  3332. orb.BottomSurface = 0
  3333. local orbm = Instance.new("SpecialMesh", orb)
  3334. orbm.MeshType = "Sphere"
  3335. orbm.Name = "SizeMesh"
  3336. orbm.Scale = vt(0,0,0)
  3337. local scaled = 0.1
  3338. local posid = 0
  3339. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3340. for i = 0, 5, 0.1 do
  3341. swait()
  3342. scaled = scaled - 0.001
  3343. posid = posid - scaled
  3344. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3345. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3346. 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)
  3347. 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)
  3348. 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)
  3349. 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)
  3350. 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)
  3351. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3352. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3353. 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)
  3354. end
  3355. for i = 0, 2, 0.1 do
  3356. swait()
  3357. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3358. 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)
  3359. 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)
  3360. 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)
  3361. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3362. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3363. 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)
  3364. end
  3365. coroutine.resume(coroutine.create(function()
  3366. orb.Anchored = false
  3367. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3368. local a = Instance.new("Part",workspace)
  3369. a.Name = "Direction"
  3370. a.Anchored = true
  3371. a.BrickColor = bc("Bright red")
  3372. a.Material = "Neon"
  3373. a.Transparency = 1
  3374. a.CanCollide = false
  3375. local ray = Ray.new(
  3376. orb.CFrame.p, -- origin
  3377. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3378. )
  3379. local ignore = orb
  3380. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3381. a.BottomSurface = 10
  3382. a.TopSurface = 10
  3383. local distance = (orb.CFrame.p - position).magnitude
  3384. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3385. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3386. orb.CFrame = a.CFrame
  3387. a:Destroy()
  3388. local bv = Instance.new("BodyVelocity")
  3389. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3390. bv.velocity = orb.CFrame.lookVector*125
  3391. bv.Parent = orb
  3392. local hitted = false
  3393. game:GetService("Debris"):AddItem(orb, 15)
  3394. wait()
  3395. local hit =orb.Touched:connect(function(hit)
  3396. if hitted == false then
  3397. hitted = true
  3398. CameraEnshaking(10,2.5)
  3399. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3400. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3401. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3402. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3403. for i = 0, 49 do
  3404. 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)
  3405. end
  3406. for i = 0, 9 do
  3407. 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)
  3408. 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)
  3409. end
  3410. orb.Anchored = true
  3411. orb.Transparency = 1
  3412. wait(8)
  3413. orb:Destroy()
  3414. end
  3415. end)
  3416. end))
  3417. for i = 0, 1, 0.1 do
  3418. swait()
  3419. 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)
  3420. 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)
  3421. 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)
  3422. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3423. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3424. 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)
  3425. end
  3426. attack = false
  3427. end
  3428.  
  3429. function ChaosGroundStrike()
  3430. attack = true
  3431. for i = 0, 2, 0.1 do
  3432. swait()
  3433. 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)
  3434. 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)
  3435. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3436. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3437. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3438. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3439. end
  3440. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3441. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3442. CameraEnshaking(4,12)
  3443. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3444. if v:FindFirstChild('Head') then
  3445. dmg(v)
  3446. end
  3447. end
  3448. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3449. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3450. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3451. for i = 0, 2, 0.1 do
  3452. swait()
  3453. 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)
  3454. 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)
  3455. 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)
  3456. 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)
  3457. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3458. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3459. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3460. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3461. end
  3462. attack = false
  3463. end
  3464.  
  3465. function InsaneGroundStrike()
  3466. attack = true
  3467. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3468. for i = 0, 8, 0.1 do
  3469. swait()
  3470. 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)
  3471.  
  3472. 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)
  3473. 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)
  3474. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3475. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3476. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3477. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3478. end
  3479. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3480. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3481. CameraEnshaking(8,24)
  3482. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3483. if v:FindFirstChild('Head') then
  3484. dmg(v)
  3485. end
  3486. end
  3487. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3488. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3489. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  3490. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3491. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3492. for i = 0, 2, 0.1 do
  3493. swait()
  3494. 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)
  3495. 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)
  3496. 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)
  3497. 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)
  3498. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3499. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3500. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3501. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3502. end
  3503. attack = false
  3504. end
  3505.  
  3506. function Starfall()
  3507. attack = true
  3508. hum.WalkSpeed = 0
  3509. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3510. for i = 0, 5, 0.1 do
  3511. swait()
  3512. 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)
  3513. 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)
  3514. 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)
  3515. 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)
  3516. 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)
  3517. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3518. 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)
  3519. 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)
  3520. end
  3521. local Overed = false
  3522. CameraEnshaking(2,20)
  3523. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3524. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3525. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3526. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3527. local orb = Instance.new("Part", char)
  3528. orb.Anchored = true
  3529. orb.BrickColor = BrickColor.new("Toothpaste")
  3530. orb.CanCollide = false
  3531. orb.FormFactor = 3
  3532. orb.Name = "Remenant"
  3533. orb.Material = "Neon"
  3534. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3535. orb.Size = Vector3.new(1, 1, 1)
  3536. orb.Transparency = 1
  3537. orb.TopSurface = 0
  3538. orb.BottomSurface = 0
  3539. hum.WalkSpeed = storehumanoidWS
  3540. coroutine.resume(coroutine.create(function()
  3541. for i = 0, 9 do
  3542. swait(10)
  3543. local lb = Instance.new("Part")
  3544. lb.Color = MAINRUINCOLOR.Color
  3545. lb.CanCollide = false
  3546. lb.Material = "Neon"
  3547. lb.Anchored = true
  3548. lb.TopSurface = 0
  3549. lb.BottomSurface = 0
  3550. lb.Transparency = 0
  3551. lb.Size = vt(1,1,1)
  3552. 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)))
  3553. lb.Anchored = false
  3554. lb.Parent = char
  3555. local thingery = Instance.new("SpecialMesh",lb)
  3556. thingery.MeshType = "Sphere"
  3557. thingery.Scale = vt(20,20,20)
  3558. game:GetService("Debris"):AddItem(lb, 10)
  3559. local bv = Instance.new("BodyVelocity")
  3560. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3561. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3562. bv.Parent = lb
  3563. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3564. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3565. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3566. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3567. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3568. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3569. local hitted = false
  3570. coroutine.resume(coroutine.create(function()
  3571. while true do
  3572. swait(1)
  3573. if lb.Parent ~= nil and hitted == false then
  3574. 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)
  3575. elseif lb.Parent == nil then
  3576. break
  3577. end
  3578. end
  3579. end))
  3580.  
  3581. game:GetService("Debris"):AddItem(a, 0.1)
  3582.  
  3583. coroutine.resume(coroutine.create(function()
  3584. swait(1)
  3585. lb.Touched:connect(function(hit)
  3586. if hitted == false then
  3587. hitted = true
  3588. lb.Transparency = 1
  3589. lb.Anchored = true
  3590. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3591. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3592. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3593. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3594. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3595. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3596. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3597. CameraEnshaking(1,5)
  3598. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3599. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3600. for i = 0, 9 do
  3601. 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)
  3602. end
  3603. for i = 0, 49 do
  3604. swait()
  3605. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3606. 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)
  3607. end
  3608. end
  3609. end)
  3610. end))
  3611. end
  3612. Overed = true
  3613. orb:Destroy()
  3614. end))
  3615.  
  3616. attack = false
  3617. end
  3618.  
  3619. function StarfallEX()
  3620. attack = true
  3621. hum.WalkSpeed = 0
  3622. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3623. for i = 0, 5, 0.1 do
  3624. swait()
  3625. 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)
  3626. 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)
  3627. 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)
  3628. 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)
  3629. 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)
  3630. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3631. 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)
  3632. 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)
  3633. end
  3634. local Overed = false
  3635. CameraEnshaking(2,20)
  3636. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3637. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3638. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3639. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3640. local orb = Instance.new("Part", char)
  3641. orb.Anchored = true
  3642. orb.BrickColor = BrickColor.new("Toothpaste")
  3643. orb.CanCollide = false
  3644. orb.FormFactor = 3
  3645. orb.Name = "Remenant"
  3646. orb.Material = "Neon"
  3647. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3648. orb.Size = Vector3.new(1, 1, 1)
  3649. orb.Transparency = 1
  3650. orb.TopSurface = 0
  3651. orb.BottomSurface = 0
  3652. hum.WalkSpeed = storehumanoidWS
  3653. coroutine.resume(coroutine.create(function()
  3654. for i = 1, 5 do
  3655. swait(10)
  3656. local lb = Instance.new("Part")
  3657. lb.Color = MAINRUINCOLOR.Color
  3658. lb.CanCollide = false
  3659. lb.Material = "Neon"
  3660. lb.Anchored = true
  3661. lb.TopSurface = 0
  3662. lb.BottomSurface = 0
  3663. lb.Transparency = 0
  3664. lb.Size = vt(1,1,1)
  3665. 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)))
  3666. lb.Anchored = false
  3667. lb.Parent = char
  3668. local thingery = Instance.new("SpecialMesh",lb)
  3669. thingery.MeshType = "Sphere"
  3670. thingery.Scale = vt(20,20,20)
  3671. game:GetService("Debris"):AddItem(lb, 10)
  3672. local bv = Instance.new("BodyVelocity")
  3673. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3674. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3675. bv.Parent = lb
  3676. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3677. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3678. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3679. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3680. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3681. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3682. local hitted = false
  3683. coroutine.resume(coroutine.create(function()
  3684. while true do
  3685. swait(1)
  3686. if lb.Parent ~= nil and hitted == false then
  3687. 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)
  3688. elseif lb.Parent == nil then
  3689. break
  3690. end
  3691. end
  3692. end))
  3693.  
  3694. game:GetService("Debris"):AddItem(a, 0.1)
  3695.  
  3696. coroutine.resume(coroutine.create(function()
  3697. swait(5)
  3698. lb.Touched:connect(function(hit)
  3699. if hitted == false and not hit:IsDescendantOf(Character) then
  3700. hitted = true
  3701. lb.Transparency = 1
  3702. lb.Anchored = true
  3703. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3704. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3705. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3706. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3707. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3708. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3709. MagniDamage(lb, 45, 90,170, 0, "Normal")
  3710. CameraEnshaking(1,5)
  3711. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3712. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3713. for i = 0, 9 do
  3714. 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)
  3715. end
  3716. for i = 0, 49 do
  3717. swait()
  3718. MagniDamage(lb, 60, 20,40, 0, "Normal")
  3719. 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)
  3720. end
  3721. end
  3722. end)
  3723. end))
  3724. end
  3725. Overed = true
  3726. orb:Destroy()
  3727. end))
  3728.  
  3729. attack = false
  3730. end
  3731.  
  3732.  
  3733. function StarDivision()
  3734. attack = true
  3735. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  3736. for i = 0, 2, 0.1 do
  3737. swait()
  3738. 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)
  3739. 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)
  3740. 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)
  3741. 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)
  3742. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  3743. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  3744. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  3745. end
  3746. local orb = Instance.new("Part", char)
  3747. orb.BrickColor = MAINRUINCOLOR
  3748. orb.CanCollide = false
  3749. orb.FormFactor = 3
  3750. orb.Name = "Ring"
  3751. orb.Material = "Neon"
  3752. orb.Size = Vector3.new(1, 1, 1)
  3753. orb.Transparency = 0
  3754. orb.TopSurface = 0
  3755. orb.BottomSurface = 0
  3756. local orbm = Instance.new("SpecialMesh", orb)
  3757. orbm.MeshType = "Sphere"
  3758. orbm.Name = "SizeMesh"
  3759. orbm.Scale = vt(2,2,2)
  3760. local a = Instance.new("Part",workspace)
  3761. a.Name = "Direction"
  3762. a.Anchored = true
  3763. a.BrickColor = bc("Bright red")
  3764. a.Material = "Neon"
  3765. a.Transparency = 1
  3766. a.CanCollide = false
  3767. local ray = Ray.new(
  3768. sorb.CFrame.p, -- origin
  3769. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  3770. )
  3771. local ignore = sorb
  3772. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3773. a.BottomSurface = 10
  3774. a.TopSurface = 10
  3775. local distance = (sorb.CFrame.p - position).magnitude
  3776. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3777. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3778. orb.CFrame = a.CFrame
  3779. a:Destroy()
  3780. local bv = Instance.new("BodyVelocity")
  3781. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3782. bv.velocity = orb.CFrame.lookVector*100
  3783. bv.Parent = orb
  3784. local hitted = false
  3785. game:GetService("Debris"):AddItem(orb, 10)
  3786. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  3787. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  3788. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  3789. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  3790. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  3791. coroutine.resume(coroutine.create(function()
  3792. while true do
  3793. swait(1)
  3794. if orb.Parent ~= nil and hitted == false then
  3795. 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)
  3796. elseif orb.Parent == nil then
  3797. break
  3798. end
  3799. end
  3800. end))
  3801. coroutine.resume(coroutine.create(function()
  3802. swait(1)
  3803. orb.Touched:connect(function(hit)
  3804. if hitted == false then
  3805. hitted = true
  3806. game:GetService("Debris"):AddItem(orb, 5)
  3807. orb.Transparency = 1
  3808. orb.Anchored = true
  3809. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3810. elocacenter.Anchored = true
  3811. elocacenter.CFrame = orb.CFrame
  3812. elocacenter.Orientation = vt(0,0,0)
  3813. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3814. eloca1.Anchored = true
  3815. eloca1.CFrame = elocacenter.CFrame
  3816. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3817. eloca2.Anchored = true
  3818. eloca2.CFrame = elocacenter.CFrame
  3819. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3820. eloca3.Anchored = true
  3821. eloca3.CFrame = elocacenter.CFrame
  3822. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3823. eloca4.Anchored = true
  3824. eloca4.CFrame = elocacenter.CFrame
  3825. local lookavec = 0
  3826. local speeds = 0
  3827. CameraEnshaking(1,1)
  3828. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  3829. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3830. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3831. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3832. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3833. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3834. for i = 0, 99 do
  3835. swait()
  3836. lookavec = lookavec + 1
  3837. speeds = speeds + 0.1
  3838. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3839. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3840. 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)
  3841.  
  3842. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3843. 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)
  3844.  
  3845. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3846. 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)
  3847.  
  3848. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3849. 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)
  3850. end
  3851.  
  3852. for i = 0, 149 do
  3853. swait()
  3854. speeds = speeds + 0.1
  3855. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3856. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3857. 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)
  3858.  
  3859. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3860. 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)
  3861.  
  3862. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3863. 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)
  3864.  
  3865. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3866. 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)
  3867. end
  3868. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  3869. if v:FindFirstChild('Head') then
  3870. dmg(v)
  3871. end
  3872. end
  3873. CameraEnshaking(7,30)
  3874. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  3875. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  3876. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  3877. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  3878. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  3879. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  3880. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  3881. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3882. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3883. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3884. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3885. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3886. for i = 0, 24 do
  3887. 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)
  3888. 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)
  3889. 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)
  3890. 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)
  3891. end
  3892. coroutine.resume(coroutine.create(function()
  3893. for i = 0, 499 do
  3894. swait(1)
  3895. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  3896. 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)
  3897. end
  3898. elocacenter:Destroy()
  3899. eloca1:Destroy()
  3900. eloca2:Destroy()
  3901. eloca3:Destroy()
  3902. eloca4:Destroy()
  3903. end))
  3904. end
  3905. end)
  3906. end))
  3907. attack = false
  3908. end
  3909.  
  3910.  
  3911. function UniversalCollapse()
  3912. attack = true
  3913. local speedearn = 0
  3914. hum.WalkSpeed = 0
  3915. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  3916. for i = 0, 10, 0.1 do
  3917. swait()
  3918. speedearn = speedearn + 0.1
  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. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3923. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3924. 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)
  3925. 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)
  3926. 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)
  3927. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  3928. 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)
  3929. 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)
  3930. end
  3931. CameraEnshaking(5,45)
  3932. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  3933. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  3934. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3935. if v:FindFirstChild('Head') then
  3936. dmg(v)
  3937. end
  3938. end
  3939. hum.WalkSpeed = storehumanoidWS
  3940. attack = false
  3941. end
  3942. function ChaosBegone()
  3943. attack = true
  3944. local speedearn = 0
  3945. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  3946. for i = 0, 10, 0.1 do
  3947. swait()
  3948. speedearn = speedearn + 0.1
  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. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3953. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3954. 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)
  3955. 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)
  3956. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3957. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3958. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3959. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3960. end
  3961. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  3962. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  3963. CameraEnshaking(5,25)
  3964. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3965. if v:FindFirstChild('Head') then
  3966. dmg(v)
  3967. end
  3968. end
  3969. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  3970. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  3971. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  3972. for i = 0, 3, 0.1 do
  3973. swait()
  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. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3977. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3978. 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)
  3979. 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)
  3980. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3981. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3982. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3983. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3984. end
  3985. attack = false
  3986. end
  3987.  
  3988. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  3989. local orb = Instance.new("Part", char)
  3990. orb.Anchored = true
  3991. orb.BrickColor = color
  3992. orb.CanCollide = false
  3993. orb.FormFactor = 3
  3994. orb.Name = "Ring"
  3995. orb.Material = "Neon"
  3996. orb.Size = Vector3.new(1, 1, 1)
  3997. orb.Transparency = 0
  3998. orb.TopSurface = 0
  3999. orb.BottomSurface = 0
  4000. local orbm = Instance.new("SpecialMesh", orb)
  4001. orbm.MeshType = "Sphere"
  4002. orb.CFrame = positted
  4003. orbm.Name = "SizeMesh"
  4004. orbm.Scale = vt(1,1,1)
  4005. coroutine.wrap(function()
  4006. while orb and orb.Parent do
  4007. if glitchymode then
  4008. local val = math.random(1,255)
  4009. local color = Color3.fromRGB(val,val,val)
  4010. orb.Color = color
  4011. end
  4012. swait()
  4013. end
  4014. end)()
  4015. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4016. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4017. --[[for i = 0, 2 do
  4018. 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)
  4019. end]]--
  4020. coroutine.resume(coroutine.create(function()
  4021. wait(timer)
  4022. CameraEnshaking(3,ShakePower)
  4023. orb.Transparency = 1
  4024. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4025. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4026. --[[for i = 0, 4 do
  4027. 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)
  4028. end]]--
  4029. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4030. wait(3)
  4031. orb:Destroy()
  4032. end))
  4033. end
  4034.  
  4035. function orb_spawn(positted,timer)
  4036. local orb = Instance.new("Part", char)
  4037. orb.Anchored = true
  4038. orb.BrickColor = BrickColor.new("White")
  4039.  
  4040. orb.CanCollide = false
  4041. orb.FormFactor = 3
  4042. orb.Name = "Ring"
  4043. orb.Material = "Neon"
  4044. orb.Size = Vector3.new(1, 1, 1)
  4045. orb.Transparency = 0
  4046. orb.TopSurface = 0
  4047. orb.BottomSurface = 0
  4048. local orbm = Instance.new("SpecialMesh", orb)
  4049. orbm.MeshType = "Sphere"
  4050. orb.CFrame = positted
  4051. orbm.Name = "SizeMesh"
  4052. orbm.Scale = vt(1,1,1)
  4053. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4054. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4055. coroutine.wrap(function()
  4056. while orb and orb.Parent do
  4057. if glitchymode then
  4058. local val = math.random(1,255)
  4059. local color = Color3.fromRGB(val,val,val)
  4060. orb.Color = color
  4061. end
  4062. swait()
  4063. end
  4064. end)()
  4065. for i = 0, 2 do
  4066. 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)
  4067. end
  4068.  
  4069. coroutine.resume(coroutine.create(function()
  4070. wait(timer)
  4071. CameraEnshaking(3,2)
  4072. orb.Transparency = 1
  4073. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4074. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4075. for i = 0, 4 do
  4076. 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)
  4077. end
  4078. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4079. wait(3)
  4080. orb:Destroy()
  4081. end))
  4082. end
  4083.  
  4084. function scattercorrupt()
  4085. attack = true
  4086. local rot = 0
  4087. local randomrotations = math.random(1,2)
  4088. local lookv = 2.5
  4089. local power = 5
  4090. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4091. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4092. for i = 0, 9 do
  4093. 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)
  4094. end
  4095. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4096. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4097. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4098. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4099. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4100. local hite = Instance.new("Part", char)
  4101. hite.Anchored = true
  4102. hite.CanCollide = false
  4103. hite.FormFactor = 3
  4104. hite.Name = "Ring"
  4105. hite.Material = "Neon"
  4106. hite.Size = Vector3.new(1, 1, 1)
  4107. hite.Transparency = 1
  4108. hite.TopSurface = 0
  4109. hite.BottomSurface = 0
  4110. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4111. local rem = Instance.new("Part", char)
  4112. rem.Anchored = true
  4113. rem.CanCollide = false
  4114. rem.FormFactor = 3
  4115. rem.Name = "Ring"
  4116. rem.Material = "Neon"
  4117. rem.Size = Vector3.new(1, 1, 1)
  4118. rem.Transparency = 1
  4119. rem.TopSurface = 0
  4120. rem.BottomSurface = 0
  4121. rem.CFrame = hite.CFrame
  4122. local rem2 = rem:Clone()
  4123. rem2.Parent = char
  4124. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4125. local rem3 = rem:Clone()
  4126. rem3.Parent = char
  4127. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4128. local rem4 = rem:Clone()
  4129. rem4.Parent = char
  4130. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4131. hite:Destroy()
  4132. coroutine.resume(coroutine.create(function()
  4133. for i = 0, 24 do
  4134. swait(1)
  4135. if randomrotations == 1 then
  4136. rot = rot + 1
  4137. elseif randomrotations == 2 then
  4138. rot = rot - 1
  4139. end
  4140. power = power + 0.5
  4141. lookv = lookv + 7.5
  4142. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4143. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4144. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4145. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4146. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4147. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4148. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4149. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4150. end
  4151. end))
  4152. attack = false
  4153. end
  4154. function yinyangi()
  4155. attack = true
  4156. for i = 0, 2, 0.1 do
  4157. swait()
  4158. 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)
  4159. 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)
  4160. 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)
  4161. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4162. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4163. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4164. end
  4165. local bv = Instance.new("BodyVelocity")
  4166. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4167. bv.velocity = root.CFrame.lookVector*175
  4168. bv.Parent = root
  4169. for Rotations = 0, 9 do
  4170.  
  4171. for i = 0, 1, 0.5 do
  4172. swait()
  4173. bv.velocity = root.CFrame.lookVector*175
  4174. 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)
  4175. 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)
  4176. 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)
  4177. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4178. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4179. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4180. end
  4181.  
  4182. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4183. for i = 0, 1, 0.5 do
  4184. swait()
  4185. bv.velocity = root.CFrame.lookVector*175
  4186. 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)
  4187. 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)
  4188. 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)
  4189. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4190. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4191. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4192. end
  4193.  
  4194. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4195. for i = 0, 1, 0.5 do
  4196. swait()
  4197. bv.velocity = root.CFrame.lookVector*175
  4198. 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)
  4199. 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)
  4200. 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)
  4201. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4202. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4203. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4204. end
  4205.  
  4206. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4207. for i = 0, 1, 0.5 do
  4208. swait()
  4209. bv.velocity = root.CFrame.lookVector*175
  4210. 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)
  4211. 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)
  4212. 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)
  4213. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4214. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4215. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4216. end
  4217.  
  4218. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4219. end
  4220. bv:Destroy()
  4221. attack = false
  4222. end
  4223.  
  4224. function JusticeBeam()
  4225. attack = true
  4226.  
  4227. local rngb = Instance.new("Part", char)
  4228. rngb.Anchored = true
  4229. rngb.BrickColor = origcolor
  4230. rngb.CanCollide = false
  4231. rngb.FormFactor = 3
  4232. rngb.Name = "Ring"
  4233. rngb.Material = "Neon"
  4234. rngb.Size = Vector3.new(1, 0.05, 1)
  4235. rngb.Transparency = 1
  4236. rngb.TopSurface = 0
  4237. rngb.BottomSurface = 0
  4238. local rngmb = Instance.new("SpecialMesh", rngb)
  4239. rngmb.MeshType = "Brick"
  4240. rngmb.Name = "SizeMesh"
  4241. rngmb.Scale = vt(0,1,0)
  4242.  
  4243. local orb = rngb:Clone()
  4244. orb.Parent = char
  4245. orb.Transparency = 0
  4246. orb.BrickColor = BrickColor.new("White")
  4247. orb.Size = vt(1,1,1)
  4248. local orbmish = orb.SizeMesh
  4249. orbmish.Scale = vt(0,0,0)
  4250. orbmish.MeshType = "Sphere"
  4251.  
  4252. local orbe = rngb:Clone()
  4253. orbe.Parent = char
  4254. orbe.Transparency = 0.5
  4255. orbe.BrickColor = BrickColor.new("New Yeller")
  4256. orbe.Size = vt(1,1,1)
  4257. local orbmish2 = orbe.SizeMesh
  4258. orbmish2.Scale = vt(0,0,0)
  4259. orbmish2.MeshType = "Sphere"
  4260. orbe.Color = Color3.new(1,1,1)
  4261.  
  4262. rngb:Destroy()
  4263. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4264. local scaled = 1
  4265. for i = 0,5,0.1 do
  4266. swait()
  4267. scaled = scaled - 0.02
  4268. if rainbowmode == true then
  4269. orbe.Color = Color3.new(r/255,g/255,b/255)
  4270. end
  4271. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4272. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4273. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4274. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4275. 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)
  4276. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4277. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4278. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4279. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4280. 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)
  4281. 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)
  4282. RootPart.CFrame = FaceMouse()[1]
  4283. end]]--
  4284. for i = 0,5,0.1 do
  4285. swait()
  4286. if rainbowmode == true then
  4287. orbe.Color = Color3.new(r/255,g/255,b/255)
  4288. end
  4289. if glitchymode then
  4290. local val = math.random(1,255)
  4291. local color = Color3.fromRGB(val,val,val)
  4292. orbe.Color = color
  4293. end
  4294. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4295. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4296. 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)
  4297. 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)
  4298. 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)
  4299. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4300. 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)
  4301. 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)
  4302. end
  4303. orbe.Transparency = 1
  4304. orb.Transparency = 1
  4305. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4306. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4307. local a2 = Instance.new("Part",Character)
  4308. a2.Name = "Direction"
  4309. a2.Anchored = true
  4310. a2.BrickColor = bc("New Yeller")
  4311. a2.Color = Color3.new(1,1,1)
  4312. a2.Material = "Neon"
  4313. a2.Transparency = 0.5
  4314. a2.Shape = "Cylinder"
  4315. a2.CanCollide = false
  4316. local ba = Instance.new("Part",Character)
  4317. ba.Name = "HitDirect"
  4318. ba.Anchored = true
  4319. ba.BrickColor = bc("Cool yellow")
  4320. ba.Material = "Neon"
  4321. ba.Transparency = 1
  4322. ba.CanCollide = false
  4323. local ray = Ray.new(
  4324. orb.CFrame.p, -- origin
  4325. root.CFrame.lookVector.unit * 1000 -- direction
  4326. )
  4327. local ignore = Character
  4328. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4329. a2.Transparency = .75
  4330. a2.BottomSurface = 10
  4331. a2.TopSurface = 10
  4332. local distance = (orb.CFrame.p - position).magnitude
  4333. a2.Size = Vector3.new(distance, 1, 1)
  4334. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4335. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4336. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4337. game:GetService("Debris"):AddItem(a2, 20)
  4338. game:GetService("Debris"):AddItem(ba, 20)
  4339. local msh2 = Instance.new("SpecialMesh",a2)
  4340. msh2.MeshType = "Cylinder"
  4341. msh2.Scale = vt(1,6*5,6*5)
  4342.  
  4343. local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
  4344. for i = 1, 80*2 do
  4345. 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)
  4346. 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)
  4347. 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)
  4348. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4349. 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)
  4350. 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)
  4351. swait()
  4352. CameraEnshaking(1,5)
  4353. a2.Color = Color3.new(1,1,1)
  4354. a2.Transparency = .25
  4355. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4356. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4357. ray = Ray.new(
  4358. orb.CFrame.p, -- origin
  4359. root.CFrame.lookVector.unit * 1000 -- direction
  4360. )
  4361. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4362. distance = (orb.CFrame.p - position).magnitude
  4363. if typrot == 1 then
  4364. rotation = rotation + 2.5
  4365. elseif typrot == 2 then
  4366. rotation = rotation - 2.5
  4367. end
  4368. a2.Size = Vector3.new(distance, 1, 1)
  4369. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4370. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4371. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4372. msh2.Scale = msh2.Scale - vt(0,.19,.19)
  4373. 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)
  4374. 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)
  4375. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4376. end
  4377. a2:Destroy()
  4378. ba:Destroy()
  4379. orb:Destroy()
  4380. orbe:Destroy()
  4381. attack = false
  4382. end
  4383.  
  4384. function Wip()
  4385. attack = true
  4386.  
  4387. local rngb = Instance.new("Part", char)
  4388. rngb.Anchored = true
  4389. rngb.BrickColor = origcolor
  4390. rngb.CanCollide = false
  4391. rngb.FormFactor = 3
  4392. rngb.Name = "Ring"
  4393. rngb.Material = "Neon"
  4394. rngb.Size = Vector3.new(1, 0.05, 1)
  4395. rngb.Transparency = 1
  4396. rngb.TopSurface = 0
  4397. rngb.BottomSurface = 0
  4398. local rngmb = Instance.new("SpecialMesh", rngb)
  4399. rngmb.MeshType = "Brick"
  4400. rngmb.Name = "SizeMesh"
  4401. rngmb.Scale = vt(0,1,0)
  4402.  
  4403. local orb = rngb:Clone()
  4404. orb.Parent = char
  4405. orb.Transparency = 0
  4406. orb.BrickColor = BrickColor.new("White")
  4407. orb.Size = vt(1,1,1)
  4408. local orbmish = orb.SizeMesh
  4409. orbmish.Scale = vt(0,0,0)
  4410. orbmish.MeshType = "Sphere"
  4411.  
  4412. local orbe = rngb:Clone()
  4413. orbe.Parent = char
  4414. orbe.Transparency = 0.5
  4415. orbe.BrickColor = BrickColor.new("New Yeller")
  4416. orbe.Size = vt(1,1,1)
  4417. local orbmish2 = orbe.SizeMesh
  4418. orbmish2.Scale = vt(0,0,0)
  4419. orbmish2.MeshType = "Sphere"
  4420. orbe.Color = Color3.new(r/255,g/255,b/255)
  4421.  
  4422. hum.AutoRotate = false
  4423. rngb:Destroy()
  4424. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4425. local scaled = 1
  4426. for i = 0,5,0.1 do
  4427. swait()
  4428. scaled = scaled - 0.02
  4429. if rainbowmode == true then
  4430. orbe.Color = Color3.new(r/255,g/255,b/255)
  4431. end
  4432. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4433. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4434. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4435. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4436. 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)
  4437. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4438. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4439. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4440. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4441. 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)
  4442. 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)
  4443. RootPart.CFrame = FaceMouse()[1]
  4444. end]]--
  4445. for i = 0,5,0.1 do
  4446. swait()
  4447. if rainbowmode == true then
  4448. orbe.Color = Color3.new(r/255,g/255,b/255)
  4449. end
  4450. if glitchymode then
  4451. local val = math.random(1,255)
  4452. local color = Color3.fromRGB(val,val,val)
  4453. orbe.Color = color
  4454. end
  4455. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4456. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4457. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4458. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4459. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4460. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4461. 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)
  4462. 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)
  4463. RootPart.CFrame = FaceMouse()[1]
  4464. end
  4465. orbe.Transparency = 1
  4466. orb.Transparency = 1
  4467. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4468. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4469. local a = Instance.new("Part",Character)
  4470. a.Name = "Direction"
  4471. a.Anchored = true
  4472. a.BrickColor = bc("White")
  4473. a.Material = "Neon"
  4474. a.Transparency = 0
  4475. a.Shape = "Cylinder"
  4476. a.CanCollide = false
  4477. local a2 = Instance.new("Part",Character)
  4478. a2.Name = "Direction"
  4479. a2.Anchored = true
  4480. a2.BrickColor = bc("New Yeller")
  4481. a2.Color = Color3.new(r/255,g/255,b/255)
  4482. a2.Material = "Neon"
  4483. a2.Transparency = 0.5
  4484. a2.Shape = "Cylinder"
  4485. a2.CanCollide = false
  4486. local ba = Instance.new("Part",Character)
  4487. ba.Name = "HitDirect"
  4488. ba.Anchored = true
  4489. ba.BrickColor = bc("Cool yellow")
  4490. ba.Material = "Neon"
  4491. ba.Transparency = 1
  4492. ba.CanCollide = false
  4493. local ray = Ray.new(
  4494. orb.CFrame.p, -- origin
  4495. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4496. )
  4497. local ignore = Character
  4498. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4499. a.BottomSurface = 10
  4500. a.TopSurface = 10
  4501. a2.BottomSurface = 10
  4502. a2.TopSurface = 10
  4503. local distance = (orb.CFrame.p - position).magnitude
  4504. a.Size = Vector3.new(distance, 1, 1)
  4505. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4506. a2.Size = Vector3.new(distance, 1, 1)
  4507. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4508. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4509. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4510. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4511. game:GetService("Debris"):AddItem(a, 20)
  4512. game:GetService("Debris"):AddItem(a2, 20)
  4513. game:GetService("Debris"):AddItem(ba, 20)
  4514. local msh = Instance.new("SpecialMesh",a)
  4515. msh.MeshType = "Cylinder"
  4516. msh.Scale = vt(1,5*5,5*5)
  4517. local msh2 = Instance.new("SpecialMesh",a2)
  4518. msh2.MeshType = "Cylinder"
  4519. msh2.Scale = vt(1,6*5,6*5)
  4520.  
  4521. for i = 0,10,0.1 do
  4522. swait()
  4523. CameraEnshaking(1,5)
  4524. a2.Color = Color3.new(r/255,g/255,b/255)
  4525. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4526. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4527. ray = Ray.new(
  4528. orb.CFrame.p, -- origin
  4529. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4530. )
  4531. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4532. distance = (orb.CFrame.p - position).magnitude
  4533. if typrot == 1 then
  4534. rotation = rotation + 2.5
  4535. elseif typrot == 2 then
  4536. rotation = rotation - 2.5
  4537. end
  4538. RootPart.CFrame = FaceMouse()[1]
  4539. a.Size = Vector3.new(distance, 1, 1)
  4540. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4541. a2.Size = Vector3.new(distance, 1, 1)
  4542. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4543. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4544. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4545. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4546. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  4547. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  4548. 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)
  4549. 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)
  4550. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4551. end
  4552. a:Destroy()
  4553. a2:Destroy()
  4554. ba:Destroy()
  4555. orb:Destroy()
  4556. orbe:Destroy()
  4557. hum.AutoRotate = true
  4558. attack = false
  4559. end
  4560.  
  4561.  
  4562. function UniversalSpark()
  4563. attack = true
  4564.  
  4565. local rngb = Instance.new("Part", char)
  4566. rngb.Anchored = true
  4567. rngb.BrickColor = origcolor
  4568. rngb.CanCollide = false
  4569. rngb.FormFactor = 3
  4570. rngb.Name = "Ring"
  4571. rngb.Material = "Neon"
  4572. rngb.Size = Vector3.new(1, 0.05, 1)
  4573. rngb.Transparency = 1
  4574. rngb.TopSurface = 0
  4575. rngb.BottomSurface = 0
  4576. local rngmb = Instance.new("SpecialMesh", rngb)
  4577. rngmb.MeshType = "Brick"
  4578. rngmb.Name = "SizeMesh"
  4579. rngmb.Scale = vt(0,1,0)
  4580.  
  4581. local orb = rngb:Clone()
  4582. orb.Parent = char
  4583. orb.Transparency = 0
  4584. orb.BrickColor = BrickColor.new("White")
  4585. orb.Size = vt(1,1,1)
  4586. local orbmish = orb.SizeMesh
  4587. orbmish.Scale = vt(0,0,0)
  4588. orbmish.MeshType = "Sphere"
  4589.  
  4590. local orbe = rngb:Clone()
  4591. orbe.Parent = char
  4592. orbe.Transparency = 0.5
  4593. orbe.BrickColor = BrickColor.new("New Yeller")
  4594. orbe.Size = vt(1,1,1)
  4595. local orbmish2 = orbe.SizeMesh
  4596. orbmish2.Scale = vt(0,0,0)
  4597. orbmish2.MeshType = "Sphere"
  4598. orbe.Color = Color3.new(r/255,g/255,b/255)
  4599.  
  4600. rngb:Destroy()
  4601. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4602. local scaled = 1
  4603. for i = 0,5,0.1 do
  4604. swait()
  4605. scaled = scaled - 0.02
  4606. if rainbowmode == true then
  4607. orbe.Color = Color3.new(r/255,g/255,b/255)
  4608. end
  4609. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4610. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4611. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4612. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4613. 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)
  4614. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4615. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4616. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4617. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4618. 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)
  4619. 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)
  4620. RootPart.CFrame = FaceMouse()[1]
  4621. end]]--
  4622. for i = 0,5,0.1 do
  4623. swait()
  4624. if rainbowmode == true then
  4625. orbe.Color = Color3.new(r/255,g/255,b/255)
  4626. end
  4627. if glitchymode then
  4628. local val = math.random(1,255)
  4629. local color = Color3.fromRGB(val,val,val)
  4630. orbe.Color = color
  4631. end
  4632. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4633. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4634. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4635. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4636. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4637. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4638. 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)
  4639. 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)
  4640. RootPart.CFrame = FaceMouse()[1]
  4641. end
  4642. orbe.Transparency = 1
  4643. orb.Transparency = 1
  4644. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4645. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  4646. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  4647. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4648.  
  4649. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4650. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  4651. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4652. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  4653. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  4654. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  4655. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  4656. local xd= Instance.new("Sound",char)
  4657. xd.SoundId = "rbxassetid://445796828"
  4658. xd.Pitch = 0.75
  4659. xd.Looped = true
  4660. xd.Volume = 1.25
  4661. xd:Play()
  4662. local a = Instance.new("Part",Character)
  4663. a.Name = "Direction"
  4664. a.Anchored = true
  4665. a.BrickColor = bc("Alder")
  4666. a.Color = MAINRUINCOLOR.Color
  4667. a.Material = "Neon"
  4668. a.Transparency = 0.5
  4669. a.Shape = "Cylinder"
  4670. a.CanCollide = false
  4671. local a2 = Instance.new("Part",Character)
  4672. a2.Name = "Direction"
  4673. a2.Anchored = true
  4674. a2.BrickColor = bc("New Yeller")
  4675. a2.Color = MAINRUINCOLOR.Color
  4676. a2.Material = "Neon"
  4677. a2.Transparency = 0.5
  4678. a2.Shape = "Cylinder"
  4679. a2.CanCollide = false
  4680. local ba = Instance.new("Part",Character)
  4681. ba.Name = "HitDirect"
  4682. ba.Anchored = true
  4683. ba.BrickColor = bc("Cool yellow")
  4684. ba.Material = "Neon"
  4685. ba.Transparency = 1
  4686. ba.CanCollide = false
  4687. local ray = Ray.new(
  4688. orb.CFrame.p, -- origin
  4689. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4690. )
  4691. local ignore = Character
  4692. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4693. a.BottomSurface = 10
  4694. a.TopSurface = 10
  4695. a2.BottomSurface = 10
  4696. a2.TopSurface = 10
  4697. local distance = (orb.CFrame.p - position).magnitude
  4698. a.Size = Vector3.new(distance, 1, 1)
  4699. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4700. a2.Size = Vector3.new(distance, 1, 1)
  4701. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4702. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4703. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4704. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4705. game:GetService("Debris"):AddItem(a, 60)
  4706. game:GetService("Debris"):AddItem(a2, 60)
  4707. game:GetService("Debris"):AddItem(ba, 60)
  4708. local outerscale = 0
  4709. local msh = Instance.new("SpecialMesh",a)
  4710. msh.MeshType = "Cylinder"
  4711. msh.Scale = vt(1,0,0)
  4712. local msh2 = Instance.new("SpecialMesh",a2)
  4713. msh2.MeshType = "Cylinder"
  4714. msh2.Scale = vt(1,0,0)
  4715. for i = 0,2,0.1 do
  4716. swait()
  4717. CameraEnshaking(1,1)
  4718. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  4719. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  4720. outerscale = outerscale - 0.015
  4721. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4722. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4723. ray = Ray.new(
  4724. orb.CFrame.p, -- origin
  4725. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4726. )
  4727. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4728. distance = (orb.CFrame.p - position).magnitude
  4729. if typrot == 1 then
  4730. rotation = rotation + 2.5
  4731. elseif typrot == 2 then
  4732. rotation = rotation - 2.5
  4733. end
  4734. RootPart.CFrame = FaceMouse()[1]
  4735. a.Size = Vector3.new(distance, 1, 1)
  4736. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4737. a2.Size = Vector3.new(distance, 1, 1)
  4738. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4739. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4740. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4741. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4742. 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)
  4743. 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)
  4744. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4745. end
  4746. for z = 0, 2 do
  4747. for i = 0,4,0.1 do
  4748. swait()
  4749. CameraEnshaking(1,1)
  4750. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4751. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4752. outerscale = outerscale + 0.015
  4753. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4754. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4755. ray = Ray.new(
  4756. orb.CFrame.p, -- origin
  4757. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4758. )
  4759. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4760. distance = (orb.CFrame.p - position).magnitude
  4761. if typrot == 1 then
  4762. rotation = rotation + 2.5
  4763. elseif typrot == 2 then
  4764. rotation = rotation - 2.5
  4765. end
  4766. RootPart.CFrame = FaceMouse()[1]
  4767. a.Size = Vector3.new(distance, 1, 1)
  4768. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4769. a2.Size = Vector3.new(distance, 1, 1)
  4770. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4771. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4772. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4773. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4774. 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)
  4775. 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)
  4776. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4777. end
  4778. for i = 0,4,0.1 do
  4779. swait()
  4780. CameraEnshaking(1,1)
  4781. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4782. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4783. outerscale = outerscale - 0.015
  4784. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4785. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4786. ray = Ray.new(
  4787. orb.CFrame.p, -- origin
  4788. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4789. )
  4790. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4791. distance = (orb.CFrame.p - position).magnitude
  4792. if typrot == 1 then
  4793. rotation = rotation + 2.5
  4794. elseif typrot == 2 then
  4795. rotation = rotation - 2.5
  4796. end
  4797. RootPart.CFrame = FaceMouse()[1]
  4798. a.Size = Vector3.new(distance, 1, 1)
  4799. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4800. a2.Size = Vector3.new(distance, 1, 1)
  4801. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4802. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4803. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4804. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4805. 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)
  4806. 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)
  4807. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4808. end
  4809. end
  4810. for i = 0,4,0.1 do
  4811. swait()
  4812. CameraEnshaking(1,1)
  4813. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4814. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4815. xd.Volume = xd.Volume - 0.025
  4816. a.Transparency = a.Transparency + 0.025
  4817. a2.Transparency = a2.Transparency + 0.025
  4818. outerscale = outerscale - 0.015
  4819. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4820. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4821. ray = Ray.new(
  4822. orb.CFrame.p, -- origin
  4823. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4824. )
  4825. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4826. distance = (orb.CFrame.p - position).magnitude
  4827. if typrot == 1 then
  4828. rotation = rotation + 2.5
  4829. elseif typrot == 2 then
  4830. rotation = rotation - 2.5
  4831. end
  4832. RootPart.CFrame = FaceMouse()[1]
  4833. a.Size = Vector3.new(distance, 1, 1)
  4834. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4835. a2.Size = Vector3.new(distance, 1, 1)
  4836. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4837. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4838. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4839. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4840. 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)
  4841. 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)
  4842. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4843. end
  4844. xd:Destroy()
  4845. a:Destroy()
  4846. a2:Destroy()
  4847. ba:Destroy()
  4848. orb:Destroy()
  4849. orbe:Destroy()
  4850. attack = false
  4851. end
  4852.  
  4853.  
  4854.  
  4855. function attackone()
  4856. attack = true
  4857. for i = 0,1,0.1 do
  4858. swait()
  4859. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  4860. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  4861. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4862. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4863. 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)
  4864. 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)
  4865. end
  4866. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  4867.  
  4868. local hitb = Instance.new("Part", char)
  4869. hitb.Anchored = true
  4870. hitb.CanCollide = false
  4871. hitb.FormFactor = 3
  4872. hitb.Name = "Ring"
  4873. hitb.Material = "Neon"
  4874. hitb.Size = Vector3.new(1, 1, 1)
  4875. hitb.Transparency = 1
  4876. hitb.TopSurface = 0
  4877. hitb.BottomSurface = 0
  4878. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4879. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4880. hitb:Destroy()
  4881. for i = 0,1,0.1 do
  4882. swait()
  4883. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  4884. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  4885. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  4886. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  4887. 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)
  4888. 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)
  4889. end
  4890.  
  4891. attack = false
  4892. end
  4893.  
  4894. function attacktwo()
  4895. attack = true
  4896. for i = 0,1,0.1 do
  4897. swait()
  4898. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  4899. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  4900. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4901. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4902. 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)
  4903. 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)
  4904. end
  4905. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  4906. local hitb = Instance.new("Part", char)
  4907. hitb.Anchored = true
  4908. hitb.CanCollide = false
  4909. hitb.FormFactor = 3
  4910. hitb.Name = "Ring"
  4911. hitb.Material = "Neon"
  4912. hitb.Size = Vector3.new(1, 1, 1)
  4913. hitb.Transparency = 1
  4914. hitb.TopSurface = 0
  4915. hitb.BottomSurface = 0
  4916. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4917. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4918. hitb:Destroy()
  4919. for i = 0,1,0.1 do
  4920. swait()
  4921. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  4922. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  4923. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  4924. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  4925. 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)
  4926. 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)
  4927. end
  4928. attack = false
  4929. end
  4930.  
  4931. function attackthree()
  4932. attack = true
  4933. for i = 0,1,0.1 do
  4934. swait()
  4935. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  4936. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  4937. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  4938. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4939. 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)
  4940. 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)
  4941. end
  4942. local distlook = 5
  4943. for i = 0, 4 do
  4944. swait(2)
  4945. CameraEnshaking(2,3)
  4946. local hite = Instance.new("Part", char)
  4947. hite.Anchored = true
  4948. hite.CanCollide = false
  4949. hite.FormFactor = 3
  4950. hite.Name = "Ring"
  4951. hite.Material = "Neon"
  4952. hite.Size = Vector3.new(1, 1, 1)
  4953. hite.Transparency = 1
  4954. hite.TopSurface = 0
  4955. hite.BottomSurface = 0
  4956. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  4957. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  4958. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  4959. MagniDamage(hite, 10, 15,35, 0, "Normal")
  4960. for i = 0, 2 do
  4961. 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)
  4962. 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)
  4963. 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)
  4964. end
  4965. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  4966. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  4967. game:GetService("Debris"):AddItem(hite, 5)
  4968. distlook = distlook + 10
  4969. end
  4970. attack = false
  4971. end
  4972.  
  4973. function FinalCalamity()
  4974. end
  4975.  
  4976. function resetmode()
  4977. rainbowmode = false
  4978. chaosmode = false
  4979. glitchymode = false
  4980. tl1.Enabled = false
  4981. tl2.Enabled = false
  4982. tl3.Enabled = false
  4983. local lust = ModeOfGlitch == 69
  4984. ModeOfGlitch = 1
  4985. storehumanoidWS = 16
  4986. if(not lust)then
  4987. newTheme("rbxassetid://1564523997",48.6,1,1)
  4988. end
  4989. coroutine.resume(coroutine.create(function()
  4990. attack = true
  4991. hum.WalkSpeed = 0
  4992. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  4993. for i = 0,4,0.1 do
  4994. swait()
  4995. 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)
  4996. 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)
  4997. 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)
  4998. 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)
  4999. 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)
  5000. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5001. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5002. end
  5003. if(lust)then
  5004. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5005. sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true)
  5006. for i = 0, 49 do
  5007. 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)
  5008. end
  5009.  
  5010. for i = 0,4,0.05 do
  5011. swait()
  5012. Pitch = 1-i/4
  5013. 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)
  5014. 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)
  5015. 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)
  5016. 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)
  5017. 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)
  5018. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5019. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5020. end
  5021. for i = 0,3,0.1 do
  5022. swait()
  5023. 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)
  5024. 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)
  5025. 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)
  5026. 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)
  5027. 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)
  5028. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5029. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5030. end
  5031. newTheme("rbxassetid://1564523997",48.6,1,1)
  5032. end
  5033. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5034. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5035. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5036. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5037. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  5038. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  5039. RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1))
  5040. CameraEnshaking(5,2.5)
  5041. MAINRUINCOLOR = BrickColor.new("Really black")
  5042. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5043. for i = 0, 49 do
  5044. 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)
  5045. end
  5046. for i = 0,3,0.1 do
  5047. 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)
  5048. end
  5049. for i, v in pairs(mw2:GetChildren()) do
  5050. if v:IsA("Part") then
  5051. v.BrickColor = BrickColor.new("Really black")
  5052. v.Material = "Neon"
  5053. end
  5054. end
  5055. for i, v in pairs(mw1:GetChildren()) do
  5056. if v:IsA("Part") then
  5057. v.Transparency = 1
  5058. v.BrickColor = BrickColor.new("Really black")
  5059. v.Material = "Neon"
  5060. end
  5061. end
  5062. for i, v in pairs(m:GetChildren()) do
  5063. if v:IsA("Part") then
  5064. v.BrickColor = BrickColor.new("Really black")
  5065. v.Material = "Glass"
  5066. end
  5067. end
  5068. for i, v in pairs(m2:GetChildren()) do
  5069. if v:IsA("Part") then
  5070. v.BrickColor = BrickColor.new("Dark stone grey")
  5071. v.Material = "Granite"
  5072. end
  5073. end
  5074. for i, v in pairs(m3:GetChildren()) do
  5075. if v:IsA("Part") then
  5076. v.BrickColor = BrickColor.new("Really black")
  5077. v.Material = "Neon"
  5078. end
  5079. end
  5080. for i, v in pairs(extrawingmod1:GetChildren()) do
  5081. if v:IsA("Part") then
  5082. v.Transparency = 1
  5083. v.BrickColor = BrickColor.new("White")
  5084. v.Material = "Neon"
  5085. end
  5086. end
  5087. for i, v in pairs(extrawingmod2:GetChildren()) do
  5088. if v:IsA("Part") then
  5089. v.Transparency = 1
  5090. v.BrickColor = BrickColor.new("White")
  5091. v.Material = "Neon"
  5092. end
  5093. end
  5094. for i = 0,2,0.1 do
  5095. swait()
  5096. 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)
  5097. 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)
  5098. 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)
  5099. 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)
  5100. 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)
  5101. 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)
  5102. end
  5103. hum.WalkSpeed = storehumanoidWS
  5104. attack = false
  5105. end))
  5106. end
  5107.  
  5108. function lustmode()
  5109.  
  5110. ModeOfGlitch = 69
  5111. storehumanoidWS = 16
  5112. rainbowmode = false
  5113. chaosmode = false
  5114. glitchymode = false
  5115. tl1.Enabled = false
  5116. tl2.Enabled = false
  5117. tl3.Enabled = false
  5118. newTheme("rbxassetid://1292453759",0,1,1)
  5119. coroutine.wrap(function()
  5120. attack = true
  5121. hum.WalkSpeed = 0
  5122. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5123. for i = 0,4,0.1 do
  5124. swait()
  5125. 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)
  5126. 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)
  5127. 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)
  5128. 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)
  5129. 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)
  5130. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5131. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5132. end
  5133. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5134. sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true)
  5135.  
  5136. for i = 0,4,0.1 do
  5137. swait()
  5138. 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)
  5139. 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)
  5140. 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)
  5141. 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)
  5142. 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)
  5143. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5144. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5145. end
  5146. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5147. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5148. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5149. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5150. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end)
  5151. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end)
  5152. CameraEnshaking(5,2.5)
  5153. MAINRUINCOLOR = BrickColor.new("Pink")
  5154. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5155. for i = 0, 49 do
  5156. 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)
  5157. end
  5158. for i = 0,3,0.1 do
  5159. 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)
  5160. end
  5161. RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new'Pink'.Color)
  5162. for i, v in pairs(mw2:GetChildren()) do
  5163. if v:IsA("Part") then
  5164. v.BrickColor = MAINRUINCOLOR
  5165. v.Material = "Neon"
  5166. end
  5167. end
  5168. for i, v in pairs(mw1:GetChildren()) do
  5169. if v:IsA("Part") then
  5170. v.Transparency = 1
  5171. v.BrickColor = MAINRUINCOLOR
  5172. v.Material = "Neon"
  5173. end
  5174. end
  5175. for i, v in pairs(m:GetChildren()) do
  5176. if v:IsA("Part") then
  5177. v.BrickColor = BrickColor.new("Pink")
  5178. v.Material = "Ice"
  5179. end
  5180. end
  5181. for i, v in pairs(m2:GetChildren()) do
  5182. if v:IsA("Part") then
  5183. v.BrickColor = BrickColor.new("Pink")
  5184. v.Material = "Glass"
  5185. end
  5186. end
  5187. for i, v in pairs(m3:GetChildren()) do
  5188. if v:IsA("Part") then
  5189. v.BrickColor = BrickColor.new("Pink")
  5190. v.Material = "Neon"
  5191. end
  5192. end
  5193. for i, v in pairs(extrawingmod1:GetChildren()) do
  5194. if v:IsA("Part") then
  5195. v.Transparency = 1
  5196. v.BrickColor = BrickColor.new("Pink")
  5197. v.Material = "Neon"
  5198. end
  5199. end
  5200. for i, v in pairs(extrawingmod2:GetChildren()) do
  5201. if v:IsA("Part") then
  5202. v.Transparency = 1
  5203. v.BrickColor = BrickColor.new("Pink")
  5204. v.Material = "Neon"
  5205. end
  5206. end
  5207. for i = 0,2,0.1 do
  5208. swait()
  5209. 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)
  5210. 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)
  5211. 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)
  5212. 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)
  5213. 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)
  5214. 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)
  5215. end
  5216. hum.WalkSpeed = storehumanoidWS
  5217. attack = false
  5218. end)()
  5219. end
  5220.  
  5221. function insanitymode()
  5222. storehumanoidWS = 16
  5223. hum.WalkSpeed = 0
  5224. rainbowmode = false
  5225. glitchymode = false
  5226. chaosmode = true
  5227. tl1.Enabled = true
  5228. tl2.Enabled = true
  5229. tl3.Enabled = true
  5230. local lust = ModeOfGlitch == 69
  5231. newTheme("rbxassetid://919231299",0,1,1)
  5232. coroutine.resume(coroutine.create(function()
  5233. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5234. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5235. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5236. attack = true
  5237. hum.WalkSpeed = 0
  5238. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5239. for i = 0,4,0.1 do
  5240. swait()
  5241. 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)
  5242. 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)
  5243. 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)
  5244. 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)
  5245. 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)
  5246. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5247. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5248. end
  5249. for i = 0,8,0.1 do
  5250. swait()
  5251. 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)
  5252. 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)
  5253. 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)
  5254. 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)
  5255. 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)
  5256. 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)
  5257. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5258. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5259. end
  5260.  
  5261. for i = 0,3,0.1 do
  5262. swait()
  5263. 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)
  5264. 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)
  5265. 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)
  5266. 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)
  5267. 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)
  5268. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5269. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5270. end
  5271. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5272. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5273. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5274. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5275. CameraEnshaking(5,2.5)
  5276. MAINRUINCOLOR = BrickColor.new("Black")
  5277. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5278. for i = 0, 49 do
  5279. 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)
  5280. end
  5281. for i = 0,3,0.1 do
  5282. 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)
  5283. end
  5284. ModeOfGlitch = 666666
  5285. for i, v in pairs(mw2:GetChildren()) do
  5286. if v:IsA("Part") then
  5287. v.BrickColor = MAINRUINCOLOR
  5288. v.Material = "Neon"
  5289. end
  5290. end
  5291. for i, v in pairs(mw1:GetChildren()) do
  5292. if v:IsA("Part") then
  5293. v.Transparency = 0.75
  5294. v.BrickColor = BrickColor.random()
  5295. v.Material = "Neon"
  5296. end
  5297. end
  5298. for i, v in pairs(m:GetChildren()) do
  5299. if v:IsA("Part") then
  5300. v.BrickColor = BrickColor.new("Black")
  5301. v.Material = "Neon"
  5302. end
  5303. end
  5304. for i, v in pairs(m2:GetChildren()) do
  5305. if v:IsA("Part") then
  5306. v.BrickColor = BrickColor.random()
  5307. v.Material = "Neon"
  5308. end
  5309. end
  5310. for i, v in pairs(m3:GetChildren()) do
  5311. if v:IsA("Part") then
  5312. v.BrickColor = BrickColor.new("Black")
  5313. v.Material = "Neon"
  5314. end
  5315. end
  5316. for i, v in pairs(extrawingmod1:GetChildren()) do
  5317. if v:IsA("Part") then
  5318. v.Transparency = .75
  5319. v.BrickColor = BrickColor.Random()
  5320. v.Material = "Neon"
  5321. end
  5322. end
  5323. for i, v in pairs(extrawingmod2:GetChildren()) do
  5324. if v:IsA("Part") then
  5325. v.Transparency = 0
  5326. v.BrickColor = BrickColor.new("Black")
  5327. v.Material = "Neon"
  5328. end
  5329. end
  5330. for i = 0,2,0.1 do
  5331. swait()
  5332. 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)
  5333. 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)
  5334. 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)
  5335. 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)
  5336. 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)
  5337. 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)
  5338. end
  5339. hum.WalkSpeed = storehumanoidWS
  5340. attack = false
  5341. end))
  5342. end
  5343.  
  5344. local attacktype = 1
  5345. mouse.Button1Down:connect(function()
  5346. if attack == false and attacktype == 1 then
  5347. attacktype = 2
  5348. attackone()
  5349. elseif attack == false and attacktype == 2 then
  5350. attacktype = 3
  5351. attacktwo()
  5352. elseif attack == false and attacktype == 3 then
  5353. attacktype = 1
  5354. attackthree()
  5355. elseif attack == false and attacktype == 4 then
  5356. attacktype = 1
  5357. --attackfour()
  5358. end
  5359. end)
  5360.  
  5361. function Judgement()
  5362. attack = true
  5363. hum.WalkSpeed = 0
  5364. local p = Instance.new("Part",root)
  5365. p.Anchored = true
  5366. p.CanCollide = false
  5367. p.BrickColor = MAINRUINCOLOR
  5368. p.Material = Enum.Material.Neon
  5369. p.Size = Vector3.new(1,1,1)
  5370. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5371. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5372. local m = Instance.new("SpecialMesh",p)
  5373. m.MeshType = "Cylinder"
  5374. m.Scale = Vector3.new(2000,2,2)
  5375. local targ = Instance.new("Part",root)
  5376. targ.Transparency = 1
  5377. targ.CanCollide = false
  5378. targ.Size = Vector3.new(1,1,1)
  5379. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5380. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  5381. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  5382. for i = 1,15 do
  5383. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5384. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  5385. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  5386. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  5387. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  5388. 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)
  5389. 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)
  5390. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  5391. 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)
  5392. m.Scale = m.Scale+Vector3.new(0,1,1)
  5393. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5394. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5395. swait()
  5396. end
  5397. 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)
  5398. for i = 1,200 do
  5399. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5400. 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)
  5401. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  5402. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5403. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5404. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  5405. swait()
  5406. end
  5407. for i =1,15 do
  5408. m.Scale = m.Scale-Vector3.new(1,1,1)
  5409. p.Transparency = i / 15
  5410. swait()
  5411. end
  5412. p:Destroy()
  5413. hum.WalkSpeed = storehumanoidWS
  5414. attack = false
  5415. end
  5416.  
  5417. local ODerDB = false
  5418. function ChooseODer()
  5419. if(not ODerDB)then
  5420. coroutine.wrap(function()
  5421.  
  5422. local allowOD = true
  5423. local whom = (mouse.Target and mouse.Target.Parent)
  5424. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
  5425. ODerDB = true
  5426. for _,v in next, ODers do
  5427. if(v == whom)then
  5428. print'nO OD SELF'
  5429. allowOD = false
  5430. end
  5431. end
  5432. if(allowOD)then
  5433. 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))
  5434. local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
  5435.  
  5436. ref.CFrame = Torso.CFrame
  5437. ref.Anchored = true
  5438. local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5439. local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5440. local MPos = whom.Head.CFrame*cf(0,4,0)
  5441. for i = 0, 1, .05 do
  5442. swait()
  5443. ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
  5444.  
  5445. sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5446. if whom:FindFirstChild'Head' == nil then
  5447. break
  5448. end
  5449. end
  5450. ref:destroy()
  5451. if whom:FindFirstChild'Head' then
  5452. table.insert(ODers,whom)
  5453. if(#ODers > 2)then
  5454. table.remove(ODers,1)
  5455. end
  5456. 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)
  5457. end
  5458. end
  5459. ODerDB = false
  5460. end
  5461. end)()
  5462. end
  5463. end
  5464.  
  5465. function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  5466. attack = true
  5467. hum.WalkSpeed = 0
  5468. storehumanoidWS = 75
  5469. hum.JumpPower = 0
  5470. newThemeCust("rbxassetid://1420353940",0,1,1)
  5471. kan.TimePosition = 0
  5472. ModeOfGlitch = 8376532578634534
  5473. repeat swait() until kan.IsLoaded
  5474. chatfunc("Riddle me this..",text.TextStrokeColor3)
  5475. for i = 0, 14, .1 do
  5476. swait()
  5477. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5478. 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)
  5479. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5480. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5481. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5482. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5483. end
  5484. chatfunc("Riddle me that..",text.TextStrokeColor3)
  5485. for i = 0, 12, .1 do
  5486. swait()
  5487. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5488. 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)
  5489. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5490. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
  5491. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5492. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5493. end
  5494. chatfunc("Who's afraid of the big black..",Color3.new(1,1,1))
  5495. for i = 0, 16, .1 do
  5496. swait()
  5497. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5498. 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)
  5499. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5500. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5501. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5502. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5503. end
  5504. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5505. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5506. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5507. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5508. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  5509. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  5510. RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1))
  5511. CameraEnshaking(5,2.5)
  5512. MAINRUINCOLOR = BrickColor.new("Really black")
  5513. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5514. tl1.Enabled = true
  5515. tl2.Enabled = true
  5516. tl3.Enabled = true
  5517. for i = 0, 49 do
  5518. 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)
  5519. end
  5520. for i = 0,3,0.1 do
  5521. 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)
  5522. end
  5523. for i, v in pairs(mw2:GetChildren()) do
  5524. if v:IsA("Part") then
  5525. v.BrickColor = BrickColor.new("Really black")
  5526. v.Material = "Glass"
  5527. end
  5528. end
  5529. for i, v in pairs(mw1:GetChildren()) do
  5530. if v:IsA("Part") then
  5531. v.Transparency = 0
  5532. v.BrickColor = BrickColor.new("Really black")
  5533. v.Material = "Glass"
  5534. end
  5535. end
  5536. for i, v in pairs(m:GetChildren()) do
  5537. if v:IsA("Part") then
  5538. v.BrickColor = BrickColor.new("Really black")
  5539. v.Material = "Glass"
  5540. end
  5541. end
  5542. for i, v in pairs(m2:GetChildren()) do
  5543. if v:IsA("Part") then
  5544. v.BrickColor = BrickColor.new("Dark stone grey")
  5545. v.Material = "Granite"
  5546. end
  5547. end
  5548. for i, v in pairs(m3:GetChildren()) do
  5549. if v:IsA("Part") then
  5550. v.BrickColor = BrickColor.new("Really black")
  5551. v.Material = "Glass"
  5552. end
  5553. end
  5554. for i, v in pairs(extrawingmod1:GetChildren()) do
  5555. if v:IsA("Part") then
  5556. v.Transparency = 0
  5557. v.BrickColor = BrickColor.new("Dark stone grey")
  5558. v.Material = "Glass"
  5559. end
  5560. end
  5561. for i, v in pairs(extrawingmod2:GetChildren()) do
  5562. if v:IsA("Part") then
  5563. v.Transparency = 0
  5564. v.BrickColor = BrickColor.new("Dark stone grey")
  5565. v.Material = "Glass"
  5566. end
  5567. end
  5568. for i = 0,2,0.1 do
  5569. swait()
  5570. 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)
  5571. 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)
  5572. 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)
  5573. 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)
  5574. 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)
  5575. 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)
  5576. end
  5577. hum.JumpPower = 50
  5578. hum.WalkSpeed = storehumanoidWS
  5579. attack = false
  5580. end
  5581.  
  5582. function FuckMeSidewaysAndCallMeGay()
  5583. local whom = (mouse.Target and mouse.Target.Parent)
  5584. --[[local fuckThisBoi = false
  5585. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  5586. for _,v in next, ODers do
  5587. if(v == whom)then
  5588. fuckThisBoi = false
  5589. end
  5590. end
  5591. end
  5592. if(not fuckThisBoi)then
  5593. attack = false
  5594. warn'to fuck that boi you need to target them with z'
  5595. else]]
  5596. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  5597. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  5598. local hum = whom:FindFirstChildOfClass'Humanoid'
  5599. local ocf = RootPart.CFrame
  5600. hum.WalkSpeed = 0
  5601. hum.JumpPower = 0
  5602. hed.Anchored = true
  5603. RootPart.Anchored = true
  5604. Humanoid.WalkSpeed = 0
  5605. Humanoid.JumpPower = 0
  5606. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5607. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5608. for i = 0, 9 do
  5609. 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)
  5610. end
  5611. for i = 0, 24 do
  5612. 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)
  5613. end
  5614. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5615. attack = true
  5616. local speed = 1
  5617. local heck;
  5618. local stopitlol = false;
  5619. heck = mouse.KeyUp:connect(function(k)
  5620. if(k:lower() == 'm')then
  5621. stopitlol = true
  5622. heck:disconnect()
  5623. end
  5624. end)
  5625. local times = 0
  5626. repeat swait()
  5627. speed = speed - .01
  5628. times = times + 1
  5629. if(speed < .1)then
  5630. speed = .1
  5631. end
  5632. for i = 0, speed, .05 do
  5633. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5634. swait()
  5635. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5636. 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)
  5637. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  5638. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5639. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5640. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5641. end
  5642. CameraEnshaking(5,5)
  5643.  
  5644. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  5645.  
  5646. for i = 0, speed, .05 do
  5647. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5648. swait()
  5649. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5650. 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)
  5651. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5652. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5653. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5654. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5655. end
  5656. until stopitlol and times >= 3
  5657. for i = 1, 3 do
  5658. for i = 0, 1.5, .05 do
  5659. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5660. swait()
  5661. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5662. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5663. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  5664. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5665. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5666. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5667. end
  5668. CameraEnshaking(5,25)
  5669.  
  5670. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5671.  
  5672.  
  5673. coroutine.resume(coroutine.create(function()
  5674. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5675. bld.LightEmission = 0.1
  5676. bld.Texture = "rbxassetid://284205403"
  5677. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5678. bld.Rate = 500
  5679. bld.Lifetime = NumberRange.new(1)
  5680. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5681. bld.Acceleration = vt(0,-25,0)
  5682. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5683. bld.Speed = NumberRange.new(10,50)
  5684. bld.EmissionDirection = "Back"
  5685. bld.VelocitySpread = 25
  5686. bld.Rotation = NumberRange.new(-500,500)
  5687. bld.RotSpeed = NumberRange.new(-500,500)
  5688. bld.Enabled = false
  5689. bld:Emit(250)
  5690. end))
  5691. coroutine.resume(coroutine.create(function()
  5692. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5693. bld.LightEmission = 0.1
  5694. bld.Texture = "rbxassetid://284205403"
  5695. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5696. bld.Rate = 500
  5697. bld.Lifetime = NumberRange.new(1)
  5698. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5699. bld.Acceleration = vt(0,-25,0)
  5700. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5701. bld.Speed = NumberRange.new(10,50)
  5702. bld.EmissionDirection = "Back"
  5703. bld.VelocitySpread = 25
  5704. bld.Rotation = NumberRange.new(-500,500)
  5705. bld.RotSpeed = NumberRange.new(-500,500)
  5706. bld.Enabled = false
  5707. bld:Emit(250)
  5708. end))
  5709. for i = 0, 1.5, .05 do
  5710. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5711. swait()
  5712. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5713. 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)
  5714. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5715. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5716. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5717. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5718. end
  5719. end
  5720. for i = 0, 4, .05 do
  5721. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5722. swait()
  5723. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  5724. 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)
  5725. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  5726. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5727. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5728. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5729. end
  5730. CameraEnshaking(5,25)
  5731. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  5732. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5733.  
  5734. dmg(whom)
  5735. coroutine.resume(coroutine.create(function()
  5736. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5737. bld.LightEmission = 0.1
  5738. bld.Texture = "rbxassetid://284205403"
  5739. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5740. bld.Rate = 500
  5741. bld.Lifetime = NumberRange.new(1)
  5742. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5743. bld.Acceleration = vt(0,-25,0)
  5744. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5745. bld.Speed = NumberRange.new(10,50)
  5746. bld.EmissionDirection = "Back"
  5747. bld.VelocitySpread = 25
  5748. bld.Rotation = NumberRange.new(-500,500)
  5749. bld.RotSpeed = NumberRange.new(-500,500)
  5750. bld.Enabled = true
  5751. end))
  5752. coroutine.resume(coroutine.create(function()
  5753. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5754. bld.LightEmission = 0.1
  5755. bld.Texture = "rbxassetid://284205403"
  5756. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5757. bld.Rate = 500
  5758. bld.Lifetime = NumberRange.new(1)
  5759. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5760. bld.Acceleration = vt(0,-25,0)
  5761. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5762. bld.Speed = NumberRange.new(10,50)
  5763. bld.EmissionDirection = "Back"
  5764. bld.VelocitySpread = 25
  5765. bld.Rotation = NumberRange.new(-500,500)
  5766. bld.RotSpeed = NumberRange.new(-500,500)
  5767. bld.Enabled = true
  5768. end))
  5769. for i = 0, 3, .05 do
  5770. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5771. swait()
  5772. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  5773. 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)
  5774. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  5775. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5776. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5777. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5778. end
  5779.  
  5780. RootPart.CFrame = ocf
  5781. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5782. for i = 0, 9 do
  5783. 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)
  5784. end
  5785. for i = 0, 24 do
  5786. 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)
  5787. end
  5788. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5789. RootPart.Anchored = false
  5790. Humanoid.WalkSpeed = storehumanoidWS
  5791. Humanoid.JumpPower = 50
  5792. attack = false
  5793. end
  5794. end
  5795.  
  5796. local input = ""
  5797.  
  5798. mouse.KeyDown:connect(function(k)
  5799. if(k == "w" or k == "a" or k == "s" or k == "d")then
  5800. input = input .. k
  5801. local newInput = input
  5802. coroutine.wrap(function()
  5803. for i = 1, 25 do
  5804. if(newInput ~= input)then break end
  5805. swait()
  5806. end
  5807. if(newInput == input)then input = "" end
  5808. end)()
  5809. if(input == "w" and not AllowRape)then
  5810. AllowRape = true
  5811. warn("Rape unlocked! Have fun ;)")
  5812. elseif(input == "w" and not AllowCata)then
  5813. AllowCata = true
  5814. warn("You unlocked CATASTROPHE.")
  5815. elseif(input == 'd' and ModeOfGlitch == 4 and not attack)then
  5816. ChaosBegone()
  5817. end
  5818. end
  5819. end)
  5820.  
  5821. mouse.KeyDown:connect(function(k)
  5822. if k == "h" then
  5823.  
  5824. end
  5825.  
  5826. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  5827. ModeOfGlitch = 2
  5828. storehumanoidWS = 16
  5829. hum.WalkSpeed = 16
  5830. rainbowmode = false
  5831. chaosmode = false
  5832. glitchymode = false
  5833. tl1.Enabled = false
  5834. tl2.Enabled = false
  5835. tl3.Enabled = false
  5836. RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  5837. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
  5838. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
  5839. newTheme("rbxassetid://1539245059",0,1,1)
  5840. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5841. for i, v in pairs(mw2:GetChildren()) do
  5842. if v:IsA("Part") then
  5843. v.BrickColor = MAINRUINCOLOR
  5844. v.Material = "Neon"
  5845. end
  5846. end
  5847. for i, v in pairs(mw1:GetChildren()) do
  5848. if v:IsA("Part") then
  5849. v.Transparency = 1
  5850. v.BrickColor = MAINRUINCOLOR
  5851. v.Material = "Neon"
  5852. end
  5853. end
  5854. for i, v in pairs(m:GetChildren()) do
  5855. if v:IsA("Part") then
  5856. v.BrickColor = BrickColor.new("White")
  5857. v.Material = "Ice"
  5858. end
  5859. end
  5860. for i, v in pairs(m2:GetChildren()) do
  5861. if v:IsA("Part") then
  5862. v.BrickColor = BrickColor.new("Pastel light blue")
  5863. v.Material = "Glass"
  5864. end
  5865. end
  5866. for i, v in pairs(m3:GetChildren()) do
  5867. if v:IsA("Part") then
  5868. v.BrickColor = BrickColor.new("Toothpaste")
  5869. v.Material = "Neon"
  5870. end
  5871. end
  5872. for i, v in pairs(extrawingmod1:GetChildren()) do
  5873. if v:IsA("Part") then
  5874. v.Transparency = 1
  5875. v.BrickColor = BrickColor.new("White")
  5876. v.Material = "Neon"
  5877. end
  5878. end
  5879. for i, v in pairs(extrawingmod2:GetChildren()) do
  5880. if v:IsA("Part") then
  5881. v.Transparency = 1
  5882. v.BrickColor = BrickColor.new("White")
  5883. v.Material = "Neon"
  5884. end
  5885. end
  5886. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  5887. resetmode()
  5888. end
  5889. if k == "f" and attack == false and ModeOfGlitch ~= 69 then
  5890. lustmode()
  5891. elseif k == "f" and attack == false and ModeOfGlitch == 69 then
  5892. resetmode()
  5893. end
  5894. if k == "m" and attack == false and ModeOfGlitch == 1 then
  5895. RiddleMeThisRiddleMeThat()
  5896. elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
  5897. resetmode()
  5898. end
  5899. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  5900. ModeOfGlitch = 3
  5901. storehumanoidWS = 16
  5902. hum.WalkSpeed = 16
  5903. rainbowmode = false
  5904. chaosmode = false
  5905. glitchymode = true
  5906. tl1.Enabled = true
  5907. tl2.Enabled = true
  5908. tl3.Enabled = true
  5909. RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1))
  5910. newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
  5911. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  5912. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  5913. MAINRUINCOLOR = BrickColor.new("White")
  5914. for i, v in pairs(mw2:GetChildren()) do
  5915. if v:IsA("Part") then
  5916. v.BrickColor = MAINRUINCOLOR
  5917. v.Material = "Neon"
  5918. end
  5919. end
  5920. for i, v in pairs(mw1:GetChildren()) do
  5921. if v:IsA("Part") then
  5922. v.Transparency = 0
  5923. v.BrickColor = MAINRUINCOLOR
  5924. v.Material = "Neon"
  5925. end
  5926. end
  5927. for i, v in pairs(m:GetChildren()) do
  5928. if v:IsA("Part") then
  5929. v.BrickColor = BrickColor.new("Really black")
  5930. v.Material = "Ice"
  5931. end
  5932. end
  5933. for i, v in pairs(m2:GetChildren()) do
  5934. if v:IsA("Part") then
  5935. v.BrickColor = BrickColor.new("Dark indigo")
  5936. v.Material = "Glass"
  5937. end
  5938. end
  5939. for i, v in pairs(m3:GetChildren()) do
  5940. if v:IsA("Part") then
  5941. v.Transparency = 1
  5942. v.BrickColor = BrickColor.new("Royal purple")
  5943. v.Material = "Neon"
  5944. end
  5945. end
  5946. for i, v in pairs(extrawingmod1:GetChildren()) do
  5947. if v:IsA("Part") then
  5948. v.Transparency = 1
  5949. v.BrickColor = BrickColor.new("White")
  5950. v.Material = "Neon"
  5951. end
  5952. end
  5953. for i, v in pairs(extrawingmod2:GetChildren()) do
  5954. if v:IsA("Part") then
  5955. v.Transparency = 1
  5956. v.BrickColor = BrickColor.new("White")
  5957. v.Material = "Neon"
  5958. end
  5959. end
  5960. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  5961. resetmode()
  5962. end
  5963. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  5964. ModeOfGlitch = 4
  5965. storehumanoidWS = 16
  5966. hum.WalkSpeed = 16
  5967. rainbowmode = false
  5968. glitchymode = false
  5969. chaosmode = true
  5970. tl1.Enabled = true
  5971. tl2.Enabled = true
  5972. tl3.Enabled = true
  5973. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  5974. newTheme("rbxassetid://1369263130",0,1,1)
  5975. MAINRUINCOLOR = BrickColor.new("Black")
  5976. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5977. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5978. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5979. for i, v in pairs(mw2:GetChildren()) do
  5980. if v:IsA("Part") then
  5981. v.BrickColor = MAINRUINCOLOR
  5982. v.Material = "Neon"
  5983. end
  5984. end
  5985. for i, v in pairs(mw1:GetChildren()) do
  5986. if v:IsA("Part") then
  5987. v.Transparency = 0.75
  5988. v.BrickColor = BrickColor.random()
  5989. v.Material = "Neon"
  5990. end
  5991. end
  5992. for i, v in pairs(m:GetChildren()) do
  5993. if v:IsA("Part") then
  5994. v.BrickColor = BrickColor.new("Black")
  5995. v.Material = "Neon"
  5996. end
  5997. end
  5998. for i, v in pairs(m2:GetChildren()) do
  5999. if v:IsA("Part") then
  6000. v.BrickColor = BrickColor.random()
  6001. v.Material = "Neon"
  6002. end
  6003. end
  6004. for i, v in pairs(m3:GetChildren()) do
  6005. if v:IsA("Part") then
  6006. v.BrickColor = BrickColor.new("Black")
  6007. v.Material = "Neon"
  6008. end
  6009. end
  6010. for i, v in pairs(extrawingmod1:GetChildren()) do
  6011. if v:IsA("Part") then
  6012. v.Transparency = 1
  6013. v.BrickColor = BrickColor.new("White")
  6014. v.Material = "Neon"
  6015. end
  6016. end
  6017. for i, v in pairs(extrawingmod2:GetChildren()) do
  6018. if v:IsA("Part") then
  6019. v.Transparency = 1
  6020. v.BrickColor = BrickColor.new("White")
  6021. v.Material = "Neon"
  6022. end
  6023. end
  6024. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  6025. resetmode()
  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 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) 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