Advertisement
Guest User

gogogo

a guest
Aug 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 293.35 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'Star Glitcher Loaded.'
  175. warn'All purpose switcher...'
  176. warn'Created by Noobygames12'
  177. warn'Edited by Neubla_Zorua'
  178. warn([[Icons:
  179. ! = New
  180. ? = Spoilers
  181. * = Exclusivity]])
  182. print([[V 3.21 (ON PROGRESS) Update Log:
  183. ! - Changed Judgement back to Justice
  184. ! - Gave Divinity an attack named Judgement. Credit to XXUNORIB
  185. ! - Replaced Corruption with Glitchy
  186. ! - Fixed some bugs, too
  187. ! - Changed Chaos's "B" (Chaos Begone) to a keystroke. (ddawas)
  188. ]])
  189.  
  190. --- its obs smooth af do not touch
  191. ---- Sources and functions might be taken from others
  192. plr = game:GetService("Players").LocalPlayer
  193. char = plr.Character
  194. hum = char:FindFirstChildOfClass'Humanoid'
  195. local cam = game.Workspace.CurrentCamera
  196. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  197. Camera = cam
  198. local CamInterrupt = false
  199. local TwoD = false
  200. local TargetInfo = {nil, nil}
  201. cam.CameraType = "Custom"
  202. t = char.Torso
  203. h = char.Head
  204. ra = char["Right Arm"]
  205. la = char["Left Arm"]
  206. rl = char["Right Leg"]
  207. ll = char["Left Leg"]
  208. tors = char.Torso
  209. lleg = char["Left Leg"]
  210. root = char.HumanoidRootPart
  211. hed = char.Head
  212. rleg = char["Right Leg"]
  213. rarm = char["Right Arm"]
  214. larm = char["Left Arm"]
  215. radian = math.rad
  216. random = math.random
  217. Vec3 = Vector3.new
  218. Inst = Instance.new
  219. cFrame = CFrame.new
  220. Euler = CFrame.fromEulerAnglesXYZ
  221. vt = Vector3.new
  222. bc = BrickColor.new
  223. br = BrickColor.random
  224. it = Instance.new
  225. cf = CFrame.new
  226.  
  227. local ODers = {}
  228.  
  229. local AllowRape = false;
  230. local AllowCata = false;
  231.  
  232. local Booleans = {
  233. CamFollow = true,
  234. GyroUse = true
  235. }
  236.  
  237. function lerp(object, newCFrame, alpha)
  238. return object:lerp(newCFrame, alpha)
  239. end
  240.  
  241. local Directer = Inst("BodyGyro", root)
  242. Directer.MaxTorque = Vec3(0, 0, 0)
  243. Directer.P = 600000
  244. local CPart = Inst("Part")
  245. CPart.Anchored = true
  246. CPart.CanCollide = false
  247. CPart.Locked = true
  248. CPart.Transparency = 1
  249.  
  250. local rainbowmode = false
  251. local chaosmode = false
  252. local glitchymode = false
  253. kan = Instance.new("Sound",char)
  254. kan.Volume = 1.25
  255. kan.TimePosition = 0
  256. kan.PlaybackSpeed = 1
  257. kan.Pitch = 1
  258. kan.SoundId = "rbxassetid://1564523997"
  259. kan.Name = "wrecked"
  260. kan.Looped = true
  261. kan:Play()
  262.  
  263. local MID = "rbxassetid://1564523997";
  264. local Pitch = 1;
  265.  
  266. function newTheme(ID,timepos,pitch,vol)
  267. local kanz = kan
  268. --kanz:Stop()
  269. --kanz.Volume = vol
  270. --kanz.TimePosition = timepos
  271. kanz.PlaybackSpeed = pitch
  272. kanz.Pitch = pitch
  273. kanz.SoundId = ID
  274. kanz.Name = "wrecked"
  275. kanz.Looped = true
  276. Pitch = pitch
  277. MID = ID
  278. --kanz:Play()
  279. --coroutine.resume(coroutine.create(function()
  280. --wait(0.05)
  281. --end))
  282. end
  283.  
  284. function newThemeCust(ID,timepos,pitch,vol)
  285. local kanz = kan
  286. kanz:Stop()
  287. kanz.Volume = vol
  288. kanz.TimePosition = timepos
  289. kanz.PlaybackSpeed = pitch
  290. kanz.Pitch = pitch
  291. MID = ID
  292. kanz.SoundId = ID
  293. kanz.Name = "wrecked"
  294. kanz.Looped = true
  295. kanz:Play()
  296. coroutine.resume(coroutine.create(function()
  297. wait(0.05)
  298. end))
  299. end
  300.  
  301.  
  302.  
  303. function CameraShake(Times, Power, PlayerTarget)
  304. coroutine.resume(coroutine.create(function()
  305. FV = Instance.new("BoolValue", PlayerTarget)
  306. FV.Name = "CameraShake"
  307. for ShakeNum=1,Times do
  308. swait()
  309. local ef=Power
  310. if ef>=1 then
  311. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  312. else
  313. ef=Power*10
  314. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  315. end
  316. end
  317. Humanoid.CameraOffset = Vector3.new(0,0,0)
  318. FV:Destroy()
  319. end))
  320. end
  321.  
  322. function CameraEnshaking(Length,Intensity)
  323. coroutine.resume(coroutine.create(function()
  324. local intensity = 1*Intensity
  325. local rotM = 0.01*Intensity
  326. for i = 0, Length, 0.1 do
  327. swait()
  328. intensity = intensity - 0.05*Intensity/Length
  329. rotM = rotM - 0.0005*Intensity/Length
  330. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  331. 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)
  332. end
  333. Humanoid.CameraOffset = Vec3(0, 0, 0)
  334. end))
  335. end
  336. CamShake=function(Part,Distan,Power,Times)
  337. local de=Part.Position
  338. for i,v in pairs(workspace:children()) do
  339. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  340. for _,c in pairs(v:children()) do
  341. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  342. local Noob=vFindFirstChildOfClass'Humanoid'
  343. if Noob~=nil then
  344. coroutine.resume(coroutine.create(function()
  345. FV = Instance.new("BoolValue", Noob)
  346. FV.Name = "CameraShake"
  347. for ShakeNum=1,Times do
  348. swait()
  349. local ef=Power
  350. if ef>=1 then
  351. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  352. else
  353. ef=Power*10
  354. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  355. end
  356. end
  357. Humanoid.CameraOffset = Vector3.new(0,0,0)
  358. FV:Destroy()
  359. end))
  360. CameraShake(Times, Power, Noob)
  361. end
  362. end
  363. end
  364. end
  365. end
  366. end
  367.  
  368. function chatfunc(text,color)
  369. local chat = coroutine.wrap(function()
  370. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  371. Character:FindFirstChild("TalkingBillBoard"):destroy()
  372. end
  373. local naeeym2 = Instance.new("BillboardGui",Character)
  374. naeeym2.Size = UDim2.new(0,100,0,40)
  375. naeeym2.StudsOffset = Vector3.new(0,3,0)
  376. naeeym2.Adornee = Character.Head
  377. naeeym2.Name = "TalkingBillBoard"
  378. local tecks2 = Instance.new("TextLabel",naeeym2)
  379. tecks2.BackgroundTransparency = 1
  380. tecks2.BorderSizePixel = 0
  381. tecks2.Text = ""
  382. tecks2.Font = "SciFi"
  383. tecks2.TextSize = 30
  384. tecks2.TextStrokeTransparency = 0
  385. tecks2.TextColor3 = color
  386. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  387. tecks2.Size = UDim2.new(1,0,0.5,0)
  388. local tecks3 = Instance.new("TextLabel",naeeym2)
  389. tecks3.BackgroundTransparency = 1
  390. tecks3.BorderSizePixel = 0
  391. tecks3.Text = ""
  392. tecks3.Font = "SciFi"
  393. tecks3.TextSize = 30
  394. tecks3.TextStrokeTransparency = 0
  395. tecks3.TextColor3 = Color3.new(0,0,0)
  396. tecks3.TextStrokeColor3 = color
  397. tecks3.Size = UDim2.new(1,0,0.5,0)
  398. coroutine.resume(coroutine.create(function()
  399. while true do
  400. swait(1)
  401. if chaosmode == true then
  402. tecks2.TextColor3 = BrickColor.random().Color
  403. tecks3.TextStrokeColor3 = BrickColor.random().Color
  404. end
  405. if(glitchymode)then
  406. local val = math.random(1,255)
  407. local color = Color3.fromRGB(val,val,val)
  408. tecks2.TextColor3 = color
  409. tecks3.TextStrokeColor3 = color
  410. end
  411. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  412. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  413. tecks2.Rotation = math.random(-5,5)
  414. tecks3.Rotation = math.random(-5,5)
  415. end
  416. end))
  417. for i = 1,string.len(text),1 do
  418. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  419. tecks2.Text = string.sub(text,1,i)
  420. tecks3.Text = string.sub(text,1,i)
  421. swait(1)
  422. end
  423. wait(1)
  424. local randomrot = math.random(1,2)
  425. if randomrot == 1 then
  426. for i = 1, 50 do
  427. swait()
  428. tecks2.Rotation = tecks2.Rotation - .75
  429. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  430. tecks2.TextTransparency = tecks2.TextTransparency + .04
  431. tecks3.Rotation = tecks2.Rotation + .75
  432. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  433. tecks3.TextTransparency = tecks2.TextTransparency + .04
  434. end
  435. elseif randomrot == 2 then
  436. for i = 1, 50 do
  437. swait()
  438. tecks2.Rotation = tecks2.Rotation + .75
  439. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  440. tecks2.TextTransparency = tecks2.TextTransparency + .04
  441. tecks3.Rotation = tecks2.Rotation - .75
  442. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  443. tecks3.TextTransparency = tecks2.TextTransparency + .04
  444. end
  445. end
  446. naeeym2:Destroy()
  447. end)
  448. chat()
  449. end
  450.  
  451.  
  452. local Create = LoadLibrary("RbxUtility").Create
  453.  
  454. CFuncs = {
  455. ["Part"] = {
  456. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  457. local Part = Create("Part"){
  458. Parent = Parent,
  459. Reflectance = Reflectance,
  460. Transparency = Transparency,
  461. CanCollide = false,
  462. Locked = true,
  463. BrickColor = BrickColor.new(tostring(BColor)),
  464. Name = Name,
  465. Size = Size,
  466. Material = Material,
  467. }
  468. RemoveOutlines(Part)
  469. return Part
  470. end;
  471. };
  472.  
  473. ["Mesh"] = {
  474. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  475. local Msh = Create(Mesh){
  476. Parent = Part,
  477. Offset = OffSet,
  478. Scale = Scale,
  479. }
  480. if Mesh == "SpecialMesh" then
  481. Msh.MeshType = MeshType
  482. Msh.MeshId = MeshId
  483. end
  484. return Msh
  485. end;
  486. };
  487.  
  488. ["Mesh"] = {
  489. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  490. local Msh = Create(Mesh){
  491. Parent = Part,
  492. Offset = OffSet,
  493. Scale = Scale,
  494. }
  495. if Mesh == "SpecialMesh" then
  496. Msh.MeshType = MeshType
  497. Msh.MeshId = MeshId
  498. end
  499. return Msh
  500. end;
  501. };
  502.  
  503. ["Weld"] = {
  504. Create = function(Parent, Part0, Part1, C0, C1)
  505. local Weld = Create("Weld"){
  506. Parent = Parent,
  507. Part0 = Part0,
  508. Part1 = Part1,
  509. C0 = C0,
  510. C1 = C1,
  511. }
  512. return Weld
  513. end;
  514. };
  515.  
  516. ["Sound"] = {
  517. Create = function(id, par, vol, pit)
  518. return coroutine.wrap(function()
  519. local S = Create("Sound"){
  520. Volume = vol,
  521. Name = "EffectSoundo",
  522. Pitch = pit or 1,
  523. SoundId = id,
  524. Parent = par or workspace,
  525. }
  526. S:Play()
  527. S.Ended:connect(function()
  528. S:Destroy()
  529. end)
  530. return S;
  531. end)()
  532. end;
  533. };
  534.  
  535. ["LongSound"] = {
  536. Create = function(id, par, vol, pit)
  537. coroutine.resume(coroutine.create(function()
  538. local S = Create("Sound"){
  539. Volume = vol,
  540. Pitch = pit or 1,
  541. SoundId = id,
  542. Parent = par or workspace,
  543. }
  544. wait()
  545. S:play()
  546. game:GetService("Debris"):AddItem(S, 30)
  547. end))
  548. end;
  549. };
  550.  
  551. ["ParticleEmitter"] = {
  552. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  553. local fp = Create("ParticleEmitter"){
  554. Parent = Parent,
  555. Color = ColorSequence.new(Color1, Color2),
  556. LightEmission = LightEmission,
  557. Size = Size,
  558. Texture = Texture,
  559. Transparency = Transparency,
  560. ZOffset = ZOffset,
  561. Acceleration = Accel,
  562. Drag = Drag,
  563. LockedToPart = LockedToPart,
  564. VelocityInheritance = VelocityInheritance,
  565. EmissionDirection = EmissionDirection,
  566. Enabled = Enabled,
  567. Lifetime = LifeTime,
  568. Rate = Rate,
  569. Rotation = Rotation,
  570. RotSpeed = RotSpeed,
  571. Speed = Speed,
  572. VelocitySpread = VelocitySpread,
  573. }
  574. return fp
  575. end;
  576. };
  577.  
  578. CreateTemplate = {
  579.  
  580. };
  581. }
  582.  
  583.  
  584.  
  585. New = function(Object, Parent, Name, Data)
  586. local Object = Instance.new(Object)
  587. for Index, Value in pairs(Data or {}) do
  588. Object[Index] = Value
  589. end
  590. Object.Parent = Parent
  591. Object.Name = Name
  592. return Object
  593. end
  594. local halocolor = BrickColor.new("Pastel light blue")
  595. local halocolor2 = BrickColor.new("Cool yellow")
  596. local starcolor = BrickColor.new("Bright yellow")
  597. local lunacolor = BrickColor.new("Navy blue")
  598. local lunacolor2 = BrickColor.new("Bright blue")
  599. local wepcolor = BrickColor.new("Really black")
  600. local maincolor = BrickColor.new("Really black")
  601. local m = Instance.new("Model",char)
  602. local m2 = Instance.new("Model",char)
  603. local m3 = Instance.new("Model",char)
  604. local mw1 = Instance.new("Model",char)
  605. local mw2 = Instance.new("Model",char)
  606.  
  607. local extrawingmod1 = Instance.new("Model",char)
  608. local extrawingmod2 = Instance.new("Model",char)
  609.  
  610. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  611. local p = Instance.new("Part")
  612. p.TopSurface = 0
  613. p.BottomSurface = 0
  614. p.Parent = parent
  615. p.Size = Vector3.new(0.1,0.1,0.1)
  616. p.Transparency = transparency
  617. p.Reflectance = reflectance
  618. p.CanCollide = false
  619. p.Locked = true
  620. p.BrickColor = brickcolor
  621. p.Material = material
  622. return p
  623. end
  624.  
  625. function CreateMesh(parent,meshtype,x1,y1,z1)
  626. local mesh = Instance.new("SpecialMesh",parent)
  627. mesh.MeshType = meshtype
  628. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  629. return mesh
  630. end
  631.  
  632. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  633. local mesh = Instance.new("SpecialMesh",parent)
  634. mesh.MeshType = "FileMesh"
  635. mesh.MeshId = meshid
  636. mesh.Scale = Vector3.new(x1,y1,z1)
  637. return mesh
  638. end
  639.  
  640.  
  641. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  642. local mesh = Instance.new("SpecialMesh",parent)
  643. mesh.MeshType = "FileMesh"
  644. mesh.MeshId = meshid
  645. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  646. mesh.Scale = Vector3.new(x1,y1,z1)
  647. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  648. return mesh
  649. end
  650.  
  651. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  652. local weld = Instance.new("Weld")
  653. weld.Parent = parent
  654. weld.Part0 = part0
  655. weld.Part1 = part1
  656. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  657. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  658. return weld
  659. end
  660.  
  661. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  662. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  663. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  664. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  665.  
  666. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  667. CreateMesh(handle,"Brick",0,0,0)
  668. 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))
  669. local valuaring = 10
  670. for i = 0, 49 do
  671. valuaring = valuaring + 10
  672. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  673. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  674. 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))
  675. end
  676.  
  677. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  678. CreateMesh(handle,"Brick",0,0,0)
  679. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  680. local valuaring = 10
  681. for i = 0, 49 do
  682. valuaring = valuaring + 10
  683. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  684. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  685. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  686. end
  687.  
  688.  
  689. local handle = CreateParta(m,1,1,"Neon",maincolor)
  690. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  691. 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))
  692.  
  693. --- Left wing.
  694.  
  695. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  696. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  697. 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))
  698.  
  699. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  700. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  701. 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))
  702. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  703. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  704. 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))
  705. A0 = Instance.new('Attachment',wed)
  706. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  707. CreateMesh(wed,"Wedge",0.05,0.5,3)
  708. 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))
  709. A1 = Instance.new('Attachment',wed)
  710. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  711. CreateMesh(wed,"Wedge",0.05,3,0.5)
  712. 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))
  713.  
  714. tl1 = Instance.new('Trail',wed)
  715. tl1.Attachment0 = A0
  716. tl1.Attachment1 = A1
  717. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  718. tl1.LightEmission = 1
  719. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  720. tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  721. tl1.Lifetime = 0.6
  722.  
  723.  
  724. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  725. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  726. 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))
  727.  
  728. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  729. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  730. 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))
  731. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  732. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  733. 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))
  734. A0 = Instance.new('Attachment',wed)
  735. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  736. CreateMesh(wed,"Wedge",0.05,0.5,3)
  737. 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))
  738. A1 = Instance.new('Attachment',wed)
  739. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  740. CreateMesh(wed,"Wedge",0.05,3,0.5)
  741. 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))
  742.  
  743. tl2 = Instance.new('Trail',wed)
  744. tl2.Attachment0 = A0
  745. tl2.Attachment1 = A1
  746. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  747. tl2.LightEmission = 1
  748. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  749. tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  750. tl2.Lifetime = 0.6
  751.  
  752. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  753. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  754. 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))
  755.  
  756. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  757. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  758. 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))
  759. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  760. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  761. 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))
  762. A0 = Instance.new('Attachment',wed)
  763. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  764. CreateMesh(wed,"Wedge",0.05,0.5,3)
  765. 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))
  766. A1 = Instance.new('Attachment',wed)
  767. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  768. CreateMesh(wed,"Wedge",0.05,3,0.5)
  769. 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))
  770.  
  771. tl3 = Instance.new('Trail',wed)
  772. tl3.Attachment0 = A0
  773. tl3.Attachment1 = A1
  774. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  775. tl3.LightEmission = 1
  776. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  777. tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  778. tl3.Lifetime = 0.6
  779.  
  780. tl1.Enabled = false
  781. tl2.Enabled = false
  782. tl3.Enabled = false
  783. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  784. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  785. 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))
  786.  
  787. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  788. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  789. 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))
  790. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  791. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  792. 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))
  793. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  794. CreateMesh(wed,"Wedge",0.05,0.5,3)
  795. 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))
  796. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  797. CreateMesh(wed,"Wedge",0.05,3,0.5)
  798. 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))
  799.  
  800. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  801. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  802. 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))
  803.  
  804. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  805. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  806. 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))
  807. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  808. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  809. 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))
  810. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  811. CreateMesh(wed,"Wedge",0.05,0.5,3)
  812. 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))
  813. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  814. CreateMesh(wed,"Wedge",0.05,3,0.5)
  815. 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))
  816.  
  817. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  818. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  819. 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))
  820.  
  821. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  822. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  823. 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))
  824. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  825. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  826. 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))
  827. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  828. CreateMesh(wed,"Wedge",0.05,0.5,3)
  829. 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))
  830. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  831. CreateMesh(wed,"Wedge",0.05,3,0.5)
  832. 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))
  833.  
  834. -- Right wing.
  835.  
  836. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  837. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  838. 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))
  839.  
  840. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  841. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  842. 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))
  843. A0 = Instance.new('Attachment',wed)
  844. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  845. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  846. 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))
  847. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  848. CreateMesh(wed,"Wedge",0.05,0.5,3)
  849. 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))
  850. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  851. CreateMesh(wed,"Wedge",0.05,3,0.5)
  852. 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))
  853. A1 = Instance.new('Attachment',wed)
  854.  
  855. tr1 = Instance.new('Trail',wed)
  856. tr1.Attachment0 = A0
  857. tr1.Attachment1 = A1
  858. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  859. tr1.LightEmission = 1
  860. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  861. tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  862. tr1.Lifetime = 0.6
  863.  
  864. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  865. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  866. 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))
  867.  
  868. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  869. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  870. 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))
  871. A0 = Instance.new('Attachment',wed)
  872. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  873. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  874. 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))
  875. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  876. CreateMesh(wed,"Wedge",0.05,0.5,3)
  877. 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))
  878. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  879. CreateMesh(wed,"Wedge",0.05,3,0.5)
  880. 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))
  881. A1 = Instance.new('Attachment',wed)
  882.  
  883. tr2 = Instance.new('Trail',wed)
  884. tr2.Attachment0 = A0
  885. tr2.Attachment1 = A1
  886. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  887. tr2.LightEmission = 1
  888. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  889. tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  890. tr2.Lifetime = 0.6
  891.  
  892. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  893. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  894. 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))
  895.  
  896. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  897. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  898. 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))
  899. A0 = Instance.new('Attachment',wed)
  900. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  901. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  902. 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))
  903. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  904. CreateMesh(wed,"Wedge",0.05,0.5,3)
  905. 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))
  906. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  907. CreateMesh(wed,"Wedge",0.05,3,0.5)
  908. 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))
  909. A1 = Instance.new('Attachment',wed)
  910.  
  911. tr3 = Instance.new('Trail',wed)
  912. tr3.Attachment0 = A0
  913. tr3.Attachment1 = A1
  914. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  915. tr3.LightEmission = 1
  916. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  917. tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  918. tr3.Lifetime = 0.6
  919.  
  920.  
  921. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  922. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  923. 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))
  924.  
  925. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  926. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  927. 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))
  928. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  929. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  930. 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))
  931. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  932. CreateMesh(wed,"Wedge",0.05,0.5,3)
  933. 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))
  934. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  935. CreateMesh(wed,"Wedge",0.05,3,0.5)
  936. 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))
  937.  
  938. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  939. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  940. 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))
  941.  
  942. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  943. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  944. 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))
  945. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  946. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  947. 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))
  948. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  949. CreateMesh(wed,"Wedge",0.05,0.5,3)
  950. 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))
  951. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  952. CreateMesh(wed,"Wedge",0.05,3,0.5)
  953. 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))
  954.  
  955. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  956. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  957. 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))
  958.  
  959. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  960. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  961. 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))
  962. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  963. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  964. 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))
  965. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  966. CreateMesh(wed,"Wedge",0.05,0.5,3)
  967. 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))
  968. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  969. CreateMesh(wed,"Wedge",0.05,3,0.5)
  970. 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))
  971.  
  972. ---- HERES THE RING
  973.  
  974.  
  975. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  976. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  977. 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))
  978. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  979. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  980. 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))
  981. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  982. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  983. 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))
  984.  
  985.  
  986. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  987. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  988. 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))
  989.  
  990. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  991. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  992. 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))
  993.  
  994.  
  995.  
  996. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  997. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  998. 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))
  999.  
  1000. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1001. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1002. 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))
  1003.  
  1004. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1005. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1006. 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))
  1007.  
  1008. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1009. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1010. 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))
  1011. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1012. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1013. 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))
  1014.  
  1015. -- S section A
  1016.  
  1017. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1018. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1019. CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1020. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1021. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1022. CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1023. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1024. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1025. CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1026.  
  1027. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1028. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1029. 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))
  1030. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1031. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1032. 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))
  1033. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1034. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1035. 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))
  1036.  
  1037. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1038. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1039. 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))
  1040. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1041. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1042. 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))
  1043. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1044. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1045. 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))
  1046.  
  1047. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1048. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1049. 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))
  1050. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1051. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1052. 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))
  1053. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1054. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1055. 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))
  1056.  
  1057. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1058. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1059. 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))
  1060. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1061. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1062. 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))
  1063. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1064. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1065. 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))
  1066.  
  1067. -- S section B
  1068.  
  1069. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1070. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1071. 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))
  1072. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1073. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1074. 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))
  1075. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1076. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1077. 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))
  1078.  
  1079. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1080. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1081. 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))
  1082. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1083. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1084. 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))
  1085. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1086. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1087. 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))
  1088.  
  1089. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1090. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1091. 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))
  1092. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1093. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1094. 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))
  1095. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1096. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1097. 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))
  1098.  
  1099. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1100. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1101. 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))
  1102. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1103. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1104. 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))
  1105. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1106. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1107. 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))
  1108.  
  1109. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1110. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1111. 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))
  1112. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1113. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1114. 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))
  1115. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1116. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1117. 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))
  1118.  
  1119. --- second ring
  1120.  
  1121. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1122. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1123. 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))
  1124. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1125. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1126. 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))
  1127. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1128. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1129. 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))
  1130.  
  1131. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1132. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1133. 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))
  1134.  
  1135. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1136. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1137. 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))
  1138.  
  1139.  
  1140.  
  1141. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1142. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1143. 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))
  1144.  
  1145. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1146. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1147. 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))
  1148.  
  1149. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1150. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1151. 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))
  1152.  
  1153. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1154. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1155. 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))
  1156. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1157. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1158. 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))
  1159.  
  1160. -- S section A
  1161.  
  1162. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1163. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1164. CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1165. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1166. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1167. CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1168. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1169. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1170. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1171.  
  1172. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1173. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1174. 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))
  1175. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1176. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1177. 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))
  1178. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1179. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1180. 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))
  1181.  
  1182. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1183. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1184. 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))
  1185. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1186. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1187. 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))
  1188. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1189. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1190. 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))
  1191.  
  1192. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1193. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1194. 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))
  1195. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1196. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1197. 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))
  1198. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1199. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1200. 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))
  1201.  
  1202. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1203. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1204. 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))
  1205. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1206. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1207. 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))
  1208. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1209. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1210. 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))
  1211.  
  1212. -- S section B
  1213.  
  1214. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1215. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1216. 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))
  1217. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1218. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1219. 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))
  1220. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1221. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1222. 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))
  1223.  
  1224. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1225. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1226. 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))
  1227. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1228. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1229. 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))
  1230. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1231. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1232. 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))
  1233.  
  1234. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1235. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1236. 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))
  1237. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1238. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1239. 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))
  1240. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1241. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1242. 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))
  1243.  
  1244. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1245. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1246. 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))
  1247. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1248. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1249. 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))
  1250. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1251. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1252. 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))
  1253.  
  1254. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1255. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1256. 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))
  1257. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1258. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1259. 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))
  1260. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1261. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1262. 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))]]--
  1263.  
  1264.  
  1265. for i, v in pairs(m:GetChildren()) do
  1266. if v:IsA("Part") then
  1267. v.BrickColor = BrickColor.new("Really black")
  1268. v.Material = "Glass"
  1269. end
  1270. end
  1271. for i, v in pairs(m2:GetChildren()) do
  1272. if v:IsA("Part") then
  1273. v.BrickColor = BrickColor.new("Dark stone grey")
  1274. v.Material = "Granite"
  1275. end
  1276. end
  1277. for i, v in pairs(m3:GetChildren()) do
  1278. if v:IsA("Part") then
  1279. v.BrickColor = BrickColor.new("Really black")
  1280. v.Material = "Neon"
  1281. end
  1282. end
  1283. for i, v in pairs(mw2:GetChildren()) do
  1284. if v:IsA("Part") then
  1285. v.BrickColor = BrickColor.new("Really black")
  1286. v.Material = "Neon"
  1287. end
  1288. end
  1289. for i, v in pairs(mw1:GetChildren()) do
  1290. if v:IsA("Part") then
  1291. v.Transparency = 1
  1292. v.BrickColor = BrickColor.new("Really black")
  1293. v.Material = "Neon"
  1294. end
  1295. end
  1296. for i, v in pairs(extrawingmod1:GetChildren()) do
  1297. if v:IsA("Part") then
  1298. v.Transparency = 1
  1299. v.BrickColor = BrickColor.new("White")
  1300. v.Material = "Neon"
  1301. end
  1302. end
  1303. for i, v in pairs(extrawingmod2:GetChildren()) do
  1304. if v:IsA("Part") then
  1305. v.Transparency = 1
  1306. v.BrickColor = BrickColor.new("White")
  1307. v.Material = "Neon"
  1308. end
  1309. end
  1310. local MAINRUINCOLOR = BrickColor.new("Really black")
  1311. ------
  1312.  
  1313.  
  1314. function RemoveOutlines(part)
  1315. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1316. end
  1317. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1318. local Part = Create("Part")({
  1319. Parent = Parent,
  1320. Reflectance = Reflectance,
  1321. Transparency = Transparency,
  1322. CanCollide = false,
  1323. Locked = true,
  1324. BrickColor = BrickColor.new(tostring(BColor)),
  1325. Name = Name,
  1326. Size = Size,
  1327. Material = Material
  1328. })
  1329. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1330. RemoveOutlines(Part)
  1331. return Part
  1332. end
  1333. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1334. local Msh = Create(Mesh)({
  1335. Parent = Part,
  1336. Offset = OffSet,
  1337. Scale = Scale
  1338. })
  1339. if Mesh == "SpecialMesh" then
  1340. Msh.MeshType = MeshType
  1341. Msh.MeshId = MeshId
  1342. end
  1343. return Msh
  1344. end
  1345. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1346. local Weld = Create("Weld")({
  1347. Parent = Parent,
  1348. Part0 = Part0,
  1349. Part1 = Part1,
  1350. C0 = C0,
  1351. C1 = C1
  1352. })
  1353. return Weld
  1354. end
  1355.  
  1356. Player=game:GetService("Players").LocalPlayer
  1357. Character=Player.Character
  1358. PlayerGui=Player.PlayerGui
  1359. Backpack=Player.Backpack
  1360. Torso=Character.Torso
  1361. Head=Character.Head
  1362. Humanoid=Character:FindFirstChildOfClass'Humanoid'
  1363. m=Instance.new('Model',Character)
  1364. LeftArm=Character["Left Arm"]
  1365. LeftLeg=Character["Left Leg"]
  1366. RightArm=Character["Right Arm"]
  1367. RightLeg=Character["Right Leg"]
  1368. LS=Torso["Left Shoulder"]
  1369. LH=Torso["Left Hip"]
  1370. RS=Torso["Right Shoulder"]
  1371. RH=Torso["Right Hip"]
  1372. Face = Head.face
  1373. Neck=Torso.Neck
  1374. it=Instance.new
  1375. attacktype=1
  1376. vt=Vector3.new
  1377. cf=CFrame.new
  1378. euler=CFrame.fromEulerAnglesXYZ
  1379. angles=CFrame.Angles
  1380. cloaked=false
  1381. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1382. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1383. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1384. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1385. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1386. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1387. RootPart=Character.HumanoidRootPart
  1388. RootJoint=RootPart.RootJoint
  1389. RootCF=euler(-1.57,0,3.14)
  1390. attack = false
  1391. attackdebounce = false
  1392. deb=false
  1393. equipped=true
  1394. hand=false
  1395. MMouse=nil
  1396. combo=0
  1397. mana=0
  1398. trispeed=.2
  1399. attackmode='none'
  1400. local idle=0
  1401. local Anim="Idle"
  1402. local Effects={}
  1403. local gun=false
  1404. local shoot=false
  1405. local sine = 0
  1406. local change = 1
  1407. player=nil
  1408. pcall(function()char.LeftWing:destroy()end)
  1409. pcall(function()char.Halo:destroy()end)
  1410. local toggleTag = true
  1411. local txt = Instance.new("BillboardGui", Head)
  1412. txt.Adornee = nil
  1413. txt.Name = "NameDetect"
  1414. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1415. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1416. local text = Instance.new("TextLabel", txt)
  1417. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1418. text.FontSize = "Size8"
  1419. text.TextScaled = true
  1420. text.TextTransparency = 0
  1421. text.BackgroundTransparency = 1
  1422. text.TextTransparency = 0
  1423. text.TextStrokeTransparency = 0
  1424. text.Font = "Fantasy"
  1425. text.TextStrokeColor3 = Color3.new(1,1,1)
  1426. text.TextColor3 = Color3.new(0,0,0)
  1427. text.Text = "Solitude"
  1428.  
  1429. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  1430. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  1431.  
  1432. function RecolorTextAndRename(name,col1,col2)
  1433. text.TextStrokeColor3 = col2
  1434. text.TextColor3 = col1
  1435. text.Text = name
  1436. end
  1437. mouse=Player:GetMouse()
  1438. --save shoulders
  1439. RSH, LSH=nil, nil
  1440. --welds
  1441. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1442. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1443. LH=Torso["Left Hip"]
  1444. RH=Torso["Right Hip"]
  1445. TorsoColor=Torso.BrickColor
  1446. function NoOutline(Part)
  1447. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1448. end
  1449. player=Player
  1450. ch=Character
  1451. RSH=ch.Torso["Right Shoulder"]
  1452. LSH=ch.Torso["Left Shoulder"]
  1453. --
  1454. RSH.Parent=nil
  1455. LSH.Parent=nil
  1456. --
  1457. RW.Name="Right Shoulder"
  1458. RW.Part0=ch.Torso
  1459. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1460. RW.C1=cf(0, 0.5, 0)
  1461. RW.Part1=ch["Right Arm"]
  1462. RW.Parent=ch.Torso
  1463. --
  1464. LW.Name="Left Shoulder"
  1465. LW.Part0=ch.Torso
  1466. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1467. LW.C1=cf(0, 0.5, 0)
  1468. LW.Part1=ch["Left Arm"]
  1469. LW.Parent=ch.Torso
  1470.  
  1471. local Stats=Instance.new("BoolValue")
  1472. Stats.Name="Stats"
  1473. Stats.Parent=Character
  1474. local Atk=Instance.new("NumberValue")
  1475. Atk.Name="Damage"
  1476. Atk.Parent=Stats
  1477. Atk.Value=1
  1478. local Def=Instance.new("NumberValue")
  1479. Def.Name="Defense"
  1480. Def.Parent=Stats
  1481. Def.Value=1
  1482. local Speed=Instance.new("NumberValue")
  1483. Speed.Name="Speed"
  1484. Speed.Parent=Stats
  1485. Speed.Value=1
  1486. local Mvmt=Instance.new("NumberValue")
  1487. Mvmt.Name="Movement"
  1488. Mvmt.Parent=Stats
  1489. Mvmt.Value=1
  1490.  
  1491. local donum=0
  1492.  
  1493.  
  1494. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1495. local fp=it("Part")
  1496. fp.formFactor=formfactor
  1497. fp.Parent=parent
  1498. fp.Reflectance=reflectance
  1499. fp.Transparency=transparency
  1500. fp.CanCollide=false
  1501. fp.Locked=true
  1502. fp.BrickColor=brickcolor
  1503. fp.Name=name
  1504. fp.Size=size
  1505. fp.Position=Torso.Position
  1506. NoOutline(fp)
  1507. fp.Material="SmoothPlastic"
  1508. fp:BreakJoints()
  1509. return fp
  1510. end
  1511.  
  1512. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1513. local mesh=it(Mesh)
  1514. mesh.Parent=part
  1515. if Mesh=="SpecialMesh" then
  1516. mesh.MeshType=meshtype
  1517. if meshid~="nil" then
  1518. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1519. end
  1520. end
  1521. mesh.Offset=offset
  1522. mesh.Scale=scale
  1523. return mesh
  1524. end
  1525.  
  1526. function weld(parent,part0,part1,c0)
  1527. local weld=it("Weld")
  1528. weld.Parent=parent
  1529. weld.Part0=part0
  1530. weld.Part1=part1
  1531. weld.C0=c0
  1532. return weld
  1533. end
  1534.  
  1535. local Color1=Torso.BrickColor
  1536.  
  1537. local bodvel=Instance.new("BodyVelocity")
  1538. local bg=Instance.new("BodyGyro")
  1539.  
  1540. --// Artificial HB \\--
  1541.  
  1542. local ArtificialHB = Instance.new("BindableEvent", script)
  1543. ArtificialHB.Name = "Heartbeat"
  1544.  
  1545. script:WaitForChild("Heartbeat")
  1546.  
  1547. local tf = 0
  1548. local allowframeloss = false
  1549. local tossremainder = false
  1550. local lastframe = tick()
  1551. local frame = 1/60
  1552. ArtificialHB:Fire()
  1553.  
  1554. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1555. tf = tf + s
  1556. if tf >= frame then
  1557. if allowframeloss then
  1558. script.Heartbeat:Fire()
  1559. lastframe = tick()
  1560. else
  1561. for i = 1, math.floor(tf / frame) do
  1562. ArtificialHB:Fire()
  1563. end
  1564. lastframe = tick()
  1565. end
  1566. if tossremainder then
  1567. tf = 0
  1568. else
  1569. tf = tf - frame * math.floor(tf / frame)
  1570. end
  1571. end
  1572. end)
  1573.  
  1574. function swait(num)
  1575. if num == 0 or num == nil then
  1576. ArtificialHB.Event:wait()
  1577. else
  1578. for i = 0, num do
  1579. ArtificialHB.Event:wait()
  1580. end
  1581. end
  1582. end
  1583.  
  1584. -------- RAINBOW LEAVE IT TO ME
  1585. local r = 255
  1586. local g = 0
  1587. local b = 0
  1588. coroutine.resume(coroutine.create(function()
  1589. while wait() do
  1590. for i = 0, 254/5 do
  1591. swait()
  1592. g = g + 5
  1593. end
  1594. for i = 0, 254/5 do
  1595. swait()
  1596. r = r - 5
  1597. end
  1598. for i = 0, 254/5 do
  1599. swait()
  1600. b = b + 5
  1601. end
  1602. for i = 0, 254/5 do
  1603. swait()
  1604. g = g - 5
  1605. end
  1606. for i = 0, 254/5 do
  1607. swait()
  1608. r = r + 5
  1609. end
  1610. for i = 0, 254/5 do
  1611. swait()
  1612. b = b - 5
  1613. end
  1614. end
  1615. end))
  1616.  
  1617.  
  1618. so = function(id,par,vol,pit)
  1619. coroutine.resume(coroutine.create(function()
  1620. local sou = Instance.new("Sound",par or workspace)
  1621. sou.Volume=vol
  1622. sou.Pitch=pit or 1
  1623. sou.SoundId=id
  1624. swait()
  1625. sou:play()
  1626. game:GetService("Debris"):AddItem(sou,6)
  1627. end))
  1628. end
  1629.  
  1630. function clerp(a,b,t)
  1631. return a:lerp(b,t)
  1632. end
  1633.  
  1634. local function CFrameFromTopBack(at, top, back)
  1635. local right = top:Cross(back)
  1636. return CFrame.new(at.x, at.y, at.z,
  1637. right.x, top.x, back.x,
  1638. right.y, top.y, back.y,
  1639. right.z, top.z, back.z)
  1640. end
  1641.  
  1642. function Triangle(a, b, c)
  1643. local edg1 = (c-a):Dot((b-a).unit)
  1644. local edg2 = (a-b):Dot((c-b).unit)
  1645. local edg3 = (b-c):Dot((a-c).unit)
  1646. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1647. a, b, c = a, b, c
  1648. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1649. a, b, c = b, c, a
  1650. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1651. a, b, c = c, a, b
  1652. else
  1653. assert(false, "unreachable")
  1654. end
  1655.  
  1656. local len1 = (c-a):Dot((b-a).unit)
  1657. local len2 = (b-a).magnitude - len1
  1658. local width = (a + (b-a).unit*len1 - c).magnitude
  1659.  
  1660. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1661.  
  1662. local list = {}
  1663.  
  1664. if len1 > 0.01 then
  1665. local w1 = Instance.new('WedgePart', m)
  1666. game:GetService("Debris"):AddItem(w1,5)
  1667. w1.Material = "SmoothPlastic"
  1668. w1.FormFactor = 'Custom'
  1669. w1.BrickColor = BrickColor.new("Really black")
  1670. w1.Transparency = 0
  1671. w1.Reflectance = 0
  1672. w1.Material = "SmoothPlastic"
  1673. w1.CanCollide = false
  1674. local l1 = Instance.new("PointLight",w1)
  1675. l1.Color = Color3.new(170,0,0)
  1676. NoOutline(w1)
  1677. local sz = Vector3.new(0.2, width, len1)
  1678. w1.Size = sz
  1679. local sp = Instance.new("SpecialMesh",w1)
  1680. sp.MeshType = "Wedge"
  1681. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1682. w1:BreakJoints()
  1683. w1.Anchored = true
  1684. w1.Parent = workspace
  1685. w1.Transparency = 0.7
  1686. table.insert(Effects,{w1,"Disappear",.01})
  1687. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1688. table.insert(list,w1)
  1689. end
  1690.  
  1691. if len2 > 0.01 then
  1692. local w2 = Instance.new('WedgePart', m)
  1693. game:GetService("Debris"):AddItem(w2,5)
  1694. w2.Material = "SmoothPlastic"
  1695. w2.FormFactor = 'Custom'
  1696. w2.BrickColor = BrickColor.new("Really black")
  1697. w2.Transparency = 0
  1698. w2.Reflectance = 0
  1699. w2.Material = "SmoothPlastic"
  1700. w2.CanCollide = false
  1701. local l2 = Instance.new("PointLight",w2)
  1702. l2.Color = Color3.new(170,0,0)
  1703. NoOutline(w2)
  1704. local sz = Vector3.new(0.2, width, len2)
  1705. w2.Size = sz
  1706. local sp = Instance.new("SpecialMesh",w2)
  1707. sp.MeshType = "Wedge"
  1708. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1709. w2:BreakJoints()
  1710. w2.Anchored = true
  1711. w2.Parent = workspace
  1712. w2.Transparency = 0.7
  1713. table.insert(Effects,{w2,"Disappear",.01})
  1714. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1715. table.insert(list,w2)
  1716. end
  1717. return unpack(list)
  1718. end
  1719.  
  1720.  
  1721. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1722. if hit.Parent == nil then
  1723. return
  1724. end
  1725. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1726. for _, v in pairs(hit.Parent:children()) do
  1727. if v:IsA("Humanoid") then
  1728. h = v
  1729. end
  1730. end
  1731. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1732. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1733. return
  1734. end
  1735. local c = Create("ObjectValue")({
  1736. Name = "creator",
  1737. Value = game:service("Players").LocalPlayer,
  1738. Parent = h
  1739. })
  1740. game:GetService("Debris"):AddItem(c, 0.5)
  1741. if HitSound ~= nil and HitPitch ~= nil then
  1742. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1743. end
  1744. local Damage = math.random(minim, maxim)
  1745. local blocked = false
  1746. local block = hit.Parent:findFirstChild("Block")
  1747. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1748. blocked = true
  1749. block.Value = block.Value - 1
  1750. print(block.Value)
  1751. end
  1752. if blocked == false then
  1753. HitHealth = h.Health
  1754. h.Health = h.Health - Damage
  1755. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1756. print("gained kill")
  1757. end
  1758. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1759. else
  1760. h.Health = h.Health - Damage / 2
  1761. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1762. end
  1763. if Type == "Knockdown" then
  1764. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1765. hum.PlatformStand = true
  1766. coroutine.resume(coroutine.create(function(HHumanoid)
  1767. swait(1)
  1768. HHumanoid.PlatformStand = false
  1769. end), hum)
  1770. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1771. local bodvol = Create("BodyVelocity")({
  1772. velocity = angle * knockback,
  1773. P = 5000,
  1774. maxForce = Vector3.new(8000, 8000, 8000),
  1775. Parent = hit
  1776. })
  1777. local rl = Create("BodyAngularVelocity")({
  1778. P = 3000,
  1779. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1780. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1781. Parent = hit
  1782. })
  1783. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1784. game:GetService("Debris"):AddItem(rl, 0.5)
  1785. elseif Type == "Normal" then
  1786. local vp = Create("BodyVelocity")({
  1787. P = 500,
  1788. maxForce = Vector3.new(math.huge, 0, math.huge),
  1789. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1790. })
  1791. if knockback > 0 then
  1792. vp.Parent = hit.Parent.Head
  1793. end
  1794. game:GetService("Debris"):AddItem(vp, 0.5)
  1795. elseif Type == "Up" then
  1796. local bodyVelocity = Create("BodyVelocity")({
  1797. velocity = Vector3.new(0, 20, 0),
  1798. P = 5000,
  1799. maxForce = Vector3.new(8000, 8000, 8000),
  1800. Parent = hit
  1801. })
  1802. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1803. local bodyVelocity = Create("BodyVelocity")({
  1804. velocity = Vector3.new(0, 20, 0),
  1805. P = 5000,
  1806. maxForce = Vector3.new(8000, 8000, 8000),
  1807. Parent = hit
  1808. })
  1809. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1810. elseif Type == "Leech" then
  1811. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1812. if hum ~= nil then
  1813. for i = 0, 2 do
  1814. 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)
  1815. end
  1816. Humanoid.Health = Humanoid.Health + 10
  1817. end
  1818. elseif Type == "UpKnock" then
  1819. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1820. hum.PlatformStand = true
  1821. if hum ~= nil then
  1822. hitr = true
  1823. end
  1824. coroutine.resume(coroutine.create(function(HHumanoid)
  1825. swait(5)
  1826. HHumanoid.PlatformStand = false
  1827. hitr = false
  1828. end), hum)
  1829. local bodyVelocity = Create("BodyVelocity")({
  1830. velocity = Vector3.new(0, 20, 0),
  1831. P = 5000,
  1832. maxForce = Vector3.new(8000, 8000, 8000),
  1833. Parent = hit
  1834. })
  1835. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1836. local bodyVelocity = Create("BodyVelocity")({
  1837. velocity = Vector3.new(0, 20, 0),
  1838. P = 5000,
  1839. maxForce = Vector3.new(8000, 8000, 8000),
  1840. Parent = hit
  1841. })
  1842. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1843. elseif Type == "Snare" then
  1844. local bp = Create("BodyPosition")({
  1845. P = 2000,
  1846. D = 100,
  1847. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1848. position = hit.Parent.Torso.Position,
  1849. Parent = hit.Parent.Torso
  1850. })
  1851. game:GetService("Debris"):AddItem(bp, 1)
  1852. elseif Type == "Slashnare" then
  1853. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  1854. for i = 1, math.random(4, 5) do
  1855. 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)
  1856. end
  1857. local bp = Create("BodyPosition")({
  1858. P = 2000,
  1859. D = 100,
  1860. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1861. position = hit.Parent.Torso.Position,
  1862. Parent = hit.Parent.Torso
  1863. })
  1864. game:GetService("Debris"):AddItem(bp, 1)
  1865. elseif Type == "Spike" then
  1866. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1867. local bp = Create("BodyPosition")({
  1868. P = 2000,
  1869. D = 100,
  1870. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1871. position = hit.Parent.Torso.Position,
  1872. Parent = hit.Parent.Torso
  1873. })
  1874. game:GetService("Debris"):AddItem(bp, 1)
  1875. elseif Type == "Freeze" then
  1876. local BodPos = Create("BodyPosition")({
  1877. P = 50000,
  1878. D = 1000,
  1879. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1880. position = hit.Parent.Torso.Position,
  1881. Parent = hit.Parent.Torso
  1882. })
  1883. local BodGy = Create("BodyGyro")({
  1884. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1885. P = 20000,
  1886. Parent = hit.Parent.Torso,
  1887. cframe = hit.Parent.Torso.CFrame
  1888. })
  1889. hit.Parent.Torso.Anchored = true
  1890. coroutine.resume(coroutine.create(function(Part)
  1891. swait(1.5)
  1892. Part.Anchored = false
  1893. end), hit.Parent.Torso)
  1894. game:GetService("Debris"):AddItem(BodPos, 3)
  1895. game:GetService("Debris"):AddItem(BodGy, 3)
  1896. end
  1897. local debounce = Create("BoolValue")({
  1898. Name = "DebounceHit",
  1899. Parent = hit.Parent,
  1900. Value = true
  1901. })
  1902. game:GetService("Debris"):AddItem(debounce, Delay)
  1903. c = Instance.new("ObjectValue")
  1904. c.Name = "creator"
  1905. c.Value = Player
  1906. c.Parent = h
  1907. game:GetService("Debris"):AddItem(c, 0.5)
  1908. end
  1909. end
  1910. function ShowDamage(Pos, Text, Time, Color)
  1911. local Rate = 0.03333333333333333
  1912. local Pos = Pos or Vector3.new(0, 0, 0)
  1913. local Text = Text or ""
  1914. local Time = Time or 2
  1915. local Color = Color or Color3.new(1, 0, 1)
  1916. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1917. EffectPart.Anchored = true
  1918. local BillboardGui = Create("BillboardGui")({
  1919. Size = UDim2.new(3, 0, 3, 0),
  1920. Adornee = EffectPart,
  1921. Parent = EffectPart
  1922. })
  1923. local TextLabel = Create("TextLabel")({
  1924. BackgroundTransparency = 1,
  1925. Size = UDim2.new(1, 0, 1, 0),
  1926. Text = Text,
  1927. TextColor3 = Color,
  1928. TextScaled = true,
  1929. Font = Enum.Font.ArialBold,
  1930. Parent = BillboardGui
  1931. })
  1932. game.Debris:AddItem(EffectPart, Time + 0.1)
  1933. EffectPart.Parent = game:GetService("Workspace")
  1934. delay(0, function()
  1935. local Frames = Time / Rate
  1936. for Frame = 1, Frames do
  1937. wait(Rate)
  1938. local Percent = Frame / Frames
  1939. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1940. TextLabel.TextTransparency = Percent
  1941. end
  1942. if EffectPart and EffectPart.Parent then
  1943. EffectPart:Destroy()
  1944. end
  1945. end)
  1946. end
  1947. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1948. for _, c in pairs(workspace:children()) do
  1949. local hum = c:findFirstChildOfClass("Humanoid")
  1950. if hum ~= nil then
  1951. local head = c:findFirstChild("Head")
  1952. if head ~= nil then
  1953. local targ = head.Position - Part.Position
  1954. local mag = targ.magnitude
  1955. if magni >= mag and c.Name ~= Player.Name then
  1956. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1957. end
  1958. end
  1959. end
  1960. end
  1961. end
  1962.  
  1963. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1964. for _, c in pairs(workspace:children()) do
  1965. local hum = c:findFirstChild("Humanoid")
  1966. if hum ~= nil then
  1967. local head = c:findFirstChild("Torso")
  1968. if head ~= nil then
  1969. local targ = head.Position - Part.Position
  1970. local mag = targ.magnitude
  1971. if magni >= mag and c.Name ~= Player.Name then
  1972. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1973. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1974. end
  1975. end
  1976. end
  1977. end
  1978. end
  1979.  
  1980. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1981. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1982. end
  1983.  
  1984. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1985. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1986. prt.Anchored=true
  1987. prt.CFrame=cframe
  1988. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1989. --http://www.roblox.com/asset/?id=4770560
  1990. game:GetService("Debris"):AddItem(prt,2)
  1991. CF=prt.CFrame
  1992. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1993. for i=0,1,0.2 do
  1994. wait()
  1995. Part.CFrame=CF*cf(0,0,-0.4)
  1996. end
  1997. for i=0,1,delay do
  1998. wait()
  1999. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  2000. Mesh.Scale=Mesh.Scale
  2001. end
  2002. for i=0,1,0.1 do
  2003. wait()
  2004. Part.Transparency=i
  2005. end
  2006. Part.Parent=nil
  2007. end),prt,msh,CF)
  2008. end
  2009.  
  2010. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2011. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2012. prt.Anchored=true
  2013. prt.Material = "Neon"
  2014. prt.CFrame=cframe
  2015. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2016. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2017. game:GetService("Debris"):AddItem(prt,5)
  2018. coroutine.resume(coroutine.create(function(Part,Mesh)
  2019. for i=0,1,delay do
  2020. swait()
  2021. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2022. Part.Transparency=i
  2023. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2024. end
  2025. Part.Parent=nil
  2026. end),prt,msh)
  2027. end
  2028.  
  2029. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2030. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2031. prt.Anchored=true
  2032. prt.Material = "Neon"
  2033. prt.CFrame=cframe
  2034. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2035. game:GetService("Debris"):AddItem(prt,5)
  2036. coroutine.resume(coroutine.create(function(Part,Mesh)
  2037. local rtype = rottype
  2038. for i=0,1,delay do
  2039. swait()
  2040. if rtype == 1 then
  2041. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2042. elseif rtype == 2 then
  2043. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2044. end
  2045. Part.Transparency=i
  2046. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2047. end
  2048. Part.Parent=nil
  2049. end),prt,msh)
  2050. end
  2051.  
  2052. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2053. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2054. prt.Anchored=true
  2055. prt.CFrame=cframe
  2056. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2057. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2058. game:GetService("Debris"):AddItem(prt,5)
  2059. coroutine.resume(coroutine.create(function(Part,Mesh)
  2060. for i=0,1,delay do
  2061. wait()
  2062. Part.Transparency=i
  2063. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2064. end
  2065. Part.Parent=nil
  2066. end),prt,msh)
  2067. end
  2068.  
  2069. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2070. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2071. prt.Anchored=true
  2072. prt.Material = "Neon"
  2073. prt.CFrame=cframe
  2074. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2075. game:GetService("Debris"):AddItem(prt,5)
  2076. coroutine.resume(coroutine.create(function(Part,Mesh)
  2077. local rtype = rottype
  2078. for i=0,1,delay do
  2079. swait()
  2080. if rtype == 1 then
  2081. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2082. elseif rtype == 2 then
  2083. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2084. end
  2085. Part.Transparency=i
  2086. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2087. end
  2088. Part.Parent=nil
  2089. end),prt,msh)
  2090. end
  2091.  
  2092. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2093. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2094. prt.Anchored=true
  2095. prt.Material = "Neon"
  2096. prt.CFrame=cframe
  2097. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2098. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2099. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2100. game:GetService("Debris"):AddItem(prt,5)
  2101. coroutine.resume(coroutine.create(function(Part,Mesh)
  2102. local rtype = rottype
  2103. for i=0,1,delay do
  2104. swait()
  2105. if rtype == 1 then
  2106. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2107. elseif rtype == 2 then
  2108. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2109. end
  2110. dec.Transparency=i
  2111. dec2.Transparency=i
  2112. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2113. end
  2114. Part.Parent=nil
  2115. end),prt,msh)
  2116. end
  2117.  
  2118. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2119. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2120. prt.Anchored=true
  2121. prt.Material = "Neon"
  2122. prt.CFrame=cframe
  2123. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2124. game:GetService("Debris"):AddItem(prt,5)
  2125. coroutine.resume(coroutine.create(function(Part,Mesh)
  2126. local rtype = rottype
  2127. for i=0,1,delay do
  2128. swait()
  2129. if rtype == 1 then
  2130. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2131. elseif rtype == 2 then
  2132. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2133. end
  2134. prt.Transparency=i
  2135. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2136. end
  2137. Part.Parent=nil
  2138. end),prt,msh)
  2139. end
  2140.  
  2141. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2142. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2143. prt.Anchored=true
  2144. prt.Material = "Neon"
  2145. prt.CFrame=cframe
  2146. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2147. game:GetService("Debris"):AddItem(prt,5)
  2148. coroutine.resume(coroutine.create(function(Part,Mesh)
  2149. local rtype = rottype
  2150. for i=0,1,delay do
  2151. swait()
  2152. if rtype == 1 then
  2153. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2154. elseif rtype == 2 then
  2155. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2156. end
  2157. prt.Transparency=i
  2158. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2159. end
  2160. Part.Parent=nil
  2161. end),prt,msh)
  2162. end
  2163.  
  2164. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2165. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2166. prt.Anchored=true
  2167. prt.Material = "Neon"
  2168. prt.CFrame=cframe
  2169. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2170. game:GetService("Debris"):AddItem(prt,5)
  2171. coroutine.resume(coroutine.create(function(Part,Mesh)
  2172. local rtype = rottype
  2173. for i=0,1,delay do
  2174. swait()
  2175. if rtype == 1 then
  2176. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2177. elseif rtype == 2 then
  2178. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2179. end
  2180. prt.Transparency=i
  2181. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2182. end
  2183. Part.Parent=nil
  2184. end),prt,msh)
  2185. end
  2186.  
  2187. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2188. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2189. prt.Anchored=true
  2190. prt.Material = "Neon"
  2191. prt.CFrame=cframe
  2192. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2193. game:GetService("Debris"):AddItem(prt,5)
  2194. coroutine.resume(coroutine.create(function(Part,Mesh)
  2195. local rtype = rottype
  2196. for i=0,1,delay do
  2197. swait()
  2198. if rtype == 1 then
  2199. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2200. elseif rtype == 2 then
  2201. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2202. end
  2203. prt.Transparency=i
  2204. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2205. end
  2206. Part.Parent=nil
  2207. end),prt,msh)
  2208. end
  2209.  
  2210. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2211. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2212. prt.Anchored=false
  2213. prt.CFrame=cframe
  2214. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2215. local wld=weld(prt,prt,Parent,cframe)
  2216. game:GetService("Debris"):AddItem(prt,5)
  2217. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2218. for i=0,1,delay do
  2219. wait()
  2220. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2221. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2222. Part.Transparency=i
  2223. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2224. end
  2225. Part.Parent=nil
  2226. end),prt,msh,wld)
  2227. end
  2228.  
  2229. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2230. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2231. prt.Anchored=false
  2232. prt.CFrame=cframe
  2233. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2234. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2235. game:GetService("Debris"):AddItem(prt,5)
  2236. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2237. for i=0,1,delay do
  2238. wait()
  2239. Weld.C0=euler(i*20,0,0)
  2240. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2241. Part.Transparency=i
  2242. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2243. end
  2244. Part.Parent=nil
  2245. end),prt,msh,wld)
  2246. end
  2247.  
  2248. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2249. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2250. prt.Anchored=true
  2251. prt.CFrame=cframe
  2252. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2253. game:GetService("Debris"):AddItem(prt,2)
  2254. coroutine.resume(coroutine.create(function(Part,Mesh)
  2255. for i=0,1,delay do
  2256. wait()
  2257. Part.CFrame=Part.CFrame
  2258. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2259. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2260. prt2.Anchored=true
  2261. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2262. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2263. game:GetService("Debris"):AddItem(prt2,2)
  2264. coroutine.resume(coroutine.create(function(Part,Mesh)
  2265. for i=0,1,0.1 do
  2266. wait()
  2267. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2268. end
  2269. Part.Parent=nil
  2270. end),prt2,msh2)
  2271. end
  2272. for i=0,1,delay*2 do
  2273. wait()
  2274. Part.CFrame=Part.CFrame
  2275. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2276. end
  2277. Part.Parent=nil
  2278. end),prt,msh)
  2279. end
  2280.  
  2281. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2282. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2283. prt.Anchored=true
  2284. prt.CFrame=cframe
  2285. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2286. game:GetService("Debris"):AddItem(prt,2)
  2287. coroutine.resume(coroutine.create(function(Part,Mesh)
  2288. for i=0,1,delay do
  2289. wait()
  2290. Part.CFrame=Part.CFrame
  2291. Part.Transparency=i
  2292. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2293. end
  2294. Part.Parent=nil
  2295. end),prt,msh)
  2296. end
  2297.  
  2298. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2299. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2300. prt.Anchored=true
  2301. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2302. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2303. game:GetService("Debris"):AddItem(prt,2)
  2304. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2305. CF=Part.CFrame
  2306. Numbb=0
  2307. randnumb=math.random()/10
  2308. rand1=math.random()/10
  2309. for i=0,1,rand1 do
  2310. wait()
  2311. CF=CF*cf(0,math.random()/2,0)
  2312. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2313. Part.CFrame=CF*euler(Numbb,0,0)
  2314. Part.Transparency=i
  2315. Numbb=Numbb+randnumb
  2316. end
  2317. Part.Parent=nil
  2318. end),prt,CF,Numbb,randnumb)
  2319. end
  2320.  
  2321. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2322. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2323. prt.Anchored=true
  2324. prt.CFrame=cframe
  2325. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2326. game:GetService("Debris"):AddItem(prt,5)
  2327. coroutine.resume(coroutine.create(function(Part,Mesh)
  2328. for i=0,1,delay do
  2329. wait()
  2330. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2331. Part.Transparency=i
  2332. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2333. end
  2334. Part.Parent=nil
  2335. end),prt,msh)
  2336. end
  2337.  
  2338. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2339. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2340. prt.Anchored=true
  2341. prt.CFrame=cframe
  2342. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2343. game:GetService("Debris"):AddItem(prt,2)
  2344. coroutine.resume(coroutine.create(function(Part,Mesh)
  2345. for i=0,1,delay do
  2346. wait()
  2347. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2348. Part.Transparency=i
  2349. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2350. end
  2351. Part.Parent=nil
  2352. end),prt,msh)
  2353. end
  2354.  
  2355. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2356. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2357. prt.Anchored=true
  2358. prt.CFrame=cframe*cf(x,y,z)
  2359. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2360. game:GetService("Debris"):AddItem(prt,5)
  2361. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2362. local num=math.random()
  2363. local num2=math.random(-3,2)+math.random()
  2364. local numm=0
  2365. for i=0,1,delay*2 do
  2366. swait()
  2367. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2368. Part.Transparency=i
  2369. numm=numm+0.01
  2370. end
  2371. Part.Parent=nil
  2372. Mesh.Parent=nil
  2373. end),prt,msh,x,y,z)
  2374. end
  2375.  
  2376. function dmgstart(dmg,what)
  2377. hitcon = what.Touched:connect(function(hit)
  2378. local hum = hit.Parent:FindFirstChild("Humanoid")
  2379. if hum and not hum:IsDescendantOf(Character) then
  2380. hum:TakeDamage(dmg)
  2381. end
  2382. end)
  2383. end
  2384.  
  2385. function dmgstop()
  2386. hitcon:disconnect()
  2387. end
  2388.  
  2389. function Cloak()
  2390. Face.Parent=nil
  2391. cloaked=true
  2392. for _,v in pairs(Torso.Parent:children()) do
  2393. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2394. coroutine.resume(coroutine.create(function()
  2395. for i=0,1,0.2 do
  2396. wait()
  2397. v.Transparency=i
  2398. end
  2399. v.Transparency=1
  2400. end))
  2401. end
  2402. if v.className=="Hat" then
  2403. hatp=v.Handle
  2404. coroutine.resume(coroutine.create(function(derp)
  2405. for i=0,1,0.2 do
  2406. wait()
  2407. derp.Transparency=i
  2408. end
  2409. derp.Transparency=1
  2410. end),hatp)
  2411. end
  2412. end
  2413. for _,v in pairs(m:children()) do
  2414. if v.className=="Part" then
  2415. coroutine.resume(coroutine.create(function()
  2416. for i=0,1,0.2 do
  2417. wait()
  2418. v.Transparency=i
  2419. end
  2420. v.Transparency=1
  2421. end))
  2422. end
  2423. end
  2424. end
  2425.  
  2426. function UnCloak()
  2427. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2428. Face.Parent=Head
  2429. cloaked=false
  2430. for _,v in pairs(Torso.Parent:children()) do
  2431. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2432. coroutine.resume(coroutine.create(function()
  2433. for i=0,1,0.1 do
  2434. wait()
  2435. v.Transparency=v.Transparency-0.1
  2436. end
  2437. v.Transparency=0
  2438. end))
  2439. end
  2440. if v.className=="Hat" then
  2441. hatp=v.Handle
  2442. coroutine.resume(coroutine.create(function(derp)
  2443. for i=0,1,0.1 do
  2444. wait()
  2445. derp.Transparency=derp.Transparency-0.1
  2446. end
  2447. derp.Transparency=0
  2448. end),hatp)
  2449. end
  2450. end
  2451. for _,v in pairs(m:children()) do
  2452. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2453. coroutine.resume(coroutine.create(function()
  2454. for i=0,1,0.1 do
  2455. wait()
  2456. v.Transparency=v.Transparency-0.1
  2457. end
  2458. v.Transparency=0
  2459. end))
  2460. v.Transparency=0
  2461. end
  2462. end
  2463. end
  2464.  
  2465. local origcolor = BrickColor.new("Pastel light blue")
  2466. ---- This section of explosions.
  2467. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2468. local expart = Instance.new("Part",char)
  2469. local expart2 = Instance.new("Part",char)
  2470. local rin = Instance.new("Part",char)
  2471. local rin2 = Instance.new("Part",char)
  2472. local partMesh = Instance.new("SpecialMesh",expart)
  2473. partMesh.MeshType = "Sphere"
  2474. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2475. partMesh2.MeshType = "Sphere"
  2476. local partMesh3 = Instance.new("SpecialMesh",rin)
  2477. partMesh3.MeshType = "Brick"
  2478. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2479. partMesh4.MeshType = "Brick"
  2480. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2481. partMesh.Scale = vt(rad,rad,rad)
  2482. expart.Size = vt(1,1,1)
  2483. expart.Transparency = 0
  2484. expart.Anchored = true
  2485. expart.Material = "Neon"
  2486. expart.BrickColor = bc("White")
  2487. expart.CFrame = par.CFrame
  2488. partMesh2.Scale = vt(rad,rad,rad)
  2489. expart2.Size = vt(1.15,1.15,1.15)
  2490. expart2.Transparency = 0.5
  2491. expart2.Anchored = true
  2492. expart2.Material = "Neon"
  2493. expart2.BrickColor = par.BrickColor
  2494. expart2.CFrame = par.CFrame
  2495. rin.Size = vt(1.15,1.15,1.15)
  2496. rin.Transparency = 1
  2497. rin.Anchored = true
  2498. rin.Material = "Neon"
  2499. rin.BrickColor = par.BrickColor
  2500. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2501. rin2.Size = vt(1.15,1.15,1.15)
  2502. rin2.Transparency = 1
  2503. rin2.Anchored = true
  2504. rin2.Material = "Neon"
  2505. rin2.BrickColor = par.BrickColor
  2506. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2507. partMesh3.Scale = vt(0,1,0)
  2508. partMesh4.Scale = vt(0,1,0)
  2509. local dec2 = Instance.new("Decal", rin)
  2510. dec2.Face = "Top"
  2511. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2512. dec2.Parent = rin
  2513. local dec2b = dec2:Clone()
  2514. dec2b.Face = "Bottom"
  2515. dec2b.Parent = rin
  2516.  
  2517. local dec2a = Instance.new("Decal", rin2)
  2518. dec2a.Face = "Top"
  2519. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2520. dec2a.Parent = rin2
  2521. local dec2ab = dec2a:Clone()
  2522. dec2ab.Face = "Bottom"
  2523. dec2ab.Parent = rin2
  2524. expart.CanCollide = false
  2525. expart2.CanCollide = false
  2526. rin.CanCollide = false
  2527. rin2.CanCollide = false
  2528. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2529. local value = 1*rad/6.5
  2530. for i = 0, 199 do
  2531. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2532. expart.CFrame = expart.CFrame
  2533. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2534. expart2.CFrame = expart.CFrame
  2535. value = value - 0.035*rad/30
  2536. if value < 7.5 then
  2537. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2538. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2539. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2540. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2541. end
  2542. if value < 0 then
  2543. dec2.Transparency = dec2.Transparency + 0.025
  2544. dec2a.Transparency = dec2a.Transparency + 0.025
  2545. dec2b.Transparency = dec2b.Transparency + 0.025
  2546. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2547. expart.Transparency = expart.Transparency + 0.025
  2548. expart2.Transparency = expart2.Transparency + 0.025
  2549. rin.Transparency = rin.Transparency + 0.025
  2550. rin2.Transparency = rin2.Transparency + 0.025
  2551. end
  2552. swait()
  2553. end
  2554. game:GetService("Debris"):AddItem(expart, 1)
  2555. game:GetService("Debris"):AddItem(expart2, 1)
  2556. game:GetService("Debris"):AddItem(rin, 1)
  2557. game:GetService("Debris"):AddItem(rin2, 1)
  2558. end
  2559.  
  2560. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2561. local expart = Instance.new("Part",char)
  2562. local expart2 = Instance.new("Part",char)
  2563. local partMesh = Instance.new("SpecialMesh",expart)
  2564. partMesh.MeshType = "Sphere"
  2565. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2566. partMesh2.MeshType = "Sphere"
  2567. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2568. partMesh.Scale = vt(rad,rad,rad)
  2569. expart.Size = vt(1,1,1)
  2570. expart.Transparency = 0
  2571. expart.Anchored = true
  2572. expart.Material = "Neon"
  2573. expart.BrickColor = bc("White")
  2574. expart.CFrame = par.CFrame
  2575. partMesh2.Scale = vt(rad,rad,rad)
  2576. expart2.Size = vt(1.15,1.15,1.15)
  2577. expart2.Transparency = 0.5
  2578. expart2.Anchored = true
  2579. expart2.Material = "Neon"
  2580. expart2.BrickColor = par.BrickColor
  2581. expart2.CFrame = par.CFrame
  2582. expart.CanCollide = false
  2583. expart2.CanCollide = false
  2584. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2585. local value = 1*rad/6.5
  2586. for i = 0, 75 do
  2587. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2588. expart.CFrame = expart.CFrame
  2589. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2590. expart2.CFrame = expart.CFrame
  2591. value = value - 0.035*rad/5
  2592. if value < 0 then
  2593. value = 0
  2594. expart.Transparency = expart.Transparency + 0.05
  2595. expart2.Transparency = expart2.Transparency + 0.05
  2596. end
  2597. swait()
  2598. end
  2599. game:GetService("Debris"):AddItem(expart, 1)
  2600. game:GetService("Debris"):AddItem(expart2, 1)
  2601. end
  2602.  
  2603. function AreaDanger(rad,par,mindam,maxdam)
  2604. local expart = Instance.new("Part",char)
  2605. local partMesh = Instance.new("SpecialMesh",expart)
  2606. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2607. partMesh.MeshType = "Sphere"
  2608. partMesh.Scale = vt(rad,rad,rad)
  2609. expart.Size = vt(1,1,1)
  2610. expart.Transparency = 0.5
  2611. expart.Anchored = true
  2612. expart.Material = "Neon"
  2613. expart.CanCollide = false
  2614. expart.BrickColor = par.BrickColor
  2615. expart.CFrame = par.CFrame
  2616. local value = 1*rad/5
  2617. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2618. for i = 0, 14 do
  2619. wait()
  2620. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2621. expart.CFrame = expart.CFrame
  2622. value = value - 0.035*rad
  2623. if value < 0 then
  2624. value = 0
  2625. end
  2626. end
  2627. wait(0.25)
  2628. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2629. wait(0.5)
  2630. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2631. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2632. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2633. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2634. for i = 0, 14 do
  2635. wait()
  2636. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2637. expart.CFrame = expart.CFrame
  2638. value = value - 0.035*rad/2
  2639. end
  2640. expart.Transparency = 1
  2641. game:GetService("Debris"):AddItem(expart, 5)
  2642. end
  2643.  
  2644. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2645. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2646. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2647. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2648. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2649. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2650. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2651. for i = 0, 24 do
  2652. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  2653. end
  2654. for i = 0, 24 do
  2655. local expart = Instance.new("Part",char)
  2656. expart.Transparency = 1
  2657. expart.Anchored = true
  2658. expart.CanCollide = false
  2659. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2660. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2661. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2662. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2663. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2664. for i = 0, 9 do
  2665. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  2666. end
  2667. game:GetService("Debris"):AddItem(expart, 2)
  2668. wait(0.1)
  2669. end
  2670. end
  2671.  
  2672. function EXterPlosion(par)
  2673. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2674. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2675. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2676. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2677. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2678. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2679. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2680. for i = 0, 24 do
  2681. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  2682. end
  2683. for i = 0, 24 do
  2684. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  2685. end
  2686. end
  2687. ----
  2688.  
  2689.  
  2690. function ring(type,pos,scale,value)
  2691. local type = type
  2692. local rng = Instance.new("Part", char)
  2693. rng.Anchored = true
  2694. rng.BrickColor = origcolor
  2695. rng.CanCollide = false
  2696. rng.FormFactor = 3
  2697. rng.Name = "Ring"
  2698. rng.Size = Vector3.new(1, 1, 1)
  2699. rng.Transparency = 0
  2700. rng.TopSurface = 0
  2701. rng.BottomSurface = 0
  2702. rng.CFrame = pos
  2703. local rngm = Instance.new("SpecialMesh", rng)
  2704. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2705. rngm.Scale = scale
  2706. local scaler2 = 1
  2707. if type == "Add" then
  2708. scaler2 = 1*value
  2709. elseif type == "Divide" then
  2710. scaler2 = 1/value
  2711. end
  2712. coroutine.resume(coroutine.create(function()
  2713. for i = 0,10,0.1 do
  2714. swait()
  2715. if type == "Add" then
  2716. scaler2 = scaler2 - 0.01*value
  2717. elseif type == "Divide" then
  2718. scaler2 = scaler2 - 0.01/value
  2719. end
  2720. rng.Transparency = rng.Transparency + 0.01
  2721. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2722. end
  2723. rng:Destroy()
  2724. end))
  2725. end
  2726.  
  2727.  
  2728. function wave(type,pos,scale,value)
  2729. local type = type
  2730. local rng = Instance.new("Part", char)
  2731. rng.Anchored = true
  2732. rng.BrickColor = origcolor
  2733. rng.CanCollide = false
  2734. rng.FormFactor = 3
  2735. rng.Name = "Ring"
  2736. rng.Size = Vector3.new(1, 1, 1)
  2737. rng.Transparency = 0
  2738. rng.TopSurface = 0
  2739. rng.BottomSurface = 0
  2740. rng.CFrame = pos
  2741. local rngm = Instance.new("SpecialMesh", rng)
  2742. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2743. rngm.Scale = scale
  2744. local scaler2 = 1
  2745. if type == "Add" then
  2746. scaler2 = 1*value
  2747. elseif type == "Divide" then
  2748. scaler2 = 1/value
  2749. end
  2750. coroutine.resume(coroutine.create(function()
  2751. for i = 0,10,0.1 do
  2752. swait()
  2753. if type == "Add" then
  2754. scaler2 = scaler2 - 0.01*value
  2755. elseif type == "Divide" then
  2756. scaler2 = scaler2 - 0.01/value
  2757. end
  2758. rng.Transparency = rng.Transparency + 0.01
  2759. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2760. end
  2761. rng:Destroy()
  2762. end))
  2763. end
  2764.  
  2765. function wind(type,pos,scale,value,speed)
  2766. local type = type
  2767. local rng = Instance.new("Part", char)
  2768. rng.Anchored = true
  2769. rng.BrickColor = origcolor
  2770. rng.CanCollide = false
  2771. rng.FormFactor = 3
  2772. rng.Name = "Ring"
  2773. rng.Size = Vector3.new(1, 1, 1)
  2774. rng.Transparency = 0
  2775. rng.TopSurface = 0
  2776. rng.BottomSurface = 0
  2777. rng.CFrame = pos
  2778. local rngm = Instance.new("SpecialMesh", rng)
  2779. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2780. rngm.Scale = scale
  2781. local scaler2 = 1
  2782. if type == "Add" then
  2783. scaler2 = 1*value
  2784. elseif type == "Divide" then
  2785. scaler2 = 1/value
  2786. end
  2787. coroutine.resume(coroutine.create(function()
  2788. for i = 0,10,0.1 do
  2789. swait()
  2790. if type == "Add" then
  2791. scaler2 = scaler2 - 0.01*value
  2792. elseif type == "Divide" then
  2793. scaler2 = scaler2 - 0.01/value
  2794. end
  2795. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2796. rng.Transparency = rng.Transparency + 0.01
  2797. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2798. end
  2799. rng:Destroy()
  2800. end))
  2801. end
  2802.  
  2803. function groundwind(type,pos,scale,value,speed)
  2804. local type = type
  2805. local rng = Instance.new("Part", char)
  2806. rng.Anchored = true
  2807. rng.BrickColor = origcolor
  2808. rng.CanCollide = false
  2809. rng.FormFactor = 3
  2810. rng.Name = "Ring"
  2811. rng.Size = Vector3.new(1, 1, 1)
  2812. rng.Transparency = 0
  2813. rng.TopSurface = 0
  2814. rng.BottomSurface = 0
  2815. rng.CFrame = pos
  2816. local rngm = Instance.new("SpecialMesh", rng)
  2817. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2818. rngm.Scale = scale
  2819. local scaler2 = 1
  2820. if type == "Add" then
  2821. scaler2 = 1*value
  2822. elseif type == "Divide" then
  2823. scaler2 = 1/value
  2824. end
  2825. coroutine.resume(coroutine.create(function()
  2826. for i = 0,10,0.1 do
  2827. swait()
  2828. if type == "Add" then
  2829. scaler2 = scaler2 - 0.01*value
  2830. elseif type == "Divide" then
  2831. scaler2 = scaler2 - 0.01/value
  2832. end
  2833. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2834. rng.Transparency = rng.Transparency + 0.01
  2835. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2836. end
  2837. rng:Destroy()
  2838. end))
  2839. end
  2840.  
  2841. function CameraManager()
  2842. if TwoD and not CamInterrupt then
  2843. if Humanoid.Health > 0 then
  2844. Camera.CameraSubject = Humanoid
  2845. Camera.CameraType = "Scriptable"
  2846. Humanoid.AutoRotate = false
  2847. if Booleans.GyroUse then
  2848. Directer.MaxTorque = Vec3(0, huge, 0)
  2849. else
  2850. Directer.MaxTorque = Vec3(0, 0, 0)
  2851. end
  2852. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2853. if Booleans.CamFollow then
  2854. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2855. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2856. else
  2857. CPart.Position = RootPart.Position
  2858. end
  2859. else
  2860. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2861. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2862. end
  2863. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2864. else
  2865. Camera.CameraSubject = Humanoid
  2866. Camera.CameraType = "Custom"
  2867. Controller.Disabled = false
  2868. end
  2869. end
  2870. end
  2871.  
  2872. function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
  2873. local type = type
  2874. local rng = Instance.new("Part", char)
  2875. rng.Anchored = true
  2876. rng.BrickColor = color
  2877. rng.CanCollide = false
  2878. rng.FormFactor = 3
  2879. rng.Name = "Ring"
  2880. rng.Material = "Neon"
  2881. rng.Size = Vector3.new(1, 1, 1)
  2882. rng.Transparency = 0
  2883. rng.TopSurface = 0
  2884. rng.BottomSurface = 0
  2885. rng.CFrame = pos
  2886. local rngm = Instance.new("SpecialMesh", rng)
  2887. rngm.MeshType = "Sphere"
  2888.  
  2889.  
  2890. if(heart)then
  2891. rngm.MeshType = Enum.MeshType.FileMesh
  2892. rngm.MeshId = "rbxassetid://105992239"
  2893. rngm.Offset = Vector3.new(0,0,-.25)
  2894. end
  2895. rngm.Scale = scale
  2896. if rainbowmode == true and not notaffectbychaosrainbow then
  2897. rng.Color = Color3.new(r/255,g/255,b/255)
  2898. end
  2899. local scaler2 = 1
  2900. if type == "Add" then
  2901. scaler2 = 1*value
  2902. elseif type == "Divide" then
  2903. scaler2 = 1/value
  2904. end
  2905. coroutine.resume(coroutine.create(function()
  2906. for i = 0,10/bonuspeed,0.1 do
  2907. swait()
  2908. if rainbowmode == true and not notaffectbychaosrainbow then
  2909. rng.Color = Color3.new(r/255,g/255,b/255)
  2910. end
  2911. if type == "Add" then
  2912. scaler2 = scaler2 - 0.01*value/bonuspeed
  2913. elseif type == "Divide" then
  2914. scaler2 = scaler2 - 0.01/value*bonuspeed
  2915. end
  2916. if chaosmode == true and not notaffectbychaosrainbow then
  2917. rng.BrickColor = BrickColor.random()
  2918. end
  2919. if glitchymode then
  2920. local val = math.random(1,255)
  2921. local color = Color3.fromRGB(val,val,val)
  2922. rng.Color = color
  2923. end
  2924. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2925. if(invert)then
  2926. if(heart)then
  2927. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2928. else
  2929. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2930. end
  2931. else
  2932. if(heart)then
  2933. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2934. else
  2935. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2936. end
  2937. end
  2938. rng.CFrame = pos
  2939. end
  2940. rng:Destroy()
  2941. end))
  2942. end
  2943.  
  2944. function newBezier(startpos, pos2, pos3, endpos, t)
  2945. local A = clerp(startpos, pos2, t)
  2946. local B = clerp(pos2, pos3, t)
  2947. local C = clerp(pos3, endpos, t)
  2948. local lerp1 = clerp(A, B, t)
  2949. local lerp2 = clerp(B, C, t)
  2950. local cubic = clerp(lerp1, lerp2, t)
  2951. return cubic
  2952. end
  2953.  
  2954.  
  2955. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2956. local type = type
  2957. local rng = Instance.new("Part", char)
  2958. rng.Anchored = true
  2959. rng.BrickColor = color
  2960. rng.CanCollide = false
  2961. rng.FormFactor = 3
  2962. rng.Name = "Ring"
  2963. rng.Material = "Neon"
  2964. rng.Size = Vector3.new(1, 1, 1)
  2965. rng.Transparency = 0
  2966. rng.TopSurface = 0
  2967. rng.BottomSurface = 0
  2968. rng.CFrame = pos
  2969. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2970. local rngm = Instance.new("SpecialMesh", rng)
  2971. rngm.MeshType = "Brick"
  2972. if(heart)then
  2973. rngm.MeshType = Enum.MeshType.FileMesh
  2974. rngm.MeshId = "rbxassetid://105992239"
  2975. rngm.Offset = Vector3.new(0,0,-.25)
  2976. end
  2977. rngm.Scale = vt(x1,y1,z1)
  2978. if rainbowmode == true then
  2979. rng.Color = Color3.new(r/255,g/255,b/255)
  2980. end
  2981. local scaler2 = 1
  2982. local speeder = FastSpeed/10
  2983. if type == "Add" then
  2984. scaler2 = 1*value
  2985. elseif type == "Divide" then
  2986. scaler2 = 1/value
  2987. end
  2988. coroutine.resume(coroutine.create(function()
  2989. for i = 0,10/bonuspeed,0.1 do
  2990. swait()
  2991. if rainbowmode == true then
  2992. rng.Color = Color3.new(r/255,g/255,b/255)
  2993. end
  2994. if type == "Add" then
  2995. scaler2 = scaler2 - 0.01*value/bonuspeed
  2996. elseif type == "Divide" then
  2997. scaler2 = scaler2 - 0.01/value*bonuspeed
  2998. end
  2999. if chaosmode == true then
  3000. rng.BrickColor = BrickColor.random()
  3001. end
  3002. if glitchymode then
  3003. local val = math.random(1,255)
  3004. local color = Color3.fromRGB(val,val,val)
  3005. rng.Color = color
  3006. end
  3007. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3008. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  3009. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3010. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3011. end
  3012. rng:Destroy()
  3013. end))
  3014. end
  3015.  
  3016.  
  3017. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  3018. local type = type
  3019. local rng = Instance.new("Part", char)
  3020. rng.Anchored = true
  3021. rng.BrickColor = color
  3022. rng.CanCollide = false
  3023. rng.FormFactor = 3
  3024. rng.Name = "Ring"
  3025. rng.Material = "Neon"
  3026. rng.Size = Vector3.new(1, 1, 1)
  3027. rng.Transparency = 0
  3028. rng.TopSurface = 0
  3029. rng.BottomSurface = 0
  3030. rng.CFrame = pos
  3031. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3032. local rngm = Instance.new("SpecialMesh", rng)
  3033. rngm.MeshType = "Brick"
  3034. if(heart)then
  3035. rngm.MeshType = Enum.MeshType.FileMesh
  3036. rngm.MeshId = "rbxassetid://105992239"
  3037. rngm.Offset = Vector3.new(0,0,-.25)
  3038. end
  3039. rngm.Scale = vt(x1,y1,z1)
  3040. if rainbowmode == true then
  3041. rng.Color = Color3.new(r/255,g/255,b/255)
  3042. end
  3043. local scaler2 = 0
  3044. local speeder = FastSpeed/10
  3045. if type == "Add" then
  3046. scaler2 = 1*value
  3047. elseif type == "Divide" then
  3048. scaler2 = 1/value
  3049. end
  3050. coroutine.resume(coroutine.create(function()
  3051. for i = 0,10/bonuspeed,0.1 do
  3052. swait()
  3053. if rainbowmode == true then
  3054. rng.Color = Color3.new(r/255,g/255,b/255)
  3055. end
  3056. if type == "Add" then
  3057. scaler2 = scaler2 - 0.01*value/bonuspeed
  3058. elseif type == "Divide" then
  3059. scaler2 = scaler2 - 0.01/value*bonuspeed
  3060. end
  3061. if chaosmode == true then
  3062. rng.BrickColor = BrickColor.random()
  3063. end
  3064. if glitchymode then
  3065. local val = math.random(1,255)
  3066. local color = Color3.fromRGB(val,val,val)
  3067. rng.Color = color
  3068. end
  3069. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3070. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3071. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  3072. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3073. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3074. end
  3075. rng:Destroy()
  3076. end))
  3077. end
  3078.  
  3079. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3080. local type = type
  3081. local rng = Instance.new("Part", char)
  3082. rng.Anchored = true
  3083. rng.BrickColor = color
  3084. rng.CanCollide = false
  3085. rng.FormFactor = 3
  3086. rng.Name = "Ring"
  3087. rng.Material = "Neon"
  3088. rng.Size = Vector3.new(1, 1, 1)
  3089. rng.Transparency = 0
  3090. rng.TopSurface = 0
  3091. rng.BottomSurface = 0
  3092. rng.CFrame = pos
  3093. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3094. local rngm = Instance.new("SpecialMesh", rng)
  3095. rngm.MeshType = "Sphere"
  3096. rngm.Scale = vt(x1,y1,z1)
  3097. if rainbowmode == true then
  3098. rng.Color = Color3.new(r/255,g/255,b/255)
  3099. end
  3100. local scaler2 = 1
  3101. local speeder = FastSpeed
  3102. if type == "Add" then
  3103. scaler2 = 1*value
  3104. elseif type == "Divide" then
  3105. scaler2 = 1/value
  3106. end
  3107. coroutine.resume(coroutine.create(function()
  3108. for i = 0,10/bonuspeed,0.1 do
  3109. swait()
  3110. if rainbowmode == true then
  3111. rng.Color = Color3.new(r/255,g/255,b/255)
  3112. end
  3113. if type == "Add" then
  3114. scaler2 = scaler2 - 0.01*value/bonuspeed
  3115. elseif type == "Divide" then
  3116. scaler2 = scaler2 - 0.01/value*bonuspeed
  3117. end
  3118. if chaosmode == true then
  3119. rng.BrickColor = BrickColor.random()
  3120. end
  3121. if glitchymode then
  3122. local val = math.random(1,255)
  3123. local color = Color3.fromRGB(val,val,val)
  3124. rng.Color = color
  3125. end
  3126. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3127. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3128. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3129. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3130. end
  3131. rng:Destroy()
  3132. end))
  3133. end
  3134.  
  3135.  
  3136. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3137. local type = type
  3138. local rng = Instance.new("Part", char)
  3139. rng.Anchored = true
  3140. rng.BrickColor = color
  3141. rng.CanCollide = false
  3142. rng.FormFactor = 3
  3143. rng.Name = "Ring"
  3144. rng.Material = "Neon"
  3145. rng.Size = Vector3.new(1, 1, 1)
  3146. rng.Transparency = 1
  3147. rng.TopSurface = 0
  3148. rng.BottomSurface = 0
  3149. rng.CFrame = pos
  3150. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3151. local rngm = Instance.new("SpecialMesh", rng)
  3152. rngm.MeshType = "Sphere"
  3153. rngm.Scale = vt(x1,y1,z1)
  3154. if rainbowmode == true then
  3155. rng.Color = Color3.new(r/255,g/255,b/255)
  3156. end
  3157. local scaler2 = 1
  3158. local speeder = FastSpeed
  3159. if type == "Add" then
  3160. scaler2 = 1*value
  3161. elseif type == "Divide" then
  3162. scaler2 = 1/value
  3163. end
  3164. coroutine.resume(coroutine.create(function()
  3165. for i = 0,10/bonuspeed,0.1 do
  3166. swait()
  3167. if rainbowmode == true then
  3168. rng.Color = Color3.new(r/255,g/255,b/255)
  3169. end
  3170. if type == "Add" then
  3171. scaler2 = scaler2 - 0.01*value/bonuspeed
  3172. elseif type == "Divide" then
  3173. scaler2 = scaler2 - 0.01/value*bonuspeed
  3174. end
  3175. if chaosmode == true then
  3176. rng.BrickColor = BrickColor.random()
  3177. end
  3178. if glitchymode then
  3179. local val = math.random(1,255)
  3180. local color = Color3.fromRGB(val,val,val)
  3181. rng.Color = color
  3182. end
  3183. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3184. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3185. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3186. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3187. end
  3188. rng:Destroy()
  3189. end))
  3190. end
  3191.  
  3192. function dmg(dude)
  3193. if dude.Name ~= Character then
  3194. local bgf = Instance.new("BodyGyro",dude.Head)
  3195. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3196. local val = Instance.new("BoolValue",dude)
  3197. val.Name = "IsHit"
  3198. local ds = coroutine.wrap(function()
  3199. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  3200. for i = 1, 10 do
  3201. sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true)
  3202. end
  3203. dude:WaitForChild("Head"):BreakJoints()
  3204. wait(0.5)
  3205. targetted = nil
  3206. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3207.  
  3208. coroutine.resume(coroutine.create(function()
  3209. for i, v in pairs(dude:GetChildren()) do
  3210. if v:IsA("Accessory") then
  3211. v:Destroy()
  3212. end
  3213. if v:IsA("Humanoid") then
  3214. v:Destroy()
  3215. end
  3216. if v:IsA("CharacterMesh") then
  3217. v:Destroy()
  3218. end
  3219. if v:IsA("Model") then
  3220. v:Destroy()
  3221. end
  3222. if v:IsA("Part") or v:IsA("MeshPart") then
  3223. for x, o in pairs(v:GetChildren()) do
  3224. if o:IsA("Decal") then
  3225. o:Destroy()
  3226. end
  3227. end
  3228. coroutine.resume(coroutine.create(function()
  3229. v.Material = "Neon"
  3230. v.CanCollide = false
  3231. local bld = Instance.new("ParticleEmitter",v)
  3232. bld.LightEmission = 1
  3233. bld.Texture = "rbxassetid://284205403"
  3234. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3235. bld.Rate = 50
  3236. bld.Lifetime = NumberRange.new(1)
  3237. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3238. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3239. bld.Speed = NumberRange.new(0,0)
  3240. bld.VelocitySpread = 50000
  3241. bld.Rotation = NumberRange.new(-500,500)
  3242. bld.RotSpeed = NumberRange.new(-500,500)
  3243. local sbs = Instance.new("BodyPosition", v)
  3244. sbs.P = 3000
  3245. sbs.D = 1000
  3246. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3247. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3248. v.Color = Color3.new(1,1,1)
  3249. coroutine.resume(coroutine.create(function()
  3250. for i = 0, 49 do
  3251. swait(1)
  3252. v.Transparency = v.Transparency + 0.02
  3253. end
  3254. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3255. bld.Speed = NumberRange.new(1,5)
  3256. bld.Acceleration = vt(0,10,0)
  3257. wait(0.5)
  3258. bld.Enabled = false
  3259. wait(3)
  3260. v:Destroy()
  3261. dude:Destroy()
  3262. end))
  3263. end))
  3264. end
  3265. end
  3266. end))
  3267. end)
  3268. ds()
  3269. end
  3270. end
  3271.  
  3272.  
  3273. function FindNearestHead(Position, Distance, SinglePlayer)
  3274. if SinglePlayer then
  3275. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3276. end
  3277. local List = {}
  3278. for i, v in pairs(workspace:GetChildren()) do
  3279. if v:IsA("Model") then
  3280. if v:findFirstChild("Head") then
  3281. if v ~= Character then
  3282. if (v.Head.Position - Position).magnitude <= Distance then
  3283. table.insert(List, v)
  3284. end
  3285. end
  3286. end
  3287. end
  3288. end
  3289. return List
  3290. end
  3291.  
  3292. function FaceMouse()
  3293. Cam = workspace.CurrentCamera
  3294. return {
  3295. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3296. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3297. }
  3298. end
  3299.  
  3300. function FaceMouse2()
  3301. Cam = workspace.CurrentCamera
  3302. return {
  3303. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3304. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3305. }
  3306. end
  3307.  
  3308. local ModeOfGlitch = 1
  3309. -- Functions are ready.
  3310. local storehumanoidWS = 16
  3311.  
  3312. function CorruptBlink()
  3313. for i = 0, 14 do
  3314. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3315. end
  3316. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3317. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3318. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3319. CameraEnshaking(2,10)
  3320. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3321. if v:FindFirstChild('Head') then
  3322. dmg(v)
  3323. end
  3324. end end
  3325. for i = 0, 14 do
  3326. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3327. end
  3328. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3329. end
  3330.  
  3331. function ExtinctiveHeartbreak()
  3332. local targetted = nil
  3333. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3334. targetted = mouse.Target.Parent
  3335. end
  3336. if targetted ~= nil then
  3337. attack = true
  3338. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3339. for i = 0, 9 do
  3340. 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)
  3341. end
  3342. for i = 0, 24 do
  3343. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3344. end
  3345. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3346. local originalpos = root.CFrame
  3347. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3348. for i = 0, 9 do
  3349. 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)
  3350. end
  3351. for i = 0, 24 do
  3352. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3353. end
  3354. hum.WalkSpeed = 0
  3355. targetted.Head.Anchored = true
  3356. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3357. for i = 0,2,0.1 do
  3358. swait()
  3359. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  3360. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  3361. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  3362. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3363. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  3364. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  3365. end
  3366. coroutine.resume(coroutine.create(function()
  3367. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3368. bld.LightEmission = 0.1
  3369. bld.Texture = "rbxassetid://284205403"
  3370. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3371. bld.Rate = 500
  3372. bld.Lifetime = NumberRange.new(1)
  3373. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3374. bld.Acceleration = vt(0,-25,0)
  3375. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3376. bld.Speed = NumberRange.new(10,50)
  3377. bld.EmissionDirection = "Front"
  3378. bld.VelocitySpread = 25
  3379. bld.Rotation = NumberRange.new(-500,500)
  3380. bld.RotSpeed = NumberRange.new(-500,500)
  3381. end))
  3382. coroutine.resume(coroutine.create(function()
  3383. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3384. bld.LightEmission = 0.1
  3385. bld.Texture = "rbxassetid://284205403"
  3386. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3387. bld.Rate = 500
  3388. bld.Lifetime = NumberRange.new(1)
  3389. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3390. bld.Acceleration = vt(0,-25,0)
  3391. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3392. bld.Speed = NumberRange.new(10,50)
  3393. bld.EmissionDirection = "Front"
  3394. bld.VelocitySpread = 25
  3395. bld.Rotation = NumberRange.new(-500,500)
  3396. bld.RotSpeed = NumberRange.new(-500,500)
  3397. end))
  3398. CameraEnshaking(5,5)
  3399. game:GetService("Debris"):AddItem(bld,3)
  3400. dmg(targetted)
  3401. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3402. for i = 0,1,0.1 do
  3403. swait()
  3404. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  3405. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  3406. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  3407. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3408. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3409. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  3410. end
  3411. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3412. for i = 0, 9 do
  3413. 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)
  3414. end
  3415. for i = 0, 24 do
  3416. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3417. end
  3418. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3419. root.CFrame = originalpos
  3420. for i = 0, 9 do
  3421. 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)
  3422. end
  3423. for i = 0, 24 do
  3424. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3425. end
  3426. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3427. bld.Enabled = false
  3428. attack = false
  3429. hum.WalkSpeed = storehumanoidWS
  3430. end
  3431. end
  3432. function PureBomb()
  3433. attack = true
  3434.  
  3435. local orb = Instance.new("Part", char)
  3436. orb.Anchored = true
  3437. orb.BrickColor = BrickColor.new("Toothpaste")
  3438. orb.CanCollide = false
  3439. orb.FormFactor = 3
  3440. orb.Name = "Ring"
  3441. orb.Material = "Neon"
  3442. orb.Size = Vector3.new(1, 1, 1)
  3443. orb.Transparency = 0
  3444. orb.TopSurface = 0
  3445. orb.BottomSurface = 0
  3446. local orbm = Instance.new("SpecialMesh", orb)
  3447. orbm.MeshType = "Sphere"
  3448. orbm.Name = "SizeMesh"
  3449. orbm.Scale = vt(0,0,0)
  3450. local scaled = 0.1
  3451. local posid = 0
  3452. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3453. for i = 0, 5, 0.1 do
  3454. swait()
  3455. scaled = scaled - 0.001
  3456. posid = posid - scaled
  3457. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3458. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3459. 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)
  3460. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3461. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3462. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3463. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3465. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3466. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3467. end
  3468. for i = 0, 2, 0.1 do
  3469. swait()
  3470. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3471. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3472. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3473. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3474. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3475. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3476. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3477. end
  3478. coroutine.resume(coroutine.create(function()
  3479. orb.Anchored = false
  3480. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3481. local a = Instance.new("Part",workspace)
  3482. a.Name = "Direction"
  3483. a.Anchored = true
  3484. a.BrickColor = bc("Bright red")
  3485. a.Material = "Neon"
  3486. a.Transparency = 1
  3487. a.CanCollide = false
  3488. local ray = Ray.new(
  3489. orb.CFrame.p, -- origin
  3490. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3491. )
  3492. local ignore = orb
  3493. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3494. a.BottomSurface = 10
  3495. a.TopSurface = 10
  3496. local distance = (orb.CFrame.p - position).magnitude
  3497. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3498. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3499. orb.CFrame = a.CFrame
  3500. a:Destroy()
  3501. local bv = Instance.new("BodyVelocity")
  3502. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3503. bv.velocity = orb.CFrame.lookVector*125
  3504. bv.Parent = orb
  3505. local hitted = false
  3506. game:GetService("Debris"):AddItem(orb, 15)
  3507. wait()
  3508. local hit =orb.Touched:connect(function(hit)
  3509. if hitted == false then
  3510. hitted = true
  3511. CameraEnshaking(10,2.5)
  3512. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3513. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3514. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3515. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3516. for i = 0, 49 do
  3517. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  3518. end
  3519. for i = 0, 9 do
  3520. 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)
  3521. 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)
  3522. end
  3523. orb.Anchored = true
  3524. orb.Transparency = 1
  3525. wait(8)
  3526. orb:Destroy()
  3527. end
  3528. end)
  3529. end))
  3530. for i = 0, 1, 0.1 do
  3531. swait()
  3532. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3533. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3534. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3535. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3536. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3537. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3538. end
  3539. attack = false
  3540. end
  3541.  
  3542. function ChaosGroundStrike()
  3543. attack = true
  3544. for i = 0, 2, 0.1 do
  3545. swait()
  3546. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3547. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3548. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3549. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3550. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3551. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3552. end
  3553. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3554. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3555. CameraEnshaking(4,12)
  3556. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3557. if v:FindFirstChild('Head') then
  3558. dmg(v)
  3559. end
  3560. end
  3561. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3562. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3563. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3564. for i = 0, 2, 0.1 do
  3565. swait()
  3566. 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)
  3567. 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)
  3568. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3569. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3570. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3571. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3572. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3573. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3574. end
  3575. attack = false
  3576. end
  3577.  
  3578. function InsaneGroundStrike()
  3579. attack = true
  3580. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3581. for i = 0, 8, 0.1 do
  3582. swait()
  3583. PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3584.  
  3585. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3586. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3587. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3588. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3589. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3590. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3591. end
  3592. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3593. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3594. CameraEnshaking(8,24)
  3595. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3596. if v:FindFirstChild('Head') then
  3597. dmg(v)
  3598. end
  3599. end
  3600. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3601. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3602. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  3603. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3604. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3605. for i = 0, 2, 0.1 do
  3606. swait()
  3607. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3608. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3609. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3610. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3611. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3612. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3613. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3614. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3615. end
  3616. attack = false
  3617. end
  3618.  
  3619. function Starfall()
  3620. attack = true
  3621. hum.WalkSpeed = 0
  3622. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3623. for i = 0, 5, 0.1 do
  3624. swait()
  3625. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3626. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3627. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3628. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3629. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3630. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3631. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3632. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3633. end
  3634. local Overed = false
  3635. CameraEnshaking(2,20)
  3636. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3637. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3638. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3639. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3640. local orb = Instance.new("Part", char)
  3641. orb.Anchored = true
  3642. orb.BrickColor = BrickColor.new("Toothpaste")
  3643. orb.CanCollide = false
  3644. orb.FormFactor = 3
  3645. orb.Name = "Remenant"
  3646. orb.Material = "Neon"
  3647. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3648. orb.Size = Vector3.new(1, 1, 1)
  3649. orb.Transparency = 1
  3650. orb.TopSurface = 0
  3651. orb.BottomSurface = 0
  3652. hum.WalkSpeed = storehumanoidWS
  3653. coroutine.resume(coroutine.create(function()
  3654. for i = 0, 9 do
  3655. swait(10)
  3656. local lb = Instance.new("Part")
  3657. lb.Color = MAINRUINCOLOR.Color
  3658. lb.CanCollide = false
  3659. lb.Material = "Neon"
  3660. lb.Anchored = true
  3661. lb.TopSurface = 0
  3662. lb.BottomSurface = 0
  3663. lb.Transparency = 0
  3664. lb.Size = vt(1,1,1)
  3665. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3666. lb.Anchored = false
  3667. lb.Parent = char
  3668. local thingery = Instance.new("SpecialMesh",lb)
  3669. thingery.MeshType = "Sphere"
  3670. thingery.Scale = vt(20,20,20)
  3671. game:GetService("Debris"):AddItem(lb, 10)
  3672. local bv = Instance.new("BodyVelocity")
  3673. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3674. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3675. bv.Parent = lb
  3676. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3677. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3678. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3679. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3680. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3681. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3682. local hitted = false
  3683. coroutine.resume(coroutine.create(function()
  3684. while true do
  3685. swait(1)
  3686. if lb.Parent ~= nil and hitted == false then
  3687. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3688. elseif lb.Parent == nil then
  3689. break
  3690. end
  3691. end
  3692. end))
  3693.  
  3694. game:GetService("Debris"):AddItem(a, 0.1)
  3695.  
  3696. coroutine.resume(coroutine.create(function()
  3697. swait(1)
  3698. lb.Touched:connect(function(hit)
  3699. if hitted == false then
  3700. hitted = true
  3701. lb.Transparency = 1
  3702. lb.Anchored = true
  3703. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3704. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3705. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3706. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3707. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3708. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3709. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3710. CameraEnshaking(1,5)
  3711. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3712. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3713. for i = 0, 9 do
  3714. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3715. end
  3716. for i = 0, 49 do
  3717. swait()
  3718. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3719. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3720. end
  3721. end
  3722. end)
  3723. end))
  3724. end
  3725. Overed = true
  3726. orb:Destroy()
  3727. end))
  3728.  
  3729. attack = false
  3730. end
  3731.  
  3732. function StarfallEX()
  3733. attack = true
  3734. hum.WalkSpeed = 0
  3735. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3736. for i = 0, 5, 0.1 do
  3737. swait()
  3738. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3739. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3740. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3741. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3742. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3743. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3744. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3745. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3746. end
  3747. local Overed = false
  3748. CameraEnshaking(2,20)
  3749. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3750. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3751. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3752. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3753. local orb = Instance.new("Part", char)
  3754. orb.Anchored = true
  3755. orb.BrickColor = BrickColor.new("Toothpaste")
  3756. orb.CanCollide = false
  3757. orb.FormFactor = 3
  3758. orb.Name = "Remenant"
  3759. orb.Material = "Neon"
  3760. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3761. orb.Size = Vector3.new(1, 1, 1)
  3762. orb.Transparency = 1
  3763. orb.TopSurface = 0
  3764. orb.BottomSurface = 0
  3765. hum.WalkSpeed = storehumanoidWS
  3766. coroutine.resume(coroutine.create(function()
  3767. for i = 1, 5 do
  3768. swait(10)
  3769. local lb = Instance.new("Part")
  3770. lb.Color = MAINRUINCOLOR.Color
  3771. lb.CanCollide = false
  3772. lb.Material = "Neon"
  3773. lb.Anchored = true
  3774. lb.TopSurface = 0
  3775. lb.BottomSurface = 0
  3776. lb.Transparency = 0
  3777. lb.Size = vt(1,1,1)
  3778. lb.CFrame = orb.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3779. lb.Anchored = false
  3780. lb.Parent = char
  3781. local thingery = Instance.new("SpecialMesh",lb)
  3782. thingery.MeshType = "Sphere"
  3783. thingery.Scale = vt(20,20,20)
  3784. game:GetService("Debris"):AddItem(lb, 10)
  3785. local bv = Instance.new("BodyVelocity")
  3786. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3787. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3788. bv.Parent = lb
  3789. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3790. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3791. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3792. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3793. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3794. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3795. local hitted = false
  3796. coroutine.resume(coroutine.create(function()
  3797. while true do
  3798. swait(1)
  3799. if lb.Parent ~= nil and hitted == false then
  3800. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3801. elseif lb.Parent == nil then
  3802. break
  3803. end
  3804. end
  3805. end))
  3806.  
  3807. game:GetService("Debris"):AddItem(a, 0.1)
  3808.  
  3809. coroutine.resume(coroutine.create(function()
  3810. swait(5)
  3811. lb.Touched:connect(function(hit)
  3812. if hitted == false and not hit:IsDescendantOf(Character) then
  3813. hitted = true
  3814. lb.Transparency = 1
  3815. lb.Anchored = true
  3816. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3817. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3818. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3819. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3820. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3821. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3822. MagniDamage(lb, 45, 90,170, 0, "Normal")
  3823. CameraEnshaking(1,5)
  3824. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3825. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3826. for i = 0, 9 do
  3827. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3828. end
  3829. for i = 0, 49 do
  3830. swait()
  3831. MagniDamage(lb, 60, 20,40, 0, "Normal")
  3832. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3833. end
  3834. end
  3835. end)
  3836. end))
  3837. end
  3838. Overed = true
  3839. orb:Destroy()
  3840. end))
  3841.  
  3842. attack = false
  3843. end
  3844.  
  3845.  
  3846. function StarDivision()
  3847. attack = true
  3848. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  3849. for i = 0, 2, 0.1 do
  3850. swait()
  3851. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3852. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  3853. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6)
  3854. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
  3855. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  3856. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  3857. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  3858. end
  3859. local orb = Instance.new("Part", char)
  3860. orb.BrickColor = MAINRUINCOLOR
  3861. orb.CanCollide = false
  3862. orb.FormFactor = 3
  3863. orb.Name = "Ring"
  3864. orb.Material = "Neon"
  3865. orb.Size = Vector3.new(1, 1, 1)
  3866. orb.Transparency = 0
  3867. orb.TopSurface = 0
  3868. orb.BottomSurface = 0
  3869. local orbm = Instance.new("SpecialMesh", orb)
  3870. orbm.MeshType = "Sphere"
  3871. orbm.Name = "SizeMesh"
  3872. orbm.Scale = vt(2,2,2)
  3873. local a = Instance.new("Part",workspace)
  3874. a.Name = "Direction"
  3875. a.Anchored = true
  3876. a.BrickColor = bc("Bright red")
  3877. a.Material = "Neon"
  3878. a.Transparency = 1
  3879. a.CanCollide = false
  3880. local ray = Ray.new(
  3881. sorb.CFrame.p, -- origin
  3882. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  3883. )
  3884. local ignore = sorb
  3885. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3886. a.BottomSurface = 10
  3887. a.TopSurface = 10
  3888. local distance = (sorb.CFrame.p - position).magnitude
  3889. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3890. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3891. orb.CFrame = a.CFrame
  3892. a:Destroy()
  3893. local bv = Instance.new("BodyVelocity")
  3894. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3895. bv.velocity = orb.CFrame.lookVector*100
  3896. bv.Parent = orb
  3897. local hitted = false
  3898. game:GetService("Debris"):AddItem(orb, 10)
  3899. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  3900. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  3901. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  3902. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  3903. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  3904. coroutine.resume(coroutine.create(function()
  3905. while true do
  3906. swait(1)
  3907. if orb.Parent ~= nil and hitted == false then
  3908. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  3909. elseif orb.Parent == nil then
  3910. break
  3911. end
  3912. end
  3913. end))
  3914. coroutine.resume(coroutine.create(function()
  3915. swait(1)
  3916. orb.Touched:connect(function(hit)
  3917. if hitted == false then
  3918. hitted = true
  3919. game:GetService("Debris"):AddItem(orb, 5)
  3920. orb.Transparency = 1
  3921. orb.Anchored = true
  3922. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3923. elocacenter.Anchored = true
  3924. elocacenter.CFrame = orb.CFrame
  3925. elocacenter.Orientation = vt(0,0,0)
  3926. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3927. eloca1.Anchored = true
  3928. eloca1.CFrame = elocacenter.CFrame
  3929. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3930. eloca2.Anchored = true
  3931. eloca2.CFrame = elocacenter.CFrame
  3932. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3933. eloca3.Anchored = true
  3934. eloca3.CFrame = elocacenter.CFrame
  3935. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3936. eloca4.Anchored = true
  3937. eloca4.CFrame = elocacenter.CFrame
  3938. local lookavec = 0
  3939. local speeds = 0
  3940. CameraEnshaking(1,1)
  3941. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  3942. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3943. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3944. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3945. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3946. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3947. for i = 0, 99 do
  3948. swait()
  3949. lookavec = lookavec + 1
  3950. speeds = speeds + 0.1
  3951. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3952. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3953. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3954.  
  3955. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3956. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3957.  
  3958. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3959. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3960.  
  3961. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3962. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3963. end
  3964.  
  3965. for i = 0, 149 do
  3966. swait()
  3967. speeds = speeds + 0.1
  3968. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3969. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3970. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3971.  
  3972. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3973. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3974.  
  3975. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3976. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3977.  
  3978. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3979. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3980. end
  3981. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  3982. if v:FindFirstChild('Head') then
  3983. dmg(v)
  3984. end
  3985. end
  3986. CameraEnshaking(7,30)
  3987. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  3988. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  3989. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  3990. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  3991. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  3992. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  3993. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  3994. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3995. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3996. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3997. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3998. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3999. for i = 0, 24 do
  4000. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4001. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4002. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4003. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4004. end
  4005. coroutine.resume(coroutine.create(function()
  4006. for i = 0, 499 do
  4007. swait(1)
  4008. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4009. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  4010. end
  4011. elocacenter:Destroy()
  4012. eloca1:Destroy()
  4013. eloca2:Destroy()
  4014. eloca3:Destroy()
  4015. eloca4:Destroy()
  4016. end))
  4017. end
  4018. end)
  4019. end))
  4020. attack = false
  4021. end
  4022.  
  4023.  
  4024. function UniversalCollapse()
  4025. attack = true
  4026. local speedearn = 0
  4027. hum.WalkSpeed = 0
  4028. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4029. for i = 0, 10, 0.1 do
  4030. swait()
  4031. speedearn = speedearn + 0.1
  4032. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4033. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4034. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4035. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4036. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4037. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  4038. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  4039. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4040. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4041. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  4042. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  4043. end
  4044. CameraEnshaking(5,45)
  4045. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4046. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4047. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4048. if v:FindFirstChild('Head') then
  4049. dmg(v)
  4050. end
  4051. end
  4052. hum.WalkSpeed = storehumanoidWS
  4053. attack = false
  4054. end
  4055. function ChaosBegone()
  4056. attack = true
  4057. local speedearn = 0
  4058. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  4059. for i = 0, 10, 0.1 do
  4060. swait()
  4061. speedearn = speedearn + 0.1
  4062. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4063. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4064. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4065. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4066. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4067. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4068. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4069. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4070. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4071. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4072. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4073. end
  4074. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4075. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  4076. CameraEnshaking(5,25)
  4077. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4078. if v:FindFirstChild('Head') then
  4079. dmg(v)
  4080. end
  4081. end
  4082. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4083. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4084. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4085. for i = 0, 3, 0.1 do
  4086. swait()
  4087. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4088. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4089. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4090. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4091. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4092. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4093. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4094. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4095. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4096. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4097. end
  4098. attack = false
  4099. end
  4100.  
  4101. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4102. local orb = Instance.new("Part", char)
  4103. orb.Anchored = true
  4104. orb.BrickColor = color
  4105. orb.CanCollide = false
  4106. orb.FormFactor = 3
  4107. orb.Name = "Ring"
  4108. orb.Material = "Neon"
  4109. orb.Size = Vector3.new(1, 1, 1)
  4110. orb.Transparency = 0
  4111. orb.TopSurface = 0
  4112. orb.BottomSurface = 0
  4113. local orbm = Instance.new("SpecialMesh", orb)
  4114. orbm.MeshType = "Sphere"
  4115. orb.CFrame = positted
  4116. orbm.Name = "SizeMesh"
  4117. orbm.Scale = vt(1,1,1)
  4118. coroutine.wrap(function()
  4119. while orb and orb.Parent do
  4120. if glitchymode then
  4121. local val = math.random(1,255)
  4122. local color = Color3.fromRGB(val,val,val)
  4123. orb.Color = color
  4124. end
  4125. swait()
  4126. end
  4127. end)()
  4128. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4129. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4130. --[[for i = 0, 2 do
  4131. 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)
  4132. end]]--
  4133. coroutine.resume(coroutine.create(function()
  4134. wait(timer)
  4135. CameraEnshaking(3,ShakePower)
  4136. orb.Transparency = 1
  4137. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4138. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4139. --[[for i = 0, 4 do
  4140. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4141. end]]--
  4142. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4143. wait(3)
  4144. orb:Destroy()
  4145. end))
  4146. end
  4147.  
  4148. function orb_spawn(positted,timer)
  4149. local orb = Instance.new("Part", char)
  4150. orb.Anchored = true
  4151. orb.BrickColor = BrickColor.new("White")
  4152.  
  4153. orb.CanCollide = false
  4154. orb.FormFactor = 3
  4155. orb.Name = "Ring"
  4156. orb.Material = "Neon"
  4157. orb.Size = Vector3.new(1, 1, 1)
  4158. orb.Transparency = 0
  4159. orb.TopSurface = 0
  4160. orb.BottomSurface = 0
  4161. local orbm = Instance.new("SpecialMesh", orb)
  4162. orbm.MeshType = "Sphere"
  4163. orb.CFrame = positted
  4164. orbm.Name = "SizeMesh"
  4165. orbm.Scale = vt(1,1,1)
  4166. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4167. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4168. coroutine.wrap(function()
  4169. while orb and orb.Parent do
  4170. if glitchymode then
  4171. local val = math.random(1,255)
  4172. local color = Color3.fromRGB(val,val,val)
  4173. orb.Color = color
  4174. end
  4175. swait()
  4176. end
  4177. end)()
  4178. for i = 0, 2 do
  4179. 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)
  4180. end
  4181.  
  4182. coroutine.resume(coroutine.create(function()
  4183. wait(timer)
  4184. CameraEnshaking(3,2)
  4185. orb.Transparency = 1
  4186. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4187. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4188. for i = 0, 4 do
  4189. 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)
  4190. end
  4191. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4192. wait(3)
  4193. orb:Destroy()
  4194. end))
  4195. end
  4196.  
  4197. function scattercorrupt()
  4198. attack = true
  4199. local rot = 0
  4200. local randomrotations = math.random(1,2)
  4201. local lookv = 2.5
  4202. local power = 5
  4203. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4204. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4205. for i = 0, 9 do
  4206. 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)
  4207. end
  4208. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4209. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4210. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4211. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4212. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4213. local hite = Instance.new("Part", char)
  4214. hite.Anchored = true
  4215. hite.CanCollide = false
  4216. hite.FormFactor = 3
  4217. hite.Name = "Ring"
  4218. hite.Material = "Neon"
  4219. hite.Size = Vector3.new(1, 1, 1)
  4220. hite.Transparency = 1
  4221. hite.TopSurface = 0
  4222. hite.BottomSurface = 0
  4223. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4224. local rem = Instance.new("Part", char)
  4225. rem.Anchored = true
  4226. rem.CanCollide = false
  4227. rem.FormFactor = 3
  4228. rem.Name = "Ring"
  4229. rem.Material = "Neon"
  4230. rem.Size = Vector3.new(1, 1, 1)
  4231. rem.Transparency = 1
  4232. rem.TopSurface = 0
  4233. rem.BottomSurface = 0
  4234. rem.CFrame = hite.CFrame
  4235. local rem2 = rem:Clone()
  4236. rem2.Parent = char
  4237. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4238. local rem3 = rem:Clone()
  4239. rem3.Parent = char
  4240. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4241. local rem4 = rem:Clone()
  4242. rem4.Parent = char
  4243. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4244. hite:Destroy()
  4245. coroutine.resume(coroutine.create(function()
  4246. for i = 0, 24 do
  4247. swait(1)
  4248. if randomrotations == 1 then
  4249. rot = rot + 1
  4250. elseif randomrotations == 2 then
  4251. rot = rot - 1
  4252. end
  4253. power = power + 0.5
  4254. lookv = lookv + 7.5
  4255. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4256. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4257. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4258. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4259. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4260. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4261. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4262. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4263. end
  4264. end))
  4265. attack = false
  4266. end
  4267. function yinyangi()
  4268. attack = true
  4269. for i = 0, 2, 0.1 do
  4270. swait()
  4271. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  4272. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  4273. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  4274. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4275. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4276. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4277. end
  4278. local bv = Instance.new("BodyVelocity")
  4279. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4280. bv.velocity = root.CFrame.lookVector*175
  4281. bv.Parent = root
  4282. for Rotations = 0, 9 do
  4283.  
  4284. for i = 0, 1, 0.5 do
  4285. swait()
  4286. bv.velocity = root.CFrame.lookVector*175
  4287. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4288. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4289. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  4290. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4291. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4292. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4293. end
  4294.  
  4295. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4296. for i = 0, 1, 0.5 do
  4297. swait()
  4298. bv.velocity = root.CFrame.lookVector*175
  4299. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4300. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4301. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  4302. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4303. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4304. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4305. end
  4306.  
  4307. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4308. for i = 0, 1, 0.5 do
  4309. swait()
  4310. bv.velocity = root.CFrame.lookVector*175
  4311. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4312. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4313. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  4314. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4315. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4316. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4317. end
  4318.  
  4319. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4320. for i = 0, 1, 0.5 do
  4321. swait()
  4322. bv.velocity = root.CFrame.lookVector*175
  4323. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4324. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4325. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  4326. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4327. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4328. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4329. end
  4330.  
  4331. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4332. end
  4333. bv:Destroy()
  4334. attack = false
  4335. end
  4336.  
  4337. function JusticeBeam()
  4338. attack = true
  4339.  
  4340. local rngb = Instance.new("Part", char)
  4341. rngb.Anchored = true
  4342. rngb.BrickColor = origcolor
  4343. rngb.CanCollide = false
  4344. rngb.FormFactor = 3
  4345. rngb.Name = "Ring"
  4346. rngb.Material = "Neon"
  4347. rngb.Size = Vector3.new(1, 0.05, 1)
  4348. rngb.Transparency = 1
  4349. rngb.TopSurface = 0
  4350. rngb.BottomSurface = 0
  4351. local rngmb = Instance.new("SpecialMesh", rngb)
  4352. rngmb.MeshType = "Brick"
  4353. rngmb.Name = "SizeMesh"
  4354. rngmb.Scale = vt(0,1,0)
  4355.  
  4356. local orb = rngb:Clone()
  4357. orb.Parent = char
  4358. orb.Transparency = 0
  4359. orb.BrickColor = BrickColor.new("White")
  4360. orb.Size = vt(1,1,1)
  4361. local orbmish = orb.SizeMesh
  4362. orbmish.Scale = vt(0,0,0)
  4363. orbmish.MeshType = "Sphere"
  4364.  
  4365. local orbe = rngb:Clone()
  4366. orbe.Parent = char
  4367. orbe.Transparency = 0.5
  4368. orbe.BrickColor = BrickColor.new("New Yeller")
  4369. orbe.Size = vt(1,1,1)
  4370. local orbmish2 = orbe.SizeMesh
  4371. orbmish2.Scale = vt(0,0,0)
  4372. orbmish2.MeshType = "Sphere"
  4373. orbe.Color = Color3.new(1,1,1)
  4374.  
  4375. rngb:Destroy()
  4376. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4377. local scaled = 1
  4378. for i = 0,5,0.1 do
  4379. swait()
  4380. scaled = scaled - 0.02
  4381. if rainbowmode == true then
  4382. orbe.Color = Color3.new(r/255,g/255,b/255)
  4383. end
  4384. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4385. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4386. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4387. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4388. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4389. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4390. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4391. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4392. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4393. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4394. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4395. RootPart.CFrame = FaceMouse()[1]
  4396. end]]--
  4397. for i = 0,5,0.1 do
  4398. swait()
  4399. if rainbowmode == true then
  4400. orbe.Color = Color3.new(r/255,g/255,b/255)
  4401. end
  4402. if glitchymode then
  4403. local val = math.random(1,255)
  4404. local color = Color3.fromRGB(val,val,val)
  4405. orbe.Color = color
  4406. end
  4407. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4408. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4409. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4410. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  4411. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4412. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4413. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4414. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4415. end
  4416. orbe.Transparency = 1
  4417. orb.Transparency = 1
  4418. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4419. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4420. local a2 = Instance.new("Part",Character)
  4421. a2.Name = "Direction"
  4422. a2.Anchored = true
  4423. a2.BrickColor = bc("New Yeller")
  4424. a2.Color = Color3.new(1,1,1)
  4425. a2.Material = "Neon"
  4426. a2.Transparency = 0.5
  4427. a2.Shape = "Cylinder"
  4428. a2.CanCollide = false
  4429. local ba = Instance.new("Part",Character)
  4430. ba.Name = "HitDirect"
  4431. ba.Anchored = true
  4432. ba.BrickColor = bc("Cool yellow")
  4433. ba.Material = "Neon"
  4434. ba.Transparency = 1
  4435. ba.CanCollide = false
  4436. local ray = Ray.new(
  4437. orb.CFrame.p, -- origin
  4438. root.CFrame.lookVector.unit * 1000 -- direction
  4439. )
  4440. local ignore = Character
  4441. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4442. a2.Transparency = .75
  4443. a2.BottomSurface = 10
  4444. a2.TopSurface = 10
  4445. local distance = (orb.CFrame.p - position).magnitude
  4446. a2.Size = Vector3.new(distance, 1, 1)
  4447. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4448. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4449. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4450. game:GetService("Debris"):AddItem(a2, 20)
  4451. game:GetService("Debris"):AddItem(ba, 20)
  4452. local msh2 = Instance.new("SpecialMesh",a2)
  4453. msh2.MeshType = "Cylinder"
  4454. msh2.Scale = vt(1,6*5,6*5)
  4455.  
  4456. local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
  4457. for i = 1, 80*2 do
  4458. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4459. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  4460. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4461. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4462. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4463. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4464. swait()
  4465. CameraEnshaking(1,5)
  4466. a2.Color = Color3.new(1,1,1)
  4467. a2.Transparency = .25
  4468. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4469. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4470. ray = Ray.new(
  4471. orb.CFrame.p, -- origin
  4472. root.CFrame.lookVector.unit * 1000 -- direction
  4473. )
  4474. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4475. distance = (orb.CFrame.p - position).magnitude
  4476. if typrot == 1 then
  4477. rotation = rotation + 2.5
  4478. elseif typrot == 2 then
  4479. rotation = rotation - 2.5
  4480. end
  4481. a2.Size = Vector3.new(distance, 1, 1)
  4482. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4483. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4484. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4485. msh2.Scale = msh2.Scale - vt(0,.19,.19)
  4486. 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)
  4487. 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)
  4488. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4489. end
  4490. a2:Destroy()
  4491. ba:Destroy()
  4492. orb:Destroy()
  4493. orbe:Destroy()
  4494. attack = false
  4495. end
  4496.  
  4497. function Wip()
  4498. attack = true
  4499.  
  4500. local rngb = Instance.new("Part", char)
  4501. rngb.Anchored = true
  4502. rngb.BrickColor = origcolor
  4503. rngb.CanCollide = false
  4504. rngb.FormFactor = 3
  4505. rngb.Name = "Ring"
  4506. rngb.Material = "Neon"
  4507. rngb.Size = Vector3.new(1, 0.05, 1)
  4508. rngb.Transparency = 1
  4509. rngb.TopSurface = 0
  4510. rngb.BottomSurface = 0
  4511. local rngmb = Instance.new("SpecialMesh", rngb)
  4512. rngmb.MeshType = "Brick"
  4513. rngmb.Name = "SizeMesh"
  4514. rngmb.Scale = vt(0,1,0)
  4515.  
  4516. local orb = rngb:Clone()
  4517. orb.Parent = char
  4518. orb.Transparency = 0
  4519. orb.BrickColor = BrickColor.new("White")
  4520. orb.Size = vt(1,1,1)
  4521. local orbmish = orb.SizeMesh
  4522. orbmish.Scale = vt(0,0,0)
  4523. orbmish.MeshType = "Sphere"
  4524.  
  4525. local orbe = rngb:Clone()
  4526. orbe.Parent = char
  4527. orbe.Transparency = 0.5
  4528. orbe.BrickColor = BrickColor.new("New Yeller")
  4529. orbe.Size = vt(1,1,1)
  4530. local orbmish2 = orbe.SizeMesh
  4531. orbmish2.Scale = vt(0,0,0)
  4532. orbmish2.MeshType = "Sphere"
  4533. orbe.Color = Color3.new(r/255,g/255,b/255)
  4534.  
  4535. hum.AutoRotate = false
  4536. rngb:Destroy()
  4537. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4538. local scaled = 1
  4539. for i = 0,5,0.1 do
  4540. swait()
  4541. scaled = scaled - 0.02
  4542. if rainbowmode == true then
  4543. orbe.Color = Color3.new(r/255,g/255,b/255)
  4544. end
  4545. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4546. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4547. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4548. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4549. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4550. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4551. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4552. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4553. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4554. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4555. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4556. RootPart.CFrame = FaceMouse()[1]
  4557. end]]--
  4558. for i = 0,5,0.1 do
  4559. swait()
  4560. if rainbowmode == true then
  4561. orbe.Color = Color3.new(r/255,g/255,b/255)
  4562. end
  4563. if glitchymode then
  4564. local val = math.random(1,255)
  4565. local color = Color3.fromRGB(val,val,val)
  4566. orbe.Color = color
  4567. end
  4568. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4569. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4570. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4571. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4572. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4573. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4574. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4575. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4576. RootPart.CFrame = FaceMouse()[1]
  4577. end
  4578. orbe.Transparency = 1
  4579. orb.Transparency = 1
  4580. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4581. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4582. local a = Instance.new("Part",Character)
  4583. a.Name = "Direction"
  4584. a.Anchored = true
  4585. a.BrickColor = bc("White")
  4586. a.Material = "Neon"
  4587. a.Transparency = 0
  4588. a.Shape = "Cylinder"
  4589. a.CanCollide = false
  4590. local a2 = Instance.new("Part",Character)
  4591. a2.Name = "Direction"
  4592. a2.Anchored = true
  4593. a2.BrickColor = bc("New Yeller")
  4594. a2.Color = Color3.new(r/255,g/255,b/255)
  4595. a2.Material = "Neon"
  4596. a2.Transparency = 0.5
  4597. a2.Shape = "Cylinder"
  4598. a2.CanCollide = false
  4599. local ba = Instance.new("Part",Character)
  4600. ba.Name = "HitDirect"
  4601. ba.Anchored = true
  4602. ba.BrickColor = bc("Cool yellow")
  4603. ba.Material = "Neon"
  4604. ba.Transparency = 1
  4605. ba.CanCollide = false
  4606. local ray = Ray.new(
  4607. orb.CFrame.p, -- origin
  4608. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4609. )
  4610. local ignore = Character
  4611. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4612. a.BottomSurface = 10
  4613. a.TopSurface = 10
  4614. a2.BottomSurface = 10
  4615. a2.TopSurface = 10
  4616. local distance = (orb.CFrame.p - position).magnitude
  4617. a.Size = Vector3.new(distance, 1, 1)
  4618. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4619. a2.Size = Vector3.new(distance, 1, 1)
  4620. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4621. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4622. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4623. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4624. game:GetService("Debris"):AddItem(a, 20)
  4625. game:GetService("Debris"):AddItem(a2, 20)
  4626. game:GetService("Debris"):AddItem(ba, 20)
  4627. local msh = Instance.new("SpecialMesh",a)
  4628. msh.MeshType = "Cylinder"
  4629. msh.Scale = vt(1,5*5,5*5)
  4630. local msh2 = Instance.new("SpecialMesh",a2)
  4631. msh2.MeshType = "Cylinder"
  4632. msh2.Scale = vt(1,6*5,6*5)
  4633.  
  4634. for i = 0,10,0.1 do
  4635. swait()
  4636. CameraEnshaking(1,5)
  4637. a2.Color = Color3.new(r/255,g/255,b/255)
  4638. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4639. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4640. ray = Ray.new(
  4641. orb.CFrame.p, -- origin
  4642. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4643. )
  4644. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4645. distance = (orb.CFrame.p - position).magnitude
  4646. if typrot == 1 then
  4647. rotation = rotation + 2.5
  4648. elseif typrot == 2 then
  4649. rotation = rotation - 2.5
  4650. end
  4651. RootPart.CFrame = FaceMouse()[1]
  4652. a.Size = Vector3.new(distance, 1, 1)
  4653. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4654. a2.Size = Vector3.new(distance, 1, 1)
  4655. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4656. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4657. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4658. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4659. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  4660. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  4661. 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)
  4662. 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)
  4663. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4664. end
  4665. a:Destroy()
  4666. a2:Destroy()
  4667. ba:Destroy()
  4668. orb:Destroy()
  4669. orbe:Destroy()
  4670. hum.AutoRotate = true
  4671. attack = false
  4672. end
  4673.  
  4674.  
  4675. function UniversalSpark()
  4676. attack = true
  4677.  
  4678. local rngb = Instance.new("Part", char)
  4679. rngb.Anchored = true
  4680. rngb.BrickColor = origcolor
  4681. rngb.CanCollide = false
  4682. rngb.FormFactor = 3
  4683. rngb.Name = "Ring"
  4684. rngb.Material = "Neon"
  4685. rngb.Size = Vector3.new(1, 0.05, 1)
  4686. rngb.Transparency = 1
  4687. rngb.TopSurface = 0
  4688. rngb.BottomSurface = 0
  4689. local rngmb = Instance.new("SpecialMesh", rngb)
  4690. rngmb.MeshType = "Brick"
  4691. rngmb.Name = "SizeMesh"
  4692. rngmb.Scale = vt(0,1,0)
  4693.  
  4694. local orb = rngb:Clone()
  4695. orb.Parent = char
  4696. orb.Transparency = 0
  4697. orb.BrickColor = BrickColor.new("White")
  4698. orb.Size = vt(1,1,1)
  4699. local orbmish = orb.SizeMesh
  4700. orbmish.Scale = vt(0,0,0)
  4701. orbmish.MeshType = "Sphere"
  4702.  
  4703. local orbe = rngb:Clone()
  4704. orbe.Parent = char
  4705. orbe.Transparency = 0.5
  4706. orbe.BrickColor = BrickColor.new("New Yeller")
  4707. orbe.Size = vt(1,1,1)
  4708. local orbmish2 = orbe.SizeMesh
  4709. orbmish2.Scale = vt(0,0,0)
  4710. orbmish2.MeshType = "Sphere"
  4711. orbe.Color = Color3.new(r/255,g/255,b/255)
  4712.  
  4713. rngb:Destroy()
  4714. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4715. local scaled = 1
  4716. for i = 0,5,0.1 do
  4717. swait()
  4718. scaled = scaled - 0.02
  4719. if rainbowmode == true then
  4720. orbe.Color = Color3.new(r/255,g/255,b/255)
  4721. end
  4722. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4723. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4724. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4725. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4726. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4727. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4728. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4729. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4730. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4731. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4732. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4733. RootPart.CFrame = FaceMouse()[1]
  4734. end]]--
  4735. for i = 0,5,0.1 do
  4736. swait()
  4737. if rainbowmode == true then
  4738. orbe.Color = Color3.new(r/255,g/255,b/255)
  4739. end
  4740. if glitchymode then
  4741. local val = math.random(1,255)
  4742. local color = Color3.fromRGB(val,val,val)
  4743. orbe.Color = color
  4744. end
  4745. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4746. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4747. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4748. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4749. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4750. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4751. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4752. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4753. RootPart.CFrame = FaceMouse()[1]
  4754. end
  4755. orbe.Transparency = 1
  4756. orb.Transparency = 1
  4757. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4758. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  4759. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  4760. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4761.  
  4762. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4763. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  4764. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4765. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  4766. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  4767. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  4768. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  4769. local xd= Instance.new("Sound",char)
  4770. xd.SoundId = "rbxassetid://445796828"
  4771. xd.Pitch = 0.75
  4772. xd.Looped = true
  4773. xd.Volume = 1.25
  4774. xd:Play()
  4775. local a = Instance.new("Part",Character)
  4776. a.Name = "Direction"
  4777. a.Anchored = true
  4778. a.BrickColor = bc("Alder")
  4779. a.Color = MAINRUINCOLOR.Color
  4780. a.Material = "Neon"
  4781. a.Transparency = 0.5
  4782. a.Shape = "Cylinder"
  4783. a.CanCollide = false
  4784. local a2 = Instance.new("Part",Character)
  4785. a2.Name = "Direction"
  4786. a2.Anchored = true
  4787. a2.BrickColor = bc("New Yeller")
  4788. a2.Color = MAINRUINCOLOR.Color
  4789. a2.Material = "Neon"
  4790. a2.Transparency = 0.5
  4791. a2.Shape = "Cylinder"
  4792. a2.CanCollide = false
  4793. local ba = Instance.new("Part",Character)
  4794. ba.Name = "HitDirect"
  4795. ba.Anchored = true
  4796. ba.BrickColor = bc("Cool yellow")
  4797. ba.Material = "Neon"
  4798. ba.Transparency = 1
  4799. ba.CanCollide = false
  4800. local ray = Ray.new(
  4801. orb.CFrame.p, -- origin
  4802. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4803. )
  4804. local ignore = Character
  4805. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4806. a.BottomSurface = 10
  4807. a.TopSurface = 10
  4808. a2.BottomSurface = 10
  4809. a2.TopSurface = 10
  4810. local distance = (orb.CFrame.p - position).magnitude
  4811. a.Size = Vector3.new(distance, 1, 1)
  4812. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4813. a2.Size = Vector3.new(distance, 1, 1)
  4814. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4815. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4816. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4817. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4818. game:GetService("Debris"):AddItem(a, 60)
  4819. game:GetService("Debris"):AddItem(a2, 60)
  4820. game:GetService("Debris"):AddItem(ba, 60)
  4821. local outerscale = 0
  4822. local msh = Instance.new("SpecialMesh",a)
  4823. msh.MeshType = "Cylinder"
  4824. msh.Scale = vt(1,0,0)
  4825. local msh2 = Instance.new("SpecialMesh",a2)
  4826. msh2.MeshType = "Cylinder"
  4827. msh2.Scale = vt(1,0,0)
  4828. for i = 0,2,0.1 do
  4829. swait()
  4830. CameraEnshaking(1,1)
  4831. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  4832. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  4833. outerscale = outerscale - 0.015
  4834. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4835. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4836. ray = Ray.new(
  4837. orb.CFrame.p, -- origin
  4838. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4839. )
  4840. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4841. distance = (orb.CFrame.p - position).magnitude
  4842. if typrot == 1 then
  4843. rotation = rotation + 2.5
  4844. elseif typrot == 2 then
  4845. rotation = rotation - 2.5
  4846. end
  4847. RootPart.CFrame = FaceMouse()[1]
  4848. a.Size = Vector3.new(distance, 1, 1)
  4849. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4850. a2.Size = Vector3.new(distance, 1, 1)
  4851. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4852. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4853. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4854. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4855. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4856. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4857. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4858. end
  4859. for z = 0, 2 do
  4860. for i = 0,4,0.1 do
  4861. swait()
  4862. CameraEnshaking(1,1)
  4863. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4864. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4865. outerscale = outerscale + 0.015
  4866. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4867. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4868. ray = Ray.new(
  4869. orb.CFrame.p, -- origin
  4870. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4871. )
  4872. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4873. distance = (orb.CFrame.p - position).magnitude
  4874. if typrot == 1 then
  4875. rotation = rotation + 2.5
  4876. elseif typrot == 2 then
  4877. rotation = rotation - 2.5
  4878. end
  4879. RootPart.CFrame = FaceMouse()[1]
  4880. a.Size = Vector3.new(distance, 1, 1)
  4881. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4882. a2.Size = Vector3.new(distance, 1, 1)
  4883. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4884. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4885. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4886. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4887. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4888. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4889. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4890. end
  4891. for i = 0,4,0.1 do
  4892. swait()
  4893. CameraEnshaking(1,1)
  4894. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4895. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4896. outerscale = outerscale - 0.015
  4897. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4898. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4899. ray = Ray.new(
  4900. orb.CFrame.p, -- origin
  4901. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4902. )
  4903. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4904. distance = (orb.CFrame.p - position).magnitude
  4905. if typrot == 1 then
  4906. rotation = rotation + 2.5
  4907. elseif typrot == 2 then
  4908. rotation = rotation - 2.5
  4909. end
  4910. RootPart.CFrame = FaceMouse()[1]
  4911. a.Size = Vector3.new(distance, 1, 1)
  4912. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4913. a2.Size = Vector3.new(distance, 1, 1)
  4914. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4915. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4916. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4917. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4918. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4919. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4920. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4921. end
  4922. end
  4923. for i = 0,4,0.1 do
  4924. swait()
  4925. CameraEnshaking(1,1)
  4926. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4927. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4928. xd.Volume = xd.Volume - 0.025
  4929. a.Transparency = a.Transparency + 0.025
  4930. a2.Transparency = a2.Transparency + 0.025
  4931. outerscale = outerscale - 0.015
  4932. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4933. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4934. ray = Ray.new(
  4935. orb.CFrame.p, -- origin
  4936. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4937. )
  4938. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4939. distance = (orb.CFrame.p - position).magnitude
  4940. if typrot == 1 then
  4941. rotation = rotation + 2.5
  4942. elseif typrot == 2 then
  4943. rotation = rotation - 2.5
  4944. end
  4945. RootPart.CFrame = FaceMouse()[1]
  4946. a.Size = Vector3.new(distance, 1, 1)
  4947. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4948. a2.Size = Vector3.new(distance, 1, 1)
  4949. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4950. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4951. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4952. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4953. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4954. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4955. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4956. end
  4957. xd:Destroy()
  4958. a:Destroy()
  4959. a2:Destroy()
  4960. ba:Destroy()
  4961. orb:Destroy()
  4962. orbe:Destroy()
  4963. attack = false
  4964. end
  4965.  
  4966.  
  4967.  
  4968. function attackone()
  4969. attack = true
  4970. for i = 0,1,0.1 do
  4971. swait()
  4972. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  4973. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  4974. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4975. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4976. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2)
  4977. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
  4978. end
  4979. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  4980.  
  4981. local hitb = Instance.new("Part", char)
  4982. hitb.Anchored = true
  4983. hitb.CanCollide = false
  4984. hitb.FormFactor = 3
  4985. hitb.Name = "Ring"
  4986. hitb.Material = "Neon"
  4987. hitb.Size = Vector3.new(1, 1, 1)
  4988. hitb.Transparency = 1
  4989. hitb.TopSurface = 0
  4990. hitb.BottomSurface = 0
  4991. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4992. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4993. hitb:Destroy()
  4994. for i = 0,1,0.1 do
  4995. swait()
  4996. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  4997. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  4998. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  4999. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  5000. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4)
  5001. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4)
  5002. end
  5003.  
  5004. attack = false
  5005. end
  5006.  
  5007. function attacktwo()
  5008. attack = true
  5009. for i = 0,1,0.1 do
  5010. swait()
  5011. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  5012. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  5013. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5014. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5015. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2)
  5016. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
  5017. end
  5018. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  5019. local hitb = Instance.new("Part", char)
  5020. hitb.Anchored = true
  5021. hitb.CanCollide = false
  5022. hitb.FormFactor = 3
  5023. hitb.Name = "Ring"
  5024. hitb.Material = "Neon"
  5025. hitb.Size = Vector3.new(1, 1, 1)
  5026. hitb.Transparency = 1
  5027. hitb.TopSurface = 0
  5028. hitb.BottomSurface = 0
  5029. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5030. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5031. hitb:Destroy()
  5032. for i = 0,1,0.1 do
  5033. swait()
  5034. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  5035. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  5036. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  5037. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  5038. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4)
  5039. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4)
  5040. end
  5041. attack = false
  5042. end
  5043.  
  5044. function attackthree()
  5045. attack = true
  5046. for i = 0,1,0.1 do
  5047. swait()
  5048. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  5049. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  5050. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5051. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5052. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  5053. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  5054. end
  5055. local distlook = 5
  5056. for i = 0, 4 do
  5057. swait(2)
  5058. CameraEnshaking(2,3)
  5059. local hite = Instance.new("Part", char)
  5060. hite.Anchored = true
  5061. hite.CanCollide = false
  5062. hite.FormFactor = 3
  5063. hite.Name = "Ring"
  5064. hite.Material = "Neon"
  5065. hite.Size = Vector3.new(1, 1, 1)
  5066. hite.Transparency = 1
  5067. hite.TopSurface = 0
  5068. hite.BottomSurface = 0
  5069. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  5070. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  5071. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  5072. MagniDamage(hite, 10, 15,35, 0, "Normal")
  5073. for i = 0, 2 do
  5074. 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)
  5075. 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)
  5076. 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)
  5077. end
  5078. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  5079. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5080. game:GetService("Debris"):AddItem(hite, 5)
  5081. distlook = distlook + 10
  5082. end
  5083. attack = false
  5084. end
  5085.  
  5086. function FinalCalamity()
  5087. end
  5088.  
  5089. function resetmode()
  5090. rainbowmode = false
  5091. chaosmode = false
  5092. glitchymode = false
  5093. tl1.Enabled = false
  5094. tl2.Enabled = false
  5095. tl3.Enabled = false
  5096. local lust = ModeOfGlitch == 69
  5097. ModeOfGlitch = 1
  5098. storehumanoidWS = 16
  5099. if(not lust)then
  5100. newTheme("rbxassetid://1564523997",48.6,1,1)
  5101. end
  5102. coroutine.resume(coroutine.create(function()
  5103. attack = true
  5104. hum.WalkSpeed = 0
  5105. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5106. for i = 0,4,0.1 do
  5107. swait()
  5108. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5109. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5110. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5111. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5112. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5113. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5114. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5115. end
  5116. if(lust)then
  5117. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5118. sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true)
  5119. for i = 0, 49 do
  5120. PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Pink"),0,true,true)
  5121. end
  5122.  
  5123. for i = 0,4,0.05 do
  5124. swait()
  5125. Pitch = 1-i/4
  5126. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5127. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5128. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5129. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5130. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5131. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5132. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5133. end
  5134. for i = 0,3,0.1 do
  5135. swait()
  5136. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5137. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5138. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5139. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5140. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5141. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5142. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5143. end
  5144. newTheme("rbxassetid://1564523997",48.6,1,1)
  5145. end
  5146. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5147. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5148. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5149. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5150. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  5151. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  5152. RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1))
  5153. CameraEnshaking(5,2.5)
  5154. MAINRUINCOLOR = BrickColor.new("Really black")
  5155. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5156. for i = 0, 49 do
  5157. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5158. end
  5159. for i = 0,3,0.1 do
  5160. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5161. end
  5162. for i, v in pairs(mw2:GetChildren()) do
  5163. if v:IsA("Part") then
  5164. v.BrickColor = BrickColor.new("Really black")
  5165. v.Material = "Neon"
  5166. end
  5167. end
  5168. for i, v in pairs(mw1:GetChildren()) do
  5169. if v:IsA("Part") then
  5170. v.Transparency = 1
  5171. v.BrickColor = BrickColor.new("Really black")
  5172. v.Material = "Neon"
  5173. end
  5174. end
  5175. for i, v in pairs(m:GetChildren()) do
  5176. if v:IsA("Part") then
  5177. v.BrickColor = BrickColor.new("Really black")
  5178. v.Material = "Glass"
  5179. end
  5180. end
  5181. for i, v in pairs(m2:GetChildren()) do
  5182. if v:IsA("Part") then
  5183. v.BrickColor = BrickColor.new("Dark stone grey")
  5184. v.Material = "Granite"
  5185. end
  5186. end
  5187. for i, v in pairs(m3:GetChildren()) do
  5188. if v:IsA("Part") then
  5189. v.BrickColor = BrickColor.new("Really black")
  5190. v.Material = "Neon"
  5191. end
  5192. end
  5193. for i, v in pairs(extrawingmod1:GetChildren()) do
  5194. if v:IsA("Part") then
  5195. v.Transparency = 1
  5196. v.BrickColor = BrickColor.new("White")
  5197. v.Material = "Neon"
  5198. end
  5199. end
  5200. for i, v in pairs(extrawingmod2:GetChildren()) do
  5201. if v:IsA("Part") then
  5202. v.Transparency = 1
  5203. v.BrickColor = BrickColor.new("White")
  5204. v.Material = "Neon"
  5205. end
  5206. end
  5207. for i = 0,2,0.1 do
  5208. swait()
  5209. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5210. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5211. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5212. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  5213. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  5214. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  5215. end
  5216. hum.WalkSpeed = storehumanoidWS
  5217. attack = false
  5218. end))
  5219. end
  5220.  
  5221. function lustmode()
  5222.  
  5223. ModeOfGlitch = 69
  5224. storehumanoidWS = 16
  5225. rainbowmode = false
  5226. chaosmode = false
  5227. glitchymode = false
  5228. tl1.Enabled = false
  5229. tl2.Enabled = false
  5230. tl3.Enabled = false
  5231. newTheme("rbxassetid://1203355187",0,1,1)
  5232. coroutine.wrap(function()
  5233. attack = true
  5234. hum.WalkSpeed = 0
  5235. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5236. for i = 0,4,0.1 do
  5237. swait()
  5238. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5239. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5240. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5241. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5242. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5243. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5244. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5245. end
  5246. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5247. sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true)
  5248.  
  5249. for i = 0,4,0.1 do
  5250. swait()
  5251. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5252. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5253. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5254. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5255. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5256. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5257. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5258. end
  5259. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5260. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5261. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5262. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5263. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end)
  5264. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end)
  5265. CameraEnshaking(5,2.5)
  5266. MAINRUINCOLOR = BrickColor.new("Pink")
  5267. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5268. for i = 0, 49 do
  5269. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0,true)
  5270. end
  5271. for i = 0,3,0.1 do
  5272. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0,true)
  5273. end
  5274. RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new'Pink'.Color)
  5275. for i, v in pairs(mw2:GetChildren()) do
  5276. if v:IsA("Part") then
  5277. v.BrickColor = MAINRUINCOLOR
  5278. v.Material = "Neon"
  5279. end
  5280. end
  5281. for i, v in pairs(mw1:GetChildren()) do
  5282. if v:IsA("Part") then
  5283. v.Transparency = 1
  5284. v.BrickColor = MAINRUINCOLOR
  5285. v.Material = "Neon"
  5286. end
  5287. end
  5288. for i, v in pairs(m:GetChildren()) do
  5289. if v:IsA("Part") then
  5290. v.BrickColor = BrickColor.new("Pink")
  5291. v.Material = "Ice"
  5292. end
  5293. end
  5294. for i, v in pairs(m2:GetChildren()) do
  5295. if v:IsA("Part") then
  5296. v.BrickColor = BrickColor.new("Pink")
  5297. v.Material = "Glass"
  5298. end
  5299. end
  5300. for i, v in pairs(m3:GetChildren()) do
  5301. if v:IsA("Part") then
  5302. v.BrickColor = BrickColor.new("Pink")
  5303. v.Material = "Neon"
  5304. end
  5305. end
  5306. for i, v in pairs(extrawingmod1:GetChildren()) do
  5307. if v:IsA("Part") then
  5308. v.Transparency = 1
  5309. v.BrickColor = BrickColor.new("Pink")
  5310. v.Material = "Neon"
  5311. end
  5312. end
  5313. for i, v in pairs(extrawingmod2:GetChildren()) do
  5314. if v:IsA("Part") then
  5315. v.Transparency = 1
  5316. v.BrickColor = BrickColor.new("Pink")
  5317. v.Material = "Neon"
  5318. end
  5319. end
  5320. for i = 0,2,0.1 do
  5321. swait()
  5322. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5323. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5324. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5325. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  5326. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  5327. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  5328. end
  5329. hum.WalkSpeed = storehumanoidWS
  5330. attack = false
  5331. end)()
  5332. end
  5333.  
  5334. function insanitymode()
  5335. storehumanoidWS = 16
  5336. hum.WalkSpeed = 0
  5337. rainbowmode = false
  5338. glitchymode = false
  5339. chaosmode = true
  5340. tl1.Enabled = true
  5341. tl2.Enabled = true
  5342. tl3.Enabled = true
  5343. local lust = ModeOfGlitch == 69
  5344. newTheme("rbxassetid://919231299",0,1,1)
  5345. coroutine.resume(coroutine.create(function()
  5346. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5347. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5348. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5349. attack = true
  5350. hum.WalkSpeed = 0
  5351. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5352. for i = 0,4,0.1 do
  5353. swait()
  5354. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5355. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5356. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5357. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5358. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5359. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5360. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5361. end
  5362. for i = 0,8,0.1 do
  5363. swait()
  5364. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5365. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,.035,MAINRUINCOLOR,0)
  5366. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5367. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5368. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5369. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5370. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5371. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5372. end
  5373.  
  5374. for i = 0,3,0.1 do
  5375. swait()
  5376. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5377. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5378. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5379. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5380. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5381. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5382. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5383. end
  5384. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5385. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5386. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5387. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5388. CameraEnshaking(5,2.5)
  5389. MAINRUINCOLOR = BrickColor.new("Black")
  5390. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5391. for i = 0, 49 do
  5392. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5393. end
  5394. for i = 0,3,0.1 do
  5395. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5396. end
  5397. ModeOfGlitch = 666666
  5398. for i, v in pairs(mw2:GetChildren()) do
  5399. if v:IsA("Part") then
  5400. v.BrickColor = MAINRUINCOLOR
  5401. v.Material = "Neon"
  5402. end
  5403. end
  5404. for i, v in pairs(mw1:GetChildren()) do
  5405. if v:IsA("Part") then
  5406. v.Transparency = 0.75
  5407. v.BrickColor = BrickColor.random()
  5408. v.Material = "Neon"
  5409. end
  5410. end
  5411. for i, v in pairs(m:GetChildren()) do
  5412. if v:IsA("Part") then
  5413. v.BrickColor = BrickColor.new("Black")
  5414. v.Material = "Neon"
  5415. end
  5416. end
  5417. for i, v in pairs(m2:GetChildren()) do
  5418. if v:IsA("Part") then
  5419. v.BrickColor = BrickColor.random()
  5420. v.Material = "Neon"
  5421. end
  5422. end
  5423. for i, v in pairs(m3:GetChildren()) do
  5424. if v:IsA("Part") then
  5425. v.BrickColor = BrickColor.new("Black")
  5426. v.Material = "Neon"
  5427. end
  5428. end
  5429. for i, v in pairs(extrawingmod1:GetChildren()) do
  5430. if v:IsA("Part") then
  5431. v.Transparency = .75
  5432. v.BrickColor = BrickColor.Random()
  5433. v.Material = "Neon"
  5434. end
  5435. end
  5436. for i, v in pairs(extrawingmod2:GetChildren()) do
  5437. if v:IsA("Part") then
  5438. v.Transparency = 0
  5439. v.BrickColor = BrickColor.new("Black")
  5440. v.Material = "Neon"
  5441. end
  5442. end
  5443. for i = 0,2,0.1 do
  5444. swait()
  5445. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5446. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5447. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5448. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5449. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5450. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5451. end
  5452. hum.WalkSpeed = storehumanoidWS
  5453. attack = false
  5454. end))
  5455. end
  5456.  
  5457. local attacktype = 1
  5458. mouse.Button1Down:connect(function()
  5459. if attack == false and attacktype == 1 then
  5460. attacktype = 2
  5461. attackone()
  5462. elseif attack == false and attacktype == 2 then
  5463. attacktype = 3
  5464. attacktwo()
  5465. elseif attack == false and attacktype == 3 then
  5466. attacktype = 1
  5467. attackthree()
  5468. elseif attack == false and attacktype == 4 then
  5469. attacktype = 1
  5470. --attackfour()
  5471. end
  5472. end)
  5473.  
  5474. function Judgement()
  5475. attack = true
  5476. hum.WalkSpeed = 0
  5477. local p = Instance.new("Part",root)
  5478. p.Anchored = true
  5479. p.CanCollide = false
  5480. p.BrickColor = MAINRUINCOLOR
  5481. p.Material = Enum.Material.Neon
  5482. p.Size = Vector3.new(1,1,1)
  5483. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5484. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5485. local m = Instance.new("SpecialMesh",p)
  5486. m.MeshType = "Cylinder"
  5487. m.Scale = Vector3.new(2000,2,2)
  5488. local targ = Instance.new("Part",root)
  5489. targ.Transparency = 1
  5490. targ.CanCollide = false
  5491. targ.Size = Vector3.new(1,1,1)
  5492. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5493. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  5494. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  5495. for i = 1,15 do
  5496. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5497. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  5498. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  5499. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  5500. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  5501. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2)
  5502. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2)
  5503. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  5504. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  5505. m.Scale = m.Scale+Vector3.new(0,1,1)
  5506. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5507. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5508. swait()
  5509. end
  5510. sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5511. for i = 1,200 do
  5512. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5513. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  5514. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  5515. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5516. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5517. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  5518. swait()
  5519. end
  5520. for i =1,15 do
  5521. m.Scale = m.Scale-Vector3.new(1,1,1)
  5522. p.Transparency = i / 15
  5523. swait()
  5524. end
  5525. p:Destroy()
  5526. hum.WalkSpeed = storehumanoidWS
  5527. attack = false
  5528. end
  5529.  
  5530. local ODerDB = false
  5531. function ChooseODer()
  5532. if(not ODerDB)then
  5533. coroutine.wrap(function()
  5534.  
  5535. local allowOD = true
  5536. local whom = (mouse.Target and mouse.Target.Parent)
  5537. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
  5538. ODerDB = true
  5539. for _,v in next, ODers do
  5540. if(v == whom)then
  5541. print'nO OD SELF'
  5542. allowOD = false
  5543. end
  5544. end
  5545. if(allowOD)then
  5546. local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Royal purple' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05))
  5547. local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
  5548.  
  5549. ref.CFrame = Torso.CFrame
  5550. ref.Anchored = true
  5551. local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5552. local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5553. local MPos = whom.Head.CFrame*cf(0,4,0)
  5554. for i = 0, 1, .05 do
  5555. swait()
  5556. ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
  5557.  
  5558. sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5559. if whom:FindFirstChild'Head' == nil then
  5560. break
  5561. end
  5562. end
  5563. ref:destroy()
  5564. if whom:FindFirstChild'Head' then
  5565. table.insert(ODers,whom)
  5566. if(#ODers > 2)then
  5567. table.remove(ODers,1)
  5568. end
  5569. sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5570. end
  5571. end
  5572. ODerDB = false
  5573. end
  5574. end)()
  5575. end
  5576. end
  5577.  
  5578. function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  5579. attack = true
  5580. hum.WalkSpeed = 0
  5581. storehumanoidWS = 75
  5582. hum.JumpPower = 0
  5583. newThemeCust("rbxassetid://1420353940",0,1,1)
  5584. kan.TimePosition = 0
  5585. ModeOfGlitch = 8376532578634534
  5586. repeat swait() until kan.IsLoaded
  5587. chatfunc("Riddle me this..",text.TextStrokeColor3)
  5588. for i = 0, 14, .1 do
  5589. swait()
  5590. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5591. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5592. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5593. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5594. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5595. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5596. end
  5597. chatfunc("Riddle me that..",text.TextStrokeColor3)
  5598. for i = 0, 12, .1 do
  5599. swait()
  5600. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5601. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5602. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5603. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
  5604. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5605. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5606. end
  5607. chatfunc("Who's afraid of the big black..",Color3.new(1,1,1))
  5608. for i = 0, 16, .1 do
  5609. swait()
  5610. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5611. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5612. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5613. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5614. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5615. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5616. end
  5617. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5618. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5619. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5620. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5621. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  5622. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  5623. RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1))
  5624. CameraEnshaking(5,2.5)
  5625. MAINRUINCOLOR = BrickColor.new("Really black")
  5626. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5627. tl1.Enabled = true
  5628. tl2.Enabled = true
  5629. tl3.Enabled = true
  5630. for i = 0, 49 do
  5631. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5632. end
  5633. for i = 0,3,0.1 do
  5634. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5635. end
  5636. for i, v in pairs(mw2:GetChildren()) do
  5637. if v:IsA("Part") then
  5638. v.BrickColor = BrickColor.new("Really black")
  5639. v.Material = "Glass"
  5640. end
  5641. end
  5642. for i, v in pairs(mw1:GetChildren()) do
  5643. if v:IsA("Part") then
  5644. v.Transparency = 0
  5645. v.BrickColor = BrickColor.new("Really black")
  5646. v.Material = "Glass"
  5647. end
  5648. end
  5649. for i, v in pairs(m:GetChildren()) do
  5650. if v:IsA("Part") then
  5651. v.BrickColor = BrickColor.new("Really black")
  5652. v.Material = "Glass"
  5653. end
  5654. end
  5655. for i, v in pairs(m2:GetChildren()) do
  5656. if v:IsA("Part") then
  5657. v.BrickColor = BrickColor.new("Dark stone grey")
  5658. v.Material = "Granite"
  5659. end
  5660. end
  5661. for i, v in pairs(m3:GetChildren()) do
  5662. if v:IsA("Part") then
  5663. v.BrickColor = BrickColor.new("Really black")
  5664. v.Material = "Glass"
  5665. end
  5666. end
  5667. for i, v in pairs(extrawingmod1:GetChildren()) do
  5668. if v:IsA("Part") then
  5669. v.Transparency = 0
  5670. v.BrickColor = BrickColor.new("Dark stone grey")
  5671. v.Material = "Glass"
  5672. end
  5673. end
  5674. for i, v in pairs(extrawingmod2:GetChildren()) do
  5675. if v:IsA("Part") then
  5676. v.Transparency = 0
  5677. v.BrickColor = BrickColor.new("Dark stone grey")
  5678. v.Material = "Glass"
  5679. end
  5680. end
  5681. for i = 0,2,0.1 do
  5682. swait()
  5683. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5684. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5685. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5686. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  5687. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  5688. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  5689. end
  5690. hum.JumpPower = 50
  5691. hum.WalkSpeed = storehumanoidWS
  5692. attack = false
  5693. end
  5694.  
  5695. function FuckMeSidewaysAndCallMeGay()
  5696. local whom = (mouse.Target and mouse.Target.Parent)
  5697. --[[local fuckThisBoi = false
  5698. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  5699. for _,v in next, ODers do
  5700. if(v == whom)then
  5701. fuckThisBoi = false
  5702. end
  5703. end
  5704. end
  5705. if(not fuckThisBoi)then
  5706. attack = false
  5707. warn'to fuck that boi you need to target them with z'
  5708. else]]
  5709. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  5710. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  5711. local hum = whom:FindFirstChildOfClass'Humanoid'
  5712. local ocf = RootPart.CFrame
  5713. hum.WalkSpeed = 0
  5714. hum.JumpPower = 0
  5715. hed.Anchored = true
  5716. RootPart.Anchored = true
  5717. Humanoid.WalkSpeed = 0
  5718. Humanoid.JumpPower = 0
  5719. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5720. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5721. for i = 0, 9 do
  5722. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0)
  5723. end
  5724. for i = 0, 24 do
  5725. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
  5726. end
  5727. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5728. attack = true
  5729. local speed = 1
  5730. local heck;
  5731. local stopitlol = false;
  5732. heck = mouse.KeyUp:connect(function(k)
  5733. if(k:lower() == 'm')then
  5734. stopitlol = true
  5735. heck:disconnect()
  5736. end
  5737. end)
  5738. local times = 0
  5739. repeat swait()
  5740. speed = speed - .01
  5741. times = times + 1
  5742. if(speed < .1)then
  5743. speed = .1
  5744. end
  5745. for i = 0, speed, .05 do
  5746. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5747. swait()
  5748. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5749. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5750. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  5751. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5752. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5753. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5754. end
  5755. CameraEnshaking(5,5)
  5756.  
  5757. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  5758.  
  5759. for i = 0, speed, .05 do
  5760. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5761. swait()
  5762. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5763. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5764. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5765. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5766. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5767. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5768. end
  5769. until stopitlol and times >= 3
  5770. for i = 1, 3 do
  5771. for i = 0, 1.5, .05 do
  5772. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5773. swait()
  5774. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5775. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5776. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  5777. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5778. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5779. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5780. end
  5781. CameraEnshaking(5,25)
  5782.  
  5783. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5784.  
  5785.  
  5786. coroutine.resume(coroutine.create(function()
  5787. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5788. bld.LightEmission = 0.1
  5789. bld.Texture = "rbxassetid://284205403"
  5790. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5791. bld.Rate = 500
  5792. bld.Lifetime = NumberRange.new(1)
  5793. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5794. bld.Acceleration = vt(0,-25,0)
  5795. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5796. bld.Speed = NumberRange.new(10,50)
  5797. bld.EmissionDirection = "Back"
  5798. bld.VelocitySpread = 25
  5799. bld.Rotation = NumberRange.new(-500,500)
  5800. bld.RotSpeed = NumberRange.new(-500,500)
  5801. bld.Enabled = false
  5802. bld:Emit(250)
  5803. end))
  5804. coroutine.resume(coroutine.create(function()
  5805. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5806. bld.LightEmission = 0.1
  5807. bld.Texture = "rbxassetid://284205403"
  5808. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5809. bld.Rate = 500
  5810. bld.Lifetime = NumberRange.new(1)
  5811. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5812. bld.Acceleration = vt(0,-25,0)
  5813. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5814. bld.Speed = NumberRange.new(10,50)
  5815. bld.EmissionDirection = "Back"
  5816. bld.VelocitySpread = 25
  5817. bld.Rotation = NumberRange.new(-500,500)
  5818. bld.RotSpeed = NumberRange.new(-500,500)
  5819. bld.Enabled = false
  5820. bld:Emit(250)
  5821. end))
  5822. for i = 0, 1.5, .05 do
  5823. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5824. swait()
  5825. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5826. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5827. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5828. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5829. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5830. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5831. end
  5832. end
  5833. for i = 0, 4, .05 do
  5834. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5835. swait()
  5836. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  5837. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5838. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  5839. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5840. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5841. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5842. end
  5843. CameraEnshaking(5,25)
  5844. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  5845. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5846.  
  5847. dmg(whom)
  5848. coroutine.resume(coroutine.create(function()
  5849. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5850. bld.LightEmission = 0.1
  5851. bld.Texture = "rbxassetid://284205403"
  5852. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5853. bld.Rate = 500
  5854. bld.Lifetime = NumberRange.new(1)
  5855. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5856. bld.Acceleration = vt(0,-25,0)
  5857. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5858. bld.Speed = NumberRange.new(10,50)
  5859. bld.EmissionDirection = "Back"
  5860. bld.VelocitySpread = 25
  5861. bld.Rotation = NumberRange.new(-500,500)
  5862. bld.RotSpeed = NumberRange.new(-500,500)
  5863. bld.Enabled = true
  5864. end))
  5865. coroutine.resume(coroutine.create(function()
  5866. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5867. bld.LightEmission = 0.1
  5868. bld.Texture = "rbxassetid://284205403"
  5869. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5870. bld.Rate = 500
  5871. bld.Lifetime = NumberRange.new(1)
  5872. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5873. bld.Acceleration = vt(0,-25,0)
  5874. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5875. bld.Speed = NumberRange.new(10,50)
  5876. bld.EmissionDirection = "Back"
  5877. bld.VelocitySpread = 25
  5878. bld.Rotation = NumberRange.new(-500,500)
  5879. bld.RotSpeed = NumberRange.new(-500,500)
  5880. bld.Enabled = true
  5881. end))
  5882. for i = 0, 3, .05 do
  5883. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5884. swait()
  5885. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  5886. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5887. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  5888. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5889. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5890. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5891. end
  5892.  
  5893. RootPart.CFrame = ocf
  5894. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5895. for i = 0, 9 do
  5896. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0)
  5897. end
  5898. for i = 0, 24 do
  5899. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
  5900. end
  5901. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5902. RootPart.Anchored = false
  5903. Humanoid.WalkSpeed = storehumanoidWS
  5904. Humanoid.JumpPower = 50
  5905. attack = false
  5906. end
  5907. end
  5908.  
  5909. local input = ""
  5910.  
  5911. mouse.KeyDown:connect(function(k)
  5912. if(k == "w" or k == "a" or k == "s" or k == "d")then
  5913. input = input .. k
  5914. local newInput = input
  5915. coroutine.wrap(function()
  5916. for i = 1, 25 do
  5917. if(newInput ~= input)then break end
  5918. swait()
  5919. end
  5920. if(newInput == input)then input = "" end
  5921. end)()
  5922. if(input == "wwssadad" and not AllowRape)then
  5923. AllowRape = true
  5924. warn("Rape unlocked! Have fun ;)")
  5925. elseif(input == "wwaassdd" and not AllowCata)then
  5926. AllowCata = true
  5927. warn("You unlocked CATASTROPHE.")
  5928. elseif(input == 'ddawas' and ModeOfGlitch == 4 and not attack)then
  5929. ChaosBegone()
  5930. end
  5931. end
  5932. end)
  5933.  
  5934. mouse.KeyDown:connect(function(k)
  5935. if k == "h" then
  5936.  
  5937. end
  5938.  
  5939. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  5940. ModeOfGlitch = 2
  5941. storehumanoidWS = 16
  5942. hum.WalkSpeed = 16
  5943. rainbowmode = false
  5944. chaosmode = false
  5945. glitchymode = false
  5946. tl1.Enabled = false
  5947. tl2.Enabled = false
  5948. tl3.Enabled = false
  5949. RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  5950. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
  5951. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
  5952. newTheme("rbxassetid://1539245059",0,1,1)
  5953. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5954. for i, v in pairs(mw2:GetChildren()) do
  5955. if v:IsA("Part") then
  5956. v.BrickColor = MAINRUINCOLOR
  5957. v.Material = "Neon"
  5958. end
  5959. end
  5960. for i, v in pairs(mw1:GetChildren()) do
  5961. if v:IsA("Part") then
  5962. v.Transparency = 1
  5963. v.BrickColor = MAINRUINCOLOR
  5964. v.Material = "Neon"
  5965. end
  5966. end
  5967. for i, v in pairs(m:GetChildren()) do
  5968. if v:IsA("Part") then
  5969. v.BrickColor = BrickColor.new("White")
  5970. v.Material = "Ice"
  5971. end
  5972. end
  5973. for i, v in pairs(m2:GetChildren()) do
  5974. if v:IsA("Part") then
  5975. v.BrickColor = BrickColor.new("Pastel light blue")
  5976. v.Material = "Glass"
  5977. end
  5978. end
  5979. for i, v in pairs(m3:GetChildren()) do
  5980. if v:IsA("Part") then
  5981. v.BrickColor = BrickColor.new("Toothpaste")
  5982. v.Material = "Neon"
  5983. end
  5984. end
  5985. for i, v in pairs(extrawingmod1:GetChildren()) do
  5986. if v:IsA("Part") then
  5987. v.Transparency = 1
  5988. v.BrickColor = BrickColor.new("White")
  5989. v.Material = "Neon"
  5990. end
  5991. end
  5992. for i, v in pairs(extrawingmod2:GetChildren()) do
  5993. if v:IsA("Part") then
  5994. v.Transparency = 1
  5995. v.BrickColor = BrickColor.new("White")
  5996. v.Material = "Neon"
  5997. end
  5998. end
  5999. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  6000. resetmode()
  6001. end
  6002. if k == "f" and attack == false and ModeOfGlitch ~= 69 then
  6003. lustmode()
  6004. elseif k == "f" and attack == false and ModeOfGlitch == 69 then
  6005. resetmode()
  6006. end
  6007. if k == "m" and attack == false and ModeOfGlitch == 1 then
  6008. RiddleMeThisRiddleMeThat()
  6009. elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
  6010. resetmode()
  6011. end
  6012. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  6013. ModeOfGlitch = 3
  6014. storehumanoidWS = 16
  6015. hum.WalkSpeed = 16
  6016. rainbowmode = false
  6017. chaosmode = false
  6018. glitchymode = true
  6019. tl1.Enabled = true
  6020. tl2.Enabled = true
  6021. tl3.Enabled = true
  6022. RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1))
  6023. newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
  6024. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6025. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6026. MAINRUINCOLOR = BrickColor.new("White")
  6027. for i, v in pairs(mw2:GetChildren()) do
  6028. if v:IsA("Part") then
  6029. v.BrickColor = MAINRUINCOLOR
  6030. v.Material = "Neon"
  6031. end
  6032. end
  6033. for i, v in pairs(mw1:GetChildren()) do
  6034. if v:IsA("Part") then
  6035. v.Transparency = 0
  6036. v.BrickColor = MAINRUINCOLOR
  6037. v.Material = "Neon"
  6038. end
  6039. end
  6040. for i, v in pairs(m:GetChildren()) do
  6041. if v:IsA("Part") then
  6042. v.BrickColor = BrickColor.new("Really black")
  6043. v.Material = "Ice"
  6044. end
  6045. end
  6046. for i, v in pairs(m2:GetChildren()) do
  6047. if v:IsA("Part") then
  6048. v.BrickColor = BrickColor.new("Dark indigo")
  6049. v.Material = "Glass"
  6050. end
  6051. end
  6052. for i, v in pairs(m3:GetChildren()) do
  6053. if v:IsA("Part") then
  6054. v.Transparency = 1
  6055. v.BrickColor = BrickColor.new("Royal purple")
  6056. v.Material = "Neon"
  6057. end
  6058. end
  6059. for i, v in pairs(extrawingmod1:GetChildren()) do
  6060. if v:IsA("Part") then
  6061. v.Transparency = 1
  6062. v.BrickColor = BrickColor.new("White")
  6063. v.Material = "Neon"
  6064. end
  6065. end
  6066. for i, v in pairs(extrawingmod2:GetChildren()) do
  6067. if v:IsA("Part") then
  6068. v.Transparency = 1
  6069. v.BrickColor = BrickColor.new("White")
  6070. v.Material = "Neon"
  6071. end
  6072. end
  6073. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  6074. resetmode()
  6075. end
  6076. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  6077. ModeOfGlitch = 4
  6078. storehumanoidWS = 16
  6079. hum.WalkSpeed = 16
  6080. rainbowmode = false
  6081. glitchymode = false
  6082. chaosmode = true
  6083. tl1.Enabled = true
  6084. tl2.Enabled = true
  6085. tl3.Enabled = true
  6086. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  6087. newTheme("rbxassetid://1369263130",0,1,1)
  6088. MAINRUINCOLOR = BrickColor.new("Black")
  6089. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6090. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6091. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6092. for i, v in pairs(mw2:GetChildren()) do
  6093. if v:IsA("Part") then
  6094. v.BrickColor = MAINRUINCOLOR
  6095. v.Material = "Neon"
  6096. end
  6097. end
  6098. for i, v in pairs(mw1:GetChildren()) do
  6099. if v:IsA("Part") then
  6100. v.Transparency = 0.75
  6101. v.BrickColor = BrickColor.random()
  6102. v.Material = "Neon"
  6103. end
  6104. end
  6105. for i, v in pairs(m:GetChildren()) do
  6106. if v:IsA("Part") then
  6107. v.BrickColor = BrickColor.new("Black")
  6108. v.Material = "Neon"
  6109. end
  6110. end
  6111. for i, v in pairs(m2:GetChildren()) do
  6112. if v:IsA("Part") then
  6113. v.BrickColor = BrickColor.random()
  6114. v.Material = "Neon"
  6115. end
  6116. end
  6117. for i, v in pairs(m3:GetChildren()) do
  6118. if v:IsA("Part") then
  6119. v.BrickColor = BrickColor.new("Black")
  6120. v.Material = "Neon"
  6121. end
  6122. end
  6123. for i, v in pairs(extrawingmod1:GetChildren()) do
  6124. if v:IsA("Part") then
  6125. v.Transparency = 1
  6126. v.BrickColor = BrickColor.new("White")
  6127. v.Material = "Neon"
  6128. end
  6129. end
  6130. for i, v in pairs(extrawingmod2:GetChildren()) do
  6131. if v:IsA("Part") then
  6132. v.Transparency = 1
  6133. v.BrickColor = BrickColor.new("White")
  6134. v.Material = "Neon"
  6135. end
  6136. end
  6137. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  6138. resetmode()
  6139. end
  6140.  
  6141. if k == "m" and attack == false and ModeOfGlitch == 4 then
  6142. insanitymode()
  6143. elseif k == "m" and attack == false and ModeOfGlitch == 666666 then
  6144. resetmode()
  6145. end
  6146. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  6147. ModeOfGlitch = 5
  6148. storehumanoidWS = 16
  6149. hum.WalkSpeed = 16
  6150. rainbowmode = false
  6151. chaosmode = false
  6152. glitchymode = false
  6153. tl1.Enabled = true
  6154. tl2.Enabled = true
  6155. tl3.Enabled = true
  6156. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
  6157. newTheme("rbxassetid://661079869",0,1.02,1)
  6158. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  6159. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  6160. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  6161. for i, v in pairs(mw2:GetChildren()) do
  6162. if v:IsA("Part") then
  6163. v.BrickColor = MAINRUINCOLOR
  6164. v.Material = "Neon"
  6165. end
  6166. end
  6167. for i, v in pairs(mw1:GetChildren()) do
  6168. if v:IsA("Part") then
  6169. v.Transparency = 0
  6170. v.BrickColor = MAINRUINCOLOR
  6171. v.Material = "Neon"
  6172. end
  6173. end
  6174. for i, v in pairs(m:GetChildren()) do
  6175. if v:IsA("Part") then
  6176. v.BrickColor = BrickColor.new("Cool yellow")
  6177. v.Material = "Ice"
  6178. end
  6179. end
  6180. for i, v in pairs(m2:GetChildren()) do
  6181. if v:IsA("Part") then
  6182. v.BrickColor = BrickColor.new("Bright yellow")
  6183. v.Material = "Ice"
  6184. end
  6185. end
  6186. for i, v in pairs(m3:GetChildren()) do
  6187. if v:IsA("Part") then
  6188. v.BrickColor = BrickColor.new("Bright yellow")
  6189. v.Material = "Neon"
  6190. end
  6191. end
  6192. for i, v in pairs(extrawingmod1:GetChildren()) do
  6193. if v:IsA("Part") then
  6194. v.Transparency = 1
  6195. v.BrickColor = BrickColor.new("White")
  6196. v.Material = "Neon"
  6197. end
  6198. end
  6199. for i, v in pairs(extrawingmod2:GetChildren()) do
  6200. if v:IsA("Part") then
  6201. v.Transparency = 1
  6202. v.BrickColor = BrickColor.new("White")
  6203. v.Material = "Neon"
  6204. end
  6205. end
  6206. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  6207. resetmode()
  6208. end
  6209. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  6210. ModeOfGlitch = 6
  6211. storehumanoidWS = 75
  6212. hum.WalkSpeed = 75
  6213. rainbowmode = false
  6214. chaosmode = false
  6215. glitchymode = false
  6216. tl1.Enabled = true
  6217. tl2.Enabled = true
  6218. tl3.Enabled = true
  6219. RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1))
  6220. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6221. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6222. newTheme("rbxassetid://1102271169",0,1,1)
  6223. MAINRUINCOLOR = BrickColor.new("White")
  6224. for i, v in pairs(mw2:GetChildren()) do
  6225. if v:IsA("Part") then
  6226. v.BrickColor = MAINRUINCOLOR
  6227. v.Material = "Neon"
  6228. end
  6229. end
  6230. for i, v in pairs(mw1:GetChildren()) do
  6231. if v:IsA("Part") then
  6232. v.Transparency = 0
  6233. v.BrickColor = MAINRUINCOLOR
  6234. v.Material = "Neon"
  6235. end
  6236. end
  6237. for i, v in pairs(m:GetChildren()) do
  6238. if v:IsA("Part") then
  6239. v.BrickColor = BrickColor.new("White")
  6240. v.Material = "Ice"
  6241. end
  6242. end
  6243. for i, v in pairs(m2:GetChildren()) do
  6244. if v:IsA("Part") then
  6245. v.BrickColor = BrickColor.new("White")
  6246. v.Material = "Ice"
  6247. end
  6248. end
  6249. for i, v in pairs(m3:GetChildren()) do
  6250. if v:IsA("Part") then
  6251. v.BrickColor = BrickColor.new("White")
  6252. v.Material = "Neon"
  6253. end
  6254. end
  6255. for i, v in pairs(extrawingmod1:GetChildren()) do
  6256. if v:IsA("Part") then
  6257. v.Transparency = 1
  6258. v.BrickColor = BrickColor.new("White")
  6259. v.Material = "Neon"
  6260. end
  6261. end
  6262. for i, v in pairs(extrawingmod2:GetChildren()) do
  6263. if v:IsA("Part") then
  6264. v.Transparency = 1
  6265. v.BrickColor = BrickColor.new("White")
  6266. v.Material = "Neon"
  6267. end
  6268. end
  6269. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  6270. resetmode()
  6271. end
  6272. if k == "u" and attack == false then
  6273.  
  6274. storehumanoidWS = 50
  6275. hum.WalkSpeed = 50
  6276. rainbowmode = true
  6277. chaosmode = false
  6278. glitchymode = false
  6279. tl1.Enabled = true
  6280. tl2.Enabled = true
  6281. tl3.Enabled = true
  6282.  
  6283. if(ModeOfGlitch == 6127843)then
  6284. vaporwave = not vaporwave
  6285. end
  6286.  
  6287. if(not vaporwave)then
  6288. RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
  6289. newTheme("rbxassetid://147930134",0,1,1)
  6290. else
  6291. RecolorTextAndRename("Vaporwave",Color3.new(1,1,1),Color3.new(1,1,1))
  6292. newTheme("rbxassetid://1308711379",0,1,1)
  6293. end
  6294.  
  6295.  
  6296. ModeOfGlitch = 6127843
  6297. MAINRUINCOLOR = BrickColor.new("White")
  6298. for i, v in pairs(mw2:GetChildren()) do
  6299. if v:IsA("Part") then
  6300. v.BrickColor = MAINRUINCOLOR
  6301. v.Material = "Neon"
  6302. end
  6303. end
  6304. for i, v in pairs(mw1:GetChildren()) do
  6305. if v:IsA("Part") then
  6306. v.Transparency = 0
  6307. v.BrickColor = MAINRUINCOLOR
  6308. v.Material = "Neon"
  6309. end
  6310. end
  6311. for i, v in pairs(m:GetChildren()) do
  6312. if v:IsA("Part") then
  6313. v.BrickColor = BrickColor.new("White")
  6314. v.Material = "Neon"
  6315. end
  6316. end
  6317. for i, v in pairs(m2:GetChildren()) do
  6318. if v:IsA("Part") then
  6319. v.BrickColor = BrickColor.new("White")
  6320. v.Material = "Neon"
  6321. end
  6322. end
  6323. for i, v in pairs(m3:GetChildren()) do
  6324. if v:IsA("Part") then
  6325. v.BrickColor = BrickColor.new("White")
  6326. v.Material = "Neon"
  6327. end
  6328. end
  6329. for i, v in pairs(extrawingmod1:GetChildren()) do
  6330. if v:IsA("Part") then
  6331. v.Transparency = 1
  6332. v.BrickColor = BrickColor.new("White")
  6333. v.Material = "Neon"
  6334. end
  6335. end
  6336. for i, v in pairs(extrawingmod2:GetChildren()) do
  6337. if v:IsA("Part") then
  6338. v.Transparency = 1
  6339. v.BrickColor = BrickColor.new("White")
  6340. v.Material = "Neon"
  6341. end
  6342. end
  6343. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  6344. resetmode()
  6345. end
  6346. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  6347. ModeOfGlitch = 1000000
  6348. storehumanoidWS = 100
  6349. hum.WalkSpeed = 100
  6350. rainbowmode = false
  6351. chaosmode = false
  6352. glitchymode = false
  6353. tl1.Enabled = true
  6354. tl2.Enabled = true
  6355. tl3.Enabled = true
  6356. RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  6357. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end)
  6358. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end)
  6359. newTheme("rbxassetid://1359036559",0,1,1)
  6360. MAINRUINCOLOR = BrickColor.new("Bright violet")
  6361. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6362. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6363. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6364. for i, v in pairs(mw2:GetChildren()) do
  6365. if v:IsA("Part") then
  6366. v.BrickColor = MAINRUINCOLOR
  6367. v.Material = "Neon"
  6368. end
  6369. end
  6370. for i, v in pairs(mw1:GetChildren()) do
  6371. if v:IsA("Part") then
  6372. v.Transparency = 0
  6373. v.BrickColor = MAINRUINCOLOR
  6374. v.Material = "Neon"
  6375. end
  6376. end
  6377. for i, v in pairs(m:GetChildren()) do
  6378. if v:IsA("Part") then
  6379. v.Color = Color3.new(0.5,0,1)
  6380. v.Material = "Neon"
  6381. end
  6382. end
  6383. for i, v in pairs(m2:GetChildren()) do
  6384. if v:IsA("Part") then
  6385. v.Color = Color3.new(0.25,0,1)
  6386. v.Material = "Neon"
  6387. end
  6388. end
  6389. for i, v in pairs(m3:GetChildren()) do
  6390. if v:IsA("Part") then
  6391. v.Color = Color3.new(0.45,0,1)
  6392. v.Material = "Neon"
  6393. end
  6394. end
  6395. for i, v in pairs(extrawingmod1:GetChildren()) do
  6396. if v:IsA("Part") then
  6397. v.Transparency = 0.75
  6398. v.Color = Color3.new(0.25,0,1)
  6399. v.Material = "Neon"
  6400. end
  6401. end
  6402. for i, v in pairs(extrawingmod2:GetChildren()) do
  6403. if v:IsA("Part") then
  6404. v.Transparency = 0.75
  6405. v.Color = Color3.new(0.5,0,1)
  6406. v.Material = "Neon"
  6407. end
  6408. end
  6409. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  6410. resetmode()
  6411. end
  6412. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then
  6413. newThemeCust("rbxassetid://1504604335",0,1,1)
  6414. attack = true
  6415. hum.WalkSpeed = 0
  6416. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6417. for i = 0, 24, 0.1 do
  6418. swait()
  6419. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  6420. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  6421. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  6422. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6423. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6424. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  6425. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  6426. end
  6427. CameraEnshaking(1,1)
  6428. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6429. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6430. wait(0.55)
  6431. CameraEnshaking(1,2)
  6432. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6433. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6434. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6435. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6436. wait(0.55)
  6437. CameraEnshaking(1,3)
  6438. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6439. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6440. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6441. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6442. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6443. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6444. wait(0.55)
  6445. CameraEnshaking(10,5)
  6446. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6447. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6448. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6449. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6450. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  6451. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  6452. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  6453. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  6454. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  6455. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6456. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  6457. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  6458. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  6459. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  6460. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  6461. for i = 0, 49 do
  6462. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  6463. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  6464. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  6465. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  6466. end
  6467. ModeOfGlitch = 12345678987654321
  6468. storehumanoidWS = 200
  6469. hum.WalkSpeed = 200
  6470. rainbowmode = false
  6471. chaosmode = false
  6472. glitchymode = false
  6473. tl1.Enabled = true
  6474. tl2.Enabled = true
  6475. tl3.Enabled = true
  6476. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end)
  6477. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end)
  6478. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  6479. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6480. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6481. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6482. for i, v in pairs(mw2:GetChildren()) do
  6483. if v:IsA("Part") then
  6484. v.BrickColor = MAINRUINCOLOR
  6485. v.Material = "Neon"
  6486. end
  6487. end
  6488. for i, v in pairs(mw1:GetChildren()) do
  6489. if v:IsA("Part") then
  6490. v.Transparency = 0
  6491. v.BrickColor = MAINRUINCOLOR
  6492. v.Material = "Neon"
  6493. end
  6494. end
  6495. for i, v in pairs(m:GetChildren()) do
  6496. if v:IsA("Part") then
  6497. v.Color = Color3.new(0.5,0,1)
  6498. v.Material = "Neon"
  6499. end
  6500. end
  6501. for i, v in pairs(m2:GetChildren()) do
  6502. if v:IsA("Part") then
  6503. v.Color = Color3.new(0.5,0,1)
  6504. v.Material = "Neon"
  6505. end
  6506. end
  6507. for i, v in pairs(m3:GetChildren()) do
  6508. if v:IsA("Part") then
  6509. v.Color = Color3.new(0.5,0,1)
  6510. v.Material = "Neon"
  6511. end
  6512. end
  6513. for i, v in pairs(extrawingmod1:GetChildren()) do
  6514. if v:IsA("Part") then
  6515. v.Transparency = 0
  6516. v.Color = Color3.new(0.5,0,1)
  6517. v.Material = "Neon"
  6518. end
  6519. end
  6520. for i, v in pairs(extrawingmod2:GetChildren()) do
  6521. if v:IsA("Part") then
  6522. v.Transparency = 0
  6523. v.Color = Color3.new(0.5,0,1)
  6524. v.Material = "Neon"
  6525. end
  6526. attack = false
  6527. end
  6528. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  6529. resetmode()
  6530. end
  6531. if k == "l" and toggleTag == false then
  6532. toggleTag = true
  6533. text.TextTransparency = 0
  6534. text.TextStrokeTransparency = 0
  6535. elseif k == "l" and toggleTag == true then
  6536. toggleTag = false
  6537. text.TextTransparency = 1
  6538. text.TextStrokeTransparency = 1
  6539. end
  6540. if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then
  6541. ExtinctiveHeartbreak()
  6542. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6543. PureBomb()
  6544. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6545. scattercorrupt()
  6546. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6547. Judgement()
  6548. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6549. ChaosGroundStrike()
  6550. elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
  6551. InsaneGroundStrike()
  6552.  
  6553. elseif k == "z" and attack == false and ModeOfGlitch == 69 then
  6554. ChooseODer()
  6555. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  6556. Starfall()
  6557. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6558. yinyangi()
  6559. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  6560. Wip()
  6561. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  6562. StarfallEX()
  6563. end
  6564. if k == "x" and attack == false and ModeOfGlitch == 1000000 then
  6565. StarDivision()
  6566. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  6567. JusticeBeam()
  6568. end
  6569. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  6570. UniversalCollapse()
  6571. end
  6572. if k == "b" and attack == false and ModeOfGlitch == 4 then
  6573.  
  6574. end
  6575. if k == "n" and attack == false then
  6576. CorruptBlink()
  6577. end
  6578. if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then
  6579. FuckMeSidewaysAndCallMeGay()
  6580. end
  6581. end)
  6582. coroutine.resume(coroutine.create(function()
  6583. while true do
  6584. swait(2)
  6585. if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
  6586. 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)
  6587. end
  6588.  
  6589. end
  6590. end))
  6591.  
  6592.  
  6593. coroutine.resume(coroutine.create(function()
  6594. while true do
  6595. if ModeOfGlitch == 1000000 then
  6596. swait(0.5)
  6597. end
  6598. swait()
  6599. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
  6600. 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)
  6601. end
  6602. if ModeOfGlitch == 12345678987654321 then
  6603. sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
  6604. end
  6605. end
  6606. end))
  6607.  
  6608.  
  6609. function RandomMaterial()
  6610. local getRandom;
  6611. local material;
  6612. local function IsTerrainMaterial(mat)
  6613. local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
  6614. return isMaterial
  6615. end
  6616. getRandom = function()
  6617. local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
  6618. if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
  6619. end
  6620. getRandom()
  6621. repeat wait() until material
  6622. return material
  6623. end
  6624. function RandomCaps(str)
  6625. local new = ""
  6626. for i = 1, #str do
  6627. if(math.random(1,2) == 1)then
  6628. new = new .. (str:sub(i,i):upper())
  6629. else
  6630. new = new .. str:sub(i,i)
  6631. end
  6632. end
  6633. return new
  6634. end
  6635.  
  6636. coroutine.resume(coroutine.create(function()
  6637. while true do
  6638. for i = 1, #ODers do
  6639. local ODer = ODers[i]
  6640. if(ODer)then
  6641. local hed = ODer:FindFirstChild'Head'
  6642. if(ODer.Parent and hed)then
  6643. sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true)
  6644. else
  6645. table.remove(ODers,i)
  6646. end
  6647. else
  6648. table.remove(ODers,i)
  6649. end
  6650. end
  6651. if(not kan)then
  6652. kan = Instance.new("Sound",char)
  6653. end
  6654. kan.Parent = char
  6655. if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end
  6656. kan.Pitch = Pitch
  6657. kan.SoundId = MID
  6658. kan.Name = "wrecked"
  6659. kan.Looped = true
  6660. kan:Resume()
  6661. swait()
  6662. if glitchymode == true then
  6663. local val = math.random(1,255)
  6664. local color = Color3.fromRGB(val,val,val)
  6665. pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
  6666. pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
  6667. tl1.Color = ColorSequence.new(color)
  6668. tl2.Color = ColorSequence.new(color)
  6669. tl3.Color = ColorSequence.new(color)
  6670. tr1.Color = ColorSequence.new(color)
  6671. tr2.Color = ColorSequence.new(color)
  6672. tr3.Color = ColorSequence.new(color)
  6673. for i, v in pairs(mw1:GetChildren()) do
  6674. if v:IsA("Part") then
  6675. v.Transparency = 0
  6676. v.Color = color
  6677. v.Material = "Neon"
  6678. end
  6679. end
  6680. for i, v in pairs(mw2:GetChildren()) do
  6681. if v:IsA("Part") then
  6682. v.Color = color
  6683. v.Material = "Neon"
  6684. end
  6685. end
  6686. for i, v in pairs(m2:GetChildren()) do
  6687. if v:IsA("Part") then
  6688. v.Color = color
  6689. v.Material = "Neon"
  6690. end
  6691. end
  6692. RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color)
  6693. end
  6694. if chaosmode or glitchymode then
  6695. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6696. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6697. else
  6698. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
  6699. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
  6700. end
  6701. if chaosmode == true then
  6702. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6703. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6704. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6705. RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color)
  6706. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end)
  6707. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end)
  6708. for i, v in pairs(mw1:GetChildren()) do
  6709. if v:IsA("Part") then
  6710. v.Transparency = 0.75
  6711. v.BrickColor = BrickColor.random()
  6712. v.Material = "Neon"
  6713. end
  6714. end
  6715. for i, v in pairs(extrawingmod1:GetChildren()) do
  6716. if v:IsA("Part") and ModeOfGlitch == 666666 then
  6717. v.Transparency = 0.75
  6718. v.BrickColor = BrickColor.random()
  6719. v.Material = "Neon"
  6720. elseif v:IsA("Part") then
  6721. v.Transparency = 1
  6722. end
  6723. end
  6724. for i, v in pairs(m2:GetChildren()) do
  6725. if v:IsA("Part") then
  6726. v.BrickColor = BrickColor.random()
  6727. v.Material = "Neon"
  6728. end
  6729. end
  6730. end
  6731. end
  6732. end))
  6733. Humanoid.Name = "STARGLITCHER"
  6734. Humanoid.MaxHealth = math.huge
  6735. Humanoid.Health = math.huge
  6736. Instance.new("ForceField",char).Visible = false
  6737. Humanoid.Animator.Parent = nil
  6738. idleanim=.4
  6739. while true do
  6740. if rainbowmode == false and chaosmode == false and glitchymode == false then
  6741. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6742. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6743. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6744. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6745. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6746. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6747. end
  6748. if rainbowmode == true then
  6749. pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
  6750. pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
  6751. if(not vaporwave)then
  6752. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6753. else
  6754. RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6755. end
  6756. MAINRUINCOLOR = BrickColor.new("White")
  6757. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6758. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6759. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6760. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6761. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6762. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6763. for i, v in pairs(m:GetChildren()) do
  6764. if v:IsA("Part") then
  6765. v.Color = Color3.new(r/255,g/255,b/255)
  6766. end
  6767. end
  6768. for i, v in pairs(m2:GetChildren()) do
  6769. if v:IsA("Part") then
  6770. v.Color = Color3.new(r/255,g/255,b/255)
  6771. end
  6772. end
  6773. for i, v in pairs(m3:GetChildren()) do
  6774. if v:IsA("Part") then
  6775. v.Color = Color3.new(r/255,g/255,b/255)
  6776. end
  6777. end
  6778. for i, v in pairs(mw1:GetChildren()) do
  6779. if v:IsA("Part") then
  6780. v.Color = Color3.new(r/255,g/255,b/255)
  6781. v.Material = "Neon"
  6782. end
  6783. end
  6784. for i, v in pairs(mw2:GetChildren()) do
  6785. if v:IsA("Part") then
  6786. v.Color = Color3.new(r/255,g/255,b/255)
  6787. v.Material = "Neon"
  6788. end
  6789. end
  6790. end
  6791. CameraManager()
  6792. swait()
  6793. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  6794. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  6795. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  6796. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  6797. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  6798. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  6799.  
  6800. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  6801. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  6802. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  6803. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  6804. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  6805. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  6806. sine = sine + change
  6807. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6808. local velderp=RootPart.Velocity.y
  6809. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6810. if equipped==true or equipped==false then
  6811. if attack==false then
  6812. idle=idle+1
  6813. else
  6814. idle=0
  6815. end
  6816. if idle>=500 then
  6817. if attack==false then
  6818. --Sheath()
  6819. end
  6820. end
  6821. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6822. Anim="Jump"
  6823. if attack==false then
  6824. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  6825. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  6826. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  6827. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6828. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  6829. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  6830. end
  6831. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6832. Anim="Fall"
  6833. if attack==false then
  6834. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  6835. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  6836. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6837. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6838. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  6839. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  6840. end
  6841. elseif torvel<1 and hitfloor~=nil then
  6842. Anim="Idle"
  6843. if attack==false then
  6844. if ModeOfGlitch == 1 then
  6845. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  6846. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  6847. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  6848. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  6849. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  6850. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6851.  
  6852. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  6853. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6854. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6855. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6856. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  6857. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  6858. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  6859.  
  6860. elseif ModeOfGlitch == 3 then
  6861. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  6862. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6863. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  6864. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  6865. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
  6866. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
  6867. elseif ModeOfGlitch == 4 then
  6868. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  6869. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  6870. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6871. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  6872. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  6873. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  6874. elseif ModeOfGlitch == 69 then
  6875. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  6876. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  6877. LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6878. RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  6879. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  6880. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  6881. elseif ModeOfGlitch == 8376532578634534 then
  6882. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6883. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6884. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6885. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
  6886. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6887. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6888.  
  6889. elseif ModeOfGlitch == 666666 then
  6890. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  6891. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  6892. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6893. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6894. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6895. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6896.  
  6897. elseif ModeOfGlitch == 5 then
  6898. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6899. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6900. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6901. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  6902. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
  6903. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  6904.  
  6905. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then
  6906. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  6907. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  6908. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6909. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  6910. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  6911. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  6912.  
  6913. elseif ModeOfGlitch == 12345678987654321 then
  6914. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  6915. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  6916. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  6917. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  6918. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  6919. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  6920. end
  6921. end
  6922. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6923. Anim="Walk"
  6924. if attack==false then
  6925. if ModeOfGlitch == 1 then
  6926. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  6927. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6928. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  6929. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6930. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  6931. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6932. elseif ModeOfGlitch == 4 then
  6933. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/4)/2)*angles(math.rad(2-4*math.cos(sine/10))-math.sin(sine/10)/2,0,0)*angles(0,math.rad(90),0),.1)
  6934. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/4)/2)*angles(math.rad(2+3*math.cos(sine/10))+math.sin(sine/10)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6935. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
  6936. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  6937. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  6938. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  6939. elseif ModeOfGlitch == 666666 then
  6940. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/10))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  6941. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/10))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6942. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
  6943. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6944. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6945. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6946.  
  6947. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  6948. RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  6949. LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6950. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  6951. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  6952. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  6953. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
  6954. end
  6955. end
  6956. elseif torvel>=22 and hitfloor~=nil then
  6957. Anim="Run"
  6958. if attack==false then
  6959. if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
  6960. RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1)
  6961. LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1)
  6962. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  6963. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  6964. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  6965. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  6966. elseif ModeOfGlitch == 666666 then
  6967. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  6968. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  6969. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1)
  6970. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6971. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6972. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6973.  
  6974. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then
  6975. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  6976. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  6977. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  6978. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6979. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
  6980. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
  6981. end
  6982. end
  6983. end
  6984. end
  6985. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement