Advertisement
CrastAndNoob

Meme Glitcher

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