Advertisement
NoHackJustStevePlayz

Nebula glitcher (test)

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