Advertisement
lundofett

Untitled

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