Advertisement
Infintyboy

sdf

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