vL4d_4eVer

GUESTGLITHCERV345456

Feb 4th, 2019 (edited)
425
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 241.82 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4.     print("FE Compatibility code by Mokiros")
  5.     script.Parent = Player.Character
  6.  
  7.     --RemoteEvent for communicating
  8.     local Event = Instance.new("RemoteEvent")
  9.     Event.Name = "UserInput_Event"
  10.  
  11.     --Fake event to make stuff like Mouse.KeyDown work
  12.     local function fakeEvent()
  13.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14.         t.connect = t.Connect
  15.         return t
  16.     end
  17.  
  18.     --Creating fake input objects with fake variables
  19.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23.     end}
  24.     --Merged 2 functions into one by checking amount of arguments
  25.     CAS.UnbindAction = CAS.BindAction
  26.  
  27.     --This function will trigger the events that have been :Connect()'ed
  28.     local function te(self,ev,...)
  29.         local t = m[ev]
  30.         if t and t._fakeEvent and t.Function then
  31.             t.Function(...)
  32.         end
  33.     end
  34.     m.TrigEvent = te
  35.     UIS.TrigEvent = te
  36.  
  37.     Event.OnServerEvent:Connect(function(plr,io)
  38.         if plr~=Player then return end
  39.         if io.isMouse then
  40.             m.Target = io.Target
  41.             m.Hit = io.Hit
  42.         else
  43.             local b = io.UserInputState == Enum.UserInputState.Begin
  44.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46.             end
  47.             for _,t in pairs(CAS.Actions) do
  48.                 for _,k in pairs(t.Keys) do
  49.                     if k==io.KeyCode then
  50.                         t.Function(t.Name,io.UserInputState,io)
  51.                     end
  52.                 end
  53.             end
  54.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56.         end
  57.     end)
  58.     Event.Parent = NLS([==[
  59.     local Player = game:GetService("Players").LocalPlayer
  60.     local Event = script:WaitForChild("UserInput_Event")
  61.  
  62.     local UIS = game:GetService("UserInputService")
  63.     local input = function(io,a)
  64.         if a then return end
  65.         --Since InputObject is a client-side instance, we create and pass table instead
  66.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67.     end
  68.     UIS.InputBegan:Connect(input)
  69.     UIS.InputEnded:Connect(input)
  70.  
  71.     local Mouse = Player:GetMouse()
  72.     local h,t
  73.     --Give the server mouse data 30 times every second, but only if the values changed
  74.     --If player is not moving their mouse, client won't fire events
  75.     while wait(1/30) do
  76.         if h~=Mouse.Hit or t~=Mouse.Target then
  77.             h,t=Mouse.Hit,Mouse.Target
  78.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  79.         end
  80.     end]==],Player.Character)
  81.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. warn([[Guest Glitcher V6 Loaded..
  85. The third Guest Glitcher, The brand new one which will strike popularity.
  86.  
  87. Created by Tc, Edited by Derpz to make it FE AND Make it Guest Glitcher V6!
  88. Credit for Idea: Poison Resistance
  89. ]])
  90.  
  91. ---------Wielder list as of OCs:---------
  92. -- Poison [The Creator]
  93. -- Derpz [The Developer]
  94. -----------------------------------------
  95.  
  96. print([[Icons:
  97. ! = New
  98. ? = Spoilers
  99. * = Exclusivity
  100. C = Changes
  101.  
  102. ]])
  103. warn([[V 6.2 Update Log:
  104. C - We fixxed some bugs, mostly with the sounds.
  105. C - Fixxed some animations not loading when script loaded.
  106. ? - We might add a revengeful Guest soon..
  107.  
  108. Commands for Musical mode: play/, vol/, pitch/, skipto/, telltime/]])
  109. ---- IMPORTANT READING:
  110. ---- Sources and functions might be taken from others
  111. plr = owner
  112.  
  113. script.Parent = workspace.CurrentCamera
  114. plr.CharacterAdded:connect(function()
  115.     script.Disabled = true
  116.     script:destroy()   
  117. end)
  118.  
  119. char = plr.Character
  120. hum = char.Humanoid
  121. local cam = game.Workspace.CurrentCamera
  122. Camera = cam
  123. local CamInterrupt = false
  124. local TwoD = false
  125. local TargetInfo = {nil, nil}
  126. cam.CameraType = "Custom"
  127. t = char.Torso
  128. h = char.Head
  129. ra = char["Right Arm"]
  130. la = char["Left Arm"]
  131. rl = char["Right Leg"]
  132. ll = char["Left Leg"]
  133. tors = char.Torso
  134. lleg = char["Left Leg"]
  135. root = char.HumanoidRootPart
  136. hed = char.Head
  137. rleg = char["Right Leg"]
  138. rarm = char["Right Arm"]
  139. larm = char["Left Arm"]
  140. radian = math.rad
  141. random = math.random
  142. Vec3 = Vector3.new
  143. Inst = Instance.new
  144. cFrame = CFrame.new
  145. Euler = CFrame.fromEulerAnglesXYZ
  146. vt = Vector3.new
  147. bc = BrickColor.new
  148. br = BrickColor.random
  149. it = Instance.new
  150. cf = CFrame.new
  151.  
  152.  
  153. local Booleans = {
  154.   CamFollow = true,
  155.   GyroUse = true
  156. }
  157.  
  158. function lerp(object, newCFrame, alpha)
  159.   return object:lerp(newCFrame, alpha)
  160. end
  161.  
  162. local Directer = Inst("BodyGyro", root)
  163. Directer.MaxTorque = Vec3(0, 0, 0)
  164. Directer.P = 600000
  165. local CPart = Inst("Part")
  166. CPart.Anchored = true
  167. CPart.CanCollide = false
  168. CPart.Locked = true
  169. CPart.Transparency = 1
  170.  
  171. local rainbowmode = false
  172. local chaosmode = false
  173. local duringend = false
  174. local ModeOfGlitch = 1
  175.  
  176. local kan = Instance.new("Sound",t)
  177. kan.Volume = 1.25
  178. kan.TimePosition = 0
  179. kan.PlaybackSpeed = 1
  180. kan.Pitch = 1.01
  181. kan.SoundId = "rbxassetid://1245299659"
  182. kan.Name = "wreckeda"
  183. kan.Looped = true
  184. kan:Play()
  185.  
  186. local currentThemePlaying = kan.SoundId
  187. local currentPitch = kan.Pitch
  188. local currentVol = kan.Volume
  189. function newTheme(ID,timepos,pitch,vol)
  190. local kanz = kan
  191. --kanz:Stop()
  192. kanz.Volume = vol
  193. --kanz.TimePosition = timepos
  194. kanz.PlaybackSpeed = pitch
  195. kanz.Pitch = pitch
  196. kanz.SoundId = ID
  197. kanz.Name = "wrecked"
  198. kanz.Looped = true
  199. currentThemePlaying = kanz.SoundId
  200. currentVol = kanz.Volume
  201. currentPitch = kanz.Pitch
  202. --kanz:Play()
  203. --coroutine.resume(coroutine.create(function()
  204. --wait(0.05)
  205. --end))
  206. end
  207.  
  208.  
  209. function newThemeCust(ID,timepos,pitch,vol)
  210. local kanz = kan
  211. kanz:Stop()
  212. kanz.Volume = vol
  213. kanz.TimePosition = timepos
  214. kanz.PlaybackSpeed = pitch
  215. kanz.Pitch = pitch
  216. kanz.SoundId = ID
  217. kanz.Name = "wrecked"
  218. kanz.Looped = true
  219. currentThemePlaying = kanz.SoundId
  220. currentVol = kanz.Volume
  221. currentPitch = kanz.Pitch
  222. kanz:Play()
  223. coroutine.resume(coroutine.create(function()
  224. wait(0.05)
  225. end))
  226. end
  227.  
  228. local mutedtog = false
  229.  
  230. function CameraEnshaking(Length,Intensity)
  231. coroutine.resume(coroutine.create(function()
  232.       local intensity = 1*Intensity
  233.       local rotM = 0.01*Intensity
  234. for i = 0, Length, 0.1 do
  235. swait()
  236. intensity = intensity - 0.05*Intensity/Length
  237. rotM = rotM - 0.0005*Intensity/Length
  238.       hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  239.       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)
  240. end
  241. Humanoid.CameraOffset = Vec3(0, 0, 0)
  242. end))
  243. end
  244. CamShake=function(Part,Distan,Power,Times)
  245. local de=Part.Position
  246. for i,v in pairs(workspace:children()) do
  247.  if v:IsA("Model") and v:findFirstChild("Humanoid") then
  248. for _,c in pairs(v:children()) do
  249. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  250. local Noob=v.Humanoid
  251. if Noob~=nil then
  252. coroutine.resume(coroutine.create(function()
  253. FV = Instance.new("BoolValue", Noob)
  254. FV.Name = "CameraShake"
  255. for ShakeNum=1,Times do
  256. swait()
  257. local ef=Power
  258.   if ef>=1 then
  259.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  260.   else
  261.    ef=Power*10
  262.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  263.   end  
  264. end
  265. Humanoid.CameraOffset = Vector3.new(0,0,0)
  266. FV:Destroy()
  267. end))
  268. CameraShake(Times, Power, Noob)
  269. end
  270. end
  271. end
  272. end
  273. end
  274. end
  275.  
  276. local toggleTag = true
  277. local bilguit = Instance.new("BillboardGui", hed)
  278. bilguit.Adornee = nil
  279. bilguit.Name = "Name"
  280. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  281. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  282. local modet = Instance.new("TextBox", bilguit)
  283. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  284. modet.FontSize = "Size8"
  285. modet.TextScaled = true
  286. modet.TextTransparency = 0
  287. modet.BackgroundTransparency = 1
  288. modet.TextTransparency = 0
  289. modet.TextStrokeTransparency = 0
  290. modet.Font = "Fantasy"
  291. modet.TextStrokeColor3 = Color3.new(0.2356,0,0.4)
  292. modet.TextColor3 = Color3.new(0,.51,.341)
  293. modet.Text = "GLITCHEDBANISHER V3467456 BY SHAEBSTARD"
  294.  
  295.  
  296. function chatfunc(text,color,typet,font,timeex)
  297. local chat = coroutine.wrap(function()
  298. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  299. Character:FindFirstChild("TalkingBillBoard"):destroy()
  300. end
  301. local naeeym2 = Instance.new("BillboardGui",Character)
  302. naeeym2.Size = UDim2.new(0,100,0,40)
  303. naeeym2.StudsOffset = Vector3.new(0,3,0)
  304. naeeym2.Adornee = Character.Head
  305. naeeym2.Name = "TalkingBillBoard"
  306. local tecks2 = Instance.new("TextLabel",naeeym2)
  307. tecks2.BackgroundTransparency = 1
  308. tecks2.BorderSizePixel = 0
  309. tecks2.Text = ""
  310. tecks2.Font = font
  311. tecks2.TextSize = 30
  312. tecks2.TextStrokeTransparency = 0
  313. tecks2.TextColor3 = color
  314. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  315. tecks2.Size = UDim2.new(1,0,0.5,0)
  316. local tecks3 = Instance.new("TextLabel",naeeym2)
  317. tecks3.BackgroundTransparency = 1
  318. tecks3.BorderSizePixel = 0
  319. tecks3.Text = ""
  320. tecks3.Font = font
  321. tecks3.TextSize = 30
  322. tecks3.TextStrokeTransparency = 0
  323. if typet == "Inverted" then
  324. tecks3.TextColor3 = Color3.new(0,0,0)
  325. tecks3.TextStrokeColor3 = color
  326. elseif typet == "Normal" then
  327. tecks3.TextColor3 = color
  328. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  329. end
  330. tecks3.Size = UDim2.new(1,0,0.5,0)
  331. coroutine.resume(coroutine.create(function()
  332. while true do
  333. swait(1)
  334. if chaosmode == true then
  335. tecks2.TextColor3 = BrickColor.random().Color
  336. tecks3.TextStrokeColor3 = BrickColor.random().Color
  337. end
  338. end
  339. end))
  340. modet.TextTransparency = modet.TextTransparency  + 1
  341. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  342. for i = 0, 74*timeex do
  343. swait()
  344. modet.TextTransparency = 1
  345. modet.TextStrokeTransparency = 1
  346. tecks2.Text = text
  347. tecks3.Text = text
  348. end
  349. local randomrot = math.random(1,2)
  350. if randomrot == 1 then
  351. for i = 1, 50 do
  352. swait()
  353. tecks2.Text = text
  354. tecks3.Text = text
  355. modet.TextTransparency = modet.TextTransparency - .02
  356. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  357. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  358. tecks2.TextTransparency = tecks2.TextTransparency + .04
  359. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  360. tecks3.TextTransparency = tecks2.TextTransparency + .04
  361. end
  362. elseif randomrot == 2 then
  363.     for i = 1, 50 do
  364. swait()
  365. tecks2.Text = text
  366. tecks3.Text = text
  367. modet.TextTransparency = modet.TextTransparency - .02
  368. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  369. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  370. tecks2.TextTransparency = tecks2.TextTransparency + .04
  371. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  372. tecks3.TextTransparency = tecks2.TextTransparency + .04
  373. end
  374. end
  375. modet.TextTransparency = 0
  376. modet.TextStrokeTransparency = 0
  377. if toggleTag == false then
  378. modet.TextTransparency = 1
  379. modet.TextStrokeTransparency = 1
  380. end
  381. naeeym2:Destroy()
  382. end)
  383. chat()
  384. end
  385.  
  386.  
  387. local Create = function(name)
  388. local ins=Instance.new(name)
  389. return function(d)
  390. for i,v in next,d do
  391. ins[i]=v
  392. end
  393. return ins
  394. end
  395. end
  396.  
  397. CFuncs = { 
  398.     ["Part"] = {
  399.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  400.             local Part = Create("Part"){
  401.                 Parent = Parent,
  402.                 Reflectance = Reflectance,
  403.                 Transparency = Transparency,
  404.                 CanCollide = false,
  405.                 Locked = true,
  406.                 BrickColor = BrickColor.new(tostring(BColor)),
  407.                 Name = Name,
  408.                 Size = Size,
  409.                 Material = Material,
  410.             }
  411.             RemoveOutlines(Part)
  412.             return Part
  413.         end;
  414.     };
  415.    
  416.     ["Mesh"] = {
  417.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  418.             local Msh = Create(Mesh){
  419.                 Parent = Part,
  420.                 Offset = OffSet,
  421.                 Scale = Scale,
  422.             }
  423.             if Mesh == "SpecialMesh" then
  424.                 Msh.MeshType = MeshType
  425.                 Msh.MeshId = MeshId
  426.             end
  427.             return Msh
  428.         end;
  429.     };
  430.    
  431.     ["Mesh"] = {
  432.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  433.             local Msh = Create(Mesh){
  434.                 Parent = Part,
  435.                 Offset = OffSet,
  436.                 Scale = Scale,
  437.             }
  438.             if Mesh == "SpecialMesh" then
  439.                 Msh.MeshType = MeshType
  440.                 Msh.MeshId = MeshId
  441.             end
  442.             return Msh
  443.         end;
  444.     };
  445.    
  446.     ["Weld"] = {
  447.         Create = function(Parent, Part0, Part1, C0, C1)
  448.             local Weld = Create("Weld"){
  449.                 Parent = Parent,
  450.                 Part0 = Part0,
  451.                 Part1 = Part1,
  452.                 C0 = C0,
  453.                 C1 = C1,
  454.             }
  455.             return Weld
  456.         end;
  457.     };
  458.  
  459.     ["Sound"] = {
  460.         Create = function(id, par, vol, pit)
  461.             coroutine.resume(coroutine.create(function()
  462.                 local S = Create("Sound"){
  463.                     Volume = vol,
  464.                                         Name = "EffectSoundo",
  465.                     Pitch = pit or 1,
  466.                     SoundId = id,
  467.                     Parent = par or workspace,
  468.                 }
  469.                 wait()
  470.                 S:play()
  471.                 game:GetService("Debris"):AddItem(S, 10)
  472.             end))
  473.         end;
  474.     };
  475.  
  476. ["LongSound"] = {
  477.         Create = function(id, par, vol, pit)
  478.             coroutine.resume(coroutine.create(function()
  479.                 local S = Create("Sound"){
  480.                     Volume = vol,
  481.                     Pitch = pit or 1,
  482.                     SoundId = id,
  483.                     Parent = par or workspace,
  484.                 }
  485.                 wait()
  486.                 S:play()
  487.                 game:GetService("Debris"):AddItem(S, 60)
  488.             end))
  489.         end;
  490.     };
  491.    
  492.     ["ParticleEmitter"] = {
  493.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  494.             local fp = Create("ParticleEmitter"){
  495.                 Parent = Parent,
  496.                 Color = ColorSequence.new(Color1, Color2),
  497.                 LightEmission = LightEmission,
  498.                 Size = Size,
  499.                 Texture = Texture,
  500.                 Transparency = Transparency,
  501.                 ZOffset = ZOffset,
  502.                 Acceleration = Accel,
  503.                 Drag = Drag,
  504.                 LockedToPart = LockedToPart,
  505.                 VelocityInheritance = VelocityInheritance,
  506.                 EmissionDirection = EmissionDirection,
  507.                 Enabled = Enabled,
  508.                 Lifetime = LifeTime,
  509.                 Rate = Rate,
  510.                 Rotation = Rotation,
  511.                 RotSpeed = RotSpeed,
  512.                 Speed = Speed,
  513.                 VelocitySpread = VelocitySpread,
  514.             }
  515.             return fp
  516.         end;
  517.     };
  518.  
  519.     CreateTemplate = {
  520.    
  521.     };
  522. }
  523.  
  524.  
  525.  
  526. New = function(Object, Parent, Name, Data)
  527.     local Object = Instance.new(Object)
  528.     for Index, Value in pairs(Data or {}) do
  529.         Object[Index] = Value
  530.     end
  531.     Object.Parent = Parent
  532.     Object.Name = Name
  533.     return Object
  534. end
  535. local halocolor = BrickColor.new("Pastel light blue")
  536. local halocolor2 = BrickColor.new("Cool yellow")
  537. local starcolor = BrickColor.new("Bright yellow")
  538. local lunacolor = BrickColor.new("Navy blue")
  539. local lunacolor2 = BrickColor.new("Bright blue")
  540. local wepcolor = BrickColor.new("Really black")
  541. local maincolor = BrickColor.new("Really black")
  542. local m = Instance.new("Model",char)
  543. local m2 = Instance.new("Model",char)
  544. local m3 = Instance.new("Model",char)
  545. local mw1 = Instance.new("Model",char)
  546. local mw2 = Instance.new("Model",char)
  547.  
  548.  
  549. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  550.   local gui = it(GuiType)
  551.   gui.Parent = parent
  552.   gui.Text = text
  553.   gui.BackgroundTransparency = backtrans
  554.   gui.BackgroundColor3 = backcol
  555.   gui.SizeConstraint = "RelativeXY"
  556.   gui.TextXAlignment = "Center"
  557.   gui.TextYAlignment = "Center"
  558.   gui.Position = pos
  559.   gui.Size = size
  560.   gui.Font = "SourceSans"
  561.   gui.FontSize = "Size14"
  562.   gui.TextWrapped = false
  563.   gui.TextStrokeTransparency = 0
  564.   gui.TextColor = BrickColor.new("White")
  565.   return gui
  566. end
  567. ---- GUI set
  568. local basgui = it("GuiMain")
  569. basgui.Parent = plr.PlayerGui
  570. basgui.Name = "Killcounter GUI"
  571. local basframe = it("Frame")
  572. basframe.Parent = basgui
  573. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  574. basframe.BackgroundTransparency = 1
  575. basframe.BorderColor3 = Color3.new(17, 17, 17)
  576. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  577. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  578. local uhh = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0.5, 0, 0.45, 0), UDim2.new(1.5, 0, 0.55, 0))
  579. uhh.ZIndex = 2
  580. uhh.Font = "Bodoni"
  581. uhh.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
  582. uhh.TextColor3 = Color3.new(1,1,1)
  583. uhh.BackgroundTransparency = 0.25
  584. uhh.BorderSizePixel = 2
  585. uhh.BorderColor3 = Color3.new(0,0,0)
  586. uhh.TextScaled = true
  587. uhh.TextXAlignment = "Left"
  588. uhh.Text = "Switch mode: Q-J"
  589. uhh.TextSize = 64
  590. local modeteller = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0, 0, -0.01, 0), UDim2.new(1, 0, 0.45, 0))
  591. modeteller.ZIndex = 2
  592. modeteller.Font = "Bodoni"
  593. modeteller.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
  594. modeteller.TextColor3 = Color3.new(1,1,1)
  595. modeteller.BackgroundTransparency = 0.25
  596. modeteller.BorderSizePixel = 2
  597. modeteller.BorderColor3 = Color3.new(0,0,0)
  598. modeteller.TextScaled = true
  599. modeteller.TextXAlignment = "Right"
  600. modeteller.Text = "Lol it broke"
  601. modeteller.TextSize = 64
  602.  
  603. local extrawingmod1 = Instance.new("Model",char)
  604. local extrawingmod2 = Instance.new("Model",char)
  605.  
  606. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  607. local p = Instance.new("Part")
  608. p.TopSurface = 0
  609. p.BottomSurface = 0
  610. p.Parent = parent
  611. p.Size = Vector3.new(0.1,0.1,0.1)
  612. p.Transparency = transparency
  613. p.Reflectance = reflectance
  614. p.CanCollide = false
  615. p.Locked = true
  616. p.BrickColor = brickcolor
  617. p.Material = material
  618. return p
  619. end
  620.  
  621. function CreateMesh(parent,meshtype,x1,y1,z1)
  622. local mesh = Instance.new("SpecialMesh",parent)
  623. mesh.MeshType = meshtype
  624. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  625. return mesh
  626. end
  627.  
  628. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  629. local mesh = Instance.new("SpecialMesh",parent)
  630. mesh.MeshType = "FileMesh"
  631. mesh.MeshId = meshid
  632. mesh.Scale = Vector3.new(x1,y1,z1)
  633. return mesh
  634. end
  635.  
  636.  
  637. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  638. local mesh = Instance.new("SpecialMesh",parent)
  639. mesh.MeshType = "FileMesh"
  640. mesh.MeshId = meshid
  641. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  642. mesh.Scale = Vector3.new(x1,y1,z1)
  643. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  644. return mesh
  645. end
  646.  
  647. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  648. local weld = Instance.new("Weld")
  649. weld.Parent = parent
  650. weld.Part0 = part0
  651. weld.Part1 = part1
  652. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  653. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  654. return weld
  655. end
  656.  
  657.  
  658. --------------
  659. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  660. 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))
  661. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  662. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(274),math.rad(0),1,0,0,math.rad(345),math.rad(623464),math.rad(245243))
  663.  
  664. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  665. CreateMesh(handle,"Brick",0,0,0)
  666. 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))
  667. local valuaring = 10
  668.  
  669. local refec = Instance.new("ParticleEmitter",handlex)
  670. refec.Texture = "rbxassetid://2119689849"
  671. refec.LightEmission = 0.95
  672. refec.Color = ColorSequence.new(BrickColor.new("White").Color)
  673. refec.Rate = 50
  674. refec.Lifetime = NumberRange.new(0.5)
  675. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  676. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  677. refec.Speed = NumberRange.new(0,2)
  678. refec.Drag = 5
  679. refec.LockedToPart = true
  680. refec.Rotation = NumberRange.new(-500,500)
  681. refec.VelocitySpread = 9000
  682. refec.RotSpeed = NumberRange.new(-500,500)
  683. local refec2 = refec:Clone()
  684. refec2.LightEmission = 0.75
  685. refec2.Texture = "rbxassetid://2119689849"
  686. refec2.Parent = handlex
  687. refec2.Rate = 25
  688. refec2.Lifetime = NumberRange.new(0.75)
  689. refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.15,1,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  690. refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  691. refec2.Speed = NumberRange.new(0)
  692. local refec3 = refec:Clone()
  693. refec3.LightEmission = 0.75
  694. refec3.Texture = "rbxassetid://2563177033"
  695. refec3.Parent = handlex
  696. refec3.Rate = 25
  697. refec3.Lifetime = NumberRange.new(1)
  698. refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  699. refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  700. refec3.Speed = NumberRange.new(0)
  701. refec3.RotSpeed = NumberRange.new(-50,50)
  702.  
  703. for i = 0, 35 do
  704.     valuaring = valuaring + math.random(-180,180)
  705. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  706. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  707. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  708. rn = CreateParta(mw2,2,1,"Neon",halocolor)
  709. CreateMesh(rn,"Wedge",2.1,1.5,2.51)
  710. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  711. rn = CreateParta(mw2,5,0,"Neon",halocolor)
  712. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  713. CreateWeld(rn,handlex,rn,0,-1.1,0.925,math.rad(0),math.rad(-940),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  714. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  715. CreateMesh(rn,"Wedge",1.4,0.8,0.5)
  716. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  717. end
  718.  
  719.  
  720. local handle = CreateParta(m,1,1,"Neon",maincolor)
  721. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  722. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(math.random(-234564,2546345)),math.rad(0),math.rad(math.random(-234564,2546345)),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  723.  
  724. --- Left wing.
  725.  
  726. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  727. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  728. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(14552.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  729.  
  730. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  731. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  732. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(math.random(-234564,2546345)),math.rad(90),math.rad(math.random(-234564,2546345)),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  733. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  734. CreateMesh(wed,"Wedge",1.05,1.5,1.5)
  735. CreateWeld(wed,lwing1,wed,2,-3,1.25,math.rad(math.random(-234564,2546345)),math.rad(math.random(-234564,2546345)),math.rad(math.random(-234564,2546345)),0,0,0,math.rad(math.random(-234564,2546345)),math.rad(0),math.rad(0))
  736. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  737. CreateMesh(wed,"Wedge",5,2.5,1.5)
  738. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  739. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  740. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  741. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  742. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  743. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  744. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  745. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  746. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  747. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  748. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  749. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  750. 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))
  751. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  752. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  753. 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))
  754. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  755. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  756. CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  757. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  758. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  759. CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  760.  
  761.  
  762. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  763. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  764. 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))
  765.  
  766. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  767. CreateMesh(wed,"Wedge",math.random(-2,2),math.random(-2,2),math.random(-2,2))
  768. 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))
  769. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  770. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  771. 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))
  772. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  773. CreateMesh(wed,"Wedge",10.05,0.5,03.5)
  774. CreateWeld(wed,lwing2,wed,03,-0.5,0.25,math.rad(1454580),math.rad(92340),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  775. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  776. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  777. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  778. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  779. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  780. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  781. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  782. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  783. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  784. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  785. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  786. 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))
  787. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  788. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  789. 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))
  790. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  791. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  792. CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  793. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  794. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  795. CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  796.  
  797. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  798. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  799. 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))
  800.  
  801. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  802. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  803. 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))
  804. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  805. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  806. 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))
  807. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  808. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  809. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  810. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  811. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  812. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  813. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  814. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  815. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  816. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  817. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  818. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  819. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  820. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  821. 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))
  822. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  823. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  824. 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))
  825. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  826. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  827. CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  828. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  829. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  830. CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  831.  
  832. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  833. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  834. 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))
  835.  
  836. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  837. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  838. 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))
  839. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  840. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  841. 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))
  842. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  843. CreateMesh(wed,"Wedge",0.05,0.5,3)
  844. 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))
  845. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  846. CreateMesh(wed,"Wedge",0.05,3,0.5)
  847. 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))
  848.  
  849. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  850. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  851. 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))
  852.  
  853. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  854. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  855. 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))
  856. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  857. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  858. 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))
  859. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  860. CreateMesh(wed,"Wedge",0.05,0.5,3)
  861. 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))
  862. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  863. CreateMesh(wed,"Wedge",0.05,3,0.5)
  864. 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))
  865.  
  866. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  867. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  868. 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))
  869.  
  870. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  871. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  872. 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))
  873. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  874. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  875. 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))
  876. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  877. CreateMesh(wed,"Wedge",0.05,0.5,3)
  878. 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))
  879. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  880. CreateMesh(wed,"Wedge",0.05,3,0.5)
  881. 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))
  882.  
  883. -- Right wing.
  884.  
  885. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  886. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  887. 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))
  888.  
  889. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  890. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  891. 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))
  892. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  893. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  894. 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))
  895. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  896. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  897. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  898. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  899. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  900. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  901. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  902. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  903. CreateWeld(wed,rwing1,wed,0,0.75,-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,0.5)
  906. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),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,0.5,1.5)
  909. 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))
  910. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  911. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  912. 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))
  913. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  914. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  915. CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  916. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  917. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  918. CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  919.  
  920. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  921. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  922. 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))
  923.  
  924. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  925. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  926. 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))
  927. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  928. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  929. 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))
  930. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  931. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  932. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  933. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  934. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  935. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  936. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  937. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  938. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  939. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  940. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  941. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  942. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  943. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  944. 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))
  945. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  946. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  947. 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))
  948. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  949. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  950. CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  951. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  952. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  953. CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  954.  
  955. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  956. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  957. 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))
  958.  
  959.  
  960. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  961. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  962. 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))
  963. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  964. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  965. 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))
  966. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  967. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  968. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  969. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  970. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  971. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  972. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  974. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  975. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  977. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  978. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  980. 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))
  981. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  982. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  983. 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))
  984. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  985. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  986. CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  987. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  988. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  989. CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  990.  
  991.  
  992. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  993. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  994. 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))
  995.  
  996. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  997. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  998. 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))
  999. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1000. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1001. 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))
  1002. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1003. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1004. 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))
  1005. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1006. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1007. 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))
  1008.  
  1009. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1010. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1011. 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))
  1012.  
  1013. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1014. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1015. 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))
  1016. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1017. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1018. 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))
  1019. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1020. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1021. 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))
  1022. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1023. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1024. 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))
  1025.  
  1026. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1027. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1028. 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))
  1029.  
  1030. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1031. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1032. 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))
  1033. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1034. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1035. 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))
  1036. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1037. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1038. 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))
  1039. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1040. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1041. 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))
  1042.  
  1043.  
  1044. ---- HERES THE RING
  1045.  
  1046.  
  1047. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1048. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1049. 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))
  1050. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1051. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1052. 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))
  1053. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1054. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1055. 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))
  1056.  
  1057.  
  1058. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1059. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1060. 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))
  1061.  
  1062. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1063. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1064. 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))
  1065.  
  1066.  
  1067.  
  1068. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1069. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1070. 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))
  1071.  
  1072. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1073. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1074. 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))
  1075.  
  1076. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1077. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1078. 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))
  1079.  
  1080. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1081. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1082. 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))
  1083. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1084. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1085. 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))
  1086.  
  1087. --- second ring
  1088.  
  1089. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1090. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1091. 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))
  1092. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1093. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1094. 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))
  1095. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1096. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1097. 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))
  1098.  
  1099. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1100. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1101. 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))
  1102.  
  1103. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1104. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1105. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1106.  
  1107.  
  1108.  
  1109. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1110. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1111. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1112.  
  1113. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1114. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1115. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1116.  
  1117. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1118. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1119. 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))
  1120.  
  1121. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1122. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1123. 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))
  1124. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1125. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1126. 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))]]--
  1127.  
  1128. ------------- Trails
  1129. local A0 = Instance.new("Attachment",lwing1)
  1130. A0.Position = Vector3.new(0,-0.7,0)
  1131. local A1 = Instance.new("Attachment",lwing1)
  1132. A1.Position = Vector3.new(0,-3.5,0)
  1133. tl1 = Instance.new('Trail',lwing1)
  1134. tl1.Attachment0 = A0
  1135. tl1.Attachment1 = A1
  1136. tl1.Texture = "http://www.roblox.com/asset/?id=2119689849"
  1137. tl1.LightEmission = 1
  1138. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1139. tl1.Color = ColorSequence.new(BrickColor.new('White').Color)
  1140. tl1.Lifetime = 0.6
  1141.  
  1142. local A0 = Instance.new("Attachment",lwing2)
  1143. A0.Position = Vector3.new(0,-0.7,0)
  1144. local A1 = Instance.new("Attachment",lwing2)
  1145. A1.Position = Vector3.new(0,-3.5,0)
  1146. tl2 = Instance.new('Trail',lwing2)
  1147. tl2.Attachment0 = A0
  1148. tl2.Attachment1 = A1
  1149. tl2.Texture = "http://www.roblox.com/asset/?id=2119689849"
  1150. tl2.LightEmission = 1
  1151. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1152. tl2.Color = ColorSequence.new(BrickColor.new('White').Color)
  1153. tl2.Lifetime = 0.6
  1154.  
  1155. local A0 = Instance.new("Attachment",lwing3)
  1156. A0.Position = Vector3.new(0,-0.7,0)
  1157. local A1 = Instance.new("Attachment",lwing3)
  1158. A1.Position = Vector3.new(0,-3.5,0)
  1159. tl3 = Instance.new('Trail',lwing3)
  1160. tl3.Attachment0 = A0
  1161. tl3.Attachment1 = A1
  1162. tl3.Texture = "http://www.roblox.com/asset/?id=2119689849"
  1163. tl3.LightEmission = 1
  1164. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1165. tl3.Color = ColorSequence.new(BrickColor.new('White').Color)
  1166. tl3.Lifetime = 0.6
  1167.  
  1168. local A0 = Instance.new("Attachment",rwing1)
  1169. A0.Position = Vector3.new(0,-0.7,0)
  1170. local A1 = Instance.new("Attachment",rwing1)
  1171. A1.Position = Vector3.new(0,-3.5,0)
  1172. tr1 = Instance.new('Trail',rwing1)
  1173. tr1.Attachment0 = A0
  1174. tr1.Attachment1 = A1
  1175. tr1.Texture = "http://www.roblox.com/asset/?id=2119689849"
  1176. tr1.LightEmission = 1
  1177. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1178. tr1.Color = ColorSequence.new(BrickColor.new('White').Color)
  1179. tr1.Lifetime = 0.6
  1180.  
  1181. local A0 = Instance.new("Attachment",rwing2)
  1182. A0.Position = Vector3.new(0,-0.7,0)
  1183. local A1 = Instance.new("Attachment",rwing2)
  1184. A1.Position = Vector3.new(0,-3.5,0)
  1185. tr2 = Instance.new('Trail',rwing2)
  1186. tr2.Attachment0 = A0
  1187. tr2.Attachment1 = A1
  1188. tr2.Texture = "http://www.roblox.com/asset/?id=2119689849"
  1189. tr2.LightEmission = 1
  1190. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1191. tr2.Color = ColorSequence.new(BrickColor.new('White').Color)
  1192. tr2.Lifetime = 0.6
  1193.  
  1194. local A0 = Instance.new("Attachment",rwing3)
  1195. A0.Position = Vector3.new(0,-0.7,0)
  1196. local A1 = Instance.new("Attachment",rwing3)
  1197. A1.Position = Vector3.new(0,-3.5,0)
  1198. tr3 = Instance.new('Trail',rwing3)
  1199. tr3.Attachment0 = A0
  1200. tr3.Attachment1 = A1
  1201. tr3.Texture = "http://www.roblox.com/asset/?id=2119689849"
  1202. tr3.LightEmission = 1
  1203. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1204. tr3.Color = ColorSequence.new(BrickColor.new('White').Color)
  1205. tr3.Lifetime = 0.6
  1206.  
  1207. for i, v in pairs(mw2:GetChildren()) do
  1208. if v:IsA("Part") then
  1209. v.BrickColor = BrickColor.new("Navy blue")
  1210. v.Material = "Neon"
  1211. end
  1212. end
  1213. for i, v in pairs(mw1:GetChildren()) do
  1214. if v:IsA("Part") then
  1215. v.Transparency = 0
  1216. v.BrickColor = BrickColor.new("Navy blue")
  1217. v.Material = "Neon"
  1218. end
  1219. end
  1220. for i, v in pairs(extrawingmod1:GetChildren()) do
  1221. if v:IsA("Part") then
  1222. v.Transparency = 1
  1223. v.BrickColor = BrickColor.new("White")
  1224. v.Material = "Neon"
  1225. end
  1226. end
  1227. for i, v in pairs(extrawingmod2:GetChildren()) do
  1228. if v:IsA("Part") then
  1229. v.Transparency = 1
  1230. v.BrickColor = BrickColor.new("White")
  1231. v.Material = "Neon"
  1232. end
  1233. end
  1234. local MAINRUINCOLOR = BrickColor.new("Navy blue")
  1235. ------
  1236.  
  1237.  
  1238. function RemoveOutlines(part)
  1239.   part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1240. end
  1241. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1242.   local Part = Create("Part")({
  1243.     Parent = Parent,
  1244.     Reflectance = Reflectance,
  1245.     Transparency = Transparency,
  1246.     CanCollide = false,
  1247.     Locked = true,
  1248.     BrickColor = BrickColor.new(tostring(BColor)),
  1249.     Name = Name,
  1250.     Size = Size,
  1251.     Material = Material
  1252.   })
  1253.   Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1254.   RemoveOutlines(Part)
  1255.   return Part
  1256. end
  1257. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1258.   local Msh = Create(Mesh)({
  1259.     Parent = Part,
  1260.     Offset = OffSet,
  1261.     Scale = Scale
  1262.   })
  1263.   if Mesh == "SpecialMesh" then
  1264.     Msh.MeshType = MeshType
  1265.     Msh.MeshId = MeshId
  1266.   end
  1267.   return Msh
  1268. end
  1269. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1270.   local Weld = Create("Weld")({
  1271.     Parent = Parent,
  1272.     Part0 = Part0,
  1273.     Part1 = Part1,
  1274.     C0 = C0,
  1275.     C1 = C1
  1276.   })
  1277.   return Weld
  1278. end
  1279.  
  1280. Player=owner
  1281. Character=Player.Character
  1282. PlayerGui=Player.PlayerGui
  1283. Backpack=Player.Backpack
  1284. Torso=Character.Torso
  1285. Head=Character.Head
  1286. Humanoid=Character.Humanoid
  1287. m=Instance.new('Model',Character)
  1288. LeftArm=Character["Left Arm"]
  1289. LeftLeg=Character["Left Leg"]
  1290. RightArm=Character["Right Arm"]
  1291. RightLeg=Character["Right Leg"]
  1292. LS=Torso["Left Shoulder"]
  1293. LH=Torso["Left Hip"]
  1294. RS=Torso["Right Shoulder"]
  1295. RH=Torso["Right Hip"]
  1296. Face = Head.face
  1297. Neck=Torso.Neck
  1298. it=Instance.new
  1299. attacktype=1
  1300. vt=Vector3.new
  1301. cf=CFrame.new
  1302. euler=CFrame.fromEulerAnglesXYZ
  1303. angles=CFrame.Angles
  1304. cloaked=false
  1305. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1306. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1307. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1308. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1309. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1310. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1311. RootPart=Character.HumanoidRootPart
  1312. RootJoint=RootPart.RootJoint
  1313. RootCF=euler(-1.57,0,3.14)
  1314. attack = false
  1315. attackdebounce = false
  1316. deb=false
  1317. equipped=true
  1318. hand=false
  1319. MMouse=nil
  1320. combo=0
  1321. mana=0
  1322. trispeed=.2
  1323. attackmode='none'
  1324. local idle=0
  1325. local Anim="Idle"
  1326. local Effects={}
  1327. local gun=false
  1328. local shoot=false
  1329. local sine = 0
  1330. local change = 1
  1331. player=nil
  1332.  
  1333. function RecolorTextAndRename(name,col1,col2,font)
  1334. modet.TextStrokeColor3 = col2
  1335. modet.TextColor3 = col1
  1336. modet.Font = font
  1337. modet.Text = name
  1338. end
  1339. --save shoulders
  1340. RSH, LSH=nil, nil
  1341. --welds
  1342. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1343. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1344. LH=Torso["Left Hip"]
  1345. RH=Torso["Right Hip"]
  1346. TorsoColor=Torso.BrickColor
  1347. function NoOutline(Part)
  1348. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1349. end
  1350. player=Player
  1351. ch=Character
  1352. RSH=ch.Torso["Right Shoulder"]
  1353. LSH=ch.Torso["Left Shoulder"]
  1354. --
  1355. RSH.Parent=nil
  1356. LSH.Parent=nil
  1357. --
  1358. RW.Name="Right Shoulder"
  1359. RW.Part0=ch.Torso
  1360. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1361. RW.C1=cf(0, 0.5, 0)
  1362. RW.Part1=ch["Right Arm"]
  1363. RW.Parent=ch.Torso
  1364. --
  1365. LW.Name="Left Shoulder"
  1366. LW.Part0=ch.Torso
  1367. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1368. LW.C1=cf(0, 0.5, 0)
  1369. LW.Part1=ch["Left Arm"]
  1370. LW.Parent=ch.Torso
  1371.  
  1372. local Stats=Instance.new("BoolValue")
  1373. Stats.Name="Stats"
  1374. Stats.Parent=Character
  1375. local Atk=Instance.new("NumberValue")
  1376. Atk.Name="Damage"
  1377. Atk.Parent=Stats
  1378. Atk.Value=1
  1379. local Def=Instance.new("NumberValue")
  1380. Def.Name="Defense"
  1381. Def.Parent=Stats
  1382. Def.Value=1
  1383. local Speed=Instance.new("NumberValue")
  1384. Speed.Name="Speed"
  1385. Speed.Parent=Stats
  1386. Speed.Value=1
  1387. local Mvmt=Instance.new("NumberValue")
  1388. Mvmt.Name="Movement"
  1389. Mvmt.Parent=Stats
  1390. Mvmt.Value=1
  1391.  
  1392. local donum=0
  1393.  
  1394.  
  1395. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1396. local fp=it("Part")
  1397. fp.formFactor=formfactor
  1398. fp.Parent=parent
  1399. fp.Reflectance=reflectance
  1400. fp.Transparency=transparency
  1401. fp.CanCollide=false
  1402. fp.Locked=true
  1403. fp.BrickColor=brickcolor
  1404. fp.Name=name
  1405. fp.Size=size
  1406. fp.Position=Torso.Position
  1407. NoOutline(fp)
  1408. fp.Material="SmoothPlastic"
  1409. fp:BreakJoints()
  1410. return fp
  1411. end
  1412.  
  1413. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1414. local mesh=it(Mesh)
  1415. mesh.Parent=part
  1416. if Mesh=="SpecialMesh" then
  1417. mesh.MeshType=meshtype
  1418. if meshid~="nil" then
  1419. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1420. end
  1421. end
  1422. mesh.Offset=offset
  1423. mesh.Scale=scale
  1424. return mesh
  1425. end
  1426.  
  1427. function weld(parent,part0,part1,c0)
  1428. local weld=it("Weld")
  1429. weld.Parent=parent
  1430. weld.Part0=part0
  1431. weld.Part1=part1
  1432. weld.C0=c0
  1433. return weld
  1434. end
  1435.  
  1436. local Color1=Torso.BrickColor
  1437.  
  1438. local bodvel=Instance.new("BodyVelocity")
  1439. local bg=Instance.new("BodyGyro")
  1440.  
  1441. function swait(num)
  1442. if num==0 or num==nil then
  1443. game:service'RunService'.Stepped:wait(0)
  1444. else
  1445. for i=0,num do
  1446. game:service'RunService'.Stepped:wait(0)
  1447. end
  1448. end
  1449. end
  1450.  
  1451. -------- RAINBOW LEAVE IT TO ME
  1452. local r = 255
  1453. local g = 0
  1454. local b = 0
  1455. coroutine.resume(coroutine.create(function()
  1456. while wait() do
  1457.     for i = 0, 254/5 do
  1458.         swait()
  1459.         g = g + 5
  1460.     end
  1461.     for i = 0, 254/5 do
  1462.         swait()
  1463.         r = r - 5
  1464.     end
  1465.     for i = 0, 254/5 do
  1466.         swait()
  1467.         b = b + 5
  1468.     end
  1469.     for i = 0, 254/5 do
  1470.         swait()
  1471.         g = g - 5
  1472.     end
  1473.     for i = 0, 254/5 do
  1474.         swait()
  1475.         r = r + 5
  1476.     end
  1477.     for i = 0, 254/5 do
  1478.         swait()
  1479.         b = b - 5
  1480.     end
  1481. end
  1482. end))
  1483.  
  1484.  
  1485. so = function(id,par,vol,pit)
  1486. coroutine.resume(coroutine.create(function()
  1487. local sou = Instance.new("Sound",par or workspace)
  1488. sou.Volume=vol
  1489. sou.Pitch=pit or 1
  1490. sou.SoundId=id
  1491. swait()
  1492. sou:play()
  1493. game:GetService("Debris"):AddItem(sou,6)
  1494. end))
  1495. end
  1496.  
  1497. function clerp(a,b,t)
  1498. local qa = {QuaternionFromCFrame(a)}
  1499. local qb = {QuaternionFromCFrame(b)}
  1500. local ax, ay, az = a.x, a.y, a.z
  1501. local bx, by, bz = b.x, b.y, b.z
  1502. local _t = 1-t
  1503. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1504. end
  1505.  
  1506. function QuaternionFromCFrame(cf)
  1507. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1508. local trace = m00 + m11 + m22
  1509. if trace > 0 then
  1510. local s = math.sqrt(1 + trace)
  1511. local recip = 0.5/s
  1512. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1513. else
  1514. local i = 0
  1515. if m11 > m00 then
  1516. i = 1
  1517. end
  1518. if m22 > (i == 0 and m00 or m11) then
  1519. i = 2
  1520. end
  1521. if i == 0 then
  1522. local s = math.sqrt(m00-m11-m22+1)
  1523. local recip = 0.5/s
  1524. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1525. elseif i == 1 then
  1526. local s = math.sqrt(m11-m22-m00+1)
  1527. local recip = 0.5/s
  1528. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1529. elseif i == 2 then
  1530. local s = math.sqrt(m22-m00-m11+1)
  1531. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1532. end
  1533. end
  1534. end
  1535.  
  1536. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1537. local xs, ys, zs = x + x, y + y, z + z
  1538. local wx, wy, wz = w*xs, w*ys, w*zs
  1539. local xx = x*xs
  1540. local xy = x*ys
  1541. local xz = x*zs
  1542. local yy = y*ys
  1543. local yz = y*zs
  1544. local zz = z*zs
  1545. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1546. end
  1547.  
  1548. function QuaternionSlerp(a, b, t)
  1549. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1550. local startInterp, finishInterp;
  1551. if cosTheta >= 0.0001 then
  1552. if (1 - cosTheta) > 0.0001 then
  1553. local theta = math.acos(cosTheta)
  1554. local invSinTheta = 1/math.sin(theta)
  1555. startInterp = math.sin((1-t)*theta)*invSinTheta
  1556. finishInterp = math.sin(t*theta)*invSinTheta  
  1557. else
  1558. startInterp = 1-t
  1559. finishInterp = t
  1560. end
  1561. else
  1562. if (1+cosTheta) > 0.0001 then
  1563. local theta = math.acos(-cosTheta)
  1564. local invSinTheta = 1/math.sin(theta)
  1565. startInterp = math.sin((t-1)*theta)*invSinTheta
  1566. finishInterp = math.sin(t*theta)*invSinTheta
  1567. else
  1568. startInterp = t-1
  1569. finishInterp = t
  1570. end
  1571. end
  1572. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1573. end
  1574.  
  1575. local function CFrameFromTopBack(at, top, back)
  1576. local right = top:Cross(back)
  1577. return CFrame.new(at.x, at.y, at.z,
  1578. right.x, top.x, back.x,
  1579. right.y, top.y, back.y,
  1580. right.z, top.z, back.z)
  1581. end
  1582.  
  1583. function Triangle(a, b, c)
  1584. local edg1 = (c-a):Dot((b-a).unit)
  1585. local edg2 = (a-b):Dot((c-b).unit)
  1586. local edg3 = (b-c):Dot((a-c).unit)
  1587. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1588. a, b, c = a, b, c
  1589. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1590. a, b, c = b, c, a
  1591. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1592. a, b, c = c, a, b
  1593. else
  1594. assert(false, "unreachable")
  1595. end
  1596.  
  1597. local len1 = (c-a):Dot((b-a).unit)
  1598. local len2 = (b-a).magnitude - len1
  1599. local width = (a + (b-a).unit*len1 - c).magnitude
  1600.  
  1601. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1602.  
  1603. local list = {}
  1604.  
  1605. if len1 > 0.01 then
  1606. local w1 = Instance.new('WedgePart', m)
  1607. game:GetService("Debris"):AddItem(w1,5)
  1608. w1.Material = "SmoothPlastic"
  1609. w1.FormFactor = 'Custom'
  1610. w1.BrickColor = BrickColor.new("Really red")
  1611. w1.Transparency = 0
  1612. w1.Reflectance = 0
  1613. w1.Material = "SmoothPlastic"
  1614. w1.CanCollide = false
  1615. local l1 = Instance.new("PointLight",w1)
  1616. l1.Color = Color3.new(170,0,0)
  1617. NoOutline(w1)
  1618. local sz = Vector3.new(0.2, width, len1)
  1619. w1.Size = sz
  1620. local sp = Instance.new("SpecialMesh",w1)
  1621. sp.MeshType = "Wedge"
  1622. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1623. w1:BreakJoints()
  1624. w1.Anchored = true
  1625. w1.Parent = workspace
  1626. w1.Transparency = 0.7
  1627. table.insert(Effects,{w1,"Disappear",.01})
  1628. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1629. table.insert(list,w1)
  1630. end
  1631.  
  1632. if len2 > 0.01 then
  1633. local w2 = Instance.new('WedgePart', m)
  1634. game:GetService("Debris"):AddItem(w2,5)
  1635. w2.Material = "SmoothPlastic"
  1636. w2.FormFactor = 'Custom'
  1637. w2.BrickColor = BrickColor.new("Really red")
  1638. w2.Transparency = 0
  1639. w2.Reflectance = 0
  1640. w2.Material = "SmoothPlastic"
  1641. w2.CanCollide = false
  1642. local l2 = Instance.new("PointLight",w2)
  1643. l2.Color = Color3.new(170,0,0)
  1644. NoOutline(w2)
  1645. local sz = Vector3.new(0.2, width, len2)
  1646. w2.Size = sz
  1647. local sp = Instance.new("SpecialMesh",w2)
  1648. sp.MeshType = "Wedge"
  1649. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1650. w2:BreakJoints()
  1651. w2.Anchored = true
  1652. w2.Parent = workspace
  1653. w2.Transparency = 0.7
  1654. table.insert(Effects,{w2,"Disappear",.01})
  1655. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1656. table.insert(list,w2)
  1657. end
  1658. return unpack(list)
  1659. end
  1660.  
  1661.  
  1662. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1663.   if hit.Parent == nil then
  1664.     return
  1665.   end
  1666.   local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1667.   for _, v in pairs(hit.Parent:children()) do
  1668.     if v:IsA("Humanoid") then
  1669.       h = v
  1670.     end
  1671.   end
  1672.   if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1673.     if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1674.       return
  1675.     end
  1676.     local c = Create("ObjectValue")({
  1677.       Name = "creator",
  1678.       Value = game:service("Players").LocalPlayer,
  1679.       Parent = h
  1680.     })
  1681.     game:GetService("Debris"):AddItem(c, 0.5)
  1682.     if HitSound ~= nil and HitPitch ~= nil then
  1683.       CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1684.     end
  1685.     local Damage = math.random(minim, maxim)
  1686.     local blocked = false
  1687.     local block = hit.Parent:findFirstChild("Block")
  1688.     if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1689.       blocked = true
  1690.       block.Value = block.Value - 1
  1691.       print(block.Value)
  1692.     end
  1693.     if blocked == false then
  1694.       HitHealth = h.Health
  1695.       h.Health = h.Health - Damage
  1696.       if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1697.         print("gained kill")
  1698.       end
  1699.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1700.     else
  1701.       h.Health = h.Health - Damage / 2
  1702.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1703.     end
  1704.     if Type == "Knockdown" then
  1705.       local hum = hit.Parent.Humanoid
  1706.       hum.PlatformStand = true
  1707.       coroutine.resume(coroutine.create(function(HHumanoid)
  1708.         swait(1)
  1709.         HHumanoid.PlatformStand = false
  1710.       end), hum)
  1711.       local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1712.       local bodvol = Create("BodyVelocity")({
  1713.         velocity = angle * knockback,
  1714.         P = 5000,
  1715.         maxForce = Vector3.new(8000, 8000, 8000),
  1716.         Parent = hit
  1717.       })
  1718.       local rl = Create("BodyAngularVelocity")({
  1719.         P = 3000,
  1720.         maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1721.         angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1722.         Parent = hit
  1723.       })
  1724.       game:GetService("Debris"):AddItem(bodvol, 0.5)
  1725.       game:GetService("Debris"):AddItem(rl, 0.5)
  1726.     elseif Type == "Normal" then
  1727.       local vp = Create("BodyVelocity")({
  1728.         P = 500,
  1729.         maxForce = Vector3.new(math.huge, 0, math.huge),
  1730.         velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1731.       })
  1732.       if knockback > 0 then
  1733.         vp.Parent = hit.Parent.Head
  1734.       end
  1735.       game:GetService("Debris"):AddItem(vp, 0.5)
  1736.     elseif Type == "Up" then
  1737.       local bodyVelocity = Create("BodyVelocity")({
  1738.         velocity = Vector3.new(0, 20, 0),
  1739.         P = 5000,
  1740.         maxForce = Vector3.new(8000, 8000, 8000),
  1741.         Parent = hit
  1742.       })
  1743.       game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1744.       local bodyVelocity = Create("BodyVelocity")({
  1745.         velocity = Vector3.new(0, 20, 0),
  1746.         P = 5000,
  1747.         maxForce = Vector3.new(8000, 8000, 8000),
  1748.         Parent = hit
  1749.       })
  1750.       game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1751.     elseif Type == "Leech" then
  1752.       local hum = hit.Parent.Humanoid
  1753.       if hum ~= nil then
  1754.         for i = 0, 2 do
  1755.           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)
  1756.         end
  1757.         Humanoid.Health = Humanoid.Health + 10
  1758.       end
  1759.     elseif Type == "UpKnock" then
  1760.       local hum = hit.Parent.Humanoid
  1761.       hum.PlatformStand = true
  1762.       if hum ~= nil then
  1763.         hitr = true
  1764.       end
  1765.       coroutine.resume(coroutine.create(function(HHumanoid)
  1766.         swait(5)
  1767.         HHumanoid.PlatformStand = false
  1768.         hitr = false
  1769.       end), hum)
  1770.       local bodyVelocity = Create("BodyVelocity")({
  1771.         velocity = Vector3.new(0, 20, 0),
  1772.         P = 5000,
  1773.         maxForce = Vector3.new(8000, 8000, 8000),
  1774.         Parent = hit
  1775.       })
  1776.       game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1777.       local bodyVelocity = Create("BodyVelocity")({
  1778.         velocity = Vector3.new(0, 20, 0),
  1779.         P = 5000,
  1780.         maxForce = Vector3.new(8000, 8000, 8000),
  1781.         Parent = hit
  1782.       })
  1783.       game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1784.     elseif Type == "Snare" then
  1785.       local bp = Create("BodyPosition")({
  1786.         P = 2000,
  1787.         D = 100,
  1788.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1789.         position = hit.Parent.Torso.Position,
  1790.         Parent = hit.Parent.Torso
  1791.       })
  1792.       game:GetService("Debris"):AddItem(bp, 1)
  1793.     elseif Type == "Slashnare" then
  1794.       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)
  1795.       for i = 1, math.random(4, 5) do
  1796.         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)
  1797.       end
  1798.       local bp = Create("BodyPosition")({
  1799.         P = 2000,
  1800.         D = 100,
  1801.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1802.         position = hit.Parent.Torso.Position,
  1803.         Parent = hit.Parent.Torso
  1804.       })
  1805.       game:GetService("Debris"):AddItem(bp, 1)
  1806.     elseif Type == "Spike" then
  1807.       CreateBigIceSword(hit.Parent.Torso.CFrame)
  1808.       local bp = Create("BodyPosition")({
  1809.         P = 2000,
  1810.         D = 100,
  1811.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1812.         position = hit.Parent.Torso.Position,
  1813.         Parent = hit.Parent.Torso
  1814.       })
  1815.       game:GetService("Debris"):AddItem(bp, 1)
  1816.     elseif Type == "Freeze" then
  1817.       local BodPos = Create("BodyPosition")({
  1818.         P = 50000,
  1819.         D = 1000,
  1820.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1821.         position = hit.Parent.Torso.Position,
  1822.         Parent = hit.Parent.Torso
  1823.       })
  1824.       local BodGy = Create("BodyGyro")({
  1825.         maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1826.         P = 20000,
  1827.         Parent = hit.Parent.Torso,
  1828.         cframe = hit.Parent.Torso.CFrame
  1829.       })
  1830.       hit.Parent.Torso.Anchored = true
  1831.       coroutine.resume(coroutine.create(function(Part)
  1832.         swait(1.5)
  1833.         Part.Anchored = false
  1834.       end), hit.Parent.Torso)
  1835.       game:GetService("Debris"):AddItem(BodPos, 3)
  1836.       game:GetService("Debris"):AddItem(BodGy, 3)
  1837.     end
  1838.     local debounce = Create("BoolValue")({
  1839.       Name = "DebounceHit",
  1840.       Parent = hit.Parent,
  1841.       Value = true
  1842.     })
  1843.     game:GetService("Debris"):AddItem(debounce, Delay)
  1844.     c = Instance.new("ObjectValue")
  1845.     c.Name = "creator"
  1846.     c.Value = Player
  1847.     c.Parent = h
  1848.     game:GetService("Debris"):AddItem(c, 0.5)
  1849.   end
  1850. end
  1851. function ShowDamage(Pos, Text, Time, Color)
  1852.   local Rate = 0.03333333333333333
  1853.   local Pos = Pos or Vector3.new(0, 0, 0)
  1854.   local Text = Text or ""
  1855.   local Time = Time or 2
  1856.   local Color = Color or Color3.new(1, 0, 1)
  1857.   local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1858.   EffectPart.Anchored = true
  1859.   local BillboardGui = Create("BillboardGui")({
  1860.     Size = UDim2.new(3, 0, 3, 0),
  1861.     Adornee = EffectPart,
  1862.     Parent = EffectPart
  1863.   })
  1864.   local TextLabel = Create("TextLabel")({
  1865.     BackgroundTransparency = 1,
  1866.     Size = UDim2.new(1, 0, 1, 0),
  1867.     Text = Text,
  1868.     TextColor3 = Color,
  1869.     TextScaled = true,
  1870.     Font = Enum.Font.ArialBold,
  1871.     Parent = BillboardGui
  1872.   })
  1873.   game.Debris:AddItem(EffectPart, Time + 0.1)
  1874.   EffectPart.Parent = game:GetService("Workspace")
  1875.   delay(0, function()
  1876.     local Frames = Time / Rate
  1877.     for Frame = 1, Frames do
  1878.       wait(Rate)
  1879.       local Percent = Frame / Frames
  1880.       EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1881.       TextLabel.TextTransparency = Percent
  1882.     end
  1883.     if EffectPart and EffectPart.Parent then
  1884.       EffectPart:Destroy()
  1885.     end
  1886.   end)
  1887. end
  1888. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1889.   for _, c in pairs(workspace:children()) do
  1890.     local hum = c:findFirstChildOfClass("Humanoid")
  1891.     if hum ~= nil then
  1892.       local head = c:findFirstChild("Head")
  1893.       if head ~= nil then
  1894.         local targ = head.Position - Part.Position
  1895.         local mag = targ.magnitude
  1896.         if magni >= mag and c.Name ~= Player.Name then
  1897.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1898.         end
  1899.       end
  1900.     end
  1901.   end
  1902. end
  1903.  
  1904. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1905.   for _, c in pairs(workspace:children()) do
  1906.     local hum = c:findFirstChild("Humanoid")
  1907.     if hum ~= nil then
  1908.       local head = c:findFirstChild("Torso")
  1909.       if head ~= nil then
  1910.         local targ = head.Position - Part.Position
  1911.         local mag = targ.magnitude
  1912.         if magni >= mag and c.Name ~= Player.Name then
  1913.     MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1914.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1915.         end
  1916.       end
  1917.     end
  1918.   end
  1919. end
  1920.  
  1921. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1922. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1923. end
  1924.  
  1925. local origcolor = BrickColor.new("Pastel light blue")
  1926. ---- This section of explosions.
  1927.  
  1928. ----
  1929.  
  1930.  
  1931. function ring(type,pos,scale,value)
  1932. local type = type
  1933. local rng = Instance.new("Part", char)
  1934.         rng.Anchored = true
  1935.         rng.BrickColor = origcolor
  1936.         rng.CanCollide = false
  1937.         rng.FormFactor = 3
  1938.         rng.Name = "Ring"
  1939.         rng.Size = Vector3.new(1, 1, 1)
  1940.         rng.Transparency = 0
  1941.         rng.TopSurface = 0
  1942.         rng.BottomSurface = 0
  1943.         rng.CFrame = pos
  1944.         local rngm = Instance.new("SpecialMesh", rng)
  1945.         rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1946. rngm.Scale = scale
  1947. local scaler2 = 1
  1948. if type == "Add" then
  1949. scaler2 = 1*value
  1950. elseif type == "Divide" then
  1951. scaler2 = 1/value
  1952. end
  1953. coroutine.resume(coroutine.create(function()
  1954. for i = 0,10,0.1 do
  1955. swait()
  1956. if type == "Add" then
  1957. scaler2 = scaler2 - 0.01*value
  1958. elseif type == "Divide" then
  1959. scaler2 = scaler2 - 0.01/value
  1960. end
  1961. rng.Transparency = rng.Transparency + 0.01
  1962. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1963. end
  1964. rng:Destroy()
  1965. end))
  1966. end
  1967.  
  1968.  
  1969. function wave(type,pos,scale,value)
  1970. local type = type
  1971. local rng = Instance.new("Part", char)
  1972.         rng.Anchored = true
  1973.         rng.BrickColor = origcolor
  1974.         rng.CanCollide = false
  1975.         rng.FormFactor = 3
  1976.         rng.Name = "Ring"
  1977.         rng.Size = Vector3.new(1, 1, 1)
  1978.         rng.Transparency = 0
  1979.         rng.TopSurface = 0
  1980.         rng.BottomSurface = 0
  1981.         rng.CFrame = pos
  1982.         local rngm = Instance.new("SpecialMesh", rng)
  1983.         rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1984. rngm.Scale = scale
  1985. local scaler2 = 1
  1986. if type == "Add" then
  1987. scaler2 = 1*value
  1988. elseif type == "Divide" then
  1989. scaler2 = 1/value
  1990. end
  1991. coroutine.resume(coroutine.create(function()
  1992. for i = 0,10,0.1 do
  1993. swait()
  1994. if type == "Add" then
  1995. scaler2 = scaler2 - 0.01*value
  1996. elseif type == "Divide" then
  1997. scaler2 = scaler2 - 0.01/value
  1998. end
  1999. rng.Transparency = rng.Transparency + 0.01
  2000. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2001. end
  2002. rng:Destroy()
  2003. end))
  2004. end
  2005.  
  2006. function sphere(bonuspeed,type,pos,scale,value,color)
  2007. local type = type
  2008. local rng = Instance.new("Part", char)
  2009.         rng.Anchored = true
  2010. if ModeOfGlitch ~= 9 then
  2011.         rng.BrickColor = color
  2012. elseif ModeOfGlitch == 9 then
  2013. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2014. end
  2015.         rng.CanCollide = false
  2016.         rng.FormFactor = 3
  2017.         rng.Name = "Ring"
  2018.         rng.Material = "Neon"
  2019.         rng.Size = Vector3.new(1, 1, 1)
  2020.         rng.Transparency = 0
  2021.         rng.TopSurface = 0
  2022.         rng.BottomSurface = 0
  2023.         rng.CFrame = pos
  2024.         local rngm = Instance.new("SpecialMesh", rng)
  2025.         rngm.MeshType = "Sphere"
  2026. rngm.Scale = scale
  2027. if rainbowmode == true then
  2028. rng.Color = Color3.new(r/255,g/255,b/255)
  2029. end
  2030. if ModeOfGlitch == 9 then
  2031. coroutine.resume(coroutine.create(function()
  2032. while true do
  2033. swait()
  2034. if rng.Parent ~= nil then
  2035. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2036. else
  2037. break
  2038. end
  2039. end
  2040. end))
  2041. end
  2042. local scaler2 = 1
  2043. if type == "Add" then
  2044. scaler2 = 1*value
  2045. elseif type == "Divide" then
  2046. scaler2 = 1/value
  2047. end
  2048. coroutine.resume(coroutine.create(function()
  2049. for i = 0,10/bonuspeed,0.1 do
  2050. swait()
  2051. if rainbowmode == true then
  2052. rng.Color = Color3.new(r/255,g/255,b/255)
  2053. end
  2054. if type == "Add" then
  2055. scaler2 = scaler2 - 0.01*value/bonuspeed
  2056. elseif type == "Divide" then
  2057. scaler2 = scaler2 - 0.01/value*bonuspeed
  2058. end
  2059. if chaosmode == true then
  2060. rng.BrickColor = BrickColor.random()
  2061. end
  2062. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2063. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2064. end
  2065. rng:Destroy()
  2066. end))
  2067. end
  2068.  
  2069. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2070. local type = type
  2071. local rng = Instance.new("Part", char)
  2072.         rng.Anchored = true
  2073. if ModeOfGlitch ~= 9 then
  2074.         rng.BrickColor = color
  2075. elseif ModeOfGlitch == 9 then
  2076. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2077. end
  2078.         rng.CanCollide = false
  2079.         rng.FormFactor = 3
  2080.         rng.Name = "Ring"
  2081.         rng.Material = "Neon"
  2082.         rng.Size = Vector3.new(1, 1, 1)
  2083.         rng.Transparency = 0
  2084.         rng.TopSurface = 0
  2085.         rng.BottomSurface = 0
  2086.         rng.CFrame = pos
  2087.         local rngm = Instance.new("SpecialMesh", rng)
  2088.         rngm.MeshType = "Sphere"
  2089. rngm.Scale = scale
  2090. local scaler2 = 1
  2091. local scaler2b = 1
  2092. local scaler2c = 1
  2093. if type == "Add" then
  2094. scaler2 = 1*value
  2095. scaler2b = 1*value2
  2096. scaler2c = 1*value3
  2097. elseif type == "Divide" then
  2098. scaler2 = 1/value
  2099. scaler2b = 1/value2
  2100. scaler2c = 1/value3
  2101. end
  2102. if ModeOfGlitch == 9 then
  2103. coroutine.resume(coroutine.create(function()
  2104. while true do
  2105. swait()
  2106. if rng.Parent ~= nil then
  2107. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2108. else
  2109. break
  2110. end
  2111. end
  2112. end))
  2113. end
  2114. coroutine.resume(coroutine.create(function()
  2115. for i = 0,10/bonuspeed,0.1 do
  2116. swait()
  2117. if type == "Add" then
  2118. scaler2 = scaler2 - 0.01*value/bonuspeed
  2119. scaler2b = scaler2b - 0.01*value/bonuspeed
  2120. scaler2c = scaler2c - 0.01*value/bonuspeed
  2121. elseif type == "Divide" then
  2122. scaler2 = scaler2 - 0.01/value*bonuspeed
  2123. scaler2b = scaler2b - 0.01/value*bonuspeed
  2124. scaler2c = scaler2c - 0.01/value*bonuspeed
  2125. end
  2126. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2127. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2128. end
  2129. rng:Destroy()
  2130. end))
  2131. end
  2132.  
  2133. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2134. local type = type
  2135. local rng = Instance.new("Part", char)
  2136.         rng.Anchored = true
  2137.         rng.BrickColor = color
  2138.         rng.CanCollide = false
  2139.         rng.FormFactor = 3
  2140.         rng.Name = "Ring"
  2141.         rng.Material = "Neon"
  2142.         rng.Size = Vector3.new(1, 1, 1)
  2143.         rng.Transparency = 0
  2144.         rng.TopSurface = 0
  2145.         rng.BottomSurface = 0
  2146.         rng.CFrame = pos
  2147. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2148.         local rngm = Instance.new("SpecialMesh", rng)
  2149.         rngm.MeshType = "Brick"
  2150. rngm.Scale = vt(x1,y1,z1)
  2151. if rainbowmode == true then
  2152. rng.Color = Color3.new(r/255,g/255,b/255)
  2153. end
  2154. local scaler2 = 1
  2155. local speeder = FastSpeed/10
  2156. if type == "Add" then
  2157. scaler2 = 1*value
  2158. elseif type == "Divide" then
  2159. scaler2 = 1/value
  2160. end
  2161. coroutine.resume(coroutine.create(function()
  2162. for i = 0,10/bonuspeed,0.1 do
  2163. swait()
  2164. if rainbowmode == true then
  2165. rng.Color = Color3.new(r/255,g/255,b/255)
  2166. end
  2167. if type == "Add" then
  2168. scaler2 = scaler2 - 0.01*value/bonuspeed
  2169. elseif type == "Divide" then
  2170. scaler2 = scaler2 - 0.01/value*bonuspeed
  2171. end
  2172. if chaosmode == true then
  2173. rng.BrickColor = BrickColor.random()
  2174. end
  2175. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2176. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2177. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2178. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2179. end
  2180. rng:Destroy()
  2181. end))
  2182. end
  2183.  
  2184. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2185. local type = type
  2186. local rng = Instance.new("Part", char)
  2187.         rng.Anchored = true
  2188.         rng.BrickColor = color
  2189.         rng.CanCollide = false
  2190.         rng.FormFactor = 3
  2191.         rng.Name = "Ring"
  2192.         rng.Material = "Neon"
  2193.         rng.Size = Vector3.new(1, 1, 1)
  2194.         rng.Transparency = 0
  2195.         rng.TopSurface = 0
  2196.         rng.BottomSurface = 0
  2197.         rng.CFrame = pos
  2198. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2199.         local rngm = Instance.new("SpecialMesh", rng)
  2200.         rngm.MeshType = "Brick"
  2201. rngm.Scale = vt(x1,y1,z1)
  2202. if rainbowmode == true then
  2203. rng.Color = Color3.new(r/255,g/255,b/255)
  2204. end
  2205. local scaler2 = 1
  2206. local speeder = FastSpeed/10
  2207. if type == "Add" then
  2208. scaler2 = 1*value
  2209. elseif type == "Divide" then
  2210. scaler2 = 1/value
  2211. end
  2212. coroutine.resume(coroutine.create(function()
  2213. for i = 0,10/bonuspeed,0.1 do
  2214. swait()
  2215. if rainbowmode == true then
  2216. rng.Color = Color3.new(r/255,g/255,b/255)
  2217. end
  2218. if type == "Add" then
  2219. scaler2 = scaler2 - 0.01*value/bonuspeed
  2220. elseif type == "Divide" then
  2221. scaler2 = scaler2 - 0.01/value*bonuspeed
  2222. end
  2223. if chaosmode == true then
  2224. rng.BrickColor = BrickColor.random()
  2225. end
  2226. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2227. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2228. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2229. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2230. end
  2231. rng:Destroy()
  2232. end))
  2233. end
  2234.  
  2235. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2236. local type = type
  2237. local rng = Instance.new("Part", char)
  2238.         rng.Anchored = true
  2239.         rng.BrickColor = color
  2240.         rng.CanCollide = false
  2241.         rng.FormFactor = 3
  2242.         rng.Name = "Ring"
  2243.         rng.Material = "Neon"
  2244.         rng.Size = Vector3.new(1, 1, 1)
  2245.         rng.Transparency = 0
  2246.         rng.TopSurface = 0
  2247.         rng.BottomSurface = 0
  2248.         rng.CFrame = pos
  2249. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2250.         local rngm = Instance.new("SpecialMesh", rng)
  2251.         rngm.MeshType = "Brick"
  2252. rngm.Scale = vt(x1,y1,z1)
  2253. if rainbowmode == true then
  2254. rng.Color = Color3.new(r/255,g/255,b/255)
  2255. end
  2256. local scaler2 = 0
  2257. local speeder = FastSpeed/10
  2258. if type == "Add" then
  2259. scaler2 = 1*value
  2260. elseif type == "Divide" then
  2261. scaler2 = 1/value
  2262. end
  2263. coroutine.resume(coroutine.create(function()
  2264. for i = 0,10/bonuspeed,0.1 do
  2265. swait()
  2266. if rainbowmode == true then
  2267. rng.Color = Color3.new(r/255,g/255,b/255)
  2268. end
  2269. if type == "Add" then
  2270. scaler2 = scaler2 - 0.01*value/bonuspeed
  2271. elseif type == "Divide" then
  2272. scaler2 = scaler2 - 0.01/value*bonuspeed
  2273. end
  2274. if chaosmode == true then
  2275. rng.BrickColor = BrickColor.random()
  2276. end
  2277. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2278. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2279. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2280. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2281. end
  2282. rng:Destroy()
  2283. end))
  2284. end
  2285.  
  2286. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2287. local type = type
  2288. local rng = Instance.new("Part", char)
  2289.         rng.Anchored = true
  2290. if ModeOfGlitch ~= 9 then
  2291.         rng.BrickColor = color
  2292. elseif ModeOfGlitch == 9 then
  2293. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2294. end
  2295.         rng.CanCollide = false
  2296.         rng.FormFactor = 3
  2297.         rng.Name = "Ring"
  2298.         rng.Material = "Neon"
  2299.         rng.Size = Vector3.new(1, 1, 1)
  2300.         rng.Transparency = 0
  2301.         rng.TopSurface = 0
  2302.         rng.BottomSurface = 0
  2303.         rng.CFrame = pos
  2304. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2305.         local rngm = Instance.new("SpecialMesh", rng)
  2306.         rngm.MeshType = "Sphere"
  2307. rngm.Scale = vt(x1,y1,z1)
  2308. if rainbowmode == true then
  2309. rng.Color = Color3.new(r/255,g/255,b/255)
  2310. end
  2311. if ModeOfGlitch == 9 then
  2312. coroutine.resume(coroutine.create(function()
  2313. while true do
  2314. swait()
  2315. if rng.Parent ~= nil then
  2316. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2317. else
  2318. break
  2319. end
  2320. end
  2321. end))
  2322. end
  2323. local scaler2 = 1
  2324. local speeder = FastSpeed
  2325. if type == "Add" then
  2326. scaler2 = 1*value
  2327. elseif type == "Divide" then
  2328. scaler2 = 1/value
  2329. end
  2330. coroutine.resume(coroutine.create(function()
  2331. for i = 0,10/bonuspeed,0.1 do
  2332. swait()
  2333. if rainbowmode == true then
  2334. rng.Color = Color3.new(r/255,g/255,b/255)
  2335. end
  2336. if type == "Add" then
  2337. scaler2 = scaler2 - 0.01*value/bonuspeed
  2338. elseif type == "Divide" then
  2339. scaler2 = scaler2 - 0.01/value*bonuspeed
  2340. end
  2341. if chaosmode == true then
  2342. rng.BrickColor = BrickColor.random()
  2343. end
  2344. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2345. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2346. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2347. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2348. end
  2349. rng:Destroy()
  2350. end))
  2351. end
  2352.  
  2353.  
  2354. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2355. local type = type
  2356. local rng = Instance.new("Part", char)
  2357.         rng.Anchored = true
  2358. if ModeOfGlitch ~= 9 then
  2359.         rng.BrickColor = color
  2360. elseif ModeOfGlitch == 9 then
  2361. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2362. end
  2363.         rng.CanCollide = false
  2364.         rng.FormFactor = 3
  2365.         rng.Name = "Ring"
  2366.         rng.Material = "Neon"
  2367.         rng.Size = Vector3.new(1, 1, 1)
  2368.         rng.Transparency = 1
  2369.         rng.TopSurface = 0
  2370.         rng.BottomSurface = 0
  2371.         rng.CFrame = pos
  2372. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2373.         local rngm = Instance.new("SpecialMesh", rng)
  2374.         rngm.MeshType = "Sphere"
  2375. rngm.Scale = vt(x1,y1,z1)
  2376. if rainbowmode == true then
  2377. rng.Color = Color3.new(r/255,g/255,b/255)
  2378. end
  2379. if ModeOfGlitch == 9 then
  2380. coroutine.resume(coroutine.create(function()
  2381. while true do
  2382. swait()
  2383. if rng.Parent ~= nil then
  2384. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2385. else
  2386. break
  2387. end
  2388. end
  2389. end))
  2390. end
  2391. local scaler2 = 1
  2392. local speeder = FastSpeed
  2393. if type == "Add" then
  2394. scaler2 = 1*value
  2395. elseif type == "Divide" then
  2396. scaler2 = 1/value
  2397. end
  2398. coroutine.resume(coroutine.create(function()
  2399. for i = 0,10/bonuspeed,0.1 do
  2400. swait()
  2401. if rainbowmode == true then
  2402. rng.Color = Color3.new(r/255,g/255,b/255)
  2403. end
  2404. if type == "Add" then
  2405. scaler2 = scaler2 - 0.01*value/bonuspeed
  2406. elseif type == "Divide" then
  2407. scaler2 = scaler2 - 0.01/value*bonuspeed
  2408. end
  2409. if chaosmode == true then
  2410. rng.BrickColor = BrickColor.random()
  2411. end
  2412. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2413. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2414. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2415. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2416. end
  2417. rng:Destroy()
  2418. end))
  2419. end
  2420.  
  2421. function dmg(dude)
  2422. if dude.Name ~= Character then
  2423. local bgf = Instance.new("BodyGyro",dude.Head)
  2424. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2425. local val = Instance.new("BoolValue",dude)
  2426. val.Name = "IsHit"
  2427. local ds = coroutine.wrap(function()
  2428. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  2429. for i = 1, 10 do
  2430.     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)
  2431. end
  2432. dude:WaitForChild("Head"):BreakJoints()
  2433. wait(0.5)
  2434. targetted = nil
  2435. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  2436.  
  2437. coroutine.resume(coroutine.create(function()
  2438. for i, v in pairs(dude:GetChildren()) do
  2439. if v:IsA("Accessory") then
  2440. v:Destroy()
  2441. end
  2442. if v:IsA("Humanoid") then
  2443. v:Destroy()
  2444. end
  2445. if v:IsA("CharacterMesh") then
  2446. v:Destroy()
  2447. end
  2448. if v:IsA("Model") then
  2449. v:Destroy()
  2450. end
  2451. if v:IsA("Part") or v:IsA("MeshPart") then
  2452. for x, o in pairs(v:GetChildren()) do
  2453. if o:IsA("Decal") then
  2454. o:Destroy()
  2455. end
  2456. end
  2457. coroutine.resume(coroutine.create(function()
  2458. v.Material = "Neon"
  2459. v.CanCollide = false
  2460. local bld = Instance.new("ParticleEmitter",v)
  2461. bld.LightEmission = 1
  2462. bld.Texture = "rbxassetid://284205403"
  2463. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  2464. bld.Rate = 50
  2465. bld.Lifetime = NumberRange.new(1)
  2466. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  2467. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2468. bld.Speed = NumberRange.new(0,0)
  2469. bld.VelocitySpread = 50000
  2470. bld.Rotation = NumberRange.new(-500,500)
  2471. bld.RotSpeed = NumberRange.new(-500,500)
  2472.         local sbs = Instance.new("BodyPosition", v)
  2473.         sbs.P = 3000
  2474.         sbs.D = 1000
  2475.         sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2476.         sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2477. v.Color = Color3.new(1,1,1)
  2478. coroutine.resume(coroutine.create(function()
  2479. for i = 0, 49 do
  2480. swait(1)
  2481. v.Transparency = v.Transparency + 0.02
  2482. end
  2483. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  2484. bld.Speed = NumberRange.new(1,5)
  2485. bld.Acceleration = vt(0,10,0)
  2486. wait(0.5)
  2487. bld.Enabled = false
  2488. wait(3)
  2489. v:Destroy()
  2490. dude:Destroy()
  2491. end))
  2492. end))
  2493. end
  2494. end
  2495. end))
  2496. end)
  2497. ds()
  2498. end
  2499. end
  2500.  
  2501.  
  2502. function FindNearestHead(Position, Distance, SinglePlayer)
  2503.     if SinglePlayer then
  2504.         return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2505.     end
  2506.     local List = {}
  2507.     for i, v in pairs(workspace:GetChildren()) do
  2508.         if v:IsA("Model") then
  2509.             if v:findFirstChild("Head") then
  2510.                 if v ~= Character then
  2511.                     if (v.Head.Position - Position).magnitude <= Distance then
  2512.                         table.insert(List, v)
  2513.                     end
  2514.                 end
  2515.             end
  2516.         end
  2517.     end
  2518.     return List
  2519. end
  2520.  
  2521. function FaceMouse()
  2522.   Cam = workspace.CurrentCamera
  2523.   return {
  2524.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2525.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2526.   }
  2527. end
  2528.  
  2529. function FaceMouse2()
  2530.   Cam = workspace.CurrentCamera
  2531.   return {
  2532.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2533.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2534.   }
  2535. end
  2536.  
  2537. -- Functions are ready.
  2538. local storehumanoidWS = 16
  2539.  
  2540. function resetmode()
  2541.            ModeOfGlitch = 1
  2542. storehumanoidWS = 16
  2543. hum.WalkSpeed = 16
  2544. rainbowmode = false
  2545. chaosmode = false
  2546. RecolorTextAndRename("GLITCHEDBANISHER",Color3.new(0,0.2345,.4561),Color3.new(1,0.3453,.325461),"Arcade")
  2547. newTheme("rbxassetid://621367124",0,1.1,1.25)
  2548. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  2549. for i, v in pairs(mw2:GetChildren()) do
  2550. if v:IsA("Part") then
  2551. v.BrickColor = MAINRUINCOLOR
  2552. v.Material = "Neon"
  2553. end
  2554. end
  2555. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2556. refec2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2557. refec3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2558. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2559. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2560. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2561. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2562. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2563. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2564. for i, v in pairs(mw1:GetChildren()) do
  2565. if v:IsA("Part") then
  2566. v.Transparency = 0
  2567. v.BrickColor = MAINRUINCOLOR
  2568. v.Material = "Neon"
  2569. end
  2570. end
  2571. for i, v in pairs(m:GetChildren()) do
  2572. if v:IsA("Part") then
  2573. v.BrickColor = BrickColor.new("Toothpaste")
  2574. v.Material = "Ice"
  2575. end
  2576. end
  2577. for i, v in pairs(m2:GetChildren()) do
  2578. if v:IsA("Part") then
  2579. v.BrickColor = BrickColor.new("Toothpaste")
  2580. v.Material = "Ice"
  2581. end
  2582. end
  2583. for i, v in pairs(m3:GetChildren()) do
  2584. if v:IsA("Part") then
  2585. v.BrickColor = BrickColor.new("Navy blue")
  2586. v.Material = "Neon"
  2587. end
  2588. end
  2589. for i, v in pairs(extrawingmod1:GetChildren()) do
  2590. if v:IsA("Part") then
  2591. v.Transparency = 0.1
  2592. v.BrickColor = BrickColor.new("White")
  2593. v.Material = "Neon"
  2594. end
  2595. end
  2596. for i, v in pairs(extrawingmod2:GetChildren()) do
  2597. if v:IsA("Part") then
  2598. v.Transparency = 0.1
  2599. v.BrickColor = BrickColor.new("White")
  2600. v.Material = "Neon"
  2601. end
  2602. end
  2603. end
  2604.  
  2605. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
  2606. for i, v in pairs(mw2:GetChildren()) do
  2607. if v:IsA("Part") then
  2608. v.BrickColor = one
  2609. v.Material = "Neon"
  2610. end
  2611. end
  2612. refec.Color = ColorSequence.new(one.Color)
  2613. refec2.Color = ColorSequence.new(one.Color)
  2614. refec3.Color = ColorSequence.new(one.Color)
  2615. tr1.Color = ColorSequence.new(one.Color)
  2616. tr2.Color = ColorSequence.new(one.Color)
  2617. tr3.Color = ColorSequence.new(one.Color)
  2618. for i, v in pairs(mw1:GetChildren()) do
  2619. if v:IsA("Part") then
  2620. v.Transparency = 0
  2621. v.BrickColor = two
  2622. v.Material = "Neon"
  2623. end
  2624. end
  2625. tl1.Color = ColorSequence.new(two.Color)
  2626. tl2.Color = ColorSequence.new(two.Color)
  2627. tl3.Color = ColorSequence.new(two.Color)
  2628. for i, v in pairs(m:GetChildren()) do
  2629. if v:IsA("Part") then
  2630. v.BrickColor = three
  2631. v.Material = "Ice"
  2632. end
  2633. end
  2634. for i, v in pairs(m2:GetChildren()) do
  2635. if v:IsA("Part") then
  2636. v.BrickColor = four
  2637. v.Material = "Ice"
  2638. end
  2639. end
  2640. for i, v in pairs(m3:GetChildren()) do
  2641. if v:IsA("Part") then
  2642. v.BrickColor = five
  2643. v.Material = "Neon"
  2644. end
  2645. end
  2646. for i, v in pairs(extrawingmod1:GetChildren()) do
  2647. if v:IsA("Part") then
  2648. v.Transparency = exonetran
  2649. v.BrickColor = exone
  2650. v.Material = "Neon"
  2651. end
  2652. end
  2653. for i, v in pairs(extrawingmod2:GetChildren()) do
  2654. if v:IsA("Part") then
  2655. v.Transparency = extwotran
  2656. v.BrickColor = extwo
  2657. v.Material = "Neon"
  2658. end
  2659. end
  2660. end
  2661.  
  2662. function attackone()
  2663.     attack = true
  2664. local keptcolor = MAINRUINCOLOR
  2665.     for i = 0,1,0.1 do
  2666.         swait()
  2667.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  2668. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  2669. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  2670. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2671. 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(-15),math.rad(0),math.rad(0)),.3)
  2672. 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(0),math.rad(0)),.3)
  2673.     end
  2674. local distlook = 5
  2675. coroutine.resume(coroutine.create(function()
  2676. for i = 0, 4 do
  2677. swait(2)
  2678. CameraEnshaking(2,3)
  2679. local hite = Instance.new("Part", char)
  2680.         hite.Anchored = true
  2681.         hite.CanCollide = false
  2682.         hite.FormFactor = 3
  2683.         hite.Name = "Ring"
  2684.         hite.Material = "Neon"
  2685.         hite.Size = Vector3.new(1, 1, 1)
  2686.         hite.Transparency = 1
  2687.         hite.TopSurface = 0
  2688.         hite.BottomSurface = 0
  2689. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  2690. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  2691. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  2692. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  2693. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  2694. MagniDamage(hite, 9, 10,25, 0, "Normal")
  2695. for i = 0, 14 do
  2696. local rsiz = math.random(5,20)
  2697. sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2698. end
  2699. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  2700. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  2701. game:GetService("Debris"):AddItem(hite, 5)
  2702. distlook = distlook + 10
  2703. end
  2704. end))
  2705.     for i = 0,1,0.1 do
  2706.         swait()
  2707.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  2708. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  2709. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  2710. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  2711. 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(-10)),.5)
  2712. 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(0),math.rad(-10)),.5)
  2713.     end
  2714.     attack = false
  2715. end
  2716.  
  2717. function attacktwo()
  2718.     attack = true
  2719.     for i = 0,1,0.1 do
  2720.         swait()
  2721.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  2722. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2723. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  2724. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  2725. 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(-1.5),math.rad(0),math.rad(10)),.3)
  2726. 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(0),math.rad(-10)),.3)
  2727.     end
  2728. CameraEnshaking(3,4)
  2729. MagniDamage(root, 12, 15,30, 0, "Normal")
  2730. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2731. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2732. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2733. coroutine.resume(coroutine.create(function()
  2734. local eff = Instance.new("ParticleEmitter",root)
  2735. eff.Texture = "rbxassetid://2119689849"
  2736. eff.LightEmission = 0.95
  2737. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2738. eff.Rate = 10000
  2739. eff.Lifetime = NumberRange.new(1)
  2740. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2741. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2742. eff.Speed = NumberRange.new(10,125)
  2743. eff.Drag = 5
  2744. eff.Rotation = NumberRange.new(-500,500)
  2745. eff.VelocitySpread = 9000
  2746. eff.RotSpeed = NumberRange.new(-50,50)
  2747. local eff2 = eff:Clone()
  2748. eff2.Parent = root
  2749. eff2.Texture = "rbxassetid://2119689849"
  2750. eff2.Rate = 10000
  2751. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2752. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2753. eff2.Drag = 5
  2754. eff2.Speed = NumberRange.new(10,50)
  2755. eff2.Rotation = NumberRange.new(-500,500)
  2756. eff2.VelocitySpread = 9000
  2757. wait(0.25)
  2758. eff2.Enabled = false
  2759. eff.Enabled = false
  2760. wait(3)
  2761. eff2:Destroy()
  2762. eff:Destroy()
  2763. end))
  2764. for i = 0, 9 do
  2765. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR)
  2766. end
  2767. for i = 0, 24 do
  2768. local rsiz = math.random(5,20)
  2769. sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
  2770. end
  2771. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  2772. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  2773. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  2774.     for i = 0,2,0.1 do
  2775.         swait()
  2776.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  2777. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2778. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  2779. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  2780. 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(-1.5),math.rad(0),math.rad(-10)),.3)
  2781. 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(0),math.rad(10)),.3)
  2782.     end
  2783. attack = false
  2784. end
  2785.  
  2786. function attackthree()
  2787. attack = true
  2788. local keptcolor = MAINRUINCOLOR
  2789. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
  2790.     for i = 0,1,0.1 do
  2791.         swait()
  2792. sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
  2793.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
  2794. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
  2795. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5)
  2796. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5)
  2797. 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(-1.5),math.rad(0),math.rad(0)),.5)
  2798. 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(0),math.rad(0)),.5)
  2799.     end
  2800. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
  2801. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
  2802. local angle = -25
  2803. coroutine.resume(coroutine.create(function()
  2804. for i = 0, 2 do
  2805. local orb = Instance.new("Part", char)
  2806.         orb.BrickColor = MAINRUINCOLOR
  2807.         orb.CanCollide = false
  2808.         orb.FormFactor = 3
  2809.         orb.Name = "Ring"
  2810.         orb.Material = "Neon"
  2811.         orb.Size = Vector3.new(1, 1, 1)
  2812.         orb.Transparency = 0.5
  2813.         orb.TopSurface = 0
  2814.         orb.BottomSurface = 0
  2815.         local orbm = Instance.new("SpecialMesh", orb)
  2816.         orbm.MeshType = "Sphere"
  2817. orbm.Name = "SizeMesh"
  2818. orbm.Scale = vt(3,3,3)
  2819. orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
  2820. local bv = Instance.new("BodyVelocity")
  2821. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2822. bv.velocity = orb.CFrame.lookVector*100
  2823. bv.Parent = orb
  2824. game:GetService("Debris"):AddItem(orb, 10)
  2825. sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  2826. sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  2827. coroutine.resume(coroutine.create(function()
  2828. MagniDamage(orb, 6, 8,15, 0, "Normal")
  2829. for i = 0, 7 do
  2830. swait(2.5)
  2831. CameraEnshaking(1,2)
  2832. MagniDamage(orb, 6, 8,15, 0, "Normal")
  2833. CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
  2834. for i = 0, 4 do
  2835. local rsiz = math.random(5,10)
  2836. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor)
  2837. sphereMK(math.random(2,6),0.15,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2838. end
  2839. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  2840. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  2841. end
  2842. orb.Transparency = 1
  2843. orb.Anchored = false
  2844. wait(10)
  2845. orb:Destroy()
  2846. end))
  2847. angle = angle + 25
  2848. end
  2849. end))
  2850.     for i = 0,1,0.1 do
  2851.         swait()
  2852.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  2853. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2854. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
  2855. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2856. 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(-1.5),math.rad(0),math.rad(-10)),.3)
  2857. 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(0),math.rad(10)),.3)
  2858.     end
  2859. attack = false
  2860. end
  2861.  
  2862. ------------------------------------- Abilities ---------------------------------------------------------
  2863. function Fireball()
  2864. attack = true
  2865. hum.WalkSpeed = 0
  2866. local keptcolor = MAINRUINCOLOR
  2867.     for i = 0,2,0.1 do
  2868.         swait()
  2869.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  2870. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  2871. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  2872. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  2873. 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(-1.5),math.rad(0),math.rad(0)),.3)
  2874. 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(-1),math.rad(0),math.rad(0)),.3)
  2875.     end
  2876. local orb = Instance.new("Part", char)
  2877.         orb.BrickColor = keptcolor
  2878.         orb.CanCollide = false
  2879.         orb.FormFactor = 3
  2880.         orb.Name = "Ring"
  2881.         orb.Material = "Neon"
  2882.         orb.Size = Vector3.new(1, 1, 1)
  2883.         orb.Transparency = 0
  2884.         orb.TopSurface = 0
  2885.         orb.BottomSurface = 0
  2886.         local orbm = Instance.new("SpecialMesh", orb)
  2887.         orbm.MeshType = "Sphere"
  2888. orbm.Name = "SizeMesh"
  2889. orbm.Scale = vt(4,4,4)
  2890. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  2891. local eff = Instance.new("ParticleEmitter",orb)
  2892. eff.Texture = "rbxassetid://2119689849"
  2893. eff.LightEmission = 0.95
  2894. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  2895. eff.Rate = 10000
  2896. eff.Lifetime = NumberRange.new(1.5)
  2897. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2898. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2899. eff.Speed = NumberRange.new(25)
  2900. eff.Drag = 5
  2901. eff.Rotation = NumberRange.new(-500,500)
  2902. eff.VelocitySpread = 9000
  2903. eff.RotSpeed = NumberRange.new(-500,500)
  2904.     local a = Instance.new("Part",workspace)
  2905.     a.Name = "Direction"   
  2906.     a.Anchored = true
  2907.     a.BrickColor = bc("Bright red")
  2908. a.Material = "Neon"
  2909. a.Transparency = 1
  2910.     a.CanCollide = false
  2911.     local ray = Ray.new(
  2912.         orb.CFrame.p,                           -- origin
  2913.         (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  2914.     )
  2915.     local ignore = orb
  2916.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2917.     a.BottomSurface = 10
  2918.     a.TopSurface = 10
  2919.     local distance = (orb.CFrame.p - position).magnitude
  2920.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  2921.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2922. orb.CFrame = a.CFrame
  2923. a:Destroy()
  2924. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  2925. local bv = Instance.new("BodyVelocity")
  2926. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2927. bv.velocity = orb.CFrame.lookVector*75
  2928. bv.Parent = orb
  2929. game:GetService("Debris"):AddItem(orb, 10)
  2930. local hitted = false
  2931. coroutine.resume(coroutine.create(function()
  2932. while true do
  2933. swait()
  2934. if orb.Parent ~= nil and hitted == false then
  2935. sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
  2936. elseif orb.Parent == nil and hitted == true then
  2937. break
  2938. end
  2939. end
  2940. end))
  2941. local hit =orb.Touched:connect(function(hit)
  2942.     if hitted == false and hit.Parent ~= char then
  2943.     hitted = true
  2944.     eff.Enabled = false
  2945. CameraEnshaking(4,4)
  2946. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  2947. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  2948.     MagniDamage(orb, 25, 20,30, 0, "Normal")
  2949. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2950. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2951. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2952. for i = 0, 9 do
  2953. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  2954. end
  2955. for i = 0, 49 do
  2956. local rsiz = math.random(10,30)
  2957. sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2958. end
  2959. local eff = Instance.new("ParticleEmitter",orb)
  2960. eff.Texture = "rbxassetid://2119689849"
  2961. eff.LightEmission = 0.95
  2962. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  2963. eff.Rate = 10000
  2964. eff.Lifetime = NumberRange.new(1.5)
  2965. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2966. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2967. eff.Speed = NumberRange.new(150)
  2968. eff.Drag = 5
  2969. eff.Rotation = NumberRange.new(-500,500)
  2970. eff.VelocitySpread = 9000
  2971. eff.RotSpeed = NumberRange.new(-500,500)
  2972. coroutine.resume(coroutine.create(function()
  2973.     wait(0.25)
  2974.     eff.Enabled = false
  2975. end))
  2976. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  2977. orb.Anchored = true
  2978. orb.Transparency = 1
  2979. coroutine.resume(coroutine.create(function()
  2980. if hfr ~= nil then
  2981. orb.Size = vt(50,1,50)
  2982. orb.Orientation = vt(0,0,0)
  2983. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  2984. orbm:Destroy()
  2985. local firef = eff:Clone()
  2986. firef.Parent = orb
  2987. firef.VelocitySpread = 50
  2988. firef.Rate = 500
  2989. firef.Drag = 3
  2990. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2991. firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2992. firef.Speed = NumberRange.new(10,30)
  2993. for i = 0, 24 do
  2994. wait(0.25)
  2995. MagniDamage(orb, 25, 3,6, 0, "Normal")
  2996. end
  2997. firef.Enabled = false
  2998. end
  2999. end))
  3000. wait(10)
  3001. orb:Destroy()
  3002. end
  3003. end)
  3004.     for i = 0,1,0.1 do
  3005.         swait()
  3006.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
  3007. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  3008. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  3009. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  3010. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  3011. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3012.     end
  3013. hum.WalkSpeed = storehumanoidWS
  3014. attack = false
  3015. end
  3016.  
  3017. function BeamOfDeath()
  3018. attack = true
  3019. hum.WalkSpeed = 0
  3020. local keptcolor = MAINRUINCOLOR
  3021. local orb = Instance.new("Part", char)
  3022.         orb.BrickColor = keptcolor
  3023.         orb.CanCollide = false
  3024.         orb.FormFactor = 3
  3025.         orb.Name = "Ring"
  3026.         orb.Material = "Neon"
  3027.         orb.Size = Vector3.new(1, 1, 1)
  3028.         orb.Transparency = 1
  3029.         orb.TopSurface = 0
  3030.         orb.BottomSurface = 0
  3031.         local orbm = Instance.new("SpecialMesh", orb)
  3032.         orbm.MeshType = "Sphere"
  3033. orbm.Name = "SizeMesh"
  3034. orbm.Scale = vt(22.5,10000,22.5)
  3035. orb.CFrame = mouse.Hit
  3036. orb.Anchored = true
  3037. orb.Orientation = vt(0,0,0)
  3038. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  3039. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
  3040. coroutine.resume(coroutine.create(function()
  3041. coroutine.resume(coroutine.create(function()
  3042. for i = 0, 399 do
  3043. swait()
  3044. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  3045. orb.Transparency = orb.Transparency - 0.0025
  3046. end
  3047. end))
  3048. wait(9)
  3049. coroutine.resume(coroutine.create(function()
  3050. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  3051. if hfr ~= nil then
  3052.     for i = 0, 49 do
  3053. local deb = Instance.new("Part", char)
  3054. deb.Anchored = true
  3055. deb.CanCollide = false
  3056. deb.FormFactor = 3
  3057. deb.Name = "Ring"
  3058. deb.Material = hitfloor.Material
  3059. deb.Color = hitfloor.Color
  3060. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  3061. deb.Transparency = 0
  3062. deb.TopSurface = 0
  3063. deb.BottomSurface = 0
  3064. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3065. local deb2 = Instance.new("Part", char)
  3066. deb2.CanCollide = false
  3067. deb2.FormFactor = 3
  3068. deb2.Name = "Ring"
  3069. deb2.Material = hitfloor.Material
  3070. deb2.Color = hitfloor.Color
  3071. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  3072. deb2.Transparency = 0
  3073. deb2.TopSurface = 0
  3074. deb2.BottomSurface = 0
  3075. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  3076. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3077. local eff = Instance.new("ParticleEmitter",deb)
  3078. eff.Texture = "rbxassetid://2119689849"
  3079. eff.LightEmission = 0.95
  3080. eff.Color = ColorSequence.new(keptcolor.Color)
  3081. eff.Rate = 100
  3082. eff.Lifetime = NumberRange.new(1)
  3083. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  3084. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3085. eff.Speed = NumberRange.new(0,5)
  3086. eff.Rotation = NumberRange.new(-500,500)
  3087. eff.VelocitySpread = 9000
  3088. eff.RotSpeed = NumberRange.new(-10,10)
  3089. local at1 = Instance.new('Attachment',deb2)
  3090. at1.Position = vt(0,15,0)
  3091. local at2 = Instance.new('Attachment',deb2)
  3092. at2.Position = vt(0,-15,0)
  3093. local tl = Instance.new('Trail',deb2)
  3094. tl.Attachment0 = at1
  3095. tl.Attachment1 = at2
  3096. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3097. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  3098. tl.Lifetime = 1
  3099. game:GetService("Debris"):AddItem(deb,30)
  3100. game:GetService("Debris"):AddItem(deb2,30)
  3101. coroutine.resume(coroutine.create(function()
  3102.     wait(15)
  3103. eff.Enabled = false
  3104.     for i = 0, 49 do
  3105.         swait()
  3106.         deb.Transparency = deb.Transparency + 0.02
  3107.     end
  3108. wait(1)
  3109.     deb:Destroy()
  3110. end))
  3111. end
  3112. end
  3113. end))
  3114. for i = 0, 199 do
  3115. swait(1.5)
  3116. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  3117. if v:FindFirstChild('Head') then
  3118. dmg(v)
  3119. end
  3120. end
  3121. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  3122. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  3123. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  3124. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  3125. end
  3126. orb:Destroy()
  3127. end))
  3128. hum.WalkSpeed = storehumanoidWS
  3129. attack = false
  3130. end
  3131.  
  3132.  
  3133. function Beams()
  3134. attack = true
  3135. hum.WalkSpeed = 0
  3136. local keptcolor = MAINRUINCOLOR
  3137. coroutine.resume(coroutine.create(function()
  3138. for i = 0, 24 do
  3139. swait(5)
  3140. local orb = Instance.new("Part", char)
  3141. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  3142.         orb.BrickColor = keptcolor
  3143.         orb.CanCollide = false
  3144.         orb.FormFactor = 3
  3145.         orb.Name = "Ring"
  3146.         orb.Material = "Neon"
  3147.         orb.Size = Vector3.new(1, 1, 1)
  3148.         orb.Transparency = 0
  3149.         orb.TopSurface = 0
  3150.         orb.BottomSurface = 0
  3151. orb.Anchored = true
  3152.         local orbm = Instance.new("SpecialMesh", orb)
  3153.         orbm.MeshType = "Sphere"
  3154. orbm.Name = "SizeMesh"
  3155. orbm.Scale = vt(1.25,1.25,1.25)
  3156. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  3157. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3158. coroutine.resume(coroutine.create(function()
  3159. wait(0.5)
  3160. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  3161. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3162. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3163. orb.Transparency = 1
  3164.     local a = Instance.new("Part",char)
  3165.     a.Name = "Direction"   
  3166.     a.Anchored = true
  3167.     a.BrickColor = keptcolor
  3168. a.Material = "Neon"
  3169. a.Transparency = 0.25
  3170. a.Shape = "Cylinder"
  3171.     local ht = Instance.new("Part",char)
  3172.     ht.Name = "DirectionHit"   
  3173.     ht.Anchored = true
  3174.     ht.BrickColor = keptcolor
  3175. ht.CanCollide = false
  3176. ht.Transparency = 1
  3177. ht.Size = vt(0.1,0.1,0.1)
  3178. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
  3179.     a.CanCollide = false
  3180.     local ray = Ray.new(
  3181.         orb.CFrame.p,                           -- origin
  3182.         (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3183.     )
  3184.     local ignore = char
  3185.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3186.     a.BottomSurface = 10
  3187.     a.TopSurface = 10
  3188.     local distance = (orb.CFrame.p - position).magnitude
  3189.     a.Size = Vector3.new(distance,1,1)
  3190.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3191.     ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3192. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  3193. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  3194. MagniDamage(ht, 9, 10,15, 0, "Normal")
  3195. coroutine.resume(coroutine.create(function()
  3196. local eff = Instance.new("ParticleEmitter",ht)
  3197. eff.Texture = "rbxassetid://2119689849"
  3198. eff.LightEmission = 0.95
  3199. eff.Color = ColorSequence.new(keptcolor.Color)
  3200. eff.Rate = 500
  3201. eff.Lifetime = NumberRange.new(0.5)
  3202. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3203. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3204. eff.Speed = NumberRange.new(10,50)
  3205. eff.Drag = 5
  3206. eff.Rotation = NumberRange.new(-500,500)
  3207. eff.VelocitySpread = 9000
  3208. eff.RotSpeed = NumberRange.new(-500,500)
  3209. wait(0.25)
  3210. eff.Enabled = false
  3211. end))
  3212. for i = 0, 4 do
  3213. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
  3214. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
  3215. local rsiz = math.random(10,30)
  3216. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3217. end
  3218. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3219. local msh = Instance.new("SpecialMesh",a)
  3220. msh.MeshType = "Cylinder"
  3221. msh.Scale = vt(1,1,1)
  3222. for i = 0, 49 do
  3223. swait()
  3224. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  3225. a.Transparency = a.Transparency + 0.02
  3226. end
  3227. orb:Destroy()
  3228. a:Destroy()
  3229. ht:Destroy()
  3230. end))
  3231. game:GetService("Debris"):AddItem(orb, 10)
  3232. end
  3233. end))
  3234.     for i = 0,12,0.1 do
  3235.         swait()
  3236. sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
  3237.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  3238. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  3239. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  3240. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  3241. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3)
  3242. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
  3243.     end
  3244. hum.WalkSpeed = storehumanoidWS
  3245. attack = false
  3246. end
  3247.  
  3248. function smiter()
  3249. local targetted = nil
  3250. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3251. targetted = mouse.Target.Parent
  3252. end
  3253. if targetted ~= nil then
  3254. RootPart.CFrame = FaceMouse()[1]
  3255. attack = true
  3256. hum.WalkSpeed = 0
  3257. coroutine.resume(coroutine.create(function()
  3258. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  3259. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  3260. local vel = Instance.new("BodyPosition", targetted.Head)
  3261. vel.P = 12500
  3262. vel.D = 1000
  3263. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3264. vel.position = targetted.Head.CFrame.p
  3265. end))
  3266. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  3267.     for i = 0,4,0.1 do
  3268.         swait()
  3269. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR)
  3270.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3271. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3272. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3273. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3274. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2)
  3275. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2)
  3276.     end
  3277. coroutine.resume(coroutine.create(function()
  3278. CameraEnshaking(6,5)
  3279. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  3280. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  3281. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  3282. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  3283. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3284. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3285. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3286. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3287. coroutine.resume(coroutine.create(function()
  3288. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3289. eff.Texture = "rbxassetid://2119689849"
  3290. eff.LightEmission = 0.95
  3291. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3292. eff.Rate = 10000
  3293. eff.Lifetime = NumberRange.new(1.5)
  3294. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3295. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3296. eff.Speed = NumberRange.new(25,150)
  3297. eff.Drag = 5
  3298. eff.Rotation = NumberRange.new(-500,500)
  3299. eff.VelocitySpread = 9000
  3300. eff.RotSpeed = NumberRange.new(-50,50)
  3301. local eff2 = eff:Clone()
  3302. eff2.Parent = targetted.Head
  3303. eff2.Texture = "rbxassetid://2119689849"
  3304. eff2.Rate = 10000
  3305. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3306. eff2.Drag = 5
  3307. eff2.Rotation = NumberRange.new(-500,500)
  3308. eff2.VelocitySpread = 9000
  3309. wait(0.5)
  3310. eff2.Enabled = false
  3311. eff.Enabled = false
  3312. end))
  3313. for i = 0, 9 do
  3314. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  3315. end
  3316. for i = 0, 49 do
  3317. local rsiz = math.random(10,50)
  3318. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3319. end
  3320. game:GetService("Debris"):AddItem(vel,1)
  3321. dmg(targetted)
  3322. end))
  3323.     for i = 0,1,0.1 do
  3324.         swait()
  3325.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  3326. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  3327. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  3328. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  3329. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  3330. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5)
  3331.     end
  3332. attack = false
  3333. hum.WalkSpeed = storehumanoidWS
  3334. end
  3335. end
  3336.  
  3337. function supsmiter()
  3338. local targetted = nil
  3339. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3340. targetted = mouse.Target.Parent
  3341. end
  3342. if targetted ~= nil then
  3343. RootPart.CFrame = FaceMouse()[1]
  3344. attack = true
  3345. hum.WalkSpeed = 0
  3346. coroutine.resume(coroutine.create(function()
  3347. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  3348. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  3349. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.2,0.2,0.2,MAINRUINCOLOR)
  3350. local vel = Instance.new("BodyPosition", targetted.Head)
  3351. vel.P = 12500
  3352. vel.D = 1000
  3353. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3354. vel.position = targetted.Head.CFrame.p
  3355. end))
  3356. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
  3357.     for i = 0,14,0.1 do
  3358.         swait()
  3359. rsiz = math.random(5,15)
  3360. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)  
  3361. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,MAINRUINCOLOR)
  3362. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3363. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3364. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3365. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3366. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3367. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3368.     end
  3369. coroutine.resume(coroutine.create(function()
  3370. CameraEnshaking(6,5)
  3371. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  3372. MagniDamage(targetted.Head, 9, 18000,30000, 0, "Normal")
  3373. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 5.5, 0.8)
  3374. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5.25, 0.8)
  3375. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 4, 0.8)
  3376. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3377. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3378. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3379. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3380. coroutine.resume(coroutine.create(function()
  3381. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3382. eff.Texture = "rbxassetid://2119689849"
  3383. eff.LightEmission = 0.95
  3384. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3385. eff.Rate = 10000
  3386. eff.Lifetime = NumberRange.new(1.5)
  3387. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3388. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3389. eff.Speed = NumberRange.new(25,150)
  3390. eff.Drag = 5
  3391. eff.Rotation = NumberRange.new(-500,500)
  3392. eff.VelocitySpread = 9000
  3393. eff.RotSpeed = NumberRange.new(-50,50)
  3394. local eff2 = eff:Clone()
  3395. eff2.Parent = targetted.Head
  3396. eff2.Texture = "rbxassetid://2119689849"
  3397. eff2.Rate = 10000
  3398. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3399. eff2.Drag = 5
  3400. eff2.Rotation = NumberRange.new(-500,500)
  3401. eff2.VelocitySpread = 9000
  3402. wait(0.5)
  3403. eff2.Enabled = false
  3404. eff.Enabled = false
  3405. end))
  3406. for i = 0, 9 do
  3407. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  3408. end
  3409. for i = 0, 49 do
  3410. local rsiz = math.random(10,50)
  3411. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3412. end
  3413. wait(0.75)
  3414. CameraEnshaking(6,6)
  3415. MagniDamage(targetted.Head, 20, 25,40, 0, "Normal")
  3416. MagniDamage(targetted.Head, 12, 18000,30000, 0, "Normal")
  3417. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.7)
  3418. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.7)
  3419. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.7)
  3420. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  3421. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  3422. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  3423. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  3424. coroutine.resume(coroutine.create(function()
  3425. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3426. eff.Texture = "rbxassetid://2119689849"
  3427. eff.LightEmission = 0.95
  3428. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3429. eff.Rate = 10000
  3430. eff.Lifetime = NumberRange.new(1.5)
  3431. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,35,0),NumberSequenceKeypoint.new(1,0,0)})
  3432. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3433. eff.Speed = NumberRange.new(25,250)
  3434. eff.Drag = 5
  3435. eff.Rotation = NumberRange.new(-500,500)
  3436. eff.VelocitySpread = 9000
  3437. eff.RotSpeed = NumberRange.new(-50,50)
  3438. local eff2 = eff:Clone()
  3439. eff2.Parent = targetted.Head
  3440. eff2.Texture = "rbxassetid://2119689849"
  3441. eff2.Rate = 10000
  3442. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3443. eff2.Drag = 5
  3444. eff2.Rotation = NumberRange.new(-500,500)
  3445. eff2.VelocitySpread = 9000
  3446. wait(0.5)
  3447. eff2.Enabled = false
  3448. eff.Enabled = false
  3449. end))
  3450. for i = 0, 9 do
  3451. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,4.5,-0.02,MAINRUINCOLOR)
  3452. end
  3453. for i = 0, 49 do
  3454. local rsiz = math.random(15,55)
  3455. sphereMK(math.random(1,4),1.5,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3456. end
  3457. wait(0.75)
  3458. CameraEnshaking(6,7)
  3459. MagniDamage(targetted.Head, 23, 40,80, 0, "Normal")
  3460. MagniDamage(targetted.Head, 15, 18000,30000, 0, "Normal")
  3461. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 7.5, 0.6)
  3462. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 7.25, 0.6)
  3463. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 6, 0.6)
  3464. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  3465. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  3466. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  3467. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  3468. coroutine.resume(coroutine.create(function()
  3469. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3470. eff.Texture = "rbxassetid://2119689849"
  3471. eff.LightEmission = 0.95
  3472. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3473. eff.Rate = 10000
  3474. eff.Lifetime = NumberRange.new(1.5)
  3475. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  3476. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3477. eff.Speed = NumberRange.new(50,450)
  3478. eff.Drag = 5
  3479. eff.Rotation = NumberRange.new(-500,500)
  3480. eff.VelocitySpread = 9000
  3481. eff.RotSpeed = NumberRange.new(-50,50)
  3482. local eff2 = eff:Clone()
  3483. eff2.Parent = targetted.Head
  3484. eff2.Texture = "rbxassetid://2119689849"
  3485. eff2.Rate = 10000
  3486. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3487. eff2.Drag = 5
  3488. eff2.Rotation = NumberRange.new(-500,500)
  3489. eff2.VelocitySpread = 9000
  3490. wait(0.5)
  3491. eff2.Enabled = false
  3492. eff.Enabled = false
  3493. end))
  3494. for i = 0, 9 do
  3495. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,6,-0.02,MAINRUINCOLOR)
  3496. end
  3497. for i = 0, 49 do
  3498. local rsiz = math.random(20,60)
  3499. sphereMK(math.random(1,4),2,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3500. end
  3501. dmg(targetted)
  3502. game:GetService("Debris"):AddItem(vel,1)
  3503. end))
  3504.     for i = 0,7,0.1 do
  3505.         swait()
  3506. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  3507. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.5)
  3508. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  3509. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-60)), 0.5)
  3510. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.5)
  3511. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.5)
  3512.     end
  3513. attack = false
  3514. hum.WalkSpeed = storehumanoidWS
  3515. end
  3516. end
  3517.  
  3518. function BinaryBLINK()
  3519. for i = 0, 9 do
  3520. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)        sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)        sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  3521. end
  3522. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3523. coroutine.resume(coroutine.create(function()
  3524. local eff = Instance.new("ParticleEmitter",root)
  3525. eff.Texture = "rbxassetid://2119689849"
  3526. eff.LightEmission = 0.95
  3527. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3528. eff.Rate = 10000
  3529. eff.Lifetime = NumberRange.new(1)
  3530. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  3531. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3532. eff.Speed = NumberRange.new(30,160)
  3533. eff.Drag = 5
  3534. eff.Rotation = NumberRange.new(-500,500)
  3535. eff.VelocitySpread = 100000
  3536. wait(0.25)
  3537. eff.Enabled = false
  3538. wait(4)
  3539. eff:Destroy()
  3540. end))
  3541. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3542. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3543. CameraEnshaking(2,10)
  3544. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  3545. if v:FindFirstChild('Head') then
  3546. dmg(v)
  3547. end
  3548. end
  3549. for i = 0, 9 do
  3550. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)        sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)        sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  3551. end
  3552. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3553. end
  3554.  
  3555. function BinaryE()
  3556. local posit = -2
  3557. attack = true
  3558. hum.WalkSpeed = 5
  3559. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  3560.     for i = 0,2,0.1 do
  3561.         swait()
  3562. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3563.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  3564. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  3565. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  3566. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  3567. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  3568. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3569.     end
  3570. for i = 0, 2 do
  3571. CameraEnshaking(1,2)
  3572. local hite = Instance.new("Part", char)
  3573.         hite.Anchored = true
  3574.         hite.CanCollide = false
  3575.         hite.FormFactor = 3
  3576.         hite.Name = "Ring"
  3577.         hite.Material = "Neon"
  3578.         hite.Size = Vector3.new(1, 1, 1)
  3579.         hite.Transparency = 1
  3580.         hite.TopSurface = 0
  3581.         hite.BottomSurface = 0
  3582. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  3583. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  3584. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  3585. coroutine.resume(coroutine.create(function()
  3586. local eff = Instance.new("ParticleEmitter",hite)
  3587. eff.Texture = "rbxassetid://2119689849"
  3588. eff.LightEmission = 0.95
  3589. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3590. eff.Rate = 1000
  3591. eff.Lifetime = NumberRange.new(1)
  3592. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  3593. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3594. eff.Speed = NumberRange.new(10,50)
  3595. eff.Drag = 5
  3596. eff.Rotation = NumberRange.new(-500,500)
  3597. eff.VelocitySpread = 100000
  3598. wait(0.25)
  3599. eff.Enabled = false
  3600. end))
  3601. coroutine.resume(coroutine.create(function()
  3602. for i = 0, 1 do
  3603.     swait()
  3604.         sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3605.         sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3606. end
  3607. end))
  3608. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
  3609. MagniDamage(hite, 3, 30,40, 0, "Normal")
  3610. game:GetService("Debris"):AddItem(hite, 5)
  3611. posit = posit + 2
  3612. end
  3613.     for i = 0,1,0.1 do
  3614.         swait()
  3615. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3616.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  3617. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  3618. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  3619. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  3620. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  3621. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3622.     end
  3623.     for i = 0,1,0.1 do
  3624.         swait()
  3625. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3626.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  3627. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  3628. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  3629. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  3630. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
  3631. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
  3632.     end
  3633.     posit = -6
  3634.     for i = 0, 6 do
  3635. CameraEnshaking(1,3)
  3636. local hite = Instance.new("Part", char)
  3637.         hite.Anchored = true
  3638.         hite.CanCollide = false
  3639.         hite.FormFactor = 3
  3640.         hite.Name = "Ring"
  3641.         hite.Material = "Neon"
  3642.         hite.Size = Vector3.new(1, 1, 1)
  3643.         hite.Transparency = 1
  3644.         hite.TopSurface = 0
  3645.         hite.BottomSurface = 0
  3646. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  3647. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  3648. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  3649. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
  3650. coroutine.resume(coroutine.create(function()
  3651. local eff = Instance.new("ParticleEmitter",hite)
  3652. eff.Texture = "rbxassetid://2119689849"
  3653. eff.LightEmission = 0.95
  3654. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3655. eff.Rate = 1000
  3656. eff.Lifetime = NumberRange.new(1)
  3657. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  3658. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3659. eff.Speed = NumberRange.new(20,70)
  3660. eff.Drag = 5
  3661. eff.Rotation = NumberRange.new(-500,500)
  3662. eff.VelocitySpread = 100000
  3663. wait(0.25)
  3664. eff.Enabled = false
  3665. end))
  3666. coroutine.resume(coroutine.create(function()
  3667. for i = 0, 2 do
  3668.     swait()
  3669.         sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3670.         sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3671.         sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3672. end
  3673. end))
  3674. MagniDamage(hite, 5, 40,70, 0, "Normal")
  3675. game:GetService("Debris"):AddItem(hite, 5)
  3676. posit = posit + 2
  3677.     end
  3678.     for i = 0,1,0.1 do
  3679.         swait()
  3680. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3681.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  3682. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  3683. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  3684. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  3685. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
  3686. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
  3687.     end
  3688.     hum.WalkSpeed = storehumanoidWS
  3689. attack = false
  3690. end
  3691.  
  3692. function AZUREFINALE()
  3693. attack = true
  3694. duringend = true
  3695. hum.WalkSpeed = 0
  3696. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  3697. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  3698. local hite = Instance.new("Part", char)
  3699.         hite.Anchored = true
  3700.         hite.CanCollide = false
  3701.         hite.FormFactor = 3
  3702.         hite.Name = "Ring"
  3703.         hite.Material = "Neon"
  3704.         hite.Size = Vector3.new(1, 1, 1)
  3705.         hite.Transparency = 0
  3706.         hite.TopSurface = 0
  3707.         hite.BottomSurface = 0
  3708.         hite.BrickColor = MAINRUINCOLOR
  3709.         local orbm = Instance.new("SpecialMesh", hite)
  3710.         orbm.MeshType = "Sphere"
  3711. orbm.Name = "SizeMesh"
  3712. orbm.Scale = vt(0,0,0)
  3713. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  3714.     for i = 0,70,0.1 do
  3715.         swait()
  3716. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  3717. rsiz = math.random(10,45)
  3718. kan.Volume = kan.Volume + 0.01
  3719. kan.Pitch = kan.Pitch - 0.00070
  3720. chatfunc("I'm sorry I have to do this...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3721. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3722. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3723. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3724. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3725. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3726. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3727.     end
  3728.     kan.Pitch = 0.6
  3729. hite.Transparency = 1
  3730. for i = 0,2 do
  3731. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  3732. end
  3733. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  3734. coroutine.resume(coroutine.create(function()
  3735. local eff = Instance.new("ParticleEmitter",hite)
  3736. eff.Texture = "rbxassetid://2119689849"
  3737. eff.LightEmission = 0.95
  3738. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3739. eff.Rate = 10000
  3740. eff.Lifetime = NumberRange.new(5)
  3741. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  3742. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3743. eff.Speed = NumberRange.new(600,1250)
  3744. eff.Drag = 5
  3745. eff.Rotation = NumberRange.new(-500,500)
  3746. eff.VelocitySpread = 9000
  3747. eff.RotSpeed = NumberRange.new(-500,500)
  3748. wait(1)
  3749. eff.Enabled = false
  3750. end))
  3751.     for i = 0,5,0.1 do
  3752.         swait()
  3753. chatfunc("...This will kill me... But I don't care...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3754. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3755. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3756. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3757. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3758. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3759. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3760.     end
  3761. local adsc = 0
  3762. local radiatezone = 0
  3763.     for i = 0,20,0.1 do
  3764.         swait()
  3765. adsc = adsc + 0.025
  3766. radiatezone = radiatezone + 1.25
  3767. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3768. if v:FindFirstChild('Head') then
  3769. dmg(v)
  3770. end
  3771. end
  3772. chatfunc("Goodbye...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3773. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3774. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3775. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3776. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3777. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3778. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3779.     end
  3780. for i = 0,2 do
  3781. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  3782. end
  3783.     for i = 0,40,0.1 do
  3784.         swait()
  3785. adsc = adsc + 0.05
  3786. radiatezone = radiatezone + 2.5
  3787. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3788. if v:FindFirstChild('Head') then
  3789. dmg(v)
  3790. end
  3791. end
  3792. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3793. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3794. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3795. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3796. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3797. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3798.     end
  3799. for i = 0,4 do
  3800. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  3801. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  3802. end
  3803.     for i = 0,80,0.1 do
  3804.         swait()
  3805. adsc = adsc + 0.075
  3806. radiatezone = radiatezone + 3.75
  3807. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  3808. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3809. if v:FindFirstChild('Head') then
  3810. dmg(v)
  3811. end
  3812. end
  3813. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3814. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3815. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3816. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3817. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3818. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3819.     end
  3820. hite:Destroy()
  3821. char:BreakJoints()
  3822. duringend = false
  3823. hum.WalkSpeed = storehumanoidWS
  3824. attack = false
  3825. end
  3826.  
  3827. function GalacticalBeams()
  3828. attack = true
  3829. local keptcolor = MAINRUINCOLOR
  3830. coroutine.resume(coroutine.create(function()
  3831. for i = 0, 0 do
  3832. swait(10)
  3833. local orb = Instance.new("Part", char)
  3834. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  3835.         orb.BrickColor = keptcolor
  3836.         orb.CanCollide = false
  3837.         orb.FormFactor = 3
  3838.         orb.Name = "Ring"
  3839.         orb.Material = "Neon"
  3840.         orb.Size = Vector3.new(1, 1, 1)
  3841.         orb.Transparency = 1
  3842.         orb.TopSurface = 0
  3843.         orb.BottomSurface = 0
  3844. orb.Anchored = true
  3845.         local orbm = Instance.new("SpecialMesh", orb)
  3846.         orbm.MeshType = "Sphere"
  3847. orbm.Name = "SizeMesh"
  3848. orbm.Scale = vt(1.25,1.25,1.25)
  3849. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  3850. coroutine.resume(coroutine.create(function()
  3851. orb.Transparency = 1
  3852.     local a = Instance.new("Part",char)
  3853.     a.Name = "Direction"   
  3854.     a.Anchored = true
  3855.     a.BrickColor = keptcolor
  3856. a.Material = "Neon"
  3857. a.Transparency = 1
  3858. a.Shape = "Cylinder"
  3859.     local x = Instance.new("Part",char)
  3860.     x.Name = "Direction"   
  3861.     x.Anchored = true
  3862.     x.BrickColor = keptcolor
  3863. x.Material = "Neon"
  3864. x.Transparency = 1
  3865. x.Shape = "Cylinder"
  3866.     local ht = Instance.new("Part",char)
  3867.     ht.Name = "DirectionHit"   
  3868.     ht.Anchored = true
  3869.     ht.BrickColor = keptcolor
  3870. ht.CanCollide = false
  3871. ht.Transparency = 1
  3872. ht.Size = vt(0.1,0.1,0.1)
  3873.     a.CanCollide = false
  3874.     local ray = Ray.new(
  3875.         orb.CFrame.p,                           -- origin
  3876.         (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  3877.     )
  3878.     local ignore = char
  3879.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3880.     a.BottomSurface = 10
  3881.     a.TopSurface = 10
  3882.     local distance = (orb.CFrame.p - position).magnitude
  3883.     a.Size = Vector3.new(distance,1,1)
  3884.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3885.     ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3886.     x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3887. local poste = 0
  3888. local rotation = 0
  3889. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  3890. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  3891. CameraEnshaking(2,2)
  3892. for i = 0, 49 do
  3893. swait()
  3894. rotation = rotation + 5
  3895. poste = poste + 1
  3896. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3897. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3898. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3899. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3900. end
  3901. local A1 = Instance.new("Attachment",x)
  3902. local A2 = Instance.new("Attachment",ht)
  3903. local Beem = Instance.new("Beam",ht)
  3904. Beem.Attachment0 = A1
  3905. Beem.Attachment1 = A2
  3906. Beem.LightEmission = 1
  3907. Beem.FaceCamera = true
  3908. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  3909. Beem.Width0 = 125
  3910. Beem.Width1 = 125
  3911. Beem.Texture = "rbxassetid://2119689849"
  3912. Beem.TextureMode = "Wrap"
  3913. Beem.TextureLength = 200
  3914. Beem.TextureSpeed = 1.5
  3915. Beem.Color = ColorSequence.new(keptcolor.Color)
  3916. CameraEnshaking(3,6)
  3917. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  3918. a.Transparency = 0.25
  3919. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  3920. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  3921. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  3922. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  3923. local eff = Instance.new("ParticleEmitter",ht)
  3924. eff.Texture = "rbxassetid://2119689849"
  3925. eff.LightEmission = 0.95
  3926. eff.Color = ColorSequence.new(keptcolor.Color)
  3927. eff.Rate = 500
  3928. eff.Lifetime = NumberRange.new(1)
  3929. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3930. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3931. eff.Speed = NumberRange.new(80,500)
  3932. eff.Drag = 5
  3933. eff.Rotation = NumberRange.new(-500,500)
  3934. eff.VelocitySpread = 9000
  3935. eff.RotSpeed = NumberRange.new(-500,500)
  3936. for i = 0, 24 do
  3937. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  3938. local rsiz = math.random(10,50)
  3939. sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3940. end
  3941. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3942. local msh = Instance.new("SpecialMesh",a)
  3943. msh.MeshType = "Cylinder"
  3944. msh.Scale = vt(1,15,15)
  3945. for i = 0, 49 do
  3946. swait()
  3947. CameraEnshaking(1,4)
  3948. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  3949. rotation = rotation + 5
  3950. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  3951. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  3952. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  3953. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3954. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3955. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3956. for i = 0, 2 do
  3957. local rsiz = math.random(50,250)
  3958. sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3959. end
  3960. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  3961. end
  3962. eff.Enabled = false
  3963. local visibility = 0
  3964. for i = 0, 49 do
  3965. swait()
  3966. visibility = visibility + 0.02
  3967. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  3968. rotation = rotation + 5
  3969. poste = poste - 1
  3970. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3971. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3972. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3973. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  3974. a.Transparency = a.Transparency + 0.02
  3975. end
  3976. wait(1)
  3977. orb:Destroy()
  3978. a:Destroy()
  3979. ht:Destroy()
  3980. end))
  3981. game:GetService("Debris"):AddItem(orb, 10)
  3982. end
  3983. end))
  3984. hum.WalkSpeed = storehumanoidWS
  3985. attack = false
  3986. end
  3987.  
  3988.  
  3989. function WarpedDash()
  3990. attack = true
  3991. hum.WalkSpeed = 0
  3992. hum.JumpPower = 0
  3993. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  3994. local poste = 3
  3995. local rotation = 0
  3996. local rate = 0
  3997. for i = 0, 124 do
  3998. swait()
  3999. rotation = rotation + rate
  4000. poste = poste + 0.1
  4001. rate = rate + 0.1
  4002. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  4003. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
  4004. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4005. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4006. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4007. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4008. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  4009. 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)),.5)
  4010. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  4011. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  4012. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  4013. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  4014. end
  4015. CameraEnshaking(3,7)
  4016. local loc = Instance.new("Part", char)
  4017. loc.BrickColor = MAINRUINCOLOR
  4018. loc.CanCollide = false
  4019. loc.FormFactor = 3
  4020. loc.Name = "Ring"
  4021. loc.Material = "Neon"
  4022. loc.Size = Vector3.new(1, 1, 1)
  4023. loc.Transparency = 1
  4024. loc.TopSurface = 0
  4025. loc.BottomSurface = 0
  4026. loc.Anchored = true
  4027. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  4028. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  4029. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  4030. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  4031. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  4032. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4033. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4034. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4035. coroutine.resume(coroutine.create(function()
  4036. local eff = Instance.new("ParticleEmitter",loc)
  4037. eff.Texture = "rbxassetid://2119689849"
  4038. eff.LightEmission = 0.95
  4039. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4040. eff.Rate = 10000
  4041. eff.Lifetime = NumberRange.new(1)
  4042. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  4043. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4044. eff.Speed = NumberRange.new(100,500)
  4045. eff.Drag = 5
  4046. eff.Rotation = NumberRange.new(-500,500)
  4047. eff.VelocitySpread = 9000
  4048. eff.RotSpeed = NumberRange.new(-50,50)
  4049. wait(0.5)
  4050. eff.Enabled = false
  4051. end))
  4052. for i = 0, 49 do
  4053. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  4054. end
  4055. for i = 0, 9 do
  4056. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  4057. end
  4058. game:GetService("Debris"):AddItem(loc, 5)
  4059. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  4060. hum.WalkSpeed = storehumanoidWS
  4061. hum.JumpPower = 50
  4062. attack = false
  4063. end
  4064.  
  4065. ------------------------------------
  4066. function harmonytaunty()
  4067. attack = true
  4068. hum.WalkSpeed = 0
  4069. CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15)
  4070. for i = 0,7,0.1 do
  4071. swait()
  4072. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-20 + 6 * math.cos(sine / 34))),.2)
  4073. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(10 - 4 * math.cos(sine / 47))),.2)
  4074. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-2 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-2 + 4 * math.cos(sine / 62))),.2)
  4075. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 - 3 * math.cos(sine / 28)),math.rad(12 - 3 * math.cos(sine / 79)),math.rad(2 - 4 * math.cos(sine / 62))),.2)
  4076. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.01 * math.cos(sine / 28),-0.1)*angles(math.rad(34 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-13 - 3 * math.cos(sine / 28))),.2)
  4077. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(80 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(10 + 5 * math.cos(sine / 30))),.2)
  4078. end
  4079. attack = false
  4080. end
  4081.  
  4082. function vistaunty()
  4083. attack = true
  4084. hum.WalkSpeed = 0
  4085. local rd = math.random(1,5)
  4086. if rd == 1 then
  4087. chatfunc("Do you know this song?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4088. elseif rd == 2 then
  4089. chatfunc("You seem annoyed. Did I make you? It's possible...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4090. elseif rd == 3 then
  4091. chatfunc("I'm just bored. Don't mess with me, Capiche?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4092. elseif rd == 4 then
  4093. chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4094. elseif rd == 5 then
  4095. chatfunc("Dance to the beat with me, Yeah?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4096. end
  4097. for i = 0, 8, 0.1 do
  4098. swait()
  4099. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  4100. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  4101. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
  4102. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
  4103. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
  4104. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  4105. end
  4106. attack = false
  4107. end
  4108.  
  4109. function shytaunty()
  4110. attack = true
  4111. hum.WalkSpeed = 0
  4112. CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1)
  4113. local blush = Instance.new("Decal",hed)
  4114. blush.Texture = "rbxassetid://2119689849"
  4115. blush.Face = "Front"
  4116. for i = 0, 13, 0.1 do
  4117. swait()
  4118. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  4119. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  4120. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  4121. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
  4122. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
  4123. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
  4124. end
  4125. coroutine.resume(coroutine.create(function()
  4126. for i = 0, 49 do
  4127. swait()
  4128. blush.Transparency = blush.Transparency + 0.02
  4129. end
  4130. blush:Destroy()
  4131. end))
  4132. attack = false
  4133. end
  4134. ------------------------------------ Mode Ascendances
  4135. function UnknownA()
  4136. hum.WalkSpeed = 0
  4137. attack = true
  4138. local keptcolor = MAINRUINCOLOR
  4139. local locat = Instance.new("Part", char)
  4140. locat.CanCollide = false
  4141. locat.FormFactor = 3
  4142. locat.Name = "Ring"
  4143. locat.Material = "Neon"
  4144. locat.Size = Vector3.new(1, 1, 1)
  4145. locat.Transparency = 1
  4146. locat.TopSurface = 0
  4147. locat.BottomSurface = 0
  4148. locat.Anchored = true
  4149. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4150. local poste = 0
  4151. local rotation = 0
  4152. local upperpos = 0
  4153. local rate = 0
  4154. local x = locat
  4155. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4156. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4157. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4158. CameraEnshaking(2,5)
  4159. for i = 0, 49 do
  4160. swait()
  4161. rotation = rotation + 5
  4162. poste = poste + 1
  4163. 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)),.5)
  4164. 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)),.5)
  4165. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4166. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4167. 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))),.5)
  4168. 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))),.5)
  4169. end
  4170. for i = 0, 49 do
  4171. swait()
  4172. rotation = rotation + 5
  4173. 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)),.5)
  4174. 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)),.5)
  4175. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4176. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4177. 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))),.5)
  4178. 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))),.5)
  4179. end
  4180. ModeOfGlitch = 6000000000
  4181. storehumanoidWS = 300
  4182. hum.WalkSpeed = 300
  4183. rainbowmode = false
  4184. chaosmode = false
  4185. RecolorTextAndRename("GLITCHEDBANISHER V4567",BrickColor.new("Navy blue").Color,BrickColor.new("Really red").Color,"Antique")
  4186. newThemeCust("rbxassetid://1504604335",0,1.25,1.5)
  4187. MAINRUINCOLOR = BrickColor.new("Really blue")
  4188. keptcolor = MAINRUINCOLOR
  4189. RecolorThing(MAINRUINCOLOR,BrickColor.new("Navy blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4190. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4191. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4192. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  4193. attack = false
  4194. hum.WalkSpeed = storehumanoidWS
  4195. for i = 0, 49 do
  4196. local rsiz = math.random(150,450)
  4197. sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Deep blue"))
  4198. end
  4199. coroutine.resume(coroutine.create(function()
  4200. local eff = Instance.new("ParticleEmitter",x)
  4201. eff.Texture = "rbxassetid://2119689849"
  4202. eff.LightEmission = 0.95
  4203. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  4204. eff.Rate = 50000
  4205. eff.Lifetime = NumberRange.new(2.5)
  4206. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4207. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4208. eff.Speed = NumberRange.new(250,1000)
  4209. eff.Drag = 5
  4210. eff.Rotation = NumberRange.new(-500,500)
  4211. eff.VelocitySpread = 9000
  4212. eff.RotSpeed = NumberRange.new(-500,500)
  4213. wait(0.5)
  4214. eff.Enabled = false
  4215. end))
  4216. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4217. if v:FindFirstChild('Head') then
  4218. dmg(v)
  4219. end
  4220. end]]--
  4221. CameraEnshaking(8,10)
  4222. for i = 0, 99 do
  4223. swait()
  4224. rotation = rotation + 5
  4225. poste = poste + 1
  4226. upperpos = upperpos + rate
  4227. rate = rate + 0.1
  4228. end
  4229. x:Destroy()
  4230. end
  4231.  
  4232. function ChaosGroundStrike()
  4233.     attack = true
  4234.     for i = 0, 2, 0.1 do
  4235.         swait()
  4236.         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)), 0.2)
  4237.         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)), 0.2)
  4238.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4239.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4240.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  4241.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  4242.     end
  4243.     CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  4244.     CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  4245.     for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  4246.         if v:FindFirstChild("Head") then
  4247.             dmg(v)
  4248.         end
  4249.     end
  4250.     sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  4251.     sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  4252.     sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  4253.     for i = 0, 2, 0.1 do
  4254.         swait()
  4255.         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)
  4256.         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)
  4257.         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)), 0.4)
  4258.         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)), 0.4)
  4259.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4260.         Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4261.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  4262.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  4263.     end
  4264.     attack = false
  4265. end
  4266.  
  4267. function ExtinctiveHeartbreak()
  4268.     local targetted
  4269.     if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4270.         targetted = mouse.Target.Parent
  4271.     end
  4272.     if targetted ~= nil then
  4273.         attack = true
  4274.         CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  4275.         for i = 0, 9 do
  4276.             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)
  4277.         end
  4278.         sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Navy blue"))
  4279.         local originalpos = root.CFrame
  4280.         RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2)
  4281.         for i = 0, 9 do
  4282.             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)
  4283.         end
  4284.         hum.WalkSpeed = 0
  4285.         targetted.Head.Anchored = true
  4286.         sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Navy blue"))
  4287.         for i = 0, 2, 0.1 do
  4288.             swait()
  4289.             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)), 0.4)
  4290.             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)), 0.4)
  4291.             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)), 0.4)
  4292.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  4293.             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)), 0.4)
  4294.             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)), 0.4)
  4295.         end
  4296.         coroutine.resume(coroutine.create(function()
  4297.             bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
  4298.             bld.LightEmission = 0.1
  4299.             bld.Texture = "rbxassetid://2119689849"
  4300.             bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  4301.             bld.Rate = 500
  4302.             bld.Lifetime = NumberRange.new(1)
  4303.             bld.Size = NumberSequence.new({
  4304.                 NumberSequenceKeypoint.new(0, 2, 0),
  4305.                 NumberSequenceKeypoint.new(1, 0, 0)
  4306.             })
  4307.             bld.Acceleration = vt(0, -25, 0)
  4308.             bld.Transparency = NumberSequence.new({
  4309.                 NumberSequenceKeypoint.new(0, 0, 0),
  4310.                 NumberSequenceKeypoint.new(1, 0, 0)
  4311.             })
  4312.             bld.Speed = NumberRange.new(10, 50)
  4313.             bld.EmissionDirection = "Front"
  4314.             bld.VelocitySpread = 25
  4315.             bld.Rotation = NumberRange.new(-500, 500)
  4316.             bld.RotSpeed = NumberRange.new(-500, 500)
  4317.         end))
  4318.         coroutine.resume(coroutine.create(function()
  4319.             bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
  4320.             bld.LightEmission = 0.1
  4321.             bld.Texture = "rbxassetid://2119689849"
  4322.             bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  4323.             bld.Rate = 500
  4324.             bld.Lifetime = NumberRange.new(1)
  4325.             bld.Size = NumberSequence.new({
  4326.                 NumberSequenceKeypoint.new(0, 2, 0),
  4327.                 NumberSequenceKeypoint.new(1, 0, 0)
  4328.             })
  4329.             bld.Acceleration = vt(0, -25, 0)
  4330.             bld.Transparency = NumberSequence.new({
  4331.                 NumberSequenceKeypoint.new(0, 0, 0),
  4332.                 NumberSequenceKeypoint.new(1, 0, 0)
  4333.             })
  4334.             bld.Speed = NumberRange.new(10, 50)
  4335.             bld.EmissionDirection = "Front"
  4336.             bld.VelocitySpread = 25
  4337.             bld.Rotation = NumberRange.new(-500, 500)
  4338.             bld.RotSpeed = NumberRange.new(-500, 500)
  4339.         end))
  4340.         game:GetService("Debris"):AddItem(bld, 3)
  4341.         dmg(targetted)
  4342.         CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
  4343.         for i = 0, 1, 0.1 do
  4344.             swait()
  4345.             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)), 0.8)
  4346.             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)), 0.8)
  4347.             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)), 0.8)
  4348.             Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8)
  4349.             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)), 0.8)
  4350.             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)), 0.8)
  4351.         end
  4352.         CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  4353.         for i = 0, 9 do
  4354.             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)
  4355.         end
  4356.         sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Deep blue"))
  4357.         root.CFrame = originalpos
  4358.         for i = 0, 9 do
  4359.             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)
  4360.         end
  4361.         sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Deep blue"))
  4362.         bld.Enabled = false
  4363.         attack = false
  4364.         hum.WalkSpeed = 20
  4365.     end
  4366. end
  4367.  
  4368. function Suicidal()
  4369. hum.WalkSpeed = 0
  4370. attack = true
  4371. local keptcolor = MAINRUINCOLOR
  4372. local locat = Instance.new("Part", char)
  4373. locat.CanCollide = false
  4374. locat.FormFactor = 3
  4375. locat.Name = "Ring"
  4376. locat.Material = "Neon"
  4377. locat.Size = Vector3.new(1, 1, 1)
  4378. locat.Transparency = 1
  4379. locat.TopSurface = 0
  4380. locat.BottomSurface = 0
  4381. locat.Anchored = true
  4382. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4383. local poste = 0
  4384. local rotation = 0
  4385. local upperpos = 0
  4386. local rate = 0
  4387. local x = locat
  4388. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4389. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4390. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4391. CameraEnshaking(2,5)
  4392. for i = 0, 49 do
  4393. swait()
  4394. rotation = rotation + 5
  4395. poste = poste + 1
  4396. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4397. 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)
  4398. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
  4399. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4400. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4401. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4402. end
  4403. for i = 0, 49 do
  4404. swait()
  4405. rotation = rotation + 5
  4406. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4407. 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)
  4408. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
  4409. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4410. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4411. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4412. end
  4413. ModeOfGlitch = 999
  4414. storehumanoidWS = 300
  4415. hum.WalkSpeed = 16
  4416. rainbowmode = false
  4417. chaosmode = false
  4418. RecolorTextAndRename("GLITCHEDBANISHER SKID",BrickColor.new("White").Color,BrickColor.new("Hot pink").Color,"Antique")
  4419. newThemeCust("rbxassetid://1166635630",0,0.9,1.5)
  4420. MAINRUINCOLOR = BrickColor.new("Really red")
  4421. keptcolor = MAINRUINCOLOR
  4422. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4423. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4424. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4425. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  4426. attack = false
  4427. hum.WalkSpeed = storehumanoidWS
  4428. for i = 0, 49 do
  4429. local rsiz = math.random(150,450)
  4430. end
  4431. coroutine.resume(coroutine.create(function()
  4432. local eff = Instance.new("ParticleEmitter",x)
  4433. eff.Texture = "rbxassetid://2119689849"
  4434. eff.LightEmission = 0.95
  4435. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  4436. eff.Rate = 50000
  4437. eff.Lifetime = NumberRange.new(2.5)
  4438. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4439. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4440. eff.Speed = NumberRange.new(250,1000)
  4441. eff.Drag = 5
  4442. eff.Rotation = NumberRange.new(-500,500)
  4443. eff.VelocitySpread = 9000
  4444. eff.RotSpeed = NumberRange.new(-500,500)
  4445. wait(0.5)
  4446. eff.Enabled = false
  4447. end))
  4448. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4449. if v:FindFirstChild('Head') then
  4450. dmg(v)
  4451. end
  4452. end]]--
  4453. CameraEnshaking(8,10)
  4454. for i = 0, 99 do
  4455. swait()
  4456. rotation = rotation + 5
  4457. poste = poste + 1
  4458. upperpos = upperpos + rate
  4459. rate = rate + 0.1
  4460. end
  4461. x:Destroy()
  4462. end
  4463.  
  4464. function BITCHPLEASE()
  4465. hum.WalkSpeed = 0
  4466. attack = true
  4467. local keptcolor = MAINRUINCOLOR
  4468. local locat = Instance.new("Part", char)
  4469. locat.CanCollide = false
  4470. locat.FormFactor = 3
  4471. locat.Name = "Ring"
  4472. locat.Material = "Neon"
  4473. locat.Size = Vector3.new(1, 1, 1)
  4474. locat.Transparency = 1
  4475. locat.TopSurface = 0
  4476. locat.BottomSurface = 0
  4477. locat.Anchored = true
  4478. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4479. local poste = 0
  4480. local rotation = 0
  4481. local upperpos = 0
  4482. local rate = 0
  4483. local x = locat
  4484. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4485. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4486. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4487. CameraEnshaking(2,5)
  4488. for i = 0, 49 do
  4489. swait()
  4490. rotation = rotation + 5
  4491. poste = poste + 1
  4492. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4493. 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)
  4494. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
  4495. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4496. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4497. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4498. end
  4499. for i = 0, 49 do
  4500. swait()
  4501. rotation = rotation + 5
  4502. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4503. 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)
  4504. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
  4505. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4506. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4507. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4508. end
  4509. ModeOfGlitch = 6969
  4510. storehumanoidWS = 300
  4511. hum.WalkSpeed = 300
  4512. rainbowmode = false
  4513. chaosmode = false
  4514. RecolorTextAndRename("MEME-WORTHY DERPZ",BrickColor.new("Pink").Color,BrickColor.new("Really blue").Color,"Antique")
  4515. newThemeCust("rbxassetid://2039029608",0,0,1.5)
  4516. MAINRUINCOLOR = BrickColor.new("Really blue")
  4517. keptcolor = MAINRUINCOLOR
  4518. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4519. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4520. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4521. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  4522. attack = false
  4523. hum.WalkSpeed = storehumanoidWS
  4524. for i = 0, 49 do
  4525. local rsiz = math.random(150,450)
  4526. end
  4527. coroutine.resume(coroutine.create(function()
  4528. local eff = Instance.new("ParticleEmitter",x)
  4529. eff.Texture = "rbxassetid://2119689849"
  4530. eff.LightEmission = 0.95
  4531. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  4532. eff.Rate = 50000
  4533. eff.Lifetime = NumberRange.new(2.5)
  4534. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4535. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4536. eff.Speed = NumberRange.new(250,1000)
  4537. eff.Drag = 5
  4538. eff.Rotation = NumberRange.new(-500,500)
  4539. eff.VelocitySpread = 9000
  4540. eff.RotSpeed = NumberRange.new(-500,500)
  4541. wait(0.5)
  4542. eff.Enabled = false
  4543. end))
  4544. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4545. if v:FindFirstChild('Head') then
  4546. dmg(v)
  4547. end
  4548. end]]--
  4549. CameraEnshaking(8,10)
  4550. for i = 0, 99 do
  4551. swait()
  4552. rotation = rotation + 5
  4553. poste = poste + 1
  4554. upperpos = upperpos + rate
  4555. rate = rate + 0.1
  4556. end
  4557. x:Destroy()
  4558. end
  4559.  
  4560. function iNSaNITY()
  4561. ModeOfGlitch = 666
  4562. storehumanoidWS = 9
  4563. hum.WalkSpeed = 9
  4564. rainbowmode = false
  4565. PartyMode = false
  4566. chaosmode = true
  4567. RecolorTextAndRename("INSANE",BrickColor.Random().Color,BrickColor.Random().Color,"Antique")
  4568. newThemeCust("rbxassetid://1275251078",2.9,0.9,1.5)
  4569. MAINRUINCOLOR = BrickColor.new("Really black")
  4570. RecolorThing(BrickColor.new("Really black"),BrickColor.new("Medium stone grey"),BrickColor.new("Institutional white"),BrickColor.new("Really black"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Institutional white"))  
  4571. end
  4572.  
  4573. coroutine.resume(coroutine.create(function()
  4574.     while true do
  4575.     swait()
  4576.     if chaosmode == true then
  4577.             lolwut = {"InSANITY","iNSANITY","INsANITY","INSaNITY","INSAnITY","INSANiTY","INSANItY","INSANITy",}
  4578.             Sanicz = lolwut[math.random(1,#lolwut)]
  4579.            RecolorTextAndRename(Sanicz,BrickColor.Random().Color,BrickColor.Random().Color,"Antique")
  4580.             MAINRUINCOLOR = BrickColor.Random()
  4581.             RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4582.         end
  4583.     end
  4584. end))
  4585.  
  4586. coroutine.resume(coroutine.create(function()
  4587.     while true do
  4588.     if math.random(1,10) == 1 and PartyMode == true then
  4589.         PartyMode = false
  4590.     elseif math.random(1,10) == 10 and PartyMode == true then
  4591.         PartyMode = true
  4592.     end
  4593.    
  4594.  
  4595.         swait()
  4596.     if PartyMode == true then
  4597.         RecolorThing(BrickColor.new("Dark stone grey"),BrickColor.new("Dark stone grey"),BrickColor.new("Medium stone grey"),BrickColor.new("Dark stone grey"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Dark stone grey"))
  4598.         wait()
  4599.         RecolorThing(BrickColor.new("Institutional white"),BrickColor.new("Institutional white"),BrickColor.new("Really black"),BrickColor.new("Institutional white"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Really black"))
  4600.         wait()
  4601.         RecolorThing(BrickColor.new("Dark stone grey"),BrickColor.new("Dark stone grey"),BrickColor.new("Medium stone grey"),BrickColor.new("Dark stone grey"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Dark stone grey"))
  4602.         wait()
  4603.         RecolorThing(BrickColor.new("Really black"),BrickColor.new("Really black"),BrickColor.new("Institutional white"),BrickColor.new("Really black"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Institutional white"))   
  4604.         wait()
  4605.     end
  4606.     end
  4607. end))
  4608.  
  4609. function loveydovey()
  4610. attack = true
  4611. local keptcolor = MAINRUINCOLOR
  4612. hum.WalkSpeed = 0
  4613. for i = 0, 5, 0.1 do
  4614.     swait()
  4615.     RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4616. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  4617. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4618. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4619. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4620. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4621. end
  4622. CameraEnshaking(4,9)
  4623. CFuncs["Sound"].Create("rbxassetid://763717897", char, 0.75, 1.25)
  4624. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 0.75, 1)
  4625. coroutine.resume(coroutine.create(function()
  4626. local eff = Instance.new("ParticleEmitter",root)
  4627. eff.Texture = "rbxassetid://2119689849"
  4628. eff.LightEmission = 0.95
  4629. eff.Color = ColorSequence.new(keptcolor.Color)
  4630. eff.Rate = 10000
  4631. eff.Lifetime = NumberRange.new(1)
  4632. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  4633. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4634. eff.Speed = NumberRange.new(50,200)
  4635. eff.Drag = 5
  4636. eff.Rotation = NumberRange.new(-500,500)
  4637. eff.VelocitySpread = 9000
  4638. eff.RotSpeed = NumberRange.new(-50,50)
  4639. wait(0.5)
  4640. eff.Enabled = false
  4641. wait(5)
  4642. eff:Destroy()
  4643. end))
  4644. for i = 0, 49 do
  4645. local rsiz = math.random(70,90)
  4646. end
  4647. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4648. CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1)
  4649. newTheme("rbxassetid://1067833276",0,1,2)
  4650. ModeOfGlitch = 9600000000
  4651. MAINRUINCOLOR = BrickColor.new("Hot pink")
  4652. for i = 0, 1, 0.2 do
  4653.     swait()
  4654.     RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4655. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4656. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4657. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  4658. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  4659. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  4660. end
  4661. for i = 0, 9, 0.1 do
  4662.     swait()
  4663.     RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4664. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  4665. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4666. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4667. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4668. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4669. end
  4670. CameraEnshaking(2,11)
  4671. CFuncs["Sound"].Create("rbxassetid://763717897", char, 1, 1.125)
  4672. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 0.75)
  4673. for i = 0, 49 do
  4674. local rsiz = math.random(70,90)
  4675. end
  4676. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4677. for i = 0, 1, 0.2 do
  4678.     swait()
  4679.     RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4680. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4681. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4682. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  4683. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  4684. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  4685. end
  4686. for i = 0, 1, 0.1 do
  4687.     swait()
  4688.     RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4689. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  4690. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4691. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4692. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4693. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4694. end
  4695. CameraEnshaking(9,14)
  4696. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4697. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4698. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4699. for i = 0, 99 do
  4700. local rsiz = math.random(150,450)
  4701. end
  4702. coroutine.resume(coroutine.create(function()
  4703. local eff = Instance.new("ParticleEmitter",root)
  4704. eff.Texture = "rbxassetid://2119689849"
  4705. eff.LightEmission = 1
  4706. eff.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  4707. eff.Rate = 50000
  4708. eff.Lifetime = NumberRange.new(5)
  4709. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4710. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4711. eff.Speed = NumberRange.new(250,1000)
  4712. eff.Drag = 5
  4713. eff.Rotation = NumberRange.new(-50,50)
  4714. eff.VelocitySpread = 9000
  4715. eff.RotSpeed = NumberRange.new(-50,50)
  4716. wait(0.5)
  4717. eff.Enabled = false
  4718. wait(5)
  4719. eff:Destroy()
  4720. end))
  4721. storehumanoidWS = 20
  4722. rainbowmode = false
  4723. chaosmode = false
  4724. RecolorTextAndRename("Love Guest",BrickColor.new("Pink").Color,BrickColor.new("Hot pink").Color,"Cartoon")
  4725. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4726. for i = 0, 10, 0.1 do
  4727.     swait()
  4728.     RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4729. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4730. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4731. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8)
  4732. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  4733. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  4734. end
  4735. hum.WalkSpeed = 20
  4736. attack = false
  4737. end
  4738. -------------------------------------
  4739.  
  4740. Humanoid.Animator.Parent = nil
  4741.  
  4742. -------------------------------------
  4743.  
  4744. local attacktype = 1
  4745. mouse.Button1Down:connect(function()
  4746.   if attack == false and attacktype == 1 then
  4747.     attacktype = 2
  4748.     attackone()
  4749.   elseif attack == false and attacktype == 2 then
  4750.     attacktype = 3
  4751.     attacktwo()
  4752.   elseif attack == false and attacktype == 3 then
  4753.     attacktype = 1
  4754.     attackthree()
  4755.   elseif attack == false and attacktype == 4 then
  4756.     attacktype = 1
  4757.     --attackfour()
  4758.   end
  4759. end)
  4760.  
  4761. local OVMID = 1702473314
  4762. local OVMPIT = 1
  4763. local OVMVOL = 1
  4764. mouse.KeyDown:connect(function(k)
  4765. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  4766. resetmode()
  4767. end
  4768. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  4769.                  ModeOfGlitch = 2
  4770. storehumanoidWS = 16
  4771. hum.WalkSpeed = 16
  4772. rainbowmode = false
  4773. chaosmode = false
  4774. RecolorTextAndRename("Mysterious Guest",Color3.new(0,0,0),BrickColor.new("Really red").Color,"Code")
  4775. newTheme("rbxassetid://660801673",0,1.1,1.25)
  4776. MAINRUINCOLOR = BrickColor.new("Really black")
  4777. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4778. end
  4779. if k == "m" and attack == false and ModeOfGlitch == 7 then
  4780.                  ModeOfGlitch = 7
  4781. storehumanoidWS = 999
  4782. hum.WalkSpeed = 999
  4783. rainbowmode = false
  4784. chaosmode = false
  4785. RecolorTextAndRename("INSANELY FAST GUEST",Color3.new(0,0,0),BrickColor.new("Toothpaste").Color,"Cartoon")
  4786. newTheme("rbxassetid://1312492868",0,2,1.25)
  4787. MAINRUINCOLOR = BrickColor.new("Really blue")
  4788. RecolorThing(MAINRUINCOLOR,BrickColor.new("Navy blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4789. end
  4790. if k == "m" and attack == false and ModeOfGlitch == 1 then
  4791.                  ModeOfGlitch = 6699
  4792. storehumanoidWS = 16
  4793. hum.WalkSpeed = 16
  4794. rainbowmode = false
  4795. chaosmode = false
  4796. RecolorTextAndRename("Suggestable Behavior Guest...",Color3.new(0,0,0),BrickColor.new("Pink").Color,"Cartoon")
  4797. newTheme("rbxassetid://1131624146",0,1,1.25)
  4798. MAINRUINCOLOR = BrickColor.new("Really blue")
  4799. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4800. end
  4801. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  4802.                  ModeOfGlitch = 3
  4803. storehumanoidWS = 16
  4804. hum.WalkSpeed = 16
  4805. rainbowmode = false
  4806. chaosmode = false
  4807. RecolorTextAndRename("C_od+E Guest",Color3.new(0,0,0),Color3.new(0,0.5,0),"Code")
  4808. newTheme("rbxassetid://919231299",0,1.01,1.25)
  4809. MAINRUINCOLOR = BrickColor.new("Forest green")
  4810. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4811. end
  4812. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  4813.                  ModeOfGlitch = 4
  4814. storehumanoidWS = 16
  4815. hum.WalkSpeed = 16
  4816. rainbowmode = false
  4817. chaosmode = false
  4818. RecolorTextAndRename("Controlled Guest",Color3.new(0,0,0.25),BrickColor.new("Really red").Color,"Code")
  4819. newTheme("rbxassetid://1430790805",1,1,10)
  4820. MAINRUINCOLOR = BrickColor.new("Navy blue")
  4821. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4822. end
  4823. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  4824.                  ModeOfGlitch = 5
  4825. storehumanoidWS = 16
  4826. hum.WalkSpeed = 16
  4827. rainbowmode = false
  4828. chaosmode = false
  4829. RecolorTextAndRename("Solar Guest.",Color3.new(1,0.5,0),Color3.new(1,1,0),"Fantasy")
  4830. newTheme("rbxassetid://1146120545",0,1.2,1.25)
  4831. MAINRUINCOLOR = BrickColor.new("Deep orange")
  4832. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4833. end
  4834. if k == "m" and attack == false and ModeOfGlitch == 5 then
  4835.                  ModeOfGlitch = 7
  4836. storehumanoidWS = 16
  4837. hum.WalkSpeed = 16
  4838. rainbowmode = false
  4839. chaosmode = false
  4840. RecolorTextAndRename("Serene Guest",Color3.new(0,0,0.3),Color3.new(0,0,0.2),"Code")
  4841. newTheme("rbxassetid://1146120545",0,1.2,1.25)
  4842. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  4843. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4844. end
  4845. if k == "m" and attack == false and ModeOfGlitch == 9 then
  4846.                  ModeOfGlitch = 25
  4847. storehumanoidWS = 16
  4848. hum.WalkSpeed = 16
  4849. rainbowmode = false
  4850. chaosmode = false
  4851. RecolorTextAndRename("This isn't a guest glitcher form",Color3.new(1,0,1),Color3.new(0,0,0.3),"Fantasy")
  4852. newTheme("rbxassetid://1146120545",0,1.2,1.25)
  4853. MAINRUINCOLOR = BrickColor.new("Really blue")
  4854. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4855. end
  4856. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  4857.                  ModeOfGlitch = 6
  4858. storehumanoidWS = 100
  4859. hum.WalkSpeed = 100
  4860. rainbowmode = false
  4861. chaosmode = false
  4862. RecolorTextAndRename("Justice Guest",Color3.new(0,0,0.5),Color3.new(0.75,1,1),"Fantasy")
  4863. newTheme("rbxassetid://186267011",0,1.1,1.25)
  4864. MAINRUINCOLOR = BrickColor.new("Navy blue")
  4865. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4866. end
  4867. if k == "p" and attack == false and ModeOfGlitch ~= 7 then
  4868.                  ModeOfGlitch = 7
  4869. storehumanoidWS = 175
  4870. hum.WalkSpeed = 175
  4871. rainbowmode = false
  4872. chaosmode = false
  4873. RecolorTextAndRename("Speedy Guest",BrickColor.new("Cyan").Color,BrickColor.new("Toothpaste").Color,"Code")
  4874. newTheme("rbxassetid://1522980500",0,1.01,1.25)
  4875. MAINRUINCOLOR = BrickColor.new("Cyan")
  4876. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4877. end
  4878. if k == "g" and attack == false and ModeOfGlitch ~= 8 then
  4879. ModeOfGlitch = 8
  4880. storehumanoidWS = 100
  4881. hum.WalkSpeed = 100
  4882. rainbowmode = false
  4883. chaosmode = false
  4884. RecolorTextAndRename("ENRAGED GUEST",BrickColor.new("Really red").Color,BrickColor.new("Deep blue").Color,"Antique")
  4885. newTheme("rbxassetid://183142252",0,1.2,1.65)
  4886. MAINRUINCOLOR = BrickColor.new("Really red")
  4887. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4888. end
  4889. if k == "h" and attack == false and ModeOfGlitch ~= 9 then
  4890.                  ModeOfGlitch = 9
  4891. storehumanoidWS = 135
  4892. hum.WalkSpeed = 135
  4893. rainbowmode = false
  4894. chaosmode = false
  4895. RecolorTextAndRename("Peaceful Guest.",BrickColor.new("Navy blue").Color,BrickColor.new("Toothpaste").Color,"Arcade")
  4896. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4897. MAINRUINCOLOR = BrickColor.new("Navy blue")
  4898. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4899. end
  4900. if k == "j" and attack == false and ModeOfGlitch ~= 10 then
  4901.                  ModeOfGlitch = 10
  4902. storehumanoidWS = 12
  4903. hum.WalkSpeed = 12
  4904. rainbowmode = false
  4905. chaosmode = false
  4906. RecolorTextAndRename("Lucid Guest.",BrickColor.new("Navy blue").Color,BrickColor.new("Deep blue").Color,"Garamond")
  4907. newTheme("rbxassetid://328340676",0,1.01,1.65)
  4908. MAINRUINCOLOR = BrickColor.new("Black")
  4909. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4910. end
  4911. if k == "m" and attack == false and ModeOfGlitch == 10 then
  4912.                  ModeOfGlitch = 30
  4913. storehumanoidWS = 12
  4914. hum.WalkSpeed = 12
  4915. rainbowmode = false
  4916. chaosmode = false
  4917. RecolorTextAndRename("Frozen Guest.",BrickColor.new("Toothpaste").Color,BrickColor.new("Light pastel blue").Color,"Garamond")
  4918. newTheme("rbxassetid://561833161",0,1.1,1.65)
  4919. MAINRUINCOLOR = BrickColor.new("Light pastel blue")
  4920. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4921. end
  4922. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 2000000000 then
  4923.                  ModeOfGlitch = 2000000000
  4924. storehumanoidWS = 200
  4925. hum.WalkSpeed = 200
  4926. rainbowmode = false
  4927. chaosmode = false
  4928. RecolorTextAndRename("GUEST'S FINAL ACT",BrickColor.new("Navy blue").Color,BrickColor.new("Really red").Color,"Antique")
  4929. newThemeCust("rbxassetid://496055561",0.8, 0.8, 10)
  4930. MAINRUINCOLOR = BrickColor.new("Really red")
  4931. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4932. end
  4933.  
  4934. if k == "b" and attack == false and ModeOfGlitch == 2000000000 then
  4935.                  ModeOfGlitch = 1346
  4936. storehumanoidWS = 12
  4937. hum.WalkSpeed = 12
  4938. rainbowmode = false
  4939. chaosmode = false
  4940. RecolorTextAndRename("REVENGEFUL GUEST",BrickColor.new("Really red").Color,BrickColor.new("Maroon").Color,"Cartoon")
  4941. newTheme("rbxassetid://1625328647",0,1,1.65)
  4942. MAINRUINCOLOR = BrickColor.new("Really red")
  4943. RecolorThing(MAINRUINCOLOR,BrickColor.new("Maroon"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4944. end
  4945.  
  4946. if k == "f" and attack == false and ModeOfGlitch ~= 9600000000 then
  4947. loveydovey()
  4948. end
  4949. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 6000000000 then
  4950. UnknownA()
  4951. end
  4952. if k == "b" and ModeOfGlitch == 6000000000 and attack == false then
  4953. harmonytaunty()
  4954. elseif k == "b" and ModeOfGlitch == 9 and attack == false then
  4955. vistaunty()
  4956. elseif k == "b" and ModeOfGlitch == 9600000000 and attack == false then
  4957. shytaunty()
  4958. end
  4959. if k == "z" and ModeOfGlitch == 1 and attack == false then
  4960. Beams()
  4961. elseif k == "z" and ModeOfGlitch == 2 and attack == false  then
  4962. smiter()
  4963. elseif k == "z" and ModeOfGlitch == 2000000000 and attack == false  then
  4964. supsmiter()
  4965. elseif k == "z" and ModeOfGlitch == 6000000000 and ModeOfGlitch == 3 and attack == false then
  4966. BinaryE()
  4967. elseif k == "x" and ModeOfGlitch == 6000000000 and attack == false then
  4968. AZUREFINALE()
  4969. elseif k == "c" and ModeOfGlitch == 6000000000 and attack == false then
  4970. AZUREFINALE()
  4971. elseif k == "z" and ModeOfGlitch == 4 and attack == false  then
  4972. BinaryBLINK()
  4973. elseif k == "x" and ModeOfGlitch == 4 and attack == false  then
  4974. ExtinctiveHeartbreak()
  4975. elseif k == "z" and ModeOfGlitch == 5 and attack == false  then
  4976. Fireball()
  4977. elseif k == "z" and ModeOfGlitch == 6 and attack == false  then
  4978. GalacticalBeams()
  4979. elseif k == "z" and ModeOfGlitch == 7 and attack == false  then
  4980. WarpedDash()
  4981. elseif k == "z" and ModeOfGlitch == 8 and attack == false  then
  4982. BeamOfDeath()
  4983. elseif k == "z" and ModeOfGlitch == 9 and attack == false  then
  4984. end
  4985. if k == "x" and ModeOfGlitch == 3 and attack == false  then
  4986. BinaryBLINK()
  4987. end
  4988. if k == "v" and ModeOfGlitch == 2000000000 and attack == false then
  4989. AZUREFINALE()
  4990. end
  4991. if k == "k" and attack == false and ModeOfGlitch ~= 666 then
  4992. iNSaNITY()
  4993. end
  4994. if k == "l" and ModeOfGlitch ~= 2 and ModeOfGlitch ~= 999 and attack == false then
  4995. Suicidal()
  4996. end
  4997. if k == "l" and ModeOfGlitch == 2 and ModeOfGlitch ~= 6969 and attack == false then
  4998. BITCHPLEASE()
  4999. end
  5000. if k == "z" and ModeOfGlitch == 4 and ModeOfGlitch == 1 and attack == false then
  5001. ExtinctiveHeartbreak()
  5002. end
  5003. if k == "z" and ModeOfGlitch == 666 and attack == false then
  5004. ChaosGroundStrike()
  5005. end
  5006. if k == "z" and ModeOfGlitch == 999 and attack == false then
  5007. ChaosGroundStrike()
  5008. end
  5009. if k == "o" and mutedtog == false then
  5010. mutedtog = true
  5011. kan.Volume = 0.1
  5012. elseif k == "o" and mutedtog == true then
  5013. mutedtog = false
  5014. kan.Volume = 1.25
  5015. end
  5016. if k == "n" and toggleTag == false then
  5017. toggleTag = true
  5018. modet.TextTransparency = 0
  5019. modet.TextStrokeTransparency = 0
  5020. elseif k == "n" and toggleTag == true then
  5021. toggleTag = false
  5022. modet.TextTransparency = 0.8
  5023. modet.TextStrokeTransparency = 0.8
  5024. end
  5025. if k == "z" and attack == false and ModeOfGlitch == 1 then
  5026. end
  5027. end)
  5028.  
  5029. plr.Chatted:connect(function(message)
  5030. if ModeOfGlitch == 9 then
  5031. if message:sub(1,5) == "play/" then
  5032. OVMID = message:sub(6)
  5033. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5034. elseif message:sub(1,6) == "pitch/" then
  5035. OVMPIT = message:sub(7)
  5036. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5037. elseif message:sub(1,4) == "vol/" then
  5038. OVMVOL = message:sub(5)
  5039. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5040. elseif message:sub(1,7) == "skipto/" then
  5041. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  5042. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  5043. elseif message:sub(1,9) == "telltime/" then
  5044. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  5045. end
  5046. end
  5047. end)
  5048. local rotperm = 0
  5049. coroutine.resume(coroutine.create(function()
  5050. while true do
  5051. for i,v in pairs(char:GetDescendants()) do
  5052.     if v:IsA("Weld") then
  5053.         v.C0 = v.C0:Lerp(v.C0 * CFrame.new(math.random(-100,100)/250,math.random(-100,100)/250,math.random(-100,100)/250) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.1)
  5054.     end
  5055. end
  5056. swait()
  5057. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 then
  5058. swait(0.5)
  5059. sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
  5060. elseif ModeOfGlitch == 5 then
  5061. swait(0.5)
  5062. local rsiz = math.random(1,3)
  5063. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  5064. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  5065. elseif ModeOfGlitch == 9600000000 then
  5066. swait(0.25)
  5067. sphereMK(5,math.random(-14,-8)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0)
  5068. elseif ModeOfGlitch == 6000000000 then
  5069. coroutine.resume(coroutine.create(function()
  5070. swait(5)
  5071. sphereMK(10,math.random(15,45)/45,"Add",root.CFrame*CFrame.new(math.random(-50,50),-40,math.random(-50,50))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,60,-0.01,MAINRUINCOLOR,0)
  5072. end))
  5073. swait(1)
  5074. rotperm = rotperm + 12
  5075. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,MAINRUINCOLOR)
  5076. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,BrickColor.new("Cool yellow"))
  5077. elseif ModeOfGlitch == 9 and kan.PlaybackLoudness >= 50 then
  5078. swait(25 - kan.PlaybackLoudness/80)
  5079. sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR)
  5080. if kan.PlaybackLoudness >= 300 then
  5081. CameraEnshaking(1,3)
  5082. for i = 0, 4 do
  5083. sphereMK(5,math.random(15,35)/150,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,20,-0.01,MAINRUINCOLOR,0)
  5084. end
  5085. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR)
  5086. end
  5087. local notsp = Instance.new("Part", char)
  5088. notsp.CanCollide = false
  5089. notsp.FormFactor = 3
  5090. notsp.Name = "Ring"
  5091. notsp.Material = "Neon"
  5092. notsp.Size = Vector3.new(10, 1, 10)
  5093. if kan.PlaybackLoudness >= 300 then
  5094. notsp.Size = Vector3.new(25, 1, 25)
  5095. end
  5096. notsp.Transparency = 1
  5097. notsp.TopSurface = 0
  5098. notsp.BottomSurface = 0
  5099. notsp.Anchored = true
  5100. notsp.CFrame = root.CFrame*CFrame.new(0,-3,0)
  5101. coroutine.resume(coroutine.create(function()
  5102. local eff = Instance.new("ParticleEmitter",notsp)
  5103. eff.Texture = "rbxassetid://2119689849"
  5104. eff.LightEmission = 0.5
  5105. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  5106. eff.Rate = 300
  5107. eff.Lifetime = NumberRange.new(1)
  5108. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
  5109. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5110. eff.Speed = NumberRange.new(20,40)
  5111. eff.Acceleration = vt(0,-75,0)
  5112. eff.Drag = 1
  5113. eff.Rotation = NumberRange.new(-10,10)
  5114. eff.VelocitySpread = 20
  5115. eff.RotSpeed = NumberRange.new(-1,1)
  5116. coroutine.resume(coroutine.create(function()
  5117. while true do
  5118. swait()
  5119. if eff.Parent ~= nil then
  5120. if ModeOfGlitch == 9 then
  5121. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  5122. elseif ModeOfGlitch ~= 9 then
  5123. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5124. end
  5125. else
  5126. break
  5127. end
  5128. end
  5129. end))
  5130. wait(0.1)
  5131. eff.Enabled = false
  5132. end))
  5133. game:GetService("Debris"):AddItem(notsp, 5)
  5134. end
  5135. end
  5136. end))
  5137.  
  5138.  
  5139. Humanoid.Name = "GGLITCHER"
  5140. Humanoid.MaxHealth = math.huge
  5141. Humanoid.Health = math.huge
  5142. Instance.new("ForceField",char).Visible = false
  5143.  
  5144. idleanim=.4
  5145. while true do
  5146. Humanoid.MaxHealth = math.huge
  5147. Humanoid.Health = math.huge
  5148. if mutedtog == false and duringend == false then
  5149. kan.Volume = currentVol
  5150. elseif mutedtog == true and duringend == false then
  5151. kan.Volume = 0
  5152. end
  5153. if duringend == false then
  5154. kan.PlaybackSpeed = currentPitch
  5155. kan.Pitch = currentPitch
  5156. end
  5157. kan.SoundId = currentThemePlaying
  5158. kan.Looped = true
  5159. kan.Parent = char
  5160. kan:Resume()
  5161.  
  5162. modeteller.Text = string.upper(modet.Text)
  5163. modeteller.TextColor3 = MAINRUINCOLOR.Color
  5164.  
  5165. swait()
  5166. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
  5167.  
  5168. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
  5169. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
  5170. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
  5171. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
  5172. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
  5173. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
  5174. --------------- Visualiser Zone
  5175. if ModeOfGlitch == 9 then
  5176. modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5177. for i, v in pairs(mw2:GetChildren()) do
  5178. if v:IsA("Part") then
  5179. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5180. v.Material = "Neon"
  5181. end
  5182. end
  5183. for i, v in pairs(mw1:GetChildren()) do
  5184. if v:IsA("Part") then
  5185. v.Transparency = 0
  5186. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5187. v.Material = "Neon"
  5188. end
  5189. end
  5190. end
  5191. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  5192. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  5193. ---------------
  5194.   sine = sine + change
  5195. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  5196. local velderp=RootPart.Velocity.y
  5197. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  5198. if equipped==true or equipped==false then
  5199. if attack==false then
  5200. idle=idle+1
  5201. else
  5202. idle=0
  5203. end
  5204. if idle>=500 then
  5205. if attack==false then
  5206. --Sheath()
  5207. end
  5208. end
  5209. if RootPart.Velocity.y > 1 and hitfloor==nil then
  5210. Anim="Jump"
  5211. if attack==false then
  5212. RH.C0=clerp(RH.C0,cf(1,-0.35 - 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)),.1)
  5213. 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)
  5214. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  5215. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  5216. 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)
  5217. 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)
  5218. end
  5219. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  5220. Anim="Fall"
  5221. if attack==false then
  5222. RH.C0=clerp(RH.C0,cf(1,-0.35 - 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)),.1)
  5223. 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)
  5224. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  5225. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  5226. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  5227. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  5228. end
  5229. elseif torvel<1 and hitfloor~=nil then
  5230. Anim="Idle" --shitglitcher
  5231. if attack==false then
  5232. if ModeOfGlitch == 1 then
  5233. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.sin(sine / 14),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-200.5),math.rad(0),math.rad(200 + 124534 * math.cos(sine / .1))),.8)
  5234. LH.C0=clerp(LH.C0,cf(-16,-1 - 0.034565 * math.sin(sine / .14),0)*angles(math.rad(0),math.rad(-90346),math.rad(0))*angles(math.rad(-23456.5),math.rad(0),math.rad(1 + 13456 * math.cos(sine / 14))),.1)
  5235. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.sin(sine / .14))*angles(math.rad(23540 * math.sin(sine / .14)),math.rad(0),math.rad(math.random(-234564,2546345))),.1)
  5236. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5, 0.3 - 0.2 * math.sin(sine / .14)),math.rad(0),math.rad(345620)),.6)
  5237. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.2 * math.sin(sine / 14),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / .14)),math.rad(0),math.rad(-1345634500 - 345632.5 * math.sin(sine * 14))),.8)
  5238. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.2 * math.sin(sine / 14),-0.65)*angles(math.rad(40 - 1 * math.sin(sine / .04)),math.rad(math.random(-234564,2546345)),math.rad(346354 * math.cos(sine / 14))),.1)
  5239. elseif ModeOfGlitch == 2 then
  5240. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / .28) * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(math.random(-234564,2546345) * math.cos(sine / 45)),math.rad(0),math.rad(4532 * math.cos(sine / .34))),.1)
  5241. LH.C0=clerp(LH.C0,cf(1,-.1 - 0.05 * math.cos(sine / .28) * math.cos(sine / .45),0)*angles(math.rad(0),math.rad(-math.random(-234564,2546345)),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5242. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(.3 * math.cos(sine / .45),.2 * math.cos(sine / .134),0.5 * math.cos(sine / .28))*angles(math.rad(math.random(-234564,2546345) * math.cos(sine / .34)),math.rad(math.random(-234564,2546345) * math.cos(sine / .45)),math.rad(0)),.1)
  5243. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1)
  5244. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1)
  5245. LW.C0=clerp(LW.C0,cf(-1.5,.5 * math.cos(sine / .28),.65)*angles(math.rad(math.random(-234564,2546345)* math.cos(sine / .34)),math.rad(math.random(-234564,2546345)),math.rad(math.random(-234564,2546345) * math.cos(sine / .28))),.1)
  5246. elseif ModeOfGlitch == 6969 then
  5247. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  5248. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  5249. 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)
  5250. 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)
  5251. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  5252. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  5253. elseif ModeOfGlitch == 666 then
  5254. 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)
  5255. 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)
  5256. 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)
  5257. 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)
  5258. 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)
  5259. 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)
  5260. elseif ModeOfGlitch == 1346 then
  5261. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  5262. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5263. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  5264. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  5265. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
  5266. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
  5267. elseif ModeOfGlitch == 999 then
  5268. 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)
  5269. 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)
  5270. 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)
  5271. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5272. 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)
  5273. 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)
  5274. elseif ModeOfGlitch == 10 then
  5275. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5276. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0)), 0.3)
  5277. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-4.5), math.rad(0), math.rad(0)), 0.15)
  5278. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.15)
  5279. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  5280. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  5281. elseif ModeOfGlitch == 3 then
  5282. 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(-5 - 2 * math.cos(sine / 34))),.1)
  5283. 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(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5284. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
  5285. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
  5286. RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
  5287. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
  5288. elseif ModeOfGlitch == 4 then
  5289. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5290. 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)
  5291. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
  5292. 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)
  5293. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5294. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5295. elseif ModeOfGlitch == 5 then
  5296. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  5297. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5298. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  5299. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  5300. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
  5301. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
  5302. elseif ModeOfGlitch == 6 then
  5303. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-10 + 4 * math.cos(sine / 34))),.1)
  5304. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(5 + 2 * math.cos(sine / 34))),.1)
  5305. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 53))),.1)
  5306. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1)
  5307. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(0),math.rad(14 + 8 * math.cos(sine / 28))),.1)
  5308. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1)
  5309. elseif ModeOfGlitch == 7 then
  5310. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(1),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  5311. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5312. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5313. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1)
  5314. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1)
  5315. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1)
  5316. elseif ModeOfGlitch == 8 then
  5317. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  5318. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  5319. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  5320. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  5321. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1)
  5322. LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
  5323. elseif ModeOfGlitch == 9 then
  5324. 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)
  5325. 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)
  5326. 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)
  5327. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  5328. 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)
  5329. 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)
  5330. elseif ModeOfGlitch == 2000000000 then
  5331. 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)
  5332. 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)
  5333. 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)
  5334. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5335. 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)
  5336. 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)
  5337. elseif ModeOfGlitch == 6000000000 then
  5338. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-15 + 6 * math.cos(sine / 34))),.1)
  5339. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(7.5 - 4 * math.cos(sine / 47))),.1)
  5340. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-1 + 4 * math.cos(sine / 62))),.1)
  5341. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 28)),math.rad(5 - 6 * math.cos(sine / 79)),math.rad(1 - 4 * math.cos(sine / 62))),.1)
  5342. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(38 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-95 - 3 * math.cos(sine / 28))),.1)
  5343. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(45 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(80 + 5 * math.cos(sine / 30))),.1)
  5344. elseif ModeOfGlitch == 9600000000 then
  5345. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  5346. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  5347. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  5348. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5 - 2.5 * math.cos(sine / 28)),math.rad(10 + 5 * math.cos(sine / 62)),math.rad(17 + 5 * math.cos(sine / 59))),.1)
  5349. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
  5350. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
  5351. end
  5352. end
  5353. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  5354. Anim="Walk"
  5355. if attack==false then
  5356. if ModeOfGlitch == 10 then
  5357. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(4-2.5 * math.cos(sine / 3.5)), math.rad(0) - root.RotVelocity.Y / 75, math.rad(5 * math.cos(sine / 7))), 0.15)
  5358. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
  5359. RH.C0 = clerp(RH.C0, cf(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 5 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  5360. LH.C0 = clerp(LH.C0, cf(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 5 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  5361. RW.C0 = clerp(RW.C0, cf(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  5362. LW.C0 = clerp(LW.C0, cf(-1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  5363. elseif ModeOfGlitch == 666 then
  5364. 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)
  5365. 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)
  5366. 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)
  5367. 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)
  5368. 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)
  5369. 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)
  5370. elseif ModeOfGlitch == 999 then
  5371. 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)
  5372. 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)
  5373. 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)
  5374. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5375. 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)
  5376. 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)
  5377. elseif ModeOfGlitch ~= 9600000000 then
  5378. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  5379. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  5380. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  5381. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  5382. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  5383. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  5384. elseif ModeOfGlitch == 9600000000 then
  5385. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  5386. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  5387. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(15 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
  5388. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15 + 3 * math.cos(sine / 4)),math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0 - hed.RotVelocity.Y*2.5 + 10 * math.cos(sine / 8))),.1)
  5389. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 80 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  5390. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 80 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  5391. end
  5392. end
  5393. elseif torvel>=22 and hitfloor~=nil then
  5394. Anim="Run"
  5395. if attack==false then
  5396. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 2000000000 and ModeOfGlitch ~= 6000000000 then
  5397. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
  5398. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
  5399. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(15 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 6))),.1)
  5400. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5 + 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 6))),.1)
  5401. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
  5402. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
  5403. if ModeOfGlitch == 7 then
  5404. end
  5405. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 then
  5406. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(9230),math.rad(0))*angles(math.rad(1234.5),math.rad(0),math.rad(-3562- 553 * math.cos(sine / .2))),.2)
  5407. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90000),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(223450 + 200 * math.cos(sine / .38))),.2)
  5408. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  5409. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  5410. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  5411. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / .67)),math.rad(-2000 - 235 * math.cos(sine / 2))),.2)
  5412. end
  5413. end
  5414. end
  5415. end
  5416. end
Add Comment
Please, Sign In to add comment