Advertisement
PiterMosskva_TV

omggg

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