Advertisement
coughdrops

xcbvdbdb dx

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