Advertisement
Guest User

Untitled

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