Advertisement
Vintage-Furry

fan edit

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