Advertisement
Vintage-Furry

GG2

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