Advertisement
Oscar55555

Untitled

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