Advertisement
kostik228

nothing

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