Advertisement
Christoffer07700Extr

FE Neblua Glitcher

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