Advertisement
NoHackJustStevePlayz

....

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