Advertisement
Guest User

Untitled

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