Advertisement
kostik228

VirusDeo

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