Advertisement
omg12

yeet

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