Advertisement
omg12

yeeeeeet

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