Advertisement
Guest User

Untitled

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