Advertisement
PixelDerpIsUber2

Untitled

Oct 19th, 2019
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 374.02 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152. -----------------------
  153. --MemeusV2--
  154. -------------------------------------------------------
  155. --A script By makhail07
  156.  
  157. --This edit by 2003boobear
  158.  
  159. --Discord Creterisk#2958 (not 2003boobear's discord)
  160. -------------------------------------------------------
  161.  
  162. local FavIDs = {
  163. 340106355, --Nefl Crystals
  164. 927529620, --Dimension
  165. 876981900, --Fantasy
  166. 398987889, --Ordinary Days
  167. 1117396305, --Oh wait, it's you.
  168. 885996042, --Action Winter Journey
  169. 919231299, --Sprawling Idiot Effigy
  170. 743466274, --Good Day Sunshine
  171. 727411183, --Knife Fight
  172. 1402748531, --The Earth Is Counting On You!
  173. 595230126 --Robot Language
  174. }
  175.  
  176.  
  177.  
  178. --The reality of my life isn't real but a Universe -makhail07
  179. wait()
  180. local Player = game.Players.localPlayer
  181. local Character = Player.Character
  182. local plr = game:service'Players'.LocalPlayer
  183. local Humanoid = Character.Humanoid
  184. local char = plr.Character
  185. local hum = char.Humanoid
  186. local ra = char["Right Arm"]
  187. local la= char["Left Arm"]
  188. local rl= char["Right Leg"]
  189. local ll = char["Left Leg"]
  190. local hed = char.Head
  191. local root = char.HumanoidRootPart
  192. local rootj = root.RootJoint
  193. local tors = char.Torso
  194. local mouse = plr:GetMouse()
  195. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  196. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  197. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  198. local cam = game.Workspace.CurrentCamera
  199. trazx = Instance.new("ParticleEmitter")
  200. c = game.Players.LocalPlayer.Character
  201.  
  202. --where i put all the warn things
  203.  
  204. warn ("Well Look at that, I finished it.")
  205. --Looks Like you decided to look though the script. Well, Hello.
  206. warn ("I had a fun time making this edit.")
  207. --I Really DID have fun editing this.
  208. warn ("I hope you Enjoy this. Go have Fun!")
  209. --Just don't abuse.
  210. warn ("Also, the original MemeusV2 was made by makhail07.")
  211. --Support makhail07 for making the original!
  212. warn ("This edit was made by me, 2003boobear.")
  213. --This is one of my best edits BY FAR, though.
  214. Character.Head.face.Texture = "rbxassetid://620619801"
  215.  
  216. -------------------------------------------------------
  217. --Start Good Stuff--
  218. -------------------------------------------------------
  219. CF = CFrame.new
  220. angles = CFrame.Angles
  221. attack = false
  222. timetofly = true
  223. Euler = CFrame.fromEulerAnglesXYZ
  224. Rad = math.rad
  225. IT = Instance.new
  226. BrickC = BrickColor.new
  227. Cos = math.cos
  228. Acos = math.acos
  229. Sin = math.sin
  230. Asin = math.asin
  231. Abs = math.abs
  232. Mrandom = math.random
  233. Floor = math.floor
  234. random = math.random
  235. radian = math.rad
  236. Vec3 = Vector3.new
  237. cFrame = CFrame.new
  238. Euler = CFrame.fromEulerAnglesXYZ
  239. -------------------------------------------------------
  240. --End Good Stuff--
  241. -------------------------------------------------------
  242. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  243. RSH, LSH = nil, nil
  244. RW = Instance.new("Weld")
  245. LW = Instance.new("Weld")
  246. RH = tors["Right Hip"]
  247. LH = tors["Left Hip"]
  248. RSH = tors["Right Shoulder"]
  249. LSH = tors["Left Shoulder"]
  250. RSH.Parent = nil
  251. LSH.Parent = nil
  252. RW.Name = "RW"
  253. RW.Part0 = tors
  254. RW.C0 = CF(1.5, 0.5, 0)
  255. RW.C1 = CF(0, 0.5, 0)
  256. RW.Part1 = ra
  257. RW.Parent = tors
  258. LW.Name = "LW"
  259. LW.Part0 = tors
  260. LW.C0 = CF(-1.5, 0.5, 0)
  261. LW.C1 = CF(0, 0.5, 0)
  262. LW.Part1 = la
  263. LW.Parent = tors
  264. Effects = {}
  265.  
  266. -------------------------------------------------------
  267. --Start HeartBeat--
  268. -------------------------------------------------------
  269. ArtificialHB = Instance.new("BindableEvent", script)
  270. ArtificialHB.Name = "Heartbeat"
  271. script:WaitForChild("Heartbeat")
  272.  
  273. frame = 1 / 60
  274. tf = 0
  275. allowframeloss = false
  276. tossremainder = false
  277.  
  278.  
  279. lastframe = tick()
  280. script.Heartbeat:Fire()
  281.  
  282.  
  283. game:GetService("RunService").Heartbeat:connect(function(s, p)
  284. tf = tf + s
  285. if tf >= frame then
  286. if allowframeloss then
  287. script.Heartbeat:Fire()
  288. lastframe = tick()
  289. else
  290. for i = 1, math.floor(tf / frame) do
  291. script.Heartbeat:Fire()
  292. end
  293. lastframe = tick()
  294. end
  295. if tossremainder then
  296. tf = 0
  297. else
  298. tf = tf - frame * math.floor(tf / frame)
  299. end
  300. end
  301. end)
  302. -------------------------------------------------------
  303. --End HeartBeat--
  304. -------------------------------------------------------
  305.  
  306. function CameraEnshaking(Length, Intensity) --Took Straight from StarGlitcher!
  307. coroutine.resume(coroutine.create(function()
  308. local intensity = 1 * Intensity
  309. local rotM = 0.01 * Intensity
  310. for i = 0, Length, 0.1 do
  311. swait()
  312. intensity = intensity - 0.05 * Intensity / Length
  313. rotM = rotM - 5.0E-4 * Intensity / Length
  314. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  315. 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)
  316. end
  317. Humanoid.CameraOffset = Vec3(0, 0, 0)
  318. end))
  319. end
  320.  
  321. local joyemoji = Instance.new('ParticleEmitter', tors)
  322. joyemoji.VelocitySpread = 2000
  323. joyemoji.Lifetime = NumberRange.new(1)
  324. joyemoji.Speed = NumberRange.new(40)
  325. joy= {}
  326. for i=0, 19 do
  327. joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  328. end
  329. joyemoji.Size = NumberSequence.new(joy)
  330. joyemoji.Rate = 0
  331. joyemoji.LockedToPart = false
  332. joyemoji.LightEmission = 0
  333. joyemoji.Texture = "rbxassetid://1176402123"
  334. joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  335.  
  336.  
  337. local LIT = Instance.new('ParticleEmitter', tors)
  338. LIT.VelocitySpread = 2000
  339. LIT.Lifetime = NumberRange.new(1)
  340. LIT.Speed = NumberRange.new(45)
  341. nani= {}
  342. for i=0, 19 do
  343. nani[#nani+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  344. end
  345. LIT.Size = NumberSequence.new(nani)
  346. LIT.Rate = 0
  347. LIT.LockedToPart = false
  348. LIT.LightEmission = 0
  349. LIT.Texture = "rbxassetid://1492670151"
  350. LIT.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  351.  
  352. local toast = Instance.new('ParticleEmitter', tors)
  353. toast.VelocitySpread = 2000
  354. toast.Lifetime = NumberRange.new(1)
  355. toast.Speed = NumberRange.new(60)
  356. toasterstoasttoast= {}
  357. for i=0, 19 do
  358. toasterstoasttoast[#toasterstoasttoast+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  359. end
  360. toast.Size = NumberSequence.new(toasterstoasttoast)
  361. toast.Rate = 0
  362. toast.LockedToPart = false
  363. toast.LightEmission = 0
  364. toast.Texture = "rbxassetid://436096230"
  365. toast.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  366.  
  367. local ok = Instance.new('ParticleEmitter', tors)
  368. ok.VelocitySpread = 2000
  369. ok.Lifetime = NumberRange.new(1)
  370. ok.Speed = NumberRange.new(50)
  371. cool= {}
  372. for i=0, 19 do
  373. cool[#cool+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  374. end
  375. ok.Size = NumberSequence.new(cool)
  376. ok.Rate = 0
  377. ok.LockedToPart = false
  378. ok.LightEmission = 0
  379. ok.Texture = "rbxassetid://636768448"
  380. ok.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  381.  
  382. -------------------------------------------------------
  383. --Start Kyu's shitty stuff--
  384. -------------------------------------------------------
  385.  
  386. function ragdoll(model)
  387. local char = model
  388. torso = char.HumanoidRootPart
  389. torso2 = char.Torso
  390. LW.Parent = nil
  391. RW.Parent = nil
  392. LH.Parent = nil
  393. RH.Parent = nil
  394. if hum ~= nil then
  395. hum.PlatformStand = true
  396. end
  397.  
  398. local Head = char:FindFirstChild("Head")
  399. if Head then
  400. local Neck = Instance.new("Weld")
  401. Neck.Name = "Neck"
  402. Neck.Part0 = torso
  403. Neck.Part1 = Head
  404. Neck.C0 = CFrame.new(0, 1.5, 0)
  405. Neck.C1 = CFrame.new()
  406. Neck.Parent = torso
  407. end
  408. local Limb = char:FindFirstChild("Right Arm")
  409. if Limb then
  410.  
  411. Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0)
  412. local Joint = Instance.new("Glue")
  413. Joint.Name = "RightShoulder"
  414. Joint.Part0 = torso
  415. Joint.Part1 = Limb
  416. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  417. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  418. Joint.Parent = torso
  419.  
  420. local B = Instance.new("Part")
  421. B.TopSurface = 0
  422. B.BottomSurface = 0
  423. B.formFactor = "Symmetric"
  424. B.Size = Vector3.new(1, 1, 1)
  425. B.Transparency = 1
  426. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  427. B.Parent = char
  428. local W = Instance.new("Weld")
  429. W.Part0 = Limb
  430. W.Part1 = B
  431. W.C0 = CFrame.new(0, -0.5, 0)
  432. W.Parent = Limb
  433.  
  434. end
  435. local Limb = char:FindFirstChild("Left Arm")
  436. if Limb then
  437.  
  438. Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0)
  439. local Joint = Instance.new("Glue")
  440. Joint.Name = "LeftShoulder"
  441. Joint.Part0 = torso
  442. Joint.Part1 = Limb
  443. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  444. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  445. Joint.Parent = torso
  446.  
  447. local B = Instance.new("Part")
  448. B.TopSurface = 0
  449. B.BottomSurface = 0
  450. B.formFactor = "Symmetric"
  451. B.Size = Vector3.new(1, 1, 1)
  452. B.Transparency = 1
  453. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  454. B.Parent = char
  455. local W = Instance.new("Weld")
  456. W.Part0 = Limb
  457. W.Part1 = B
  458. W.C0 = CFrame.new(0, -0.5, 0)
  459. W.Parent = Limb
  460.  
  461. end
  462. local Limb = char:FindFirstChild("Right Leg")
  463. if Limb then
  464.  
  465. Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0)
  466. local Joint = Instance.new("Glue")
  467. Joint.Name = "RightHip"
  468. Joint.Part0 = torso
  469. Joint.Part1 = Limb
  470. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  471. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  472. Joint.Parent = torso
  473.  
  474. local B = Instance.new("Part")
  475. B.TopSurface = 0
  476. B.BottomSurface = 0
  477. B.formFactor = "Symmetric"
  478. B.Size = Vector3.new(1, 1, 1)
  479. B.Transparency = 1
  480. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  481. B.Parent = char
  482. local W = Instance.new("Weld")
  483. W.Part0 = Limb
  484. W.Part1 = B
  485. W.C0 = CFrame.new(0, -0.5, 0)
  486. W.Parent = Limb
  487.  
  488. end
  489. local Limb = char:FindFirstChild("Left Leg")
  490. if Limb then
  491.  
  492. Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0)
  493. local Joint = Instance.new("Glue")
  494. Joint.Name = "LeftHip"
  495. Joint.Part0 = torso
  496. Joint.Part1 = Limb
  497. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  498. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  499. Joint.Parent = torso
  500.  
  501. local B = Instance.new("Part")
  502. B.TopSurface = 0
  503. B.BottomSurface = 0
  504. B.formFactor = "Symmetric"
  505. B.Size = Vector3.new(1, 1, 1)
  506. B.Transparency = 1
  507. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  508. B.Parent = char
  509. local W = Instance.new("Weld")
  510. W.Part0 = Limb
  511. W.Part1 = B
  512. W.C0 = CFrame.new(0, -0.5, 0)
  513. W.Parent = Limb
  514.  
  515. end
  516. --[
  517. local Bar = Instance.new("Part")
  518. Bar.TopSurface = 0
  519. Bar.BottomSurface = 0
  520. Bar.formFactor = "Symmetric"
  521. Bar.Size = Vector3.new(1, 1, 1)
  522. Bar.Transparency = 1
  523. Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0)
  524. Bar.Parent = char
  525. local Weld = Instance.new("Weld")
  526. Weld.Part0 = torso
  527. Weld.Part1 = Bar
  528. Weld.C0 = CFrame.new(0, 0.5, 0)
  529. Weld.Parent = torso
  530. --]]
  531.  
  532. torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z))
  533.  
  534. end
  535.  
  536. -------------------------------------------------------
  537. --End Kyu's shitty stuff--
  538. -------------------------------------------------------
  539.  
  540. -------------------------------------------------------
  541. --Start Important Functions--
  542. -------------------------------------------------------
  543. function swait(num)
  544. if num == 0 or num == nil then
  545. game:service("RunService").Stepped:wait(0)
  546. else
  547. for i = 0, num do
  548. game:service("RunService").Stepped:wait(0)
  549. end
  550. end
  551. end
  552. function thread(f)
  553. coroutine.resume(coroutine.create(f))
  554. end
  555. function clerp(a, b, t)
  556. local qa = {
  557. QuaternionFromCFrame(a)
  558. }
  559. local qb = {
  560. QuaternionFromCFrame(b)
  561. }
  562. local ax, ay, az = a.x, a.y, a.z
  563. local bx, by, bz = b.x, b.y, b.z
  564. local _t = 1 - t
  565. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  566. end
  567. function QuaternionFromCFrame(cf)
  568. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  569. local trace = m00 + m11 + m22
  570. if trace > 0 then
  571. local s = math.sqrt(1 + trace)
  572. local recip = 0.5 / s
  573. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  574. else
  575. local i = 0
  576. if m00 < m11 then
  577. i = 1
  578. end
  579. if m22 > (i == 0 and m00 or m11) then
  580. i = 2
  581. end
  582. if i == 0 then
  583. local s = math.sqrt(m00 - m11 - m22 + 1)
  584. local recip = 0.5 / s
  585. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  586. elseif i == 1 then
  587. local s = math.sqrt(m11 - m22 - m00 + 1)
  588. local recip = 0.5 / s
  589. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  590. elseif i == 2 then
  591. local s = math.sqrt(m22 - m00 - m11 + 1)
  592. local recip = 0.5 / s
  593. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  594. end
  595. end
  596. end
  597. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  598. local xs, ys, zs = x + x, y + y, z + z
  599. local wx, wy, wz = w * xs, w * ys, w * zs
  600. local xx = x * xs
  601. local xy = x * ys
  602. local xz = x * zs
  603. local yy = y * ys
  604. local yz = y * zs
  605. local zz = z * zs
  606. 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))
  607. end
  608. function QuaternionSlerp(a, b, t)
  609. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  610. local startInterp, finishInterp
  611. if cosTheta >= 1.0E-4 then
  612. if 1 - cosTheta > 1.0E-4 then
  613. local theta = math.acos(cosTheta)
  614. local invSinTheta = 1 / Sin(theta)
  615. startInterp = Sin((1 - t) * theta) * invSinTheta
  616. finishInterp = Sin(t * theta) * invSinTheta
  617. else
  618. startInterp = 1 - t
  619. finishInterp = t
  620. end
  621. elseif 1 + cosTheta > 1.0E-4 then
  622. local theta = math.acos(-cosTheta)
  623. local invSinTheta = 1 / Sin(theta)
  624. startInterp = Sin((t - 1) * theta) * invSinTheta
  625. finishInterp = Sin(t * theta) * invSinTheta
  626. else
  627. startInterp = t - 1
  628. finishInterp = t
  629. end
  630. 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
  631. end
  632. function rayCast(Position, Direction, Range, Ignore)
  633. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  634. end
  635. local RbxUtility = LoadLibrary("RbxUtility")
  636. local Create = RbxUtility.Create
  637.  
  638. -------------------------------------------------------
  639. --Start Damage Function--
  640. -------------------------------------------------------
  641. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  642. if hit.Parent == nil then
  643. return
  644. end
  645. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  646. for _, v in pairs(hit.Parent:children()) do
  647. if v:IsA("Humanoid") then
  648. h = v
  649. end
  650. end
  651. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  652. warn'No R15 allowed'
  653. hit.Parent:FindFirstChild("Head"):BreakJoints()
  654. end
  655.  
  656. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  657. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  658. if hit.Parent.DebounceHit.Value == true then
  659. return
  660. end
  661. end
  662. if insta == true then
  663. hit.Parent:FindFirstChild("Head"):BreakJoints()
  664. end
  665. local c = Create("ObjectValue"){
  666. Name = "creator",
  667. Value = game:service("Players").LocalPlayer,
  668. Parent = h,
  669. }
  670. game:GetService("Debris"):AddItem(c, .5)
  671. if HitSound ~= nil and HitPitch ~= nil then
  672. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  673. end
  674. local Damage = math.random(minim, maxim)
  675. local blocked = false
  676. local block = hit.Parent:findFirstChild("Block")
  677. if block ~= nil then
  678. if block.className == "IntValue" then
  679. if block.Value > 0 then
  680. blocked = true
  681. block.Value = block.Value - 1
  682. print(block.Value)
  683. end
  684. end
  685. end
  686. if blocked == false then
  687. h.Health = h.Health - Damage
  688. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  689. else
  690. h.Health = h.Health - (Damage / 2)
  691. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  692. end
  693. if Type == "Knockdown" then
  694. local hum = hit.Parent.Humanoid
  695. hum.PlatformStand = true
  696. coroutine.resume(coroutine.create(function(HHumanoid)
  697. swait(1)
  698. HHumanoid.PlatformStand = false
  699. end), hum)
  700. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  701. local bodvol = Create("BodyVelocity"){
  702. velocity = angle * knockback,
  703. P = 5000,
  704. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  705. Parent = hit,
  706. }
  707. local rl = Create("BodyAngularVelocity"){
  708. P = 3000,
  709. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  710. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  711. Parent = hit,
  712. }
  713. game:GetService("Debris"):AddItem(bodvol, .5)
  714. game:GetService("Debris"):AddItem(rl, .5)
  715. elseif Type == "Normal" then
  716. local vp = Create("BodyVelocity"){
  717. P = 500,
  718. maxForce = Vector3.new(math.huge, 0, math.huge),
  719. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  720. }
  721. if knockback > 0 then
  722. vp.Parent = hit.Parent.Torso
  723. end
  724. game:GetService("Debris"):AddItem(vp, .5)
  725. elseif Type == "Up" then
  726. local bodyVelocity = Create("BodyVelocity"){
  727. velocity = Vector3.new(0, 20, 0),
  728. P = 5000,
  729. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  730. Parent = hit,
  731. }
  732. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  733. elseif Type == "DarkUp" then
  734. coroutine.resume(coroutine.create(function()
  735. for i = 0, 1, 0.1 do
  736. swait()
  737. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  738. end
  739. end))
  740. local bodyVelocity = Create("BodyVelocity"){
  741. velocity = Vector3.new(0, 20, 0),
  742. P = 5000,
  743. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  744. Parent = hit,
  745. }
  746. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  747. elseif Type == "Snare" then
  748. local bp = Create("BodyPosition"){
  749. P = 2000,
  750. D = 100,
  751. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  752. position = hit.Parent.Torso.Position,
  753. Parent = hit.Parent.Torso,
  754. }
  755. game:GetService("Debris"):AddItem(bp, 1)
  756. elseif Type == "Freeze" then
  757. local BodPos = Create("BodyPosition"){
  758. P = 50000,
  759. D = 1000,
  760. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  761. position = hit.Parent.Torso.Position,
  762. Parent = hit.Parent.Torso,
  763. }
  764. local BodGy = Create("BodyGyro") {
  765. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  766. P = 20e+003,
  767. Parent = hit.Parent.Torso,
  768. cframe = hit.Parent.Torso.CFrame,
  769. }
  770. hit.Parent.Torso.Anchored = true
  771. coroutine.resume(coroutine.create(function(Part)
  772. swait(1.5)
  773. Part.Anchored = false
  774. end), hit.Parent.Torso)
  775. game:GetService("Debris"):AddItem(BodPos, 3)
  776. game:GetService("Debris"):AddItem(BodGy, 3)
  777. end
  778. local debounce = Create("BoolValue"){
  779. Name = "DebounceHit",
  780. Parent = hit.Parent,
  781. Value = true,
  782. }
  783. game:GetService("Debris"):AddItem(debounce, Delay)
  784. c = Create("ObjectValue"){
  785. Name = "creator",
  786. Value = Player,
  787. Parent = h,
  788. }
  789. game:GetService("Debris"):AddItem(c, .5)
  790. end
  791. end
  792. -------------------------------------------------------
  793. --End Damage Function--
  794. -------------------------------------------------------
  795.  
  796. -------------------------------------------------------
  797. --Start Damage Function Customization--
  798. -------------------------------------------------------
  799. function ShowDamage(Pos, Text, Time, Color)
  800. local Rate = (1 / 30)
  801. local Pos = (Pos or Vector3.new(0, 0, 0))
  802. local Text = (Text or "")
  803. local Time = (Time or 2)
  804. local Color = (Color or Color3.new(1, 0, 1))
  805. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  806. EffectPart.Anchored = true
  807. local BillboardGui = Create("BillboardGui"){
  808. Size = UDim2.new(3, 0, 3, 0),
  809. Adornee = EffectPart,
  810. Parent = EffectPart,
  811. }
  812. local TextLabel = Create("TextLabel"){
  813. BackgroundTransparency = 1,
  814. Size = UDim2.new(1, 0, 1, 0),
  815. Text = Text,
  816. Font = "Highway",
  817. TextColor3 = Color,
  818. TextScaled = true,
  819. Parent = BillboardGui,
  820. }
  821. game.Debris:AddItem(EffectPart, (Time))
  822. EffectPart.Parent = game:GetService("Workspace")
  823. delay(0, function()
  824. local Frames = (Time / Rate)
  825. for Frame = 1, Frames do
  826. wait(Rate)
  827. local Percent = (Frame / Frames)
  828. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  829. TextLabel.TextTransparency = Percent
  830. end
  831. if EffectPart and EffectPart.Parent then
  832. EffectPart:Destroy()
  833. end
  834. end)
  835. end
  836. -------------------------------------------------------
  837. --End Damage Function Customization--
  838. -------------------------------------------------------
  839.  
  840. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  841. for _, c in pairs(workspace:children()) do
  842. local hum = c:findFirstChild("Humanoid")
  843. if hum ~= nil then
  844. local head = c:findFirstChild("Head")
  845. if head ~= nil then
  846. local targ = head.Position - Part.Position
  847. local mag = targ.magnitude
  848. if magni >= mag and c.Name ~= plr.Name then
  849. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
  850. end
  851. end
  852. end
  853. end
  854. end
  855.  
  856.  
  857. CFuncs = {
  858. Part = {
  859. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  860. local Part = Create("Part")({
  861. Parent = Parent,
  862. Reflectance = Reflectance,
  863. Transparency = Transparency,
  864. CanCollide = false,
  865. Locked = true,
  866. BrickColor = BrickColor.new(tostring(BColor)),
  867. Name = Name,
  868. Size = Size,
  869. Material = Material
  870. })
  871. RemoveOutlines(Part)
  872. return Part
  873. end
  874. },
  875. Mesh = {
  876. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  877. local Msh = Create(Mesh)({
  878. Parent = Part,
  879. Offset = OffSet,
  880. Scale = Scale
  881. })
  882. if Mesh == "SpecialMesh" then
  883. Msh.MeshType = MeshType
  884. Msh.MeshId = MeshId
  885. end
  886. return Msh
  887. end
  888. },
  889. Mesh = {
  890. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  891. local Msh = Create(Mesh)({
  892. Parent = Part,
  893. Offset = OffSet,
  894. Scale = Scale
  895. })
  896. if Mesh == "SpecialMesh" then
  897. Msh.MeshType = MeshType
  898. Msh.MeshId = MeshId
  899. end
  900. return Msh
  901. end
  902. },
  903. Weld = {
  904. Create = function(Parent, Part0, Part1, C0, C1)
  905. local Weld = Create("Weld")({
  906. Parent = Parent,
  907. Part0 = Part0,
  908. Part1 = Part1,
  909. C0 = C0,
  910. C1 = C1
  911. })
  912. return Weld
  913. end
  914. },
  915. Sound = {
  916. Create = function(id, par, vol, pit)
  917. coroutine.resume(coroutine.create(function()
  918. local S = Create("Sound")({
  919. Volume = vol,
  920. Pitch = pit or 1,
  921. SoundId = id,
  922. Parent = par or workspace
  923. })
  924. wait()
  925. S:play()
  926. game:GetService("Debris"):AddItem(S, 6)
  927. end))
  928. end
  929. },
  930. ParticleEmitter = {
  931. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  932. local fp = Create("ParticleEmitter")({
  933. Parent = Parent,
  934. Color = ColorSequence.new(Color1, Color2),
  935. LightEmission = LightEmission,
  936. Size = Size,
  937. Texture = Texture,
  938. Transparency = Transparency,
  939. ZOffset = ZOffset,
  940. Acceleration = Accel,
  941. Drag = Drag,
  942. LockedToPart = LockedToPart,
  943. VelocityInheritance = VelocityInheritance,
  944. EmissionDirection = EmissionDirection,
  945. Enabled = Enabled,
  946. Lifetime = LifeTime,
  947. Rate = Rate,
  948. Rotation = Rotation,
  949. RotSpeed = RotSpeed,
  950. Speed = Speed,
  951. VelocitySpread = VelocitySpread
  952. })
  953. return fp
  954. end
  955. }
  956. }
  957. function RemoveOutlines(part)
  958. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  959. end
  960. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  961. local Part = Create("Part")({
  962. formFactor = FormFactor,
  963. Parent = Parent,
  964. Reflectance = Reflectance,
  965. Transparency = Transparency,
  966. CanCollide = false,
  967. Locked = true,
  968. BrickColor = BrickColor.new(tostring(BColor)),
  969. Name = Name,
  970. Size = Size,
  971. Material = Material
  972. })
  973. RemoveOutlines(Part)
  974. return Part
  975. end
  976. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  977. local Msh = Create(Mesh)({
  978. Parent = Part,
  979. Offset = OffSet,
  980. Scale = Scale
  981. })
  982. if Mesh == "SpecialMesh" then
  983. Msh.MeshType = MeshType
  984. Msh.MeshId = MeshId
  985. end
  986. return Msh
  987. end
  988. function CreateWeld(Parent, Part0, Part1, C0, C1)
  989. local Weld = Create("Weld")({
  990. Parent = Parent,
  991. Part0 = Part0,
  992. Part1 = Part1,
  993. C0 = C0,
  994. C1 = C1
  995. })
  996. return Weld
  997. end
  998.  
  999.  
  1000. -------------------------------------------------------
  1001. --Start Effect Function--
  1002. -------------------------------------------------------
  1003. EffectModel = Instance.new("Model", char)
  1004. Effects = {
  1005. Block = {
  1006. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1007. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1008. prt.Anchored = true
  1009. prt.CFrame = cframe
  1010. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1011. game:GetService("Debris"):AddItem(prt, 10)
  1012. if Type == 1 or Type == nil then
  1013. table.insert(Effects, {
  1014. prt,
  1015. "Block1",
  1016. delay,
  1017. x3,
  1018. y3,
  1019. z3,
  1020. msh
  1021. })
  1022. elseif Type == 2 then
  1023. table.insert(Effects, {
  1024. prt,
  1025. "Block2",
  1026. delay,
  1027. x3,
  1028. y3,
  1029. z3,
  1030. msh
  1031. })
  1032. else
  1033. table.insert(Effects, {
  1034. prt,
  1035. "Block3",
  1036. delay,
  1037. x3,
  1038. y3,
  1039. z3,
  1040. msh
  1041. })
  1042. end
  1043. end
  1044. },
  1045. Sphere = {
  1046. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1047. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1048. prt.Anchored = true
  1049. prt.CFrame = cframe
  1050. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0,0,0), Vector3.new(x1, y1, z1))
  1051. game:GetService("Debris"):AddItem(prt, 10)
  1052. table.insert(Effects, {
  1053. prt,
  1054. "Cylinder",
  1055. delay,
  1056. x3,
  1057. y3,
  1058. z3,
  1059. msh
  1060. })
  1061. end
  1062. },
  1063. Cylinder = {
  1064. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1065. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1066. prt.Anchored = true
  1067. prt.CFrame = cframe
  1068. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1069. game:GetService("Debris"):AddItem(prt, 10)
  1070. table.insert(Effects, {
  1071. prt,
  1072. "Cylinder",
  1073. delay,
  1074. x3,
  1075. y3,
  1076. z3,
  1077. msh
  1078. })
  1079. end
  1080. },
  1081. Wave = {
  1082. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1083. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1084. prt.Anchored = true
  1085. prt.CFrame = cframe
  1086. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1087. game:GetService("Debris"):AddItem(prt, 10)
  1088. table.insert(Effects, {
  1089. prt,
  1090. "Cylinder",
  1091. delay,
  1092. x3 / 60,
  1093. y3 / 60,
  1094. z3 / 60,
  1095. msh
  1096. })
  1097. end
  1098. },
  1099. Ring = {
  1100. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1101. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1102. prt.Anchored = true
  1103. prt.CFrame = cframe
  1104. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1105. game:GetService("Debris"):AddItem(prt, 10)
  1106. table.insert(Effects, {
  1107. prt,
  1108. "Cylinder",
  1109. delay,
  1110. x3,
  1111. y3,
  1112. z3,
  1113. msh
  1114. })
  1115. end
  1116. },
  1117. Break = {
  1118. Create = function(brickcolor, cframe, x1, y1, z1)
  1119. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1120. prt.Anchored = true
  1121. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1122. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1123. local num = math.random(10, 50) / 1000
  1124. game:GetService("Debris"):AddItem(prt, 10)
  1125. table.insert(Effects, {
  1126. prt,
  1127. "Shatter",
  1128. num,
  1129. prt.CFrame,
  1130. math.random() - math.random(),
  1131. 0,
  1132. math.random(50, 100) / 100
  1133. })
  1134. end
  1135. },
  1136. Spiral = {
  1137. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1138. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1139. prt.Anchored = true
  1140. prt.CFrame = cframe
  1141. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1142. game:GetService("Debris"):AddItem(prt, 10)
  1143. table.insert(Effects, {
  1144. prt,
  1145. "Cylinder",
  1146. delay,
  1147. x3,
  1148. y3,
  1149. z3,
  1150. msh
  1151. })
  1152. end
  1153. },
  1154. Push = {
  1155. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1156. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1157. prt.Anchored = true
  1158. prt.CFrame = cframe
  1159. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1160. game:GetService("Debris"):AddItem(prt, 10)
  1161. table.insert(Effects, {
  1162. prt,
  1163. "Cylinder",
  1164. delay,
  1165. x3,
  1166. y3,
  1167. z3,
  1168. msh
  1169. })
  1170. end
  1171. }
  1172. }
  1173. -------------------------------------------------------
  1174. --End Effect Function--
  1175. -------------------------------------------------------
  1176.  
  1177. function CreateSound(ID, PARENT, VOLUME, PITCH) --Very important.
  1178. local NSound = nil
  1179. coroutine.resume(coroutine.create(function()
  1180. NSound = Instance.new("Sound", PARENT)
  1181. NSound.Volume = VOLUME
  1182. NSound.Pitch = PITCH
  1183. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1184. swait()
  1185. NSound:play()
  1186. game:GetService("Debris"):AddItem(NSound, 10)
  1187. end))
  1188. return NSound
  1189. end
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195. -------------------------------------------------------
  1196. --End Important Functions--
  1197. -------------------------------------------------------
  1198.  
  1199. chargeup = Instance.new("Sound", hed)
  1200. chargeup.SoundId = "http://www.roblox.com/asset/?id=527276541"
  1201. chargeup.Volume = 10
  1202. chargeup.Pitch = 1
  1203. chargeup.Looped = true
  1204. chargeup.TimePosition = 1
  1205.  
  1206. meme = Instance.new("Sound", hed)
  1207. meme.SoundId = "http://www.roblox.com/asset/?id=291151190"
  1208. meme.Volume = 10
  1209. meme.Pitch = 1
  1210. meme.Looped = true
  1211. meme.TimePosition = 1
  1212.  
  1213. local ohno = Instance.new("Sound")
  1214. ohno.Parent = hed
  1215. ohno.Volume = 10
  1216. ohno.Pitch = 1
  1217. ohno.Looped = true
  1218.  
  1219. local bass = Instance.new("Sound") --why
  1220. bass.Parent = hed
  1221. bass.Volume = 7
  1222. bass.Pitch = 1
  1223. bass.SoundId = "http://www.roblox.com/asset/?id=1087356234"
  1224. bass.Looped = true
  1225.  
  1226. Cause_Im_having_a_good_time_having_a_good_time = Instance.new("Sound", hed) --DONT STOP ME NOOOOOOOOOWWWWWWWW
  1227. Cause_Im_having_a_good_time_having_a_good_time.SoundId = "http://www.roblox.com/asset/?id=672104253"
  1228. Cause_Im_having_a_good_time_having_a_good_time.Volume = 10
  1229. Cause_Im_having_a_good_time_having_a_good_time.Pitch = 1
  1230. Cause_Im_having_a_good_time_having_a_good_time.Looped = false
  1231. Cause_Im_having_a_good_time_having_a_good_time.TimePosition = 35.3
  1232.  
  1233. STHAP = Instance.new("Sound", hed)
  1234. STHAP.SoundId = "http://www.roblox.com/asset/?id=1591656314"
  1235. STHAP.Volume = 10
  1236. STHAP.Pitch = 1
  1237. STHAP.Looped = false
  1238.  
  1239. forevergone = Instance.new("Sound", tors)
  1240. forevergone.SoundId = "http://www.roblox.com/asset/?id=1286436928"
  1241. forevergone.Volume = 10
  1242. forevergone.Pitch = 1
  1243. forevergone.Looped = true
  1244. forevergone.TimePosition = 24
  1245.  
  1246. -------------------------------------------------------
  1247. --Start Music Option--
  1248. -------------------------------------------------------
  1249. local Music = Instance.new("Sound",tors)
  1250. Music.Volume = 2.5
  1251. Music.SoundId = "rbxassetid://"
  1252. Music.Looped = true
  1253. Music.Pitch = 1 --Pitcher
  1254. Music:Play()
  1255. -------------------------------------------------------
  1256. --End Music Option--
  1257. -------------------------------------------------------
  1258. --hi fat >:)
  1259. -------------------------------------------------------
  1260. --Start Attacks N Stuff--
  1261. -------------------------------------------------------
  1262. local sine=0
  1263. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1264. local Hitboxpart = Instance.new("Part", EffectModel)
  1265. RemoveOutlines(Hitboxpart)
  1266. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1267. Hitboxpart.CanCollide = false
  1268. Hitboxpart.Transparency = 1
  1269. Hitboxpart.Anchored = true
  1270. Hitboxpart.CFrame = Pose
  1271. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1272. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1273. end
  1274. function GEtOuT()
  1275. attack = true
  1276. hum.WalkSpeed = 10
  1277. Character.Head.face.Texture = "rbxassetid://494811799"
  1278. CreateSound("814652778", hed, 10, 1)
  1279. CreateSound("537371462", hed, 10, 1)
  1280. local vel3 = Instance.new("BodyVelocity",tors)
  1281. vel3.Velocity = Vector3.new(0,25,0)
  1282. vel3.MaxForce = Vector3.new(10000000,10000000,10000000)
  1283. for i = 0,12,0.1 do
  1284. swait()
  1285. CameraEnshaking(1, 2)
  1286. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 20, 99, 53, "Knockdown")
  1287. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.3)
  1288. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40), Rad(0), Rad(0)), 0.3)
  1289. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  1290. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  1291. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -0.3) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  1292. RH.C0 = clerp(RH.C0, CF(1, -1, 0.3) * angles(Rad(0), Rad(90), Rad(-20)), 0.3)
  1293. end
  1294. vel3:Destroy()
  1295. Character.Head.face.Texture = "rbxassetid://620619801"
  1296. attack = false
  1297. Humanoid.JumpPower = 50
  1298. hum.WalkSpeed = 16
  1299. end
  1300.  
  1301. function GEtOuT2()
  1302. attack = true
  1303. hum.WalkSpeed = 10
  1304. Humanoid.JumpPower = 0
  1305. Character.Head.face.Texture = "rbxassetid://494811799"
  1306. CreateSound("814652778", hed, 10, 1)
  1307. CreateSound("537371462", hed, 10, 1)
  1308. root.Velocity = root.CFrame.lookVector * 20
  1309. for i = 0,12,0.1 do
  1310. swait()
  1311. CameraEnshaking(1, 2)
  1312. root.Velocity = root.CFrame.lookVector * 50
  1313. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 10, 50, 53, "Knockdown")
  1314. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0-255.45*i)), 0.3)
  1315. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40), Rad(0), Rad(0)), 0.3)
  1316. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  1317. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  1318. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -0.3) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  1319. RH.C0 = clerp(RH.C0, CF(1, -1, 0.3) * angles(Rad(0), Rad(90), Rad(-20)), 0.3)
  1320. end
  1321. Character.Head.face.Texture = "rbxassetid://620619801"
  1322. attack = false
  1323. Humanoid.JumpPower = 50
  1324. hum.WalkSpeed = 16
  1325. end
  1326. function Flight() --wowthatsdiffrent
  1327. attack = true
  1328. Character.Head.face.Texture = "rbxassetid://269748407"
  1329. local ColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,0,0)),
  1330. ColorSequenceKeypoint.new(0.16, Color3.new(1,1,1)),
  1331. ColorSequenceKeypoint.new(0.32, Color3.new(0,0,1)),
  1332. ColorSequenceKeypoint.new(0.48, Color3.new(1,1,1)),
  1333. ColorSequenceKeypoint.new(0.64, Color3.new(1,0,0)),
  1334. ColorSequenceKeypoint.new(0.80, Color3.new(1,1,1)),
  1335. ColorSequenceKeypoint.new(0.96, Color3.new(0,0,1)),
  1336. ColorSequenceKeypoint.new(1, Color3.new(1,1,1))}
  1337. local vel4 = Instance.new("BodyVelocity",ll)
  1338. vel4.Velocity = Vector3.new(0,4,0)
  1339. vel4.MaxForce = Vector3.new(10000000,10000000,10000000)
  1340. local Atch3 = Instance.new("Attachment",ll)Atch3.Position = Vector3.new(0,0.6,0)
  1341. local Atch4 = Instance.new("Attachment",ll)Atch4.Position = Vector3.new(0,-0.6,0)
  1342. local Trail2 = Instance.new("Trail",ll)Trail2.Attachment0 = Atch3 Trail2.Attachment1 = Atch4
  1343. Trail2.Texture = "rbxassetid://22636887" Trail2.Lifetime = 0.2 Trail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  1344. Trail2.Color = ColorSequence.new(ColorsArray) Trail2.LightEmission = 1
  1345. Trail2.Enabled = true
  1346. local Atch5 = Instance.new("Attachment",rl)Atch5.Position = Vector3.new(0,0.6,0)
  1347. local Atch6 = Instance.new("Attachment",rl)Atch6.Position = Vector3.new(0,-0.6,0)
  1348. local Trail3 = Instance.new("Trail",rl)Trail3.Attachment0 = Atch5 Trail3.Attachment1 = Atch6
  1349. Trail3.Texture = "rbxassetid://22636887" Trail3.Lifetime = 0.2 Trail3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  1350. Trail3.Color = ColorSequence.new(ColorsArray) Trail3.LightEmission = 1
  1351. Trail3.Enabled = true
  1352. local Atch7 = Instance.new("Attachment",ra)Atch7.Position = Vector3.new(0,0.6,0)
  1353. local Atch8 = Instance.new("Attachment",ra)Atch8.Position = Vector3.new(0,-0.6,0)
  1354. local Trail4 = Instance.new("Trail",ra)Trail4.Attachment0 = Atch7 Trail4.Attachment1 = Atch8
  1355. Trail4.Texture = "rbxassetid://22636887" Trail4.Lifetime = 0.2 Trail4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  1356. Trail4.Color = ColorSequence.new(ColorsArray) Trail4.LightEmission = 1
  1357. Trail4.Enabled = true
  1358. local Atch9 = Instance.new("Attachment",la)Atch9.Position = Vector3.new(0,0.6,0)
  1359. local Atch10 = Instance.new("Attachment",la)Atch10.Position = Vector3.new(0,-0.6,0)
  1360. local Trail5 = Instance.new("Trail",la)Trail5.Attachment0 = Atch9 Trail5.Attachment1 = Atch10
  1361. Trail5.Texture = "rbxassetid://22636887" Trail5.Lifetime = 0.2 Trail5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  1362. Trail5.Color = ColorSequence.new(ColorsArray) Trail5.LightEmission = 1
  1363. Trail5.Enabled = true
  1364. local Atch1 = Instance.new("Attachment",Torso)Atch1.Position = Vector3.new(0,2,0)
  1365. local Atch2 = Instance.new("Attachment",Torso)Atch2.Position = Vector3.new(0,-2.5,0)
  1366. local Trail = Instance.new("Trail",Torso)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2
  1367. Trail.Texture = "rbxassetid://22636887" Trail.Lifetime = 0.2 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  1368. Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 1
  1369. Trail.Enabled = false
  1370. ragdoll(char)
  1371. wait(1)
  1372. Character.Head.face.Texture = "rbxassetid://249062487"
  1373. CreateSound("948494432", hed, 10, 1)
  1374. wait(2)
  1375. Character.Head.face.Texture = "rbxassetid://269748407"
  1376. CreateSound("633394595", hed, 10, 1)
  1377. wait(2)
  1378. Character.Head.face.Texture = "rbxassetid://494811799"
  1379. STHAP:play()
  1380. wait(11)
  1381. forevergone:play()
  1382. end
  1383.  
  1384. function OBJECTION()
  1385. attack = true
  1386. hum.WalkSpeed = 10
  1387. Character.Head.face.Texture = "rbxassetid://55831869"
  1388. CreateSound("330859085", hed, 10, 1)
  1389. for i = 0,8,0.1 do
  1390. swait()
  1391. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1392. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1393. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1394. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1395. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
  1396. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1397. end
  1398. attack = false
  1399. Character.Head.face.Texture = "rbxassetid://620619801"
  1400. hum.WalkSpeed = 16
  1401. end
  1402.  
  1403. function Hello()
  1404. attack = true
  1405. hum.WalkSpeed = 10
  1406. Character.Head.face.Texture = "rbxassetid://334668738"
  1407. CreateSound("855338765", hed, 10, 0.9)
  1408. for i = 0,3,0.1 do
  1409. swait()
  1410. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1411. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1412. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1413. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1414. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1415. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-5)), 0.1)
  1416. end
  1417. attack = false
  1418. Character.Head.face.Texture = "rbxassetid://620619801"
  1419. hum.WalkSpeed = 16
  1420. end
  1421.  
  1422. function Victory()
  1423. attack = true
  1424. hum.WalkSpeed = 1.01
  1425. Character.Head.face.Texture = "rbxassetid://616284160"
  1426. Humanoid.Jump = true
  1427. CreateSound("130834939", hed, 10, 1)
  1428. for i = 0,3.7,0.1 do
  1429. swait()
  1430. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1431. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1432. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15)
  1433. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15)
  1434. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1435. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-5)), 0.1)
  1436. end
  1437. Humanoid.Jump = true
  1438. for i = 0,3.7,0.1 do
  1439. swait()
  1440. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1441. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1442. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(40)), 0.15)
  1443. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(40)), 0.15)
  1444. RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-180), Rad(-25), Rad(5)), 0.1)
  1445. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-0)), 0.1)
  1446. end
  1447. Humanoid.Jump = true
  1448. for i = 0,3.7,0.1 do
  1449. swait()
  1450. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1451. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1452. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15)
  1453. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15)
  1454. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1455. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-5)), 0.1)
  1456. end
  1457. Humanoid.Jump = true
  1458. for i = 0,3.7,0.1 do
  1459. swait()
  1460. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1461. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1462. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(40)), 0.15)
  1463. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(40)), 0.15)
  1464. RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-180), Rad(-25), Rad(5)), 0.1)
  1465. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-0)), 0.1)
  1466. end
  1467. Humanoid.Jump = true
  1468. for i = 0,3.7,0.1 do
  1469. swait()
  1470. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1471. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1472. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15)
  1473. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-40)), 0.15)
  1474. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1475. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-5)), 0.1)
  1476. end
  1477. attack = false
  1478. Character.Head.face.Texture = "rbxassetid://620619801"
  1479. hum.WalkSpeed = 16
  1480. end
  1481.  
  1482. function ShutTheHellUp()
  1483. attack = true
  1484. hum.WalkSpeed = 2.01
  1485. Character.Head.face.Texture = "rbxassetid://963148419"
  1486. CreateSound("336377340", hed, 10, 1)
  1487. for i = 0,3,0.1 do
  1488. swait()
  1489. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1490. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1491. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1492. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1493. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  1494. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1495. end
  1496. for i = 0,1.2,0.1 do
  1497. swait()
  1498. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1499. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  1500. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1501. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1502. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  1503. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1504. end
  1505. for i = 0,1.2,0.1 do
  1506. swait()
  1507. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1508. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1509. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1510. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1511. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  1512. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1513. end
  1514. for i = 0,1.2,0.1 do
  1515. swait()
  1516. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1517. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  1518. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1519. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1520. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  1521. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1522. end
  1523. for i = 0,1.2,0.1 do
  1524. swait()
  1525. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1526. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1527. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1528. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1529. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  1530. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1531. end
  1532. for i = 0,2,0.1 do
  1533. swait()
  1534. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1535. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1536. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1537. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1538. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(120), Rad(0), Rad(5)), 0.1)
  1539. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1540. end
  1541. for i = 0,2,0.1 do
  1542. swait()
  1543. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1544. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1545. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1546. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1547. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  1548. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1549. end
  1550. hum.WalkSpeed = 16
  1551. Character.Head.face.Texture = "rbxassetid://620619801"
  1552. attack = false
  1553. end
  1554.  
  1555. function SpinMeDad() --YOU SPIN ME RIGHT ROUND BABY RIGHT ROUND
  1556. attack = true
  1557. hum.WalkSpeed = 5
  1558. Humanoid.JumpPower = 175
  1559. Character.Head.face.Texture = "rbxassetid://1223903433"
  1560. CreateSound("145799973", hed, 10, 1)
  1561. local vel2 = Instance.new("BodyVelocity",tors)
  1562. vel2.Velocity = Vector3.new(0,1.2,0)
  1563. vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
  1564. for i = 0,60,0.1 do
  1565. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 20, 53, "Knockdown")
  1566. swait()
  1567. CameraEnshaking(1, 1)
  1568. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
  1569. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1570. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1571. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1572. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1573. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  1574. end
  1575. hum.WalkSpeed = 16
  1576. vel2:Destroy()
  1577. Character.Head.face.Texture = "rbxassetid://620619801"
  1578. Humanoid.JumpPower = 50
  1579. attack = false
  1580. end
  1581.  
  1582. function EndMySufferingV2() --why
  1583. attack = true
  1584. hum.WalkSpeed = 1.01
  1585. Character.Head.face.Texture = "rbxassetid://202210455"
  1586. local A = math.random(1,5)
  1587. if A == 1 then
  1588. meme.SoundId = "rbxassetid://295810519"
  1589. end
  1590. if A == 2 then
  1591. meme.SoundId = "rbxassetid://1124778077"
  1592. end
  1593. if A == 3 then
  1594. meme.SoundId = "rbxassetid://464157070"
  1595. end
  1596. if A == 4 then
  1597. meme.SoundId = "rbxassetid://146334595"
  1598. end
  1599. if A == 5 then
  1600. meme.SoundId = "rbxassetid://145536915"
  1601. end
  1602. meme:Play()
  1603. bass:Play()
  1604. joyemoji.Rate = 70
  1605. LIT.Rate = 70
  1606. ok.Rate = 70
  1607. toast.Rate = 70
  1608.  
  1609. for i = 0,50,0.1 do
  1610. swait()
  1611. CameraEnshaking(1, 10)
  1612. bass.Parent = hed
  1613. meme.Parent = hed
  1614. rootj.C0=clerp(rootj.C0,RootCF*CF(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(15),math.rad(-10),math.rad(0)),0.15)
  1615. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  1616. RH.C0=clerp(RH.C0,CF(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1617. LH.C0=clerp(LH.C0,CF(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-20)),0.15)
  1618. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(-0), math.rad(10), math.rad(-110)), 0.1)
  1619. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-10), math.rad(-105)), 0.1)
  1620. end
  1621. bass:Stop()
  1622. meme:Stop()
  1623. joyemoji.Rate = 0
  1624. LIT.Rate = 0
  1625. ok.Rate = 0
  1626. toast.Rate = 0
  1627. Character.Head.face.Texture = "rbxassetid://620619801"
  1628. attack = false
  1629. hum.WalkSpeed = 16
  1630. end
  1631.  
  1632. function HELP()
  1633. attack = true
  1634. hum.WalkSpeed = 1.01
  1635. Character.Head.face.Texture = "rbxassetid://307972876"
  1636. CreateSound("1123321019", hed, 10, 1)
  1637. for i = 0,15,0.1 do
  1638. swait()
  1639. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1640. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1641. RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1642. LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1643. RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1644. LW.C0 = clerp(LW.C0, CF(-0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1645. end
  1646. CreateSound("198462271", hed, 10, 1)
  1647. for i = 0,8,0.1 do
  1648. Character.Head.face.Texture = "rbxassetid://341497730"
  1649. swait()
  1650. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1651. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1652. RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1653. LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1654. RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1655. LW.C0 = clerp(LW.C0, CF(-0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1656. end
  1657. for i = 0,8,0.1 do
  1658. Character.Head.face.Texture = "rbxassetid://341497730"
  1659. swait()
  1660. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1661. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(60), Rad(0), Rad(0)), 0.3)
  1662. RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1663. LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1664. RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1665. LW.C0 = clerp(LW.C0, CF(-0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1666. end
  1667. CreateSound("948494432", hed, 10, 1)
  1668. for i = 0,7.5,0.1 do
  1669. Character.Head.face.Texture = "rbxassetid://249062487"
  1670. swait()
  1671. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1672. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(60), Rad(0), Rad(0)), 0.3)
  1673. RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1674. LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1675. RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1676. LW.C0 = clerp(LW.C0, CF(-0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1677. end
  1678. CreateSound("1542642349", hed, 10, 1)
  1679. for i = 0,10,0.1 do
  1680. Character.Head.face.Texture = "rbxassetid://270636807"
  1681. swait()
  1682. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1683. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1684. RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1685. LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1686. RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1687. LW.C0 = clerp(LW.C0, CF(-0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1688. end
  1689. CreateSound("269597232", hed, 10, 1)
  1690. for i = 0,6,0.1 do
  1691. Character.Head.face.Texture = "rbxassetid://265057155"
  1692. swait()
  1693. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1694. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1695. RH.C0 = clerp(RH.C0, CF(0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1696. LH.C0 = clerp(LH.C0, CF(-0.7, -0.01 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1697. RW.C0 = clerp(RW.C0, CF(0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1698. LW.C0 = clerp(LW.C0, CF(-0.9, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1699. end
  1700. attack = false
  1701. Character.Head.face.Texture = "rbxassetid://620619801"
  1702. hum.WalkSpeed = 16
  1703. end
  1704.  
  1705. function Choose()
  1706. attack = true
  1707. hum.WalkSpeed = 1.01
  1708. Character.Head.face.Texture = "rbxassetid://374187112"
  1709. CreateSound("130784263", hed, 10, 1)
  1710. for i = 0,4,0.1 do
  1711. swait()
  1712. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1713. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1714. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1715. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1716. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(110), Rad(0), Rad(0)), 0.1)
  1717. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(110), Rad(0), Rad(0)), 0.1)
  1718. end
  1719. for i = 0,5,0.1 do
  1720. swait()
  1721. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1722. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1723. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1724. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1725. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(-10)), 0.1)
  1726. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(10)), 0.1)
  1727. end
  1728. attack = false
  1729. Character.Head.face.Texture = "rbxassetid://620619801"
  1730. hum.WalkSpeed = 16
  1731. end
  1732.  
  1733. function slap()
  1734. attack = true
  1735. hum.WalkSpeed = 10
  1736. CreateSound("146163534", hed, 10, 1)
  1737. Character.Head.face.Texture = "rbxassetid://293603561"
  1738. game.Players.LocalPlayer.Character.Humanoid:TakeDamage(7)
  1739. CameraEnshaking(1, 2)
  1740. for i = 0,4,0.1 do
  1741. swait()
  1742. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1743. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  1744. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1745. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1746. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(5)), 0.1)
  1747. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115 + 4), Rad(45), Rad(50)), 0.1)
  1748. end
  1749. Character.Head.face.Texture = "rbxassetid://620619801"
  1750. attack = false
  1751. hum.WalkSpeed = 16
  1752. end
  1753.  
  1754. function MYSPAGHETTTTTTT() --ow
  1755. attack = true
  1756. hum.WalkSpeed = 1.01
  1757. CreateSound("1282149571", hed, 10, 1)
  1758. Character.Head.face.Texture = "rbxassetid://1329282756"
  1759. game.Players.LocalPlayer.Character.Humanoid:TakeDamage(10)
  1760. CameraEnshaking(1, 2.2)
  1761. for i = 0,4,0.1 do
  1762. swait()
  1763. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1764. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  1765. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1766. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1767. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(5)), 0.1)
  1768. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115 + 4), Rad(45), Rad(50)), 0.1)
  1769. end
  1770. for i = 0,5,0.1 do
  1771. swait()
  1772. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1773. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1774. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1775. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1776. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(110), Rad(0), Rad(0)), 0.1)
  1777. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(110), Rad(0), Rad(0)), 0.1)
  1778. end
  1779. for i = 0,6,0.1 do
  1780. swait()
  1781. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1782. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1783. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1784. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1785. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(-10)), 0.1)
  1786. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(10)), 0.1)
  1787. end
  1788. attack = false
  1789. Character.Head.face.Texture = "rbxassetid://620619801"
  1790. hum.WalkSpeed = 16
  1791. end
  1792.  
  1793.  
  1794. function dead()
  1795. attack = true
  1796. hum.WalkSpeed = 0.20
  1797. CreateSound("137225991", hed, 10, 1)
  1798. Character.Head.face.Texture = "rbxassetid://297512410"
  1799. for i = 0,1.1,0.1 do
  1800. swait()
  1801. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1802. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1803. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15)
  1804. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15)
  1805. RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1)
  1806. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1)
  1807. end
  1808. for i = 0,1.1,0.1 do
  1809. swait()
  1810. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(90), Rad(0)), 0.15)
  1811. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1812. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15)
  1813. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15)
  1814. RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1)
  1815. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1)
  1816. end
  1817. for i = 0,1.1,0.1 do
  1818. swait()
  1819. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(180), Rad(0)), 0.15)
  1820. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1821. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15)
  1822. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15)
  1823. RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1)
  1824. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1)
  1825. end
  1826. for i = 0,1.1,0.1 do
  1827. swait()
  1828. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(270), Rad(0)), 0.15)
  1829. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1830. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15)
  1831. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15)
  1832. RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1)
  1833. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1)
  1834. end
  1835. for i = 0,1.1,0.1 do
  1836. swait()
  1837. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1838. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1839. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15)
  1840. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15)
  1841. RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1)
  1842. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1)
  1843. end
  1844. for i = 0,1.1,0.1 do
  1845. swait()
  1846. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(90), Rad(0)), 0.15)
  1847. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1848. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15)
  1849. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15)
  1850. RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1)
  1851. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1)
  1852. end
  1853. for i = 0,1.1,0.1 do
  1854. swait()
  1855. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(180), Rad(0)), 0.15)
  1856. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1857. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15)
  1858. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15)
  1859. RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1)
  1860. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1)
  1861. end
  1862. for i = 0,1.1,0.1 do
  1863. swait()
  1864. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(270), Rad(0)), 0.15)
  1865. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1866. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15)
  1867. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15)
  1868. RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1)
  1869. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1)
  1870. end
  1871. for i = 0,1.1,0.1 do
  1872. swait()
  1873. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1874. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1875. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15)
  1876. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15)
  1877. RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(140)), 0.1)
  1878. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-140)), 0.1)
  1879. end
  1880. Character.Head.face.Texture = "rbxassetid://273309187"
  1881. for i = 0,9,0.1 do
  1882. swait()
  1883. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.59 + 0.1) * angles(Rad(-90), Rad(90), Rad(0)), 0.15)
  1884. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  1885. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1886. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1887. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1)
  1888. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-30)), 0.1)
  1889. end
  1890. attack = false
  1891. Character.Head.face.Texture = "rbxassetid://620619801"
  1892. hum.WalkSpeed = 16
  1893. end
  1894.  
  1895. function hap() --much hap
  1896. attack = true
  1897. hum.WalkSpeed = 0.10
  1898. CreateSound("363808674", hed, 10, 1)
  1899. Character.Head.face.Texture = "rbxassetid://315792941"
  1900. for i = 0,12,0.1 do
  1901. swait()
  1902. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1903. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(180)), 0.3)
  1904. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1905. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1906. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1907. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-0)), 0.1)
  1908. end
  1909. CreateSound("233168827", hed, 10, 1)
  1910. Character.Head.face.Texture = "rbxassetid://335761015"
  1911. for i = 0,10,0.1 do
  1912. swait()
  1913. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1914. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(180)), 0.3)
  1915. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1916. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1917. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1918. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-0)), 0.1)
  1919. end
  1920. CreateSound("363808674", hed, 10, 1)
  1921. attack = false
  1922. Character.Head.face.Texture = "rbxassetid://620619801"
  1923. hum.WalkSpeed = 16
  1924. end
  1925.  
  1926. function HAAAAA() --KONO POWA
  1927. attack = true
  1928. hum.WalkSpeed = 1.01
  1929. Character.Head.face.Texture = "rbxassetid://305068389"
  1930. chargeup.Pitch = 1
  1931. for i = 0,7,0.1 do
  1932. swait()
  1933. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1934. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1935. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1936. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1937. RW.C0 = clerp(RW.C0, CF(1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(0)), 0.1)
  1938. LW.C0 = clerp(LW.C0, CF(-1.5, 1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(-0)), 0.1)
  1939. end
  1940. Character.Head.face.Texture = "rbxassetid://313921371"
  1941. chargeup:play()
  1942. for i = 0,30,0.1 do
  1943. swait()
  1944. CameraEnshaking(1, 2)
  1945. chargeup.Parent = hed
  1946. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1947. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1948. RH.C0 = clerp(RH.C0, CF(1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1949. LH.C0 = clerp(LH.C0, CF(-1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1950. RW.C0 = clerp(RW.C0, CF(1.4, 0.0000000005 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(0)), 0.1)
  1951. LW.C0 = clerp(LW.C0, CF(-1.4, 0.0000000005 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(-0)), 0.1)
  1952. end
  1953. chargeup:stop()
  1954. chargeup.Pitch = 1.1
  1955. chargeup.TimePosition = 1
  1956. chargeup:play()
  1957. Character.Head.face.Texture = "rbxassetid://304942859"
  1958. for i, v in pairs(c:children()) do
  1959. if v.ClassName == "Part" then
  1960. local tra = trazx:clone()
  1961. tra.Parent = v
  1962. tra.LightEmission = 1
  1963. tra.Color = ColorSequence.new(Color3.new(0, 0.6666666666666666, 1))
  1964. tra.Rate = 15
  1965. tra.Rotation = NumberRange.new(-5, 5)
  1966. tra.Lifetime = NumberRange.new(1.5, 2)
  1967. tra.Size = NumberSequence.new({
  1968. NumberSequenceKeypoint.new(0, 0.1, 0),
  1969. NumberSequenceKeypoint.new(1, 0, 0)
  1970. })
  1971. tra.Transparency = NumberSequence.new({
  1972. NumberSequenceKeypoint.new(0, 1, 0),
  1973. NumberSequenceKeypoint.new(0.135, 0, 0),
  1974. NumberSequenceKeypoint.new(0.875, 0, 0),
  1975. NumberSequenceKeypoint.new(1, 1, 0)
  1976. })
  1977. tra.Speed = NumberRange.new(0.5)
  1978. tra.VelocitySpread = 360
  1979. tra.VelocityInheritance = 0.5
  1980. tra.ZOffset = 2
  1981. tra.Acceleration = Vector3.new(0, 2.5, 0)
  1982. end
  1983. end
  1984. local tra = trazx:clone()
  1985. tra.Parent = c.HumanoidRootPart
  1986. tra.Texture = "rbxassetid://347730682"
  1987. tra.LightEmission = 0.8
  1988. tra.Color = ColorSequence.new(Color3.new(0, 0.6666666666666666, 1))
  1989. tra.Rate = 250
  1990. tra.Rotation = NumberRange.new(-5, 5)
  1991. tra.Lifetime = NumberRange.new(0.75)
  1992. tra.Size = NumberSequence.new({
  1993. NumberSequenceKeypoint.new(0, 4.81, 0.875),
  1994. NumberSequenceKeypoint.new(1, 2.13, 0.875)
  1995. })
  1996. tra.Transparency = NumberSequence.new({
  1997. NumberSequenceKeypoint.new(0, 1, 0),
  1998. NumberSequenceKeypoint.new(0.0399, 0.85, 0),
  1999. NumberSequenceKeypoint.new(0.394, 0.9, 0),
  2000. NumberSequenceKeypoint.new(0.699, 1, 0),
  2001. NumberSequenceKeypoint.new(1, 1, 0)
  2002. })
  2003. tra.Speed = NumberRange.new(15)
  2004. tra.VelocitySpread = 360
  2005. tra.VelocityInheritance = 0.5
  2006. tra.ZOffset = 3.5
  2007. tra.Acceleration = Vector3.new(0, 25, 0)
  2008. for i = 0,35,0.1 do
  2009. swait()
  2010. ohno.Parent = hed
  2011. CameraEnshaking(1, 3)
  2012. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2013. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(60), Rad(0), Rad(0)), 0.3)
  2014. RH.C0 = clerp(RH.C0, CF(1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2015. LH.C0 = clerp(LH.C0, CF(-1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2016. RW.C0 = clerp(RW.C0, CF(1.4, 0.0000000005 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(0)), 0.1)
  2017. LW.C0 = clerp(LW.C0, CF(-1.4, 0.0000000005 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(-0)), 0.1)
  2018. end
  2019. chargeup:stop()
  2020. chargeup.Pitch = 1.3
  2021. chargeup.TimePosition = 1
  2022. chargeup:play()
  2023. tra:Destroy()
  2024. tra:Destroy()
  2025. Character.Head.face.Texture = "rbxassetid://280233855"
  2026. local tra = trazx:clone()
  2027. tra.Parent = c.HumanoidRootPart
  2028. tra.Texture = "rbxassetid://347730682"
  2029. tra.LightEmission = 0.8
  2030. tra.Color = ColorSequence.new(Color3.new(1, 0, 0))
  2031. tra.Rate = 250
  2032. tra.Rotation = NumberRange.new(-5, 5)
  2033. tra.Lifetime = NumberRange.new(0.3)
  2034. tra.Size = NumberSequence.new({
  2035. NumberSequenceKeypoint.new(0, 8, 0.875),
  2036. NumberSequenceKeypoint.new(1, 10, 0.875)
  2037. })
  2038. tra.Transparency = NumberSequence.new({
  2039. NumberSequenceKeypoint.new(0, 1, 0),
  2040. NumberSequenceKeypoint.new(0.0399, 0.531, 0),
  2041. NumberSequenceKeypoint.new(0.394, 0.906, 0),
  2042. NumberSequenceKeypoint.new(0.699, 1, 0),
  2043. NumberSequenceKeypoint.new(1, 1, 0)
  2044. })
  2045. for i = 0,32,0.1 do
  2046. swait()
  2047. CameraEnshaking(1, 5)
  2048. chargeup.Parent = hed
  2049. game.Players.LocalPlayer.Character.Humanoid:TakeDamage(0.12)
  2050. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2051. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-65), Rad(0), Rad(0)), 0.3)
  2052. RH.C0 = clerp(RH.C0, CF(1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2053. LH.C0 = clerp(LH.C0, CF(-1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2054. RW.C0 = clerp(RW.C0, CF(1.4, 0.0000000005 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(0)), 0.1)
  2055. LW.C0 = clerp(LW.C0, CF(-1.4, 0.0000000005 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(150), Rad(0), Rad(-0)), 0.1)
  2056. end
  2057. chargeup:stop()
  2058. CreateSound("681582832", hed, 10, 1)
  2059. game.Players.LocalPlayer.Character:BreakJoints()
  2060. local S = Instance.new("Explosion",workspace)
  2061. S.Position = tors.Position
  2062. S.BlastPressure = 9
  2063. S.BlastRadius = 30
  2064. S.ExplosionType = 0
  2065. attack = false
  2066. hum.WalkSpeed = 16
  2067. Character.Head.face.Texture = "rbxassetid://295197013"
  2068. tra:Destroy()
  2069. CameraEnshaking(4, 30)
  2070. error("WARNING, TO MUCH ENERGY.")
  2071. end
  2072.  
  2073. function NEN()
  2074. attack = true
  2075. hum.WalkSpeed = 1.01
  2076. CreateSound("230292011", hed, 10, 1)
  2077. Character.Head.face.Texture = "rbxassetid://705269463"
  2078. for i = 0,4,0.1 do
  2079. swait()
  2080. CameraEnshaking(1, 3)
  2081. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2082. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-90), Rad(0), Rad(0)), 0.3)
  2083. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2084. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2085. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1)
  2086. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1)
  2087. end
  2088. attack = false
  2089. Character.Head.face.Texture = "rbxassetid://620619801"
  2090. hum.WalkSpeed = 16
  2091. end
  2092.  
  2093. function FLYSKYHIGH()
  2094. attack = true
  2095. timetofly = false
  2096. hum.WalkSpeed = 0.05
  2097. Character.Head.face.Texture = "rbxassetid://705269463"
  2098. Cause_Im_having_a_good_time_having_a_good_time:Play()
  2099. Cause_Im_having_a_good_time_having_a_good_time.TimePosition = 35.3
  2100. Humanoid.JumpPower = 0
  2101. for i = 0,300,0.1 do --thatsalongtime
  2102. swait()
  2103. CameraEnshaking(1, 7)
  2104. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 75, 500, 100, "Knockdown")
  2105. Cause_Im_having_a_good_time_having_a_good_time.Parent = hed
  2106. root.Velocity = root.CFrame.lookVector * 225
  2107. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2108. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0-255.45*i), Rad(0), Rad(0)), 0.3)
  2109. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0-255.45*i)), 0.15)
  2110. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0-255.45*i)), 0.15)
  2111. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-75), Rad(0), Rad(0)), 0.1)
  2112. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-75), Rad(0), Rad(0)), 0.1)
  2113. end
  2114. Cause_Im_having_a_good_time_having_a_good_time:Stop()
  2115. attack = false
  2116. Humanoid.JumpPower = 50
  2117. Character.Head.face.Texture = "rbxassetid://620619801"
  2118. hum.WalkSpeed = 16
  2119. wait(45)
  2120. timetofly = true
  2121. warn("You can FLY SKY HIGH Now! Go Nuts!") --please dont go nuts
  2122. end
  2123.  
  2124.  
  2125. function highnoon()
  2126. attack = true
  2127. hum.WalkSpeed = 1.01
  2128. CreateSound("495316660", hed, 10, 1)
  2129. Character.Head.face.Texture = "rbxassetid://155195214"
  2130. CameraEnshaking(2, 4)
  2131. local Blobby = Instance.new("Part", char)
  2132. Blobby.Name = "Blob"
  2133. Blobby.CanCollide = false
  2134. Blobby.BrickColor = BrickColor.new("Really black")
  2135. Blobby.Transparency = 0
  2136. Blobby.Material = "Plastic"
  2137. Blobby.Size = Vector3.new(1, 1, 2)
  2138. Blobby.TopSurface = Enum.SurfaceType.Smooth
  2139. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  2140.  
  2141. local Weld = Instance.new("Weld", Blobby)
  2142. Weld.Part0 = ra
  2143. Weld.Part1 = Blobby
  2144. Weld.C1 = CFrame.new(0, -.4, -1.6) *angles(Rad(180), Rad(0), Rad(180))
  2145. Weld.C0 = CFrame.Angles(math.rad(-90),0,0)
  2146.  
  2147. local M2 = Instance.new("SpecialMesh")
  2148. M2.Parent = Blobby
  2149. M2.MeshId = "http://www.roblox.com/asset/?id=432256490"
  2150. M2.TextureId = "http://www.roblox.com/asset/?id=432256526"
  2151. M2.Scale = Vector3.new(.002, .002, .002)
  2152. for i = 0,7.75,0.1 do
  2153. swait()
  2154. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  2155. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.2)
  2156. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  2157. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  2158. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-.6), Rad(180)), 0.2)
  2159. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.2)
  2160. end
  2161. for i = 0,16.5,0.1 do
  2162. swait()
  2163. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  2164. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.2)
  2165. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  2166. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  2167. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-.6), Rad(90)), 0.2)
  2168. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.2)
  2169. end
  2170. Blobby.Transparency = 1
  2171. Blobby:Destroy()
  2172. attack = false
  2173. Character.Head.face.Texture = "rbxassetid://620619801"
  2174. hum.WalkSpeed = 16
  2175. end
  2176.  
  2177. function somuchcancerwhy() --o no
  2178. attack = true
  2179. hum.WalkSpeed = 0.10
  2180. Character.Head.face.Texture = "rbxassetid://315074049"
  2181. local A = math.random(1,13)
  2182. if A == 1 then
  2183. ohno.SoundId = "rbxassetid://295810519"
  2184. ohno.TimePosition = 1
  2185. end
  2186. if A == 2 then
  2187. ohno.SoundId = "rbxassetid://488472970"
  2188. ohno.TimePosition = 2
  2189. end
  2190. if A == 3 then
  2191. ohno.SoundId = "rbxassetid://917045199"
  2192. ohno.TimePosition = 3
  2193. end
  2194. if A == 4 then
  2195. ohno.SoundId = "rbxassetid://324205173"
  2196. ohno.TimePosition = 1
  2197. end
  2198. if A == 5 then
  2199. ohno.SoundId = "rbxassetid://376134741"
  2200. ohno.TimePosition = 8
  2201. end
  2202. if A == 6 then
  2203. ohno.SoundId = "rbxassetid://164147183"
  2204. ohno.TimePosition = 0
  2205. end
  2206. if A == 7 then
  2207. ohno.SoundId = "rbxassetid://825526716"
  2208. ohno.TimePosition = 1
  2209. end
  2210. if A == 8 then
  2211. ohno.SoundId = "rbxassetid://185460366"
  2212. ohno.TimePosition = 0
  2213. end
  2214. if A == 9 then
  2215. ohno.SoundId = "rbxassetid://273319633"
  2216. ohno.TimePosition = 1
  2217. end
  2218. if A == 10 then
  2219. ohno.SoundId = "rbxassetid://506212392"
  2220. ohno.TimePosition = 2
  2221. end
  2222. if A == 11 then
  2223. ohno.SoundId = "rbxassetid://708297448"
  2224. ohno.TimePosition = 4
  2225. end
  2226. if A == 12 then
  2227. ohno.SoundId = "rbxassetid://497199103"
  2228. ohno.TimePosition = 9
  2229. end
  2230. if A == 13 then
  2231. ohno.SoundId = "rbxassetid://152833989"
  2232. ohno.TimePosition = 1
  2233. end
  2234. ohno:Play()
  2235. for i = 0,100,0.1 do
  2236. swait()
  2237. CameraEnshaking(2, 3)
  2238. ohno.Parent = hed
  2239. char.Torso.Neck.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2240. end
  2241. attack = false
  2242. ohno:Stop()
  2243. Character.Head.face.Texture = "rbxassetid://620619801"
  2244. hum.WalkSpeed = 16
  2245. end
  2246.  
  2247. function WRY() --WRYYYYYYY
  2248. attack = true
  2249. hum.WalkSpeed = 0.30
  2250. CreateSound("794081034", hed, 10, 1)
  2251. Character.Head.face.Texture = "rbxassetid://396389196"
  2252. for i = 0,2,0.1 do
  2253. swait()
  2254. CameraEnshaking(1, 2)
  2255. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2256. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.3)
  2257. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2258. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2259. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(140), Rad(60)), 0.1)
  2260. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-140), Rad(-60)), 0.1)
  2261. end
  2262. for i = 0,14.7,0.1 do
  2263. swait()
  2264. CameraEnshaking(1, 3)
  2265. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 1, -1 + 0.1) * angles(Rad(-75), Rad(0), Rad(0)), 0.15)
  2266. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(65), Rad(0), Rad(0)), 0.3)
  2267. RH.C0 = clerp(RH.C0, CF(1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-70)), 0.15)
  2268. LH.C0 = clerp(LH.C0, CF(-1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(70)), 0.15)
  2269. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(40)), 0.1)
  2270. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(-0), Rad(-40)), 0.1)
  2271. end
  2272. attack = false
  2273. Character.Head.face.Texture = "rbxassetid://620619801"
  2274. hum.WalkSpeed = 16
  2275. end
  2276.  
  2277. function BOI()
  2278. attack = true
  2279. hum.WalkSpeed = 1.01
  2280. CreateSound("390901873", hed, 10, 1)
  2281. Character.Head.face.Texture = "rbxassetid://282463320"
  2282. for i = 0,4,0.1 do
  2283. swait()
  2284. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2285. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2286. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2287. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2288. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(50), Rad(90)), 0.1)
  2289. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-50), Rad(-90)), 0.1)
  2290. end
  2291. for i = 0,4,0.1 do
  2292. swait()
  2293. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2294. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.3)
  2295. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2296. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2297. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(140), Rad(60)), 0.1)
  2298. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-140), Rad(-60)), 0.1)
  2299. end
  2300. attack = false
  2301. Character.Head.face.Texture = "rbxassetid://620619801"
  2302. hum.WalkSpeed = 16
  2303. end
  2304.  
  2305. function WhatHuh()
  2306. attack = true
  2307. hum.WalkSpeed = 1.01
  2308. CreateSound("130766865", hed, 10, 1)
  2309. Character.Head.face.Texture = "rbxassetid://276732672"
  2310. for i = 0,4,0.1 do
  2311. swait()
  2312. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2313. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(26), Rad(0)), 0.3)
  2314. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2315. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2316. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1)
  2317. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1)
  2318. end
  2319. for i = 0,6.7,0.1 do
  2320. swait()
  2321. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2322. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(-26), Rad(0)), 0.3)
  2323. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2324. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2325. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1)
  2326. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1)
  2327. end
  2328. for i = 0,8.1,0.1 do
  2329. swait()
  2330. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2331. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(26), Rad(0)), 0.3)
  2332. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2333. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2334. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1)
  2335. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1)
  2336. end
  2337. for i = 0,1,0.1 do
  2338. swait()
  2339. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2340. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(40), Rad(-26), Rad(0)), 0.3)
  2341. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2342. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2343. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1)
  2344. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1)
  2345. end
  2346. for i = 0,1,0.1 do
  2347. swait()
  2348. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2349. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(40), Rad(26), Rad(0)), 0.3)
  2350. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2351. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2352. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1)
  2353. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1)
  2354. end
  2355. for i = 0,4,0.1 do
  2356. swait()
  2357. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2358. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(-26), Rad(0)), 0.3)
  2359. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2360. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2361. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1)
  2362. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1)
  2363. end
  2364. attack = false
  2365. Character.Head.face.Texture = "rbxassetid://620619801"
  2366. hum.WalkSpeed = 16
  2367. end
  2368.  
  2369. function NothingPersonal()
  2370. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2371. local HITBODY = mouse.Target.Parent
  2372. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  2373. local HEAD = HITBODY:FindFirstChild("Head")
  2374. local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2375. if TORS ~= nil and HUMAN ~= nil then
  2376. attack = true
  2377. root.CFrame = TORS.CFrame * CFrame.new(-1,0,3)
  2378. TORS.Anchored = true
  2379. hum.WalkSpeed = 0
  2380. Character.Head.face.Texture = "rbxassetid://40770311"
  2381. CreateSound("1255922819", hed, 10, 1)
  2382. CameraEnshaking(2, 4)
  2383. end
  2384. wait(3.5)
  2385. for i = 0,9,0.1 do
  2386. swait()
  2387. for i = 1,2 do
  2388. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 1, 10, 53, "Knockdown")
  2389. CameraEnshaking(1, 7)
  2390. Effects.Sphere.Create(BrickColor.new("Persimmon"), TORS.CFrame*CFrame.new(math.random(-200,200)/100,math.random(-300,200)/100,math.random(-100,100)/100), 1, 1, 1, 15, 15, 15, 0.2)
  2391. end
  2392. end
  2393. wait(.5)
  2394. TORS.Anchored = false
  2395. attack = false
  2396. Character.Head.face.Texture = "rbxassetid://620619801"
  2397. hum.WalkSpeed = 16
  2398. end
  2399. end
  2400.  
  2401. function VeryMuchWorrying()
  2402. attack = true
  2403. hum.WalkSpeed = 1.01
  2404. Character.Head.face.Texture = "rbxassetid://111523405"
  2405. CreateSound("1395854043", hed, 10, 1)
  2406. for i = 0,14,0.1 do
  2407. swait()
  2408. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2409. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2410. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2411. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2412. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-145)), 0.1)
  2413. LW.C0 = clerp(LW.C0, CF(-1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(145)), 0.1)
  2414. end
  2415. attack = false
  2416. Character.Head.face.Texture = "rbxassetid://620619801"
  2417. hum.WalkSpeed = 16
  2418. end
  2419.  
  2420. function Ashes() --Straight from... Whatever it was called.
  2421. attack = true
  2422. hum.WalkSpeed = 1.01
  2423. Character.Head.face.Texture = "rbxassetid://360687027"
  2424. CreateSound("290084602", tors, 10, 1)
  2425. for i = 0,6.2,0.1 do
  2426. swait()
  2427. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2428. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.3)
  2429. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2430. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2431. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(145)), 0.1)
  2432. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(-145)), 0.1)
  2433. end
  2434. for i = 0,6.2,0.1 do
  2435. swait()
  2436. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  2437. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2438. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  2439. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  2440. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  2441. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  2442. end
  2443. attack = false
  2444. Character.Head.face.Texture = "rbxassetid://620619801"
  2445. hum.WalkSpeed = 16
  2446. end
  2447.  
  2448. function AnotherOne() --WhAT ANOTHER ONE
  2449. attack = true
  2450. hum.WalkSpeed = 1.01
  2451. local icri = CreateSound("1205111204", hed, 10, 1)
  2452. swait(165)
  2453. local FRAME = tors.CFrame
  2454. repeat
  2455. swait()
  2456. Character.Head.face.Texture = "rbxassetid://582931093"
  2457. CameraEnshaking(1, 10)
  2458. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2459. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2460. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2461. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2462. LW.C0 = clerp(LW.C0, CF(-1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  2463. tors.CFrame = FRAME * CF(0,1,0)
  2464. swait()
  2465. tors.CFrame = FRAME
  2466. until icri.Playing == false
  2467. Character.Head.face.Texture = "rbxassetid://620619801"
  2468. attack = false
  2469. hum.WalkSpeed = 16
  2470. end
  2471.  
  2472. function Dance()
  2473. attack = true
  2474. hum.WalkSpeed = 1.01
  2475. CreateSound("838766490", hed, 10, 1)
  2476. Character.Head.face.Texture = "rbxassetid://258591579"
  2477. for i = 0,2,0.1 do
  2478. swait()
  2479. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2480. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2481. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2482. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2483. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(180)), 0.1)
  2484. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-180)), 0.1)
  2485. end
  2486. for i = 0,4,0.1 do
  2487. swait()
  2488. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2489. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2490. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2491. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2492. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1)
  2493. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1)
  2494. end
  2495. for i = 0,4,0.1 do
  2496. swait()
  2497. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2498. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2499. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2500. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2501. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1)
  2502. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1)
  2503. end
  2504. for i = 0,4,0.1 do
  2505. swait()
  2506. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2507. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2508. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2509. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2510. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1)
  2511. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1)
  2512. end
  2513. for i = 0,4,0.1 do
  2514. swait()
  2515. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2516. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2517. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2518. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2519. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1)
  2520. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1)
  2521. end
  2522. for i = 0,4,0.1 do
  2523. swait()
  2524. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2525. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2526. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2527. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2528. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1)
  2529. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1)
  2530. end
  2531. for i = 0,4,0.1 do
  2532. swait()
  2533. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2534. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2535. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2536. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2537. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1)
  2538. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1)
  2539. end
  2540. for i = 0,4,0.1 do
  2541. swait()
  2542. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2543. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2544. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2545. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2546. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1)
  2547. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1)
  2548. end
  2549. for i = 0,4,0.1 do
  2550. swait()
  2551. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2552. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2553. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2554. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2555. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1)
  2556. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1)
  2557. end
  2558. for i = 0,4,0.1 do
  2559. swait()
  2560. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2561. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2562. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2563. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2564. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1)
  2565. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1)
  2566. end
  2567. for i = 0,4,0.1 do
  2568. swait()
  2569. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2570. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2571. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2572. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2573. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1)
  2574. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1)
  2575. end
  2576. for i = 0,4,0.1 do
  2577. swait()
  2578. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2579. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2580. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2581. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2582. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1)
  2583. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1)
  2584. end
  2585. for i = 0,4,0.1 do
  2586. swait()
  2587. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2588. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2589. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2590. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2591. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1)
  2592. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1)
  2593. end
  2594. for i = 0,4,0.1 do
  2595. swait()
  2596. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2597. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2598. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2599. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2600. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1)
  2601. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1)
  2602. end
  2603. for i = 0,4,0.1 do
  2604. swait()
  2605. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2606. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2607. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2608. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(30)), 0.15)
  2609. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(180)), 0.1)
  2610. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(-0), Rad(-180)), 0.1)
  2611. end
  2612. for i = 0,3,0.1 do
  2613. swait()
  2614. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2615. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2616. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2617. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-30)), 0.15)
  2618. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(50), Rad(0), Rad(180)), 0.1)
  2619. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-50), Rad(-0), Rad(-180)), 0.1)
  2620. end
  2621. attack = false
  2622. Character.Head.face.Texture = "rbxassetid://620619801"
  2623. hum.WalkSpeed = 16
  2624. end
  2625.  
  2626. function kyu_will_break_your_neck_asdf_longest_function_name_ever_xd()
  2627. attack = true
  2628. Character.Head.face.Texture = "rbxassetid://266304560"
  2629. for i = 0,6,0.1 do
  2630. swait()
  2631. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2632. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2633. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2634. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2635. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.2 * Cos(sine / 20)) * angles(Rad(170), Rad(0), Rad(-15)), 0.1)
  2636. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(15)), 0.1)
  2637. end
  2638. CreateSound("1093102664", hed, 10, 1)
  2639. CameraEnshaking(3, 8)
  2640. for i = 0,2,0.1 do
  2641. swait()
  2642. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  2643. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(40), Rad(0)), 0.4)
  2644. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2645. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2646. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.2 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-40)), 0.4)
  2647. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(40)), 0.4)
  2648. end
  2649. Character.Head.face.Texture = "rbxassetid://30128383"
  2650. hum.MaxHealth = 0
  2651. ragdoll(char)
  2652. CreateSound("534269232", hed, 5, 1)
  2653. error("Seems like you just died.")
  2654. end
  2655.  
  2656. MoreTaunts = false
  2657. mouse.KeyDown:connect(function(key)
  2658. if attack == false then
  2659. if MoreTaunts == false then
  2660. if key == 'q' then
  2661. GEtOuT()
  2662. elseif key == 'e' then
  2663. GEtOuT2()
  2664. elseif key == 'x' then
  2665. OBJECTION()
  2666. elseif key == 'n' then
  2667. BOI()
  2668. elseif key == 'u' then
  2669. Victory()
  2670. elseif key == '3' then
  2671. hap()
  2672. elseif key == '6' then
  2673. Flight()
  2674. elseif key == '9' and timetofly then
  2675. FLYSKYHIGH()
  2676. elseif key == '9' then
  2677. local A = math.random(1,10)
  2678. if A == 1 then
  2679. warn ("This has a Cooldown, Please wait. :>")
  2680. end
  2681. if A == 2 then
  2682. warn ("You can't Fly All day, you know.")
  2683. end
  2684. if A == 3 then
  2685. warn ("Calm down there.")
  2686. end
  2687. if A == 4 then
  2688. warn ("Take a Break.")
  2689. end
  2690. if A == 5 then
  2691. warn ("*Elevator Music plays in the backround*")
  2692. end
  2693. if A == 6 then
  2694. warn ("I know, You want to FLY SKY HIGH, but wait a little bit.")
  2695. end
  2696. if A == 7 then
  2697. warn ("Can you wait a LITTLE Longer?")
  2698. end
  2699. if A == 8 then
  2700. warn ("Like a tiger defying the laws of gravity...")
  2701. end
  2702. if A == 9 then
  2703. warn ("DON'T STOP ME NNNNNOOOOOOOOWWWW")
  2704. end
  2705. if A == 10 then
  2706. warn ("Oh, I'm burnin' through the sky, Yeah!")
  2707. end
  2708. elseif key == 'k' then
  2709. Hello()
  2710. elseif key == '5' then
  2711. HAAAAA()
  2712. elseif key == '4' then
  2713. Dance()
  2714. elseif key == '1' then
  2715. HELP()
  2716. elseif key == '2' then
  2717. dead()
  2718. elseif key == 'j' then
  2719. WhatHuh()
  2720. elseif key == 'l' then
  2721. ShutTheHellUp()
  2722. elseif key == 'c' then
  2723. Choose()
  2724. elseif key == 'r' then
  2725. MYSPAGHETTTTTTT()
  2726. elseif key == 't' then
  2727. SpinMeDad()
  2728. elseif key == 'y' then
  2729. EndMySufferingV2()
  2730. elseif key == 'f' then
  2731. NEN()
  2732. elseif key == 'z' then
  2733. NothingPersonal()
  2734. elseif key == '7' then
  2735. somuchcancerwhy()
  2736. elseif key == '8' then
  2737. highnoon()
  2738. elseif key == 'v' then
  2739. VeryMuchWorrying()
  2740. elseif key == 'b' then
  2741. Ashes()
  2742. elseif key == 'p' then
  2743. kyu_will_break_your_neck_asdf_longest_function_name_ever_xd()
  2744. elseif key == 'g' then
  2745. AnotherOne()
  2746. elseif key == 'h' then
  2747. slap()
  2748. elseif key == 'm' then
  2749. WRY()
  2750. end
  2751. end
  2752. end
  2753. end)
  2754.  
  2755. -------------------------------------------------------
  2756. --End Attacks N Stuff--
  2757. -------------------------------------------------------
  2758.  
  2759.  
  2760.  
  2761.  
  2762. while jumping do
  2763. Humanoid.Jump = true
  2764. wait(0.9)
  2765. end
  2766.  
  2767.  
  2768.  
  2769.  
  2770. -------------------------------------------------------
  2771. --Start Animations--
  2772. -------------------------------------------------------
  2773. local equipped = false
  2774. local idle = 0
  2775. local change = 1
  2776. local val = 0
  2777. local toim = 0
  2778. local idleanim = 0.4
  2779. hum.Animator.Parent = nil
  2780. while true do
  2781. swait()
  2782. sine = sine + change
  2783. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2784. local velderp = root.Velocity.y
  2785. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  2786. if equipped == true or equipped == false then
  2787. if attack == false then
  2788. idle = idle + 1
  2789. else
  2790. idle = 0
  2791. end
  2792. if 1 < root.Velocity.y and hitfloor == nil then
  2793. Anim = "Jump"
  2794. if attack == false then
  2795. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  2796. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40), Rad(0), Rad(0)), 0.3)
  2797. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  2798. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  2799. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -0.3) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  2800. RH.C0 = clerp(RH.C0, CF(1, -1, 0.3) * angles(Rad(0), Rad(90), Rad(-20)), 0.3)
  2801. end
  2802. elseif -1 > root.Velocity.y and hitfloor == nil then
  2803. Anim = "Fall"
  2804. if attack == false then
  2805. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  2806. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(40), Rad(0), Rad(0)), 0.3)
  2807. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  2808. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  2809. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2810. RH.C0=clerp(RH.C0, CF(1,-.3-0.1 * Cos(sine / 20), -.6) * angles(Rad(0), Rad(90), Rad(-20)), .3)
  2811. end
  2812. elseif torvel < 1 and hitfloor ~= nil then
  2813. Anim = "Idle"
  2814. change = 1
  2815. if attack == false then
  2816. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2817. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2818. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2819. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2820. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1)
  2821. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1)
  2822. end
  2823. elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  2824. Anim = "Walk"
  2825. change = 1
  2826. if attack == false then
  2827. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0), Rad(10 * Cos(sine / 7))), 0.15)
  2828. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2829. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  2830. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  2831. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70) * Cos(sine / 7) , Rad(0), Rad(5)), 0.1)
  2832. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0), Rad(-5)), 0.1)
  2833. end
  2834. end
  2835. end
  2836. if 0 < #Effects then
  2837. for e = 1, #Effects do
  2838. if Effects[e] ~= nil then
  2839. local Thing = Effects[e]
  2840. if Thing ~= nil then
  2841. local Part = Thing[1]
  2842. local Mode = Thing[2]
  2843. local Delay = Thing[3]
  2844. local IncX = Thing[4]
  2845. local IncY = Thing[5]
  2846. local IncZ = Thing[6]
  2847. if 1 >= Thing[1].Transparency then
  2848. if Thing[2] == "Block1" then
  2849. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2850. local Mesh = Thing[1].Mesh
  2851. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2852. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2853. elseif Thing[2] == "Block2" then
  2854. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2855. local Mesh = Thing[7]
  2856. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2857. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2858. elseif Thing[2] == "Block3" then
  2859. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2860. local Mesh = Thing[7]
  2861. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2862. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2863. elseif Thing[2] == "Cylinder" then
  2864. local Mesh = Thing[1].Mesh
  2865. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2866. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2867. elseif Thing[2] == "Blood" then
  2868. local Mesh = Thing[7]
  2869. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2870. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2871. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2872. elseif Thing[2] == "Elec" then
  2873. local Mesh = Thing[1].Mesh
  2874. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2875. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2876. elseif Thing[2] == "Disappear" then
  2877. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2878. elseif Thing[2] == "Shatter" then
  2879. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2880. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2881. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2882. Thing[6] = Thing[6] + Thing[5]
  2883. end
  2884. else
  2885. Part.Parent = nil
  2886. table.remove(Effects, e)
  2887. end
  2888. end
  2889. end
  2890. end
  2891. end
  2892. end
  2893. -------------------------------------------------------
  2894. --End Animations And Script--
  2895. -------------------------------------------------------
  2896.  
  2897. --cool beans boibiparti
  2898. warn([[Star Glitcher Loaded.
  2899. All purpose switcher... -- wat
  2900.  
  2901. It's not over yet.
  2902. The faith is among us.
  2903. And yet you still haven't defeated me.
  2904. Now is my chance to destroy you.
  2905. Then you're out of the world.
  2906. With the elemental being struggling to gain power.
  2907. This is the result.
  2908. Very unstable and powerful.
  2909. A insanely chaotic being.
  2910. Who haven't ever known that one could hold this power.
  2911. It's the one that has been created by an unknown being.
  2912. You'll know this name already.
  2913. Till now.
  2914. The power is inside your body.
  2915. You will decide things with this.
  2916. And the future changes within the power.
  2917. For now, you'll decide your own.
  2918. You're one of them who holds this power.
  2919. And so on, you would get chaotic to everyone else.
  2920. You seem to dont trust everyone else, but one.
  2921. That one... you can't know.
  2922. It's only your decision.
  2923. At yourself.
  2924. No mercy, or spare.
  2925.  
  2926.  
  2927. Created by NoobyGames12 ye... soryy i remake it: 1x1x1x1IAMbck
  2928. ]])
  2929. print([[Icons:
  2930. ! = New
  2931. ? = Spoilers
  2932. * = Exclusivity
  2933. ]])
  2934. warn([[V 3.3 (ON PROGRESS) Update Log:
  2935. ! - Calamity's "Z" has changed
  2936. ! - Starfall EX added.
  2937. ! - Mayhem has DESTRUCTION mode, which is new.
  2938. * - Destruction will be an ultimate exclusivity.
  2939. ! - Corruption now has teleportation move "X"
  2940. ? - Divinity has a move named Judgement, which is made by danny19990.
  2941. ! - Exclusive secrets :v
  2942. ! - Chaos theme has been changed
  2943. ! - Purity's theme has been extended
  2944. ? - Corruption's "Z" will have animation sooner
  2945. ! - Calamity's "X" is added, named Starfall
  2946. * - Mayhem now has MAJOR exclusivity, so far its still wip and yet to be done.
  2947. * - Catastrophe's "Z" coming soon, same as Calamity's "Z" but more powerful.]])
  2948. --- its obs smooth af do not touch
  2949. ---- Sources and functions might be taken from others
  2950. plr = game:GetService("Players").LocalPlayer
  2951. char = plr.Character
  2952. hum = char.Humanoid
  2953. local cam = game.Workspace.CurrentCamera
  2954. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  2955. Camera = cam
  2956. local CamInterrupt = false
  2957. local TwoD = false
  2958. local TargetInfo = {nil, nil}
  2959. cam.CameraType = "Custom"
  2960. t = char.Torso
  2961. h = char.Head
  2962. ra = char["Right Arm"]
  2963. la = char["Left Arm"]
  2964. rl = char["Right Leg"]
  2965. ll = char["Left Leg"]
  2966. tors = char.Torso
  2967. lleg = char["Left Leg"]
  2968. root = char.HumanoidRootPart
  2969. hed = char.Head
  2970. rleg = char["Right Leg"]
  2971. rarm = char["Right Arm"]
  2972. larm = char["Left Arm"]
  2973. radian = math.rad
  2974. random = math.random
  2975. Vec3 = Vector3.new
  2976. Inst = Instance.new
  2977. cFrame = CFrame.new
  2978. Euler = CFrame.fromEulerAnglesXYZ
  2979. vt = Vector3.new
  2980. bc = BrickColor.new
  2981. br = BrickColor.random
  2982. it = Instance.new
  2983. cf = CFrame.new
  2984. local eff = true
  2985. local shielding = false
  2986.  
  2987. local Booleans = {
  2988. CamFollow = true,
  2989. GyroUse = true
  2990. }
  2991.  
  2992. function lerp(object, newCFrame, alpha)
  2993. return object:lerp(newCFrame, alpha)
  2994. end
  2995.  
  2996. local Directer = Inst("BodyGyro", root)
  2997. Directer.MaxTorque = Vec3(0, 0, 0)
  2998. Directer.P = 600000
  2999. local CPart = Inst("Part")
  3000. CPart.Anchored = true
  3001. CPart.CanCollide = false
  3002. CPart.Locked = true
  3003. CPart.Transparency = 1
  3004.  
  3005. local rainbowmode = false
  3006. local chaosmode = false
  3007.  
  3008. kan = Instance.new("Sound",char)
  3009. kan.Volume = 1.25
  3010. kan.TimePosition = 0
  3011. kan.PlaybackSpeed = 1
  3012. kan.Pitch = 1
  3013. kan.SoundId = "rbxassetid://180324932"
  3014. kan.Name = "wrecked"
  3015. kan.Looped = true
  3016. kan:Play()
  3017.  
  3018. function newTheme(ID,timepos,pitch,vol)
  3019. local kanz = kan
  3020. --kanz:Stop()
  3021. --kanz.Volume = vol
  3022. --kanz.TimePosition = timepos
  3023. kanz.PlaybackSpeed = pitch
  3024. kanz.Pitch = pitch
  3025. kanz.SoundId = ID
  3026. kanz.Name = "wrecked"
  3027. kanz.Looped = true
  3028. kanz.Volume = 0.3
  3029. --kanz:Play()
  3030. --coroutine.resume(coroutine.create(function()
  3031. --wait(0.05)
  3032. --end))
  3033. end
  3034.  
  3035. function newThemeCust(ID,timepos,pitch,vol)
  3036. local kanz = kan
  3037. kanz:Stop()
  3038. kanz.Volume = vol
  3039. kanz.TimePosition = timepos
  3040. kanz.PlaybackSpeed = pitch
  3041. kanz.Pitch = pitch
  3042. kanz.SoundId = ID
  3043. kanz.Name = "wrecked"
  3044. kanz.Looped = true
  3045. kanz:Play()
  3046. coroutine.resume(coroutine.create(function()
  3047. wait(0.05)
  3048. end))
  3049. end
  3050.  
  3051.  
  3052.  
  3053. function CameraShake(Times, Power, PlayerTarget)
  3054. coroutine.resume(coroutine.create(function()
  3055. FV = Instance.new("BoolValue", PlayerTarget)
  3056. FV.Name = "CameraShake"
  3057. for ShakeNum=1,Times do
  3058. swait()
  3059. local ef=Power
  3060. if ef>=1 then
  3061. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  3062. else
  3063. ef=Power*10
  3064. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  3065. end
  3066. end
  3067. Humanoid.CameraOffset = Vector3.new(0,0,0)
  3068. FV:Destroy()
  3069. end))
  3070. end
  3071.  
  3072. function CameraEnshaking(Length,Intensity)
  3073. coroutine.resume(coroutine.create(function()
  3074. local intensity = 1*Intensity
  3075. local rotM = 0.01*Intensity
  3076. for i = 0, Length, 0.1 do
  3077. swait()
  3078. intensity = intensity - 0.05*Intensity/Length
  3079. rotM = rotM - 0.0005*Intensity/Length
  3080. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  3081. 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)
  3082. end
  3083. Humanoid.CameraOffset = Vec3(0, 0, 0)
  3084. end))
  3085. end
  3086. CamShake=function(Part,Distan,Power,Times)
  3087. local de=Part.Position
  3088. for i,v in pairs(workspace:children()) do
  3089. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  3090. for _,c in pairs(v:children()) do
  3091. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  3092. local Noob=v.Humanoid
  3093. if Noob~=nil then
  3094. coroutine.resume(coroutine.create(function()
  3095. FV = Instance.new("BoolValue", Noob)
  3096. FV.Name = "CameraShake"
  3097. for ShakeNum=1,Times do
  3098. swait()
  3099. local ef=Power
  3100. if ef>=1 then
  3101. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  3102. else
  3103. ef=Power*10
  3104. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  3105. end
  3106. end
  3107. Humanoid.CameraOffset = Vector3.new(0,0,0)
  3108. FV:Destroy()
  3109. end))
  3110. CameraShake(Times, Power, Noob)
  3111. end
  3112. end
  3113. end
  3114. end
  3115. end
  3116. end
  3117.  
  3118. function chatfunc(text,color)
  3119. local chat = coroutine.wrap(function()
  3120. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  3121. Character:FindFirstChild("TalkingBillBoard"):destroy()
  3122. end
  3123. local naeeym2 = Instance.new("BillboardGui",Character)
  3124. naeeym2.Size = UDim2.new(0,100,0,40)
  3125. naeeym2.StudsOffset = Vector3.new(0,3,0)
  3126. naeeym2.Adornee = Character.Head
  3127. naeeym2.Name = "TalkingBillBoard"
  3128. local tecks2 = Instance.new("TextLabel",naeeym2)
  3129. tecks2.BackgroundTransparency = 1
  3130. tecks2.BorderSizePixel = 0
  3131. tecks2.Text = ""
  3132. tecks2.Font = "SciFi"
  3133. tecks2.TextSize = 30
  3134. tecks2.TextStrokeTransparency = 0
  3135. tecks2.TextColor3 = color
  3136. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  3137. tecks2.Size = UDim2.new(1,0,0.5,0)
  3138. local tecks3 = Instance.new("TextLabel",naeeym2)
  3139. tecks3.BackgroundTransparency = 1
  3140. tecks3.BorderSizePixel = 0
  3141. tecks3.Text = ""
  3142. tecks3.Font = "SciFi"
  3143. tecks3.TextSize = 30
  3144. tecks3.TextStrokeTransparency = 0
  3145. tecks3.TextColor3 = Color3.new(0,0,0)
  3146. tecks3.TextStrokeColor3 = color
  3147. tecks3.Size = UDim2.new(1,0,0.5,0)
  3148. coroutine.resume(coroutine.create(function()
  3149. while true do
  3150. swait(1)
  3151. plr.Character.wrecked.Volume = 0.3
  3152. if chaosmode == true then
  3153. tecks2.TextColor3 = BrickColor.random().Color
  3154. tecks3.TextStrokeColor3 = BrickColor.random().Color
  3155. end
  3156. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  3157. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  3158. tecks2.Rotation = math.random(-5,5)
  3159. tecks3.Rotation = math.random(-5,5)
  3160. end
  3161. end))
  3162. for i = 1,string.len(text),1 do
  3163. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  3164. tecks2.Text = string.sub(text,1,i)
  3165. tecks3.Text = string.sub(text,1,i)
  3166. swait(1)
  3167. end
  3168. wait(1)
  3169. local randomrot = math.random(1,2)
  3170. if randomrot == 1 then
  3171. for i = 1, 50 do
  3172. swait()
  3173. tecks2.Rotation = tecks2.Rotation - .75
  3174. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3175. tecks2.TextTransparency = tecks2.TextTransparency + .04
  3176. tecks3.Rotation = tecks2.Rotation + .75
  3177. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3178. tecks3.TextTransparency = tecks2.TextTransparency + .04
  3179. end
  3180. elseif randomrot == 2 then
  3181. for i = 1, 50 do
  3182. swait()
  3183. tecks2.Rotation = tecks2.Rotation + .75
  3184. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3185. tecks2.TextTransparency = tecks2.TextTransparency + .04
  3186. tecks3.Rotation = tecks2.Rotation - .75
  3187. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3188. tecks3.TextTransparency = tecks2.TextTransparency + .04
  3189. end
  3190. end
  3191. naeeym2:Destroy()
  3192. end)
  3193. chat()
  3194. end
  3195.  
  3196.  
  3197. local Create = LoadLibrary("RbxUtility").Create
  3198.  
  3199. CFuncs = {
  3200. ["Part"] = {
  3201. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3202. local Part = Create("Part"){
  3203. Parent = Parent,
  3204. Reflectance = Reflectance,
  3205. Transparency = Transparency,
  3206. CanCollide = false,
  3207. Locked = true,
  3208. BrickColor = BrickColor.new(tostring(BColor)),
  3209. Name = Name,
  3210. Size = Size,
  3211. Material = Material,
  3212. }
  3213. RemoveOutlines(Part)
  3214. return Part
  3215. end;
  3216. };
  3217.  
  3218. ["Mesh"] = {
  3219. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3220. local Msh = Create(Mesh){
  3221. Parent = Part,
  3222. Offset = OffSet,
  3223. Scale = Scale,
  3224. }
  3225. if Mesh == "SpecialMesh" then
  3226. Msh.MeshType = MeshType
  3227. Msh.MeshId = MeshId
  3228. end
  3229. return Msh
  3230. end;
  3231. };
  3232.  
  3233. ["Mesh"] = {
  3234. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3235. local Msh = Create(Mesh){
  3236. Parent = Part,
  3237. Offset = OffSet,
  3238. Scale = Scale,
  3239. }
  3240. if Mesh == "SpecialMesh" then
  3241. Msh.MeshType = MeshType
  3242. Msh.MeshId = MeshId
  3243. end
  3244. return Msh
  3245. end;
  3246. };
  3247.  
  3248. ["Weld"] = {
  3249. Create = function(Parent, Part0, Part1, C0, C1)
  3250. local Weld = Create("Weld"){
  3251. Parent = Parent,
  3252. Part0 = Part0,
  3253. Part1 = Part1,
  3254. C0 = C0,
  3255. C1 = C1,
  3256. }
  3257. return Weld
  3258. end;
  3259. };
  3260.  
  3261. ["Sound"] = {
  3262. Create = function(id, par, vol, pit)
  3263. coroutine.resume(coroutine.create(function()
  3264. local S = Create("Sound"){
  3265. Volume = vol,
  3266. Name = "EffectSoundo",
  3267. Pitch = pit or 1,
  3268. SoundId = id,
  3269. Parent = par or workspace,
  3270. }
  3271. wait()
  3272. S:play()
  3273. game:GetService("Debris"):AddItem(S, 10)
  3274. end))
  3275. end;
  3276. };
  3277.  
  3278. ["LongSound"] = {
  3279. Create = function(id, par, vol, pit)
  3280. coroutine.resume(coroutine.create(function()
  3281. local S = Create("Sound"){
  3282. Volume = vol,
  3283. Pitch = pit or 1,
  3284. SoundId = id,
  3285. Parent = par or workspace,
  3286. }
  3287. wait()
  3288. S:play()
  3289. game:GetService("Debris"):AddItem(S, 30)
  3290. end))
  3291. end;
  3292. };
  3293.  
  3294. ["ParticleEmitter"] = {
  3295. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  3296. local fp = Create("ParticleEmitter"){
  3297. Parent = Parent,
  3298. Color = ColorSequence.new(Color1, Color2),
  3299. LightEmission = LightEmission,
  3300. Size = Size,
  3301. Texture = Texture,
  3302. Transparency = Transparency,
  3303. ZOffset = ZOffset,
  3304. Acceleration = Accel,
  3305. Drag = Drag,
  3306. LockedToPart = LockedToPart,
  3307. VelocityInheritance = VelocityInheritance,
  3308. EmissionDirection = EmissionDirection,
  3309. Enabled = Enabled,
  3310. Lifetime = LifeTime,
  3311. Rate = Rate,
  3312. Rotation = Rotation,
  3313. RotSpeed = RotSpeed,
  3314. Speed = Speed,
  3315. VelocitySpread = VelocitySpread,
  3316. }
  3317. return fp
  3318. end;
  3319. };
  3320.  
  3321. CreateTemplate = {
  3322.  
  3323. };
  3324. }
  3325.  
  3326.  
  3327.  
  3328. New = function(Object, Parent, Name, Data)
  3329. local Object = Instance.new(Object)
  3330. for Index, Value in pairs(Data or {}) do
  3331. Object[Index] = Value
  3332. end
  3333. Object.Parent = Parent
  3334. Object.Name = Name
  3335. return Object
  3336. end
  3337. local halocolor = BrickColor.new("Pastel light blue")
  3338. local halocolor2 = BrickColor.new("Cool yellow")
  3339. local starcolor = BrickColor.new("Bright yellow")
  3340. local lunacolor = BrickColor.new("Navy blue")
  3341. local lunacolor2 = BrickColor.new("Bright blue")
  3342. local wepcolor = BrickColor.new("Really black")
  3343. local maincolor = BrickColor.new("Really black")
  3344. local m = Instance.new("Model",char)
  3345. local m2 = Instance.new("Model",char)
  3346. local m3 = Instance.new("Model",char)
  3347. local mw1 = Instance.new("Model",char)
  3348. local mw2 = Instance.new("Model",char)
  3349.  
  3350. local extrawingmod1 = Instance.new("Model",char)
  3351. local extrawingmod2 = Instance.new("Model",char)
  3352.  
  3353. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  3354. local p = Instance.new("Part")
  3355. p.TopSurface = 0
  3356. p.BottomSurface = 0
  3357. p.Parent = parent
  3358. p.Size = Vector3.new(0.1,0.1,0.1)
  3359. p.Transparency = transparency
  3360. p.Reflectance = reflectance
  3361. p.CanCollide = false
  3362. p.Locked = true
  3363. p.BrickColor = brickcolor
  3364. p.Material = material
  3365. return p
  3366. end
  3367.  
  3368. function CreateMesh(parent,meshtype,x1,y1,z1)
  3369. local mesh = Instance.new("SpecialMesh",parent)
  3370. mesh.MeshType = meshtype
  3371. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  3372. return mesh
  3373. end
  3374.  
  3375. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  3376. local mesh = Instance.new("SpecialMesh",parent)
  3377. mesh.MeshType = "FileMesh"
  3378. mesh.MeshId = meshid
  3379. mesh.Scale = Vector3.new(x1,y1,z1)
  3380. return mesh
  3381. end
  3382.  
  3383.  
  3384. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  3385. local mesh = Instance.new("SpecialMesh",parent)
  3386. mesh.MeshType = "FileMesh"
  3387. mesh.MeshId = meshid
  3388. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  3389. mesh.Scale = Vector3.new(x1,y1,z1)
  3390. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  3391. return mesh
  3392. end
  3393.  
  3394. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  3395. local weld = Instance.new("Weld")
  3396. weld.Parent = parent
  3397. weld.Part0 = part0
  3398. weld.Part1 = part1
  3399. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  3400. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  3401. return weld
  3402. end
  3403.  
  3404.  
  3405. --------------
  3406. local secondchar = Instance.new("Model",char)
  3407. local GhostCol = BrickColor.new("Really red")
  3408. local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
  3409. CreateMesh(sectors,"Brick",2*8,2*8,1*8)
  3410. local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3411.  
  3412. local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  3413. CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
  3414. local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3415.  
  3416. local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  3417. CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
  3418. local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3419.  
  3420. local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  3421. CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
  3422. local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3423.  
  3424. local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  3425. CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
  3426. local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3427.  
  3428. local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
  3429. CreateMesh(seched,"Brick",1*8,1*8,1*8)
  3430. local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3431. --------------
  3432. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3433. 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))
  3434. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3435. 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))
  3436.  
  3437. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  3438. CreateMesh(handle,"Brick",0,0,0)
  3439. 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))
  3440. local valuaring = 10
  3441. for i = 0, 49 do
  3442. valuaring = valuaring + 10
  3443. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  3444. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  3445. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3446. end
  3447.  
  3448. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  3449. CreateMesh(handle,"Brick",0,0,0)
  3450. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3451. local valuaring = 10
  3452. for i = 0, 49 do
  3453. valuaring = valuaring + 10
  3454. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3455. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  3456. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3457. end
  3458.  
  3459.  
  3460. local handle = CreateParta(m,1,1,"Neon",maincolor)
  3461. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3462. 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))
  3463.  
  3464. --- Left wing.
  3465.  
  3466. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  3467. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3468. 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))
  3469.  
  3470. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3471. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3472. 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))
  3473. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3474. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3475. 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))
  3476. A0 = Instance.new('Attachment',wed)
  3477. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3478. CreateMesh(wed,"Wedge",0.05,0.5,3)
  3479. 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))
  3480. A1 = Instance.new('Attachment',wed)
  3481. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3482. CreateMesh(wed,"Wedge",0.05,3,0.5)
  3483. 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))
  3484.  
  3485. tl1 = Instance.new('Trail',wed)
  3486. tl1.Attachment0 = A0
  3487. tl1.Attachment1 = A1
  3488. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  3489. tl1.LightEmission = 1
  3490. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3491. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  3492. tl1.Lifetime = 0.6
  3493.  
  3494.  
  3495. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  3496. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3497. 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))
  3498.  
  3499. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3500. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3501. 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))
  3502. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3503. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3504. 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))
  3505. A0 = Instance.new('Attachment',wed)
  3506. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3507. CreateMesh(wed,"Wedge",0.05,0.5,3)
  3508. 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))
  3509. A1 = Instance.new('Attachment',wed)
  3510. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3511. CreateMesh(wed,"Wedge",0.05,3,0.5)
  3512. 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))
  3513.  
  3514. tl2 = Instance.new('Trail',wed)
  3515. tl2.Attachment0 = A0
  3516. tl2.Attachment1 = A1
  3517. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  3518. tl2.LightEmission = 1
  3519. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3520. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  3521. tl2.Lifetime = 0.6
  3522.  
  3523. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  3524. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3525. 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))
  3526.  
  3527. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3528. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3529. 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))
  3530. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3531. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3532. 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))
  3533. A0 = Instance.new('Attachment',wed)
  3534. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3535. CreateMesh(wed,"Wedge",0.05,0.5,3)
  3536. 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))
  3537. A1 = Instance.new('Attachment',wed)
  3538. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  3539. CreateMesh(wed,"Wedge",0.05,3,0.5)
  3540. 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))
  3541.  
  3542. tl3 = Instance.new('Trail',wed)
  3543. tl3.Attachment0 = A0
  3544. tl3.Attachment1 = A1
  3545. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  3546. tl3.LightEmission = 1
  3547. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3548. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  3549. tl3.Lifetime = 0.6
  3550.  
  3551. tl1.Enabled = false
  3552. tl2.Enabled = false
  3553. tl3.Enabled = false
  3554. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  3555. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3556. 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))
  3557.  
  3558. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3559. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3560. 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))
  3561. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3562. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3563. 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))
  3564. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3565. CreateMesh(wed,"Wedge",0.05,0.5,3)
  3566. 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))
  3567. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3568. CreateMesh(wed,"Wedge",0.05,3,0.5)
  3569. 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))
  3570.  
  3571. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  3572. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3573. 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))
  3574.  
  3575. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3576. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3577. 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))
  3578. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3579. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3580. 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))
  3581. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3582. CreateMesh(wed,"Wedge",0.05,0.5,3)
  3583. 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))
  3584. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3585. CreateMesh(wed,"Wedge",0.05,3,0.5)
  3586. 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))
  3587.  
  3588. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  3589. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3590. 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))
  3591.  
  3592. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3593. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3594. 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))
  3595. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3596. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3597. 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))
  3598. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3599. CreateMesh(wed,"Wedge",0.05,0.5,3)
  3600. 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))
  3601. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  3602. CreateMesh(wed,"Wedge",0.05,3,0.5)
  3603. 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))
  3604.  
  3605. -- Right wing.
  3606.  
  3607. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  3608. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3609. 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))
  3610.  
  3611. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3612. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3613. 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))
  3614. A0 = Instance.new('Attachment',wed)
  3615. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3616. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3617. 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))
  3618. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3619. CreateMesh(wed,"Wedge",0.05,0.5,3)
  3620. 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))
  3621. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3622. CreateMesh(wed,"Wedge",0.05,3,0.5)
  3623. 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))
  3624. A1 = Instance.new('Attachment',wed)
  3625.  
  3626. tr1 = Instance.new('Trail',wed)
  3627. tr1.Attachment0 = A0
  3628. tr1.Attachment1 = A1
  3629. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  3630. tr1.LightEmission = 1
  3631. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3632. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  3633. tr1.Lifetime = 0.6
  3634.  
  3635. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  3636. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3637. 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))
  3638.  
  3639. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3640. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3641. 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))
  3642. A0 = Instance.new('Attachment',wed)
  3643. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3644. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3645. 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))
  3646. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3647. CreateMesh(wed,"Wedge",0.05,0.5,3)
  3648. 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))
  3649. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3650. CreateMesh(wed,"Wedge",0.05,3,0.5)
  3651. 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))
  3652. A1 = Instance.new('Attachment',wed)
  3653.  
  3654. tr2 = Instance.new('Trail',wed)
  3655. tr2.Attachment0 = A0
  3656. tr2.Attachment1 = A1
  3657. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  3658. tr2.LightEmission = 1
  3659. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3660. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  3661. tr2.Lifetime = 0.6
  3662.  
  3663. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  3664. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3665. 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))
  3666.  
  3667. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3668. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3669. 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))
  3670. A0 = Instance.new('Attachment',wed)
  3671. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3672. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3673. 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))
  3674. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3675. CreateMesh(wed,"Wedge",0.05,0.5,3)
  3676. 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))
  3677. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  3678. CreateMesh(wed,"Wedge",0.05,3,0.5)
  3679. 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))
  3680. A1 = Instance.new('Attachment',wed)
  3681.  
  3682. tr3 = Instance.new('Trail',wed)
  3683. tr3.Attachment0 = A0
  3684. tr3.Attachment1 = A1
  3685. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  3686. tr3.LightEmission = 1
  3687. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3688. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  3689. tr3.Lifetime = 0.6
  3690.  
  3691.  
  3692. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  3693. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3694. 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))
  3695.  
  3696. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3697. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3698. 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))
  3699. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3700. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3701. 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))
  3702. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3703. CreateMesh(wed,"Wedge",0.05,0.5,3)
  3704. 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))
  3705. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3706. CreateMesh(wed,"Wedge",0.05,3,0.5)
  3707. 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))
  3708.  
  3709. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  3710. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3711. 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))
  3712.  
  3713. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3714. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3715. 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))
  3716. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3717. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3718. 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))
  3719. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3720. CreateMesh(wed,"Wedge",0.05,0.5,3)
  3721. 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))
  3722. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3723. CreateMesh(wed,"Wedge",0.05,3,0.5)
  3724. 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))
  3725.  
  3726. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  3727. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  3728. 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))
  3729.  
  3730. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3731. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3732. 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))
  3733. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3734. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  3735. 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))
  3736. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3737. CreateMesh(wed,"Wedge",0.05,0.5,3)
  3738. 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))
  3739. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  3740. CreateMesh(wed,"Wedge",0.05,3,0.5)
  3741. 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))
  3742.  
  3743. ---- HERES THE RING
  3744.  
  3745.  
  3746. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  3747. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  3748. 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))
  3749. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3750. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  3751. 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))
  3752. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3753. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  3754. 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))
  3755.  
  3756.  
  3757. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3758. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  3759. 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))
  3760.  
  3761. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3762. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  3763. 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))
  3764.  
  3765.  
  3766.  
  3767. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  3768. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  3769. 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))
  3770.  
  3771. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  3772. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  3773. 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))
  3774.  
  3775. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  3776. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  3777. 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))
  3778.  
  3779. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3780. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  3781. 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))
  3782. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  3783. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  3784. 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))
  3785.  
  3786. --- second ring
  3787.  
  3788. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  3789. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  3790. 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))
  3791. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3792. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  3793. 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))
  3794. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3795. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  3796. 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))
  3797.  
  3798. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3799. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  3800. 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))
  3801.  
  3802. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3803. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  3804. 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))
  3805.  
  3806.  
  3807.  
  3808. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  3809. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  3810. 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))
  3811.  
  3812. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  3813. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  3814. 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))
  3815.  
  3816. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  3817. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  3818. 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))
  3819.  
  3820. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  3821. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  3822. 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))
  3823. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  3824. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  3825. 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))]]--
  3826.  
  3827.  
  3828.  
  3829. for i, v in pairs(m:GetChildren()) do
  3830. if v:IsA("Part") then
  3831. v.BrickColor = BrickColor.new("Really black")
  3832. v.Material = "Glass"
  3833. end
  3834. end
  3835. for i, v in pairs(m2:GetChildren()) do
  3836. if v:IsA("Part") then
  3837. v.BrickColor = BrickColor.new("Crimson")
  3838. v.Material = "Granite"
  3839. end
  3840. end
  3841. for i, v in pairs(m3:GetChildren()) do
  3842. if v:IsA("Part") then
  3843. v.BrickColor = BrickColor.new("Really red")
  3844. v.Material = "Neon"
  3845. end
  3846. end
  3847. for i, v in pairs(mw2:GetChildren()) do
  3848. if v:IsA("Part") then
  3849. v.BrickColor = BrickColor.new("Really red")
  3850. v.Material = "Neon"
  3851. end
  3852. end
  3853. for i, v in pairs(mw1:GetChildren()) do
  3854. if v:IsA("Part") then
  3855. v.Transparency = 1
  3856. v.BrickColor = BrickColor.new("Really red")
  3857. v.Material = "Neon"
  3858. end
  3859. end
  3860. for i, v in pairs(extrawingmod1:GetChildren()) do
  3861. if v:IsA("Part") then
  3862. v.Transparency = 1
  3863. v.BrickColor = BrickColor.new("White")
  3864. v.Material = "Neon"
  3865. end
  3866. end
  3867. for i, v in pairs(extrawingmod2:GetChildren()) do
  3868. if v:IsA("Part") then
  3869. v.Transparency = 1
  3870. v.BrickColor = BrickColor.new("White")
  3871. v.Material = "Neon"
  3872. end
  3873. end
  3874. local MAINRUINCOLOR = BrickColor.new("Really red")
  3875. ------
  3876.  
  3877.  
  3878. function RemoveOutlines(part)
  3879. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  3880. end
  3881. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3882. local Part = Create("Part")({
  3883. Parent = Parent,
  3884. Reflectance = Reflectance,
  3885. Transparency = Transparency,
  3886. CanCollide = false,
  3887. Locked = true,
  3888. BrickColor = BrickColor.new(tostring(BColor)),
  3889. Name = Name,
  3890. Size = Size,
  3891. Material = Material
  3892. })
  3893. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  3894. RemoveOutlines(Part)
  3895. return Part
  3896. end
  3897. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3898. local Msh = Create(Mesh)({
  3899. Parent = Part,
  3900. Offset = OffSet,
  3901. Scale = Scale
  3902. })
  3903. if Mesh == "SpecialMesh" then
  3904. Msh.MeshType = MeshType
  3905. Msh.MeshId = MeshId
  3906. end
  3907. return Msh
  3908. end
  3909. function CreateWeld(Parent, Part0, Part1, C0, C1)
  3910. local Weld = Create("Weld")({
  3911. Parent = Parent,
  3912. Part0 = Part0,
  3913. Part1 = Part1,
  3914. C0 = C0,
  3915. C1 = C1
  3916. })
  3917. return Weld
  3918. end
  3919.  
  3920. Player=game:GetService("Players").LocalPlayer
  3921. Character=Player.Character
  3922. PlayerGui=Player.PlayerGui
  3923. Backpack=Player.Backpack
  3924. Torso=Character.Torso
  3925. Head=Character.Head
  3926. Humanoid=Character.Humanoid
  3927. m=Instance.new('Model',Character)
  3928. LeftArm=Character["Left Arm"]
  3929. LeftLeg=Character["Left Leg"]
  3930. RightArm=Character["Right Arm"]
  3931. RightLeg=Character["Right Leg"]
  3932. LS=Torso["Left Shoulder"]
  3933. LH=Torso["Left Hip"]
  3934. RS=Torso["Right Shoulder"]
  3935. RH=Torso["Right Hip"]
  3936. Face = Head.face
  3937. Neck=Torso.Neck
  3938. it=Instance.new
  3939. attacktype=1
  3940. vt=Vector3.new
  3941. cf=CFrame.new
  3942. euler=CFrame.fromEulerAnglesXYZ
  3943. angles=CFrame.Angles
  3944. cloaked=false
  3945. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3946. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3947. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  3948. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  3949. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  3950. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  3951. RootPart=Character.HumanoidRootPart
  3952. RootJoint=RootPart.RootJoint
  3953. RootCF=euler(-1.57,0,3.14)
  3954. attack = false
  3955. attackdebounce = false
  3956. deb=false
  3957. equipped=true
  3958. hand=false
  3959. MMouse=nil
  3960. combo=0
  3961. mana=0
  3962. trispeed=.2
  3963. attackmode='none'
  3964. local idle=0
  3965. local Anim="Idle"
  3966. local Effects={}
  3967. local gun=false
  3968. local shoot=false
  3969. local sine = 0
  3970. local change = 1
  3971. player=nil
  3972.  
  3973.  
  3974. local toggleTag = true
  3975. local txt = Instance.new("BillboardGui", Head)
  3976. txt.Adornee = nil
  3977. txt.Name = "NameDetect"
  3978. txt.Size = UDim2.new(4, 0, 1.2, 0)
  3979. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  3980. local text = Instance.new("TextLabel", txt)
  3981. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  3982. text.FontSize = "Size8"
  3983. text.TextScaled = true
  3984. text.TextTransparency = 0
  3985. text.BackgroundTransparency = 1
  3986. text.TextTransparency = 0
  3987. text.TextStrokeTransparency = 0
  3988. text.Font = "Fantasy"
  3989. text.TextStrokeColor3 = Color3.new(1,0,0)
  3990. text.TextColor3 = Color3.new(0,0,0)
  3991. text.Text = "Mayhem"
  3992.  
  3993. function RecolorTextAndRename(name,col1,col2)
  3994. text.TextStrokeColor3 = col2
  3995. text.TextColor3 = col1
  3996. text.Text = name
  3997. end
  3998. mouse=Player:GetMouse()
  3999. --save shoulders
  4000. RSH, LSH=nil, nil
  4001. --welds
  4002. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  4003. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  4004. LH=Torso["Left Hip"]
  4005. RH=Torso["Right Hip"]
  4006. TorsoColor=Torso.BrickColor
  4007. function NoOutline(Part)
  4008. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  4009. end
  4010. player=Player
  4011. ch=Character
  4012. RSH=ch.Torso["Right Shoulder"]
  4013. LSH=ch.Torso["Left Shoulder"]
  4014. --
  4015. RSH.Parent=nil
  4016. LSH.Parent=nil
  4017. --
  4018. RW.Name="Right Shoulder"
  4019. RW.Part0=ch.Torso
  4020. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  4021. RW.C1=cf(0, 0.5, 0)
  4022. RW.Part1=ch["Right Arm"]
  4023. RW.Parent=ch.Torso
  4024. --
  4025. LW.Name="Left Shoulder"
  4026. LW.Part0=ch.Torso
  4027. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  4028. LW.C1=cf(0, 0.5, 0)
  4029. LW.Part1=ch["Left Arm"]
  4030. LW.Parent=ch.Torso
  4031.  
  4032. local Stats=Instance.new("BoolValue")
  4033. Stats.Name="Stats"
  4034. Stats.Parent=Character
  4035. local Atk=Instance.new("NumberValue")
  4036. Atk.Name="Damage"
  4037. Atk.Parent=Stats
  4038. Atk.Value=1
  4039. local Def=Instance.new("NumberValue")
  4040. Def.Name="Defense"
  4041. Def.Parent=Stats
  4042. Def.Value=1
  4043. local Speed=Instance.new("NumberValue")
  4044. Speed.Name="Speed"
  4045. Speed.Parent=Stats
  4046. Speed.Value=1
  4047. local Mvmt=Instance.new("NumberValue")
  4048. Mvmt.Name="Movement"
  4049. Mvmt.Parent=Stats
  4050. Mvmt.Value=1
  4051.  
  4052. local donum=0
  4053.  
  4054.  
  4055. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  4056. local fp=it("Part")
  4057. fp.formFactor=formfactor
  4058. fp.Parent=parent
  4059. fp.Reflectance=reflectance
  4060. fp.Transparency=transparency
  4061. fp.CanCollide=false
  4062. fp.Locked=true
  4063. fp.BrickColor=brickcolor
  4064. fp.Name=name
  4065. fp.Size=size
  4066. fp.Position=Torso.Position
  4067. NoOutline(fp)
  4068. fp.Material="SmoothPlastic"
  4069. fp:BreakJoints()
  4070. return fp
  4071. end
  4072.  
  4073. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  4074. local mesh=it(Mesh)
  4075. mesh.Parent=part
  4076. if Mesh=="SpecialMesh" then
  4077. mesh.MeshType=meshtype
  4078. if meshid~="nil" then
  4079. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  4080. end
  4081. end
  4082. mesh.Offset=offset
  4083. mesh.Scale=scale
  4084. return mesh
  4085. end
  4086.  
  4087. function weld(parent,part0,part1,c0)
  4088. local weld=it("Weld")
  4089. weld.Parent=parent
  4090. weld.Part0=part0
  4091. weld.Part1=part1
  4092. weld.C0=c0
  4093. return weld
  4094. end
  4095.  
  4096. local Color1=Torso.BrickColor
  4097.  
  4098. local bodvel=Instance.new("BodyVelocity")
  4099. local bg=Instance.new("BodyGyro")
  4100.  
  4101. function swait(num)
  4102. if num==0 or num==nil then
  4103. game:service'RunService'.Stepped:wait(0)
  4104. else
  4105. for i=0,num do
  4106. game:service'RunService'.Stepped:wait(0)
  4107. end
  4108. end
  4109. end
  4110.  
  4111. -------- RAINBOW LEAVE IT TO ME
  4112. local r = 255
  4113. local g = 0
  4114. local b = 0
  4115. coroutine.resume(coroutine.create(function()
  4116. while wait() do
  4117. for i = 0, 254/5 do
  4118. swait()
  4119. g = g + 5
  4120. end
  4121. for i = 0, 254/5 do
  4122. swait()
  4123. r = r - 5
  4124. end
  4125. for i = 0, 254/5 do
  4126. swait()
  4127. b = b + 5
  4128. end
  4129. for i = 0, 254/5 do
  4130. swait()
  4131. g = g - 5
  4132. end
  4133. for i = 0, 254/5 do
  4134. swait()
  4135. r = r + 5
  4136. end
  4137. for i = 0, 254/5 do
  4138. swait()
  4139. b = b - 5
  4140. end
  4141. end
  4142. end))
  4143.  
  4144.  
  4145. so = function(id,par,vol,pit)
  4146. coroutine.resume(coroutine.create(function()
  4147. local sou = Instance.new("Sound",par or workspace)
  4148. sou.Volume=vol
  4149. sou.Pitch=pit or 1
  4150. sou.SoundId=id
  4151. swait()
  4152. sou:play()
  4153. game:GetService("Debris"):AddItem(sou,6)
  4154. end))
  4155. end
  4156.  
  4157. function clerp(a,b,t)
  4158. local qa = {QuaternionFromCFrame(a)}
  4159. local qb = {QuaternionFromCFrame(b)}
  4160. local ax, ay, az = a.x, a.y, a.z
  4161. local bx, by, bz = b.x, b.y, b.z
  4162. local _t = 1-t
  4163. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  4164. end
  4165.  
  4166. function QuaternionFromCFrame(cf)
  4167. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  4168. local trace = m00 + m11 + m22
  4169. if trace > 0 then
  4170. local s = math.sqrt(1 + trace)
  4171. local recip = 0.5/s
  4172. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  4173. else
  4174. local i = 0
  4175. if m11 > m00 then
  4176. i = 1
  4177. end
  4178. if m22 > (i == 0 and m00 or m11) then
  4179. i = 2
  4180. end
  4181. if i == 0 then
  4182. local s = math.sqrt(m00-m11-m22+1)
  4183. local recip = 0.5/s
  4184. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  4185. elseif i == 1 then
  4186. local s = math.sqrt(m11-m22-m00+1)
  4187. local recip = 0.5/s
  4188. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  4189. elseif i == 2 then
  4190. local s = math.sqrt(m22-m00-m11+1)
  4191. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  4192. end
  4193. end
  4194. end
  4195.  
  4196. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  4197. local xs, ys, zs = x + x, y + y, z + z
  4198. local wx, wy, wz = w*xs, w*ys, w*zs
  4199. local xx = x*xs
  4200. local xy = x*ys
  4201. local xz = x*zs
  4202. local yy = y*ys
  4203. local yz = y*zs
  4204. local zz = z*zs
  4205. 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))
  4206. end
  4207.  
  4208. function QuaternionSlerp(a, b, t)
  4209. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  4210. local startInterp, finishInterp;
  4211. if cosTheta >= 0.0001 then
  4212. if (1 - cosTheta) > 0.0001 then
  4213. local theta = math.acos(cosTheta)
  4214. local invSinTheta = 1/math.sin(theta)
  4215. startInterp = math.sin((1-t)*theta)*invSinTheta
  4216. finishInterp = math.sin(t*theta)*invSinTheta
  4217. else
  4218. startInterp = 1-t
  4219. finishInterp = t
  4220. end
  4221. else
  4222. if (1+cosTheta) > 0.0001 then
  4223. local theta = math.acos(-cosTheta)
  4224. local invSinTheta = 1/math.sin(theta)
  4225. startInterp = math.sin((t-1)*theta)*invSinTheta
  4226. finishInterp = math.sin(t*theta)*invSinTheta
  4227. else
  4228. startInterp = t-1
  4229. finishInterp = t
  4230. end
  4231. end
  4232. 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
  4233. end
  4234.  
  4235. local function CFrameFromTopBack(at, top, back)
  4236. local right = top:Cross(back)
  4237. return CFrame.new(at.x, at.y, at.z,
  4238. right.x, top.x, back.x,
  4239. right.y, top.y, back.y,
  4240. right.z, top.z, back.z)
  4241. end
  4242.  
  4243. function Triangle(a, b, c)
  4244. local edg1 = (c-a):Dot((b-a).unit)
  4245. local edg2 = (a-b):Dot((c-b).unit)
  4246. local edg3 = (b-c):Dot((a-c).unit)
  4247. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  4248. a, b, c = a, b, c
  4249. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  4250. a, b, c = b, c, a
  4251. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  4252. a, b, c = c, a, b
  4253. else
  4254. assert(false, "unreachable")
  4255. end
  4256.  
  4257. local len1 = (c-a):Dot((b-a).unit)
  4258. local len2 = (b-a).magnitude - len1
  4259. local width = (a + (b-a).unit*len1 - c).magnitude
  4260.  
  4261. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  4262.  
  4263. local list = {}
  4264.  
  4265. if len1 > 0.01 then
  4266. local w1 = Instance.new('WedgePart', m)
  4267. game:GetService("Debris"):AddItem(w1,5)
  4268. w1.Material = "SmoothPlastic"
  4269. w1.FormFactor = 'Custom'
  4270. w1.BrickColor = BrickColor.new("Really red")
  4271. w1.Transparency = 0
  4272. w1.Reflectance = 0
  4273. w1.Material = "SmoothPlastic"
  4274. w1.CanCollide = false
  4275. local l1 = Instance.new("PointLight",w1)
  4276. l1.Color = Color3.new(170,0,0)
  4277. NoOutline(w1)
  4278. local sz = Vector3.new(0.2, width, len1)
  4279. w1.Size = sz
  4280. local sp = Instance.new("SpecialMesh",w1)
  4281. sp.MeshType = "Wedge"
  4282. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  4283. w1:BreakJoints()
  4284. w1.Anchored = true
  4285. w1.Parent = workspace
  4286. w1.Transparency = 0.7
  4287. table.insert(Effects,{w1,"Disappear",.01})
  4288. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  4289. table.insert(list,w1)
  4290. end
  4291.  
  4292. if len2 > 0.01 then
  4293. local w2 = Instance.new('WedgePart', m)
  4294. game:GetService("Debris"):AddItem(w2,5)
  4295. w2.Material = "SmoothPlastic"
  4296. w2.FormFactor = 'Custom'
  4297. w2.BrickColor = BrickColor.new("Really red")
  4298. w2.Transparency = 0
  4299. w2.Reflectance = 0
  4300. w2.Material = "SmoothPlastic"
  4301. w2.CanCollide = false
  4302. local l2 = Instance.new("PointLight",w2)
  4303. l2.Color = Color3.new(170,0,0)
  4304. NoOutline(w2)
  4305. local sz = Vector3.new(0.2, width, len2)
  4306. w2.Size = sz
  4307. local sp = Instance.new("SpecialMesh",w2)
  4308. sp.MeshType = "Wedge"
  4309. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  4310. w2:BreakJoints()
  4311. w2.Anchored = true
  4312. w2.Parent = workspace
  4313. w2.Transparency = 0.7
  4314. table.insert(Effects,{w2,"Disappear",.01})
  4315. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  4316. table.insert(list,w2)
  4317. end
  4318. return unpack(list)
  4319. end
  4320.  
  4321.  
  4322. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  4323. if hit.Parent == nil then
  4324. return
  4325. end
  4326. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  4327. for _, v in pairs(hit.Parent:children()) do
  4328. if v:IsA("Humanoid") then
  4329. h = v
  4330. end
  4331. end
  4332. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  4333. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  4334. return
  4335. end
  4336. local c = Create("ObjectValue")({
  4337. Name = "creator",
  4338. Value = game:service("Players").LocalPlayer,
  4339. Parent = h
  4340. })
  4341. game:GetService("Debris"):AddItem(c, 0.5)
  4342. if HitSound ~= nil and HitPitch ~= nil then
  4343. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  4344. end
  4345. local Damage = math.random(minim, maxim)
  4346. local blocked = false
  4347. local block = hit.Parent:findFirstChild("Block")
  4348. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  4349. blocked = true
  4350. block.Value = block.Value - 1
  4351. print(block.Value)
  4352. end
  4353. if blocked == false then
  4354. HitHealth = h.Health
  4355. h.Health = h.Health - Damage
  4356. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  4357. print("gained kill")
  4358. end
  4359. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  4360. else
  4361. h.Health = h.Health - Damage / 2
  4362. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  4363. end
  4364. if Type == "Knockdown" then
  4365. local hum = hit.Parent.Humanoid
  4366. hum.PlatformStand = true
  4367. coroutine.resume(coroutine.create(function(HHumanoid)
  4368. swait(1)
  4369. HHumanoid.PlatformStand = false
  4370. end), hum)
  4371. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  4372. local bodvol = Create("BodyVelocity")({
  4373. velocity = angle * knockback,
  4374. P = 5000,
  4375. maxForce = Vector3.new(8000, 8000, 8000),
  4376. Parent = hit
  4377. })
  4378. local rl = Create("BodyAngularVelocity")({
  4379. P = 3000,
  4380. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  4381. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  4382. Parent = hit
  4383. })
  4384. game:GetService("Debris"):AddItem(bodvol, 0.5)
  4385. game:GetService("Debris"):AddItem(rl, 0.5)
  4386. elseif Type == "Normal" then
  4387. local vp = Create("BodyVelocity")({
  4388. P = 500,
  4389. maxForce = Vector3.new(math.huge, 0, math.huge),
  4390. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  4391. })
  4392. if knockback > 0 then
  4393. vp.Parent = hit.Parent.Head
  4394. end
  4395. game:GetService("Debris"):AddItem(vp, 0.5)
  4396. elseif Type == "Up" then
  4397. local bodyVelocity = Create("BodyVelocity")({
  4398. velocity = Vector3.new(0, 20, 0),
  4399. P = 5000,
  4400. maxForce = Vector3.new(8000, 8000, 8000),
  4401. Parent = hit
  4402. })
  4403. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  4404. local bodyVelocity = Create("BodyVelocity")({
  4405. velocity = Vector3.new(0, 20, 0),
  4406. P = 5000,
  4407. maxForce = Vector3.new(8000, 8000, 8000),
  4408. Parent = hit
  4409. })
  4410. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  4411. elseif Type == "Leech" then
  4412. local hum = hit.Parent.Humanoid
  4413. if hum ~= nil then
  4414. for i = 0, 2 do
  4415. 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)
  4416. end
  4417. Humanoid.Health = Humanoid.Health + 10
  4418. end
  4419. elseif Type == "UpKnock" then
  4420. local hum = hit.Parent.Humanoid
  4421. hum.PlatformStand = true
  4422. if hum ~= nil then
  4423. hitr = true
  4424. end
  4425. coroutine.resume(coroutine.create(function(HHumanoid)
  4426. swait(5)
  4427. HHumanoid.PlatformStand = false
  4428. hitr = false
  4429. end), hum)
  4430. local bodyVelocity = Create("BodyVelocity")({
  4431. velocity = Vector3.new(0, 20, 0),
  4432. P = 5000,
  4433. maxForce = Vector3.new(8000, 8000, 8000),
  4434. Parent = hit
  4435. })
  4436. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  4437. local bodyVelocity = Create("BodyVelocity")({
  4438. velocity = Vector3.new(0, 20, 0),
  4439. P = 5000,
  4440. maxForce = Vector3.new(8000, 8000, 8000),
  4441. Parent = hit
  4442. })
  4443. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  4444. elseif Type == "Snare" then
  4445. local bp = Create("BodyPosition")({
  4446. P = 2000,
  4447. D = 100,
  4448. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4449. position = hit.Parent.Torso.Position,
  4450. Parent = hit.Parent.Torso
  4451. })
  4452. game:GetService("Debris"):AddItem(bp, 1)
  4453. elseif Type == "Slashnare" then
  4454. 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)
  4455. for i = 1, math.random(4, 5) do
  4456. 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)
  4457. end
  4458. local bp = Create("BodyPosition")({
  4459. P = 2000,
  4460. D = 100,
  4461. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4462. position = hit.Parent.Torso.Position,
  4463. Parent = hit.Parent.Torso
  4464. })
  4465. game:GetService("Debris"):AddItem(bp, 1)
  4466. elseif Type == "Spike" then
  4467. CreateBigIceSword(hit.Parent.Torso.CFrame)
  4468. local bp = Create("BodyPosition")({
  4469. P = 2000,
  4470. D = 100,
  4471. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4472. position = hit.Parent.Torso.Position,
  4473. Parent = hit.Parent.Torso
  4474. })
  4475. game:GetService("Debris"):AddItem(bp, 1)
  4476. elseif Type == "Freeze" then
  4477. local BodPos = Create("BodyPosition")({
  4478. P = 50000,
  4479. D = 1000,
  4480. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4481. position = hit.Parent.Torso.Position,
  4482. Parent = hit.Parent.Torso
  4483. })
  4484. local BodGy = Create("BodyGyro")({
  4485. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  4486. P = 20000,
  4487. Parent = hit.Parent.Torso,
  4488. cframe = hit.Parent.Torso.CFrame
  4489. })
  4490. hit.Parent.Torso.Anchored = true
  4491. coroutine.resume(coroutine.create(function(Part)
  4492. swait(1.5)
  4493. Part.Anchored = false
  4494. end), hit.Parent.Torso)
  4495. game:GetService("Debris"):AddItem(BodPos, 3)
  4496. game:GetService("Debris"):AddItem(BodGy, 3)
  4497. end
  4498. local debounce = Create("BoolValue")({
  4499. Name = "DebounceHit",
  4500. Parent = hit.Parent,
  4501. Value = true
  4502. })
  4503. game:GetService("Debris"):AddItem(debounce, Delay)
  4504. c = Instance.new("ObjectValue")
  4505. c.Name = "creator"
  4506. c.Value = Player
  4507. c.Parent = h
  4508. game:GetService("Debris"):AddItem(c, 0.5)
  4509. end
  4510. end
  4511. function ShowDamage(Pos, Text, Time, Color)
  4512. local Rate = 0.03333333333333333
  4513. local Pos = Pos or Vector3.new(0, 0, 0)
  4514. local Text = Text or ""
  4515. local Time = Time or 2
  4516. local Color = Color or Color3.new(1, 0, 1)
  4517. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  4518. EffectPart.Anchored = true
  4519. local BillboardGui = Create("BillboardGui")({
  4520. Size = UDim2.new(3, 0, 3, 0),
  4521. Adornee = EffectPart,
  4522. Parent = EffectPart
  4523. })
  4524. local TextLabel = Create("TextLabel")({
  4525. BackgroundTransparency = 1,
  4526. Size = UDim2.new(1, 0, 1, 0),
  4527. Text = Text,
  4528. TextColor3 = Color,
  4529. TextScaled = true,
  4530. Font = Enum.Font.ArialBold,
  4531. Parent = BillboardGui
  4532. })
  4533. game.Debris:AddItem(EffectPart, Time + 0.1)
  4534. EffectPart.Parent = game:GetService("Workspace")
  4535. delay(0, function()
  4536. local Frames = Time / Rate
  4537. for Frame = 1, Frames do
  4538. wait(Rate)
  4539. local Percent = Frame / Frames
  4540. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  4541. TextLabel.TextTransparency = Percent
  4542. end
  4543. if EffectPart and EffectPart.Parent then
  4544. EffectPart:Destroy()
  4545. end
  4546. end)
  4547. end
  4548. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  4549. for _, c in pairs(workspace:children()) do
  4550. local hum = c:findFirstChildOfClass("Humanoid")
  4551. if hum ~= nil then
  4552. local head = c:findFirstChild("Head")
  4553. if head ~= nil then
  4554. local targ = head.Position - Part.Position
  4555. local mag = targ.magnitude
  4556. if magni >= mag and c.Name ~= Player.Name then
  4557. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  4558. end
  4559. end
  4560. end
  4561. end
  4562. end
  4563.  
  4564. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  4565. for _, c in pairs(workspace:children()) do
  4566. local hum = c:findFirstChild("Humanoid")
  4567. if hum ~= nil then
  4568. local head = c:findFirstChild("Torso")
  4569. if head ~= nil then
  4570. local targ = head.Position - Part.Position
  4571. local mag = targ.magnitude
  4572. if magni >= mag and c.Name ~= Player.Name then
  4573. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  4574. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  4575. end
  4576. end
  4577. end
  4578. end
  4579. end
  4580.  
  4581. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  4582. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  4583. end
  4584.  
  4585. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  4586. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4587. prt.Anchored=true
  4588. prt.CFrame=cframe
  4589. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  4590. --http://www.roblox.com/asset/?id=4770560
  4591. game:GetService("Debris"):AddItem(prt,2)
  4592. CF=prt.CFrame
  4593. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  4594. for i=0,1,0.2 do
  4595. wait()
  4596. Part.CFrame=CF*cf(0,0,-0.4)
  4597. end
  4598. for i=0,1,delay do
  4599. wait()
  4600. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  4601. Mesh.Scale=Mesh.Scale
  4602. end
  4603. for i=0,1,0.1 do
  4604. wait()
  4605. Part.Transparency=i
  4606. end
  4607. Part.Parent=nil
  4608. end),prt,msh,CF)
  4609. end
  4610.  
  4611. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4612. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4613. prt.Anchored=true
  4614. prt.Material = "Neon"
  4615. prt.CFrame=cframe
  4616. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4617. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4618. game:GetService("Debris"):AddItem(prt,5)
  4619. coroutine.resume(coroutine.create(function(Part,Mesh)
  4620. for i=0,1,delay do
  4621. swait()
  4622. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4623. Part.Transparency=i
  4624. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4625. end
  4626. Part.Parent=nil
  4627. end),prt,msh)
  4628. end
  4629.  
  4630. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  4631. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4632. prt.Anchored=true
  4633. prt.Material = "Neon"
  4634. prt.CFrame=cframe
  4635. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4636. game:GetService("Debris"):AddItem(prt,5)
  4637. coroutine.resume(coroutine.create(function(Part,Mesh)
  4638. local rtype = rottype
  4639. for i=0,1,delay do
  4640. swait()
  4641. if rtype == 1 then
  4642. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4643. elseif rtype == 2 then
  4644. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4645. end
  4646. Part.Transparency=i
  4647. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4648. end
  4649. Part.Parent=nil
  4650. end),prt,msh)
  4651. end
  4652.  
  4653. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4654. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4655. prt.Anchored=true
  4656. prt.CFrame=cframe
  4657. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4658. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4659. game:GetService("Debris"):AddItem(prt,5)
  4660. coroutine.resume(coroutine.create(function(Part,Mesh)
  4661. for i=0,1,delay do
  4662. wait()
  4663. Part.Transparency=i
  4664. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4665. end
  4666. Part.Parent=nil
  4667. end),prt,msh)
  4668. end
  4669.  
  4670. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  4671. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4672. prt.Anchored=true
  4673. prt.Material = "Neon"
  4674. prt.CFrame=cframe
  4675. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4676. game:GetService("Debris"):AddItem(prt,5)
  4677. coroutine.resume(coroutine.create(function(Part,Mesh)
  4678. local rtype = rottype
  4679. for i=0,1,delay do
  4680. swait()
  4681. if rtype == 1 then
  4682. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4683. elseif rtype == 2 then
  4684. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4685. end
  4686. Part.Transparency=i
  4687. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4688. end
  4689. Part.Parent=nil
  4690. end),prt,msh)
  4691. end
  4692.  
  4693. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  4694. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4695. prt.Anchored=true
  4696. prt.Material = "Neon"
  4697. prt.CFrame=cframe
  4698. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  4699. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  4700. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  4701. game:GetService("Debris"):AddItem(prt,5)
  4702. coroutine.resume(coroutine.create(function(Part,Mesh)
  4703. local rtype = rottype
  4704. for i=0,1,delay do
  4705. swait()
  4706. if rtype == 1 then
  4707. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4708. elseif rtype == 2 then
  4709. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4710. end
  4711. dec.Transparency=i
  4712. dec2.Transparency=i
  4713. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  4714. end
  4715. Part.Parent=nil
  4716. end),prt,msh)
  4717. end
  4718.  
  4719. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  4720. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4721. prt.Anchored=true
  4722. prt.Material = "Neon"
  4723. prt.CFrame=cframe
  4724. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  4725. game:GetService("Debris"):AddItem(prt,5)
  4726. coroutine.resume(coroutine.create(function(Part,Mesh)
  4727. local rtype = rottype
  4728. for i=0,1,delay do
  4729. swait()
  4730. if rtype == 1 then
  4731. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4732. elseif rtype == 2 then
  4733. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4734. end
  4735. prt.Transparency=i
  4736. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  4737. end
  4738. Part.Parent=nil
  4739. end),prt,msh)
  4740. end
  4741.  
  4742. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  4743. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4744. prt.Anchored=true
  4745. prt.Material = "Neon"
  4746. prt.CFrame=cframe
  4747. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  4748. game:GetService("Debris"):AddItem(prt,5)
  4749. coroutine.resume(coroutine.create(function(Part,Mesh)
  4750. local rtype = rottype
  4751. for i=0,1,delay do
  4752. swait()
  4753. if rtype == 1 then
  4754. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  4755. elseif rtype == 2 then
  4756. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  4757. end
  4758. prt.Transparency=i
  4759. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  4760. end
  4761. Part.Parent=nil
  4762. end),prt,msh)
  4763. end
  4764.  
  4765. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  4766. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4767. prt.Anchored=true
  4768. prt.Material = "Neon"
  4769. prt.CFrame=cframe
  4770. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4771. game:GetService("Debris"):AddItem(prt,5)
  4772. coroutine.resume(coroutine.create(function(Part,Mesh)
  4773. local rtype = rottype
  4774. for i=0,1,delay do
  4775. swait()
  4776. if rtype == 1 then
  4777. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4778. elseif rtype == 2 then
  4779. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4780. end
  4781. prt.Transparency=i
  4782. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  4783. end
  4784. Part.Parent=nil
  4785. end),prt,msh)
  4786. end
  4787.  
  4788. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  4789. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4790. prt.Anchored=true
  4791. prt.Material = "Neon"
  4792. prt.CFrame=cframe
  4793. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4794. game:GetService("Debris"):AddItem(prt,5)
  4795. coroutine.resume(coroutine.create(function(Part,Mesh)
  4796. local rtype = rottype
  4797. for i=0,1,delay do
  4798. swait()
  4799. if rtype == 1 then
  4800. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  4801. elseif rtype == 2 then
  4802. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  4803. end
  4804. prt.Transparency=i
  4805. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4806. end
  4807. Part.Parent=nil
  4808. end),prt,msh)
  4809. end
  4810.  
  4811. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  4812. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4813. prt.Anchored=false
  4814. prt.CFrame=cframe
  4815. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4816. local wld=weld(prt,prt,Parent,cframe)
  4817. game:GetService("Debris"):AddItem(prt,5)
  4818. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  4819. for i=0,1,delay do
  4820. wait()
  4821. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  4822. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4823. Part.Transparency=i
  4824. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4825. end
  4826. Part.Parent=nil
  4827. end),prt,msh,wld)
  4828. end
  4829.  
  4830. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  4831. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4832. prt.Anchored=false
  4833. prt.CFrame=cframe
  4834. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4835. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  4836. game:GetService("Debris"):AddItem(prt,5)
  4837. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  4838. for i=0,1,delay do
  4839. wait()
  4840. Weld.C0=euler(i*20,0,0)
  4841. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4842. Part.Transparency=i
  4843. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4844. end
  4845. Part.Parent=nil
  4846. end),prt,msh,wld)
  4847. end
  4848.  
  4849. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4850. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4851. prt.Anchored=true
  4852. prt.CFrame=cframe
  4853. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4854. game:GetService("Debris"):AddItem(prt,2)
  4855. coroutine.resume(coroutine.create(function(Part,Mesh)
  4856. for i=0,1,delay do
  4857. wait()
  4858. Part.CFrame=Part.CFrame
  4859. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4860. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4861. prt2.Anchored=true
  4862. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4863. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  4864. game:GetService("Debris"):AddItem(prt2,2)
  4865. coroutine.resume(coroutine.create(function(Part,Mesh)
  4866. for i=0,1,0.1 do
  4867. wait()
  4868. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  4869. end
  4870. Part.Parent=nil
  4871. end),prt2,msh2)
  4872. end
  4873. for i=0,1,delay*2 do
  4874. wait()
  4875. Part.CFrame=Part.CFrame
  4876. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  4877. end
  4878. Part.Parent=nil
  4879. end),prt,msh)
  4880. end
  4881.  
  4882. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4883. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4884. prt.Anchored=true
  4885. prt.CFrame=cframe
  4886. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4887. game:GetService("Debris"):AddItem(prt,2)
  4888. coroutine.resume(coroutine.create(function(Part,Mesh)
  4889. for i=0,1,delay do
  4890. wait()
  4891. Part.CFrame=Part.CFrame
  4892. Part.Transparency=i
  4893. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4894. end
  4895. Part.Parent=nil
  4896. end),prt,msh)
  4897. end
  4898.  
  4899. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  4900. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4901. prt.Anchored=true
  4902. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4903. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4904. game:GetService("Debris"):AddItem(prt,2)
  4905. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  4906. CF=Part.CFrame
  4907. Numbb=0
  4908. randnumb=math.random()/10
  4909. rand1=math.random()/10
  4910. for i=0,1,rand1 do
  4911. wait()
  4912. CF=CF*cf(0,math.random()/2,0)
  4913. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  4914. Part.CFrame=CF*euler(Numbb,0,0)
  4915. Part.Transparency=i
  4916. Numbb=Numbb+randnumb
  4917. end
  4918. Part.Parent=nil
  4919. end),prt,CF,Numbb,randnumb)
  4920. end
  4921.  
  4922. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4923. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4924. prt.Anchored=true
  4925. prt.CFrame=cframe
  4926. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  4927. game:GetService("Debris"):AddItem(prt,5)
  4928. coroutine.resume(coroutine.create(function(Part,Mesh)
  4929. for i=0,1,delay do
  4930. wait()
  4931. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  4932. Part.Transparency=i
  4933. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4934. end
  4935. Part.Parent=nil
  4936. end),prt,msh)
  4937. end
  4938.  
  4939. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4940. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4941. prt.Anchored=true
  4942. prt.CFrame=cframe
  4943. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  4944. game:GetService("Debris"):AddItem(prt,2)
  4945. coroutine.resume(coroutine.create(function(Part,Mesh)
  4946. for i=0,1,delay do
  4947. wait()
  4948. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  4949. Part.Transparency=i
  4950. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4951. end
  4952. Part.Parent=nil
  4953. end),prt,msh)
  4954. end
  4955.  
  4956. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  4957. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4958. prt.Anchored=true
  4959. prt.CFrame=cframe*cf(x,y,z)
  4960. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  4961. game:GetService("Debris"):AddItem(prt,5)
  4962. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  4963. local num=math.random()
  4964. local num2=math.random(-3,2)+math.random()
  4965. local numm=0
  4966. for i=0,1,delay*2 do
  4967. swait()
  4968. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  4969. Part.Transparency=i
  4970. numm=numm+0.01
  4971. end
  4972. Part.Parent=nil
  4973. Mesh.Parent=nil
  4974. end),prt,msh,x,y,z)
  4975. end
  4976.  
  4977. function dmgstart(dmg,what)
  4978. hitcon = what.Touched:connect(function(hit)
  4979. local hum = hit.Parent:FindFirstChild("Humanoid")
  4980. if hum and not hum:IsDescendantOf(Character) then
  4981. hum:TakeDamage(dmg)
  4982. end
  4983. end)
  4984. end
  4985.  
  4986. function dmgstop()
  4987. hitcon:disconnect()
  4988. end
  4989.  
  4990. function Cloak()
  4991. Face.Parent=nil
  4992. cloaked=true
  4993. for _,v in pairs(Torso.Parent:children()) do
  4994. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  4995. coroutine.resume(coroutine.create(function()
  4996. for i=0,1,0.2 do
  4997. wait()
  4998. v.Transparency=i
  4999. end
  5000. v.Transparency=1
  5001. end))
  5002. end
  5003. if v.className=="Hat" then
  5004. hatp=v.Handle
  5005. coroutine.resume(coroutine.create(function(derp)
  5006. for i=0,1,0.2 do
  5007. wait()
  5008. derp.Transparency=i
  5009. end
  5010. derp.Transparency=1
  5011. end),hatp)
  5012. end
  5013. end
  5014. for _,v in pairs(m:children()) do
  5015. if v.className=="Part" then
  5016. coroutine.resume(coroutine.create(function()
  5017. for i=0,1,0.2 do
  5018. wait()
  5019. v.Transparency=i
  5020. end
  5021. v.Transparency=1
  5022. end))
  5023. end
  5024. end
  5025. end
  5026.  
  5027. function UnCloak()
  5028. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  5029. Face.Parent=Head
  5030. cloaked=false
  5031. for _,v in pairs(Torso.Parent:children()) do
  5032. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  5033. coroutine.resume(coroutine.create(function()
  5034. for i=0,1,0.1 do
  5035. wait()
  5036. v.Transparency=v.Transparency-0.1
  5037. end
  5038. v.Transparency=0
  5039. end))
  5040. end
  5041. if v.className=="Hat" then
  5042. hatp=v.Handle
  5043. coroutine.resume(coroutine.create(function(derp)
  5044. for i=0,1,0.1 do
  5045. wait()
  5046. derp.Transparency=derp.Transparency-0.1
  5047. end
  5048. derp.Transparency=0
  5049. end),hatp)
  5050. end
  5051. end
  5052. for _,v in pairs(m:children()) do
  5053. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  5054. coroutine.resume(coroutine.create(function()
  5055. for i=0,1,0.1 do
  5056. wait()
  5057. v.Transparency=v.Transparency-0.1
  5058. end
  5059. v.Transparency=0
  5060. end))
  5061. v.Transparency=0
  5062. end
  5063. end
  5064. end
  5065.  
  5066. local origcolor = BrickColor.new("Pastel light blue")
  5067. ---- This section of explosions.
  5068. function Explode(rad,par,pitch,vol,mindam,maxdam)
  5069. local expart = Instance.new("Part",char)
  5070. local expart2 = Instance.new("Part",char)
  5071. local rin = Instance.new("Part",char)
  5072. local rin2 = Instance.new("Part",char)
  5073. local partMesh = Instance.new("SpecialMesh",expart)
  5074. partMesh.MeshType = "Sphere"
  5075. local partMesh2 = Instance.new("SpecialMesh",expart2)
  5076. partMesh2.MeshType = "Sphere"
  5077. local partMesh3 = Instance.new("SpecialMesh",rin)
  5078. partMesh3.MeshType = "Brick"
  5079. local partMesh4 = Instance.new("SpecialMesh",rin2)
  5080. partMesh4.MeshType = "Brick"
  5081. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  5082. partMesh.Scale = vt(rad,rad,rad)
  5083. expart.Size = vt(1,1,1)
  5084. expart.Transparency = 0
  5085. expart.Anchored = true
  5086. expart.Material = "Neon"
  5087. expart.BrickColor = bc("White")
  5088. expart.CFrame = par.CFrame
  5089. partMesh2.Scale = vt(rad,rad,rad)
  5090. expart2.Size = vt(1.15,1.15,1.15)
  5091. expart2.Transparency = 0.5
  5092. expart2.Anchored = true
  5093. expart2.Material = "Neon"
  5094. expart2.BrickColor = par.BrickColor
  5095. expart2.CFrame = par.CFrame
  5096. rin.Size = vt(1.15,1.15,1.15)
  5097. rin.Transparency = 1
  5098. rin.Anchored = true
  5099. rin.Material = "Neon"
  5100. rin.BrickColor = par.BrickColor
  5101. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5102. rin2.Size = vt(1.15,1.15,1.15)
  5103. rin2.Transparency = 1
  5104. rin2.Anchored = true
  5105. rin2.Material = "Neon"
  5106. rin2.BrickColor = par.BrickColor
  5107. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5108. partMesh3.Scale = vt(0,1,0)
  5109. partMesh4.Scale = vt(0,1,0)
  5110. local dec2 = Instance.new("Decal", rin)
  5111. dec2.Face = "Top"
  5112. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  5113. dec2.Parent = rin
  5114. local dec2b = dec2:Clone()
  5115. dec2b.Face = "Bottom"
  5116. dec2b.Parent = rin
  5117.  
  5118. local dec2a = Instance.new("Decal", rin2)
  5119. dec2a.Face = "Top"
  5120. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  5121. dec2a.Parent = rin2
  5122. local dec2ab = dec2a:Clone()
  5123. dec2ab.Face = "Bottom"
  5124. dec2ab.Parent = rin2
  5125. expart.CanCollide = false
  5126. expart2.CanCollide = false
  5127. rin.CanCollide = false
  5128. rin2.CanCollide = false
  5129. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  5130. local value = 1*rad/6.5
  5131. for i = 0, 199 do
  5132. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  5133. expart.CFrame = expart.CFrame
  5134. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  5135. expart2.CFrame = expart.CFrame
  5136. value = value - 0.035*rad/30
  5137. if value < 7.5 then
  5138. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  5139. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  5140. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  5141. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  5142. end
  5143. if value < 0 then
  5144. dec2.Transparency = dec2.Transparency + 0.025
  5145. dec2a.Transparency = dec2a.Transparency + 0.025
  5146. dec2b.Transparency = dec2b.Transparency + 0.025
  5147. dec2ab.Transparency = dec2ab.Transparency + 0.025
  5148. expart.Transparency = expart.Transparency + 0.025
  5149. expart2.Transparency = expart2.Transparency + 0.025
  5150. rin.Transparency = rin.Transparency + 0.025
  5151. rin2.Transparency = rin2.Transparency + 0.025
  5152. end
  5153. swait()
  5154. end
  5155. game:GetService("Debris"):AddItem(expart, 1)
  5156. game:GetService("Debris"):AddItem(expart2, 1)
  5157. game:GetService("Debris"):AddItem(rin, 1)
  5158. game:GetService("Debris"):AddItem(rin2, 1)
  5159. end
  5160.  
  5161. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  5162. local expart = Instance.new("Part",char)
  5163. local expart2 = Instance.new("Part",char)
  5164. local partMesh = Instance.new("SpecialMesh",expart)
  5165. partMesh.MeshType = "Sphere"
  5166. local partMesh2 = Instance.new("SpecialMesh",expart2)
  5167. partMesh2.MeshType = "Sphere"
  5168. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  5169. partMesh.Scale = vt(rad,rad,rad)
  5170. expart.Size = vt(1,1,1)
  5171. expart.Transparency = 0
  5172. expart.Anchored = true
  5173. expart.Material = "Neon"
  5174. expart.BrickColor = bc("White")
  5175. expart.CFrame = par.CFrame
  5176. partMesh2.Scale = vt(rad,rad,rad)
  5177. expart2.Size = vt(1.15,1.15,1.15)
  5178. expart2.Transparency = 0.5
  5179. expart2.Anchored = true
  5180. expart2.Material = "Neon"
  5181. expart2.BrickColor = par.BrickColor
  5182. expart2.CFrame = par.CFrame
  5183. expart.CanCollide = false
  5184. expart2.CanCollide = false
  5185. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  5186. local value = 1*rad/6.5
  5187. for i = 0, 75 do
  5188. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  5189. expart.CFrame = expart.CFrame
  5190. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  5191. expart2.CFrame = expart.CFrame
  5192. value = value - 0.035*rad/5
  5193. if value < 0 then
  5194. value = 0
  5195. expart.Transparency = expart.Transparency + 0.05
  5196. expart2.Transparency = expart2.Transparency + 0.05
  5197. end
  5198. swait()
  5199. end
  5200. game:GetService("Debris"):AddItem(expart, 1)
  5201. game:GetService("Debris"):AddItem(expart2, 1)
  5202. end
  5203.  
  5204. function AreaDanger(rad,par,mindam,maxdam)
  5205. local expart = Instance.new("Part",char)
  5206. local partMesh = Instance.new("SpecialMesh",expart)
  5207. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  5208. partMesh.MeshType = "Sphere"
  5209. partMesh.Scale = vt(rad,rad,rad)
  5210. expart.Size = vt(1,1,1)
  5211. expart.Transparency = 0.5
  5212. expart.Anchored = true
  5213. expart.Material = "Neon"
  5214. expart.CanCollide = false
  5215. expart.BrickColor = par.BrickColor
  5216. expart.CFrame = par.CFrame
  5217. local value = 1*rad/5
  5218. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  5219. for i = 0, 14 do
  5220. wait()
  5221. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  5222. expart.CFrame = expart.CFrame
  5223. value = value - 0.035*rad
  5224. if value < 0 then
  5225. value = 0
  5226. end
  5227. end
  5228. wait(0.25)
  5229. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  5230. wait(0.5)
  5231. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  5232. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  5233. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  5234. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  5235. for i = 0, 14 do
  5236. wait()
  5237. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  5238. expart.CFrame = expart.CFrame
  5239. value = value - 0.035*rad/2
  5240. end
  5241. expart.Transparency = 1
  5242. game:GetService("Debris"):AddItem(expart, 5)
  5243. end
  5244.  
  5245. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  5246. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  5247. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  5248. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  5249. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  5250. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  5251. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  5252. for i = 0, 24 do
  5253. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  5254. end
  5255. for i = 0, 24 do
  5256. local expart = Instance.new("Part",char)
  5257. expart.Transparency = 1
  5258. expart.Anchored = true
  5259. expart.CanCollide = false
  5260. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  5261. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  5262. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  5263. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  5264. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  5265. for i = 0, 9 do
  5266. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  5267. end
  5268. game:GetService("Debris"):AddItem(expart, 2)
  5269. wait(0.1)
  5270. end
  5271. end
  5272.  
  5273. function EXterPlosion(par)
  5274. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  5275. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  5276. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  5277. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  5278. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  5279. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  5280. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  5281. for i = 0, 24 do
  5282. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  5283. end
  5284. for i = 0, 24 do
  5285. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  5286. end
  5287. end
  5288. ----
  5289.  
  5290.  
  5291. function ring(type,pos,scale,value)
  5292. local type = type
  5293. local rng = Instance.new("Part", char)
  5294. rng.Anchored = true
  5295. rng.BrickColor = origcolor
  5296. rng.CanCollide = false
  5297. rng.FormFactor = 3
  5298. rng.Name = "Ring"
  5299. rng.Size = Vector3.new(1, 1, 1)
  5300. rng.Transparency = 0
  5301. rng.TopSurface = 0
  5302. rng.BottomSurface = 0
  5303. rng.CFrame = pos
  5304. local rngm = Instance.new("SpecialMesh", rng)
  5305. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5306. rngm.Scale = scale
  5307. local scaler2 = 1
  5308. if type == "Add" then
  5309. scaler2 = 1*value
  5310. elseif type == "Divide" then
  5311. scaler2 = 1/value
  5312. end
  5313. coroutine.resume(coroutine.create(function()
  5314. for i = 0,10,0.1 do
  5315. swait()
  5316. if type == "Add" then
  5317. scaler2 = scaler2 - 0.01*value
  5318. elseif type == "Divide" then
  5319. scaler2 = scaler2 - 0.01/value
  5320. end
  5321. rng.Transparency = rng.Transparency + 0.01
  5322. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  5323. end
  5324. rng:Destroy()
  5325. end))
  5326. end
  5327.  
  5328.  
  5329. function wave(type,pos,scale,value)
  5330. local type = type
  5331. local rng = Instance.new("Part", char)
  5332. rng.Anchored = true
  5333. rng.BrickColor = origcolor
  5334. rng.CanCollide = false
  5335. rng.FormFactor = 3
  5336. rng.Name = "Ring"
  5337. rng.Size = Vector3.new(1, 1, 1)
  5338. rng.Transparency = 0
  5339. rng.TopSurface = 0
  5340. rng.BottomSurface = 0
  5341. rng.CFrame = pos
  5342. local rngm = Instance.new("SpecialMesh", rng)
  5343. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5344. rngm.Scale = scale
  5345. local scaler2 = 1
  5346. if type == "Add" then
  5347. scaler2 = 1*value
  5348. elseif type == "Divide" then
  5349. scaler2 = 1/value
  5350. end
  5351. coroutine.resume(coroutine.create(function()
  5352. for i = 0,10,0.1 do
  5353. swait()
  5354. if type == "Add" then
  5355. scaler2 = scaler2 - 0.01*value
  5356. elseif type == "Divide" then
  5357. scaler2 = scaler2 - 0.01/value
  5358. end
  5359. rng.Transparency = rng.Transparency + 0.01
  5360. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  5361. end
  5362. rng:Destroy()
  5363. end))
  5364. end
  5365.  
  5366. function wind(type,pos,scale,value,speed)
  5367. local type = type
  5368. local rng = Instance.new("Part", char)
  5369. rng.Anchored = true
  5370. rng.BrickColor = origcolor
  5371. rng.CanCollide = false
  5372. rng.FormFactor = 3
  5373. rng.Name = "Ring"
  5374. rng.Size = Vector3.new(1, 1, 1)
  5375. rng.Transparency = 0
  5376. rng.TopSurface = 0
  5377. rng.BottomSurface = 0
  5378. rng.CFrame = pos
  5379. local rngm = Instance.new("SpecialMesh", rng)
  5380. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  5381. rngm.Scale = scale
  5382. local scaler2 = 1
  5383. if type == "Add" then
  5384. scaler2 = 1*value
  5385. elseif type == "Divide" then
  5386. scaler2 = 1/value
  5387. end
  5388. coroutine.resume(coroutine.create(function()
  5389. for i = 0,10,0.1 do
  5390. swait()
  5391. if type == "Add" then
  5392. scaler2 = scaler2 - 0.01*value
  5393. elseif type == "Divide" then
  5394. scaler2 = scaler2 - 0.01/value
  5395. end
  5396. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  5397. rng.Transparency = rng.Transparency + 0.01
  5398. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  5399. end
  5400. rng:Destroy()
  5401. end))
  5402. end
  5403.  
  5404. function groundwind(type,pos,scale,value,speed)
  5405. local type = type
  5406. local rng = Instance.new("Part", char)
  5407. rng.Anchored = true
  5408. rng.BrickColor = origcolor
  5409. rng.CanCollide = false
  5410. rng.FormFactor = 3
  5411. rng.Name = "Ring"
  5412. rng.Size = Vector3.new(1, 1, 1)
  5413. rng.Transparency = 0
  5414. rng.TopSurface = 0
  5415. rng.BottomSurface = 0
  5416. rng.CFrame = pos
  5417. local rngm = Instance.new("SpecialMesh", rng)
  5418. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  5419. rngm.Scale = scale
  5420. local scaler2 = 1
  5421. if type == "Add" then
  5422. scaler2 = 1*value
  5423. elseif type == "Divide" then
  5424. scaler2 = 1/value
  5425. end
  5426. coroutine.resume(coroutine.create(function()
  5427. for i = 0,10,0.1 do
  5428. swait()
  5429. if type == "Add" then
  5430. scaler2 = scaler2 - 0.01*value
  5431. elseif type == "Divide" then
  5432. scaler2 = scaler2 - 0.01/value
  5433. end
  5434. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  5435. rng.Transparency = rng.Transparency + 0.01
  5436. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  5437. end
  5438. rng:Destroy()
  5439. end))
  5440. end
  5441.  
  5442. function CameraManager()
  5443. if TwoD and not CamInterrupt then
  5444. if Humanoid.Health > 0 then
  5445. Camera.CameraSubject = Humanoid
  5446. Camera.CameraType = "Scriptable"
  5447. Humanoid.AutoRotate = false
  5448. if Booleans.GyroUse then
  5449. Directer.MaxTorque = Vec3(0, huge, 0)
  5450. else
  5451. Directer.MaxTorque = Vec3(0, 0, 0)
  5452. end
  5453. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  5454. if Booleans.CamFollow then
  5455. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  5456. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  5457. else
  5458. CPart.Position = RootPart.Position
  5459. end
  5460. else
  5461. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  5462. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  5463. end
  5464. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  5465. else
  5466. Camera.CameraSubject = Humanoid
  5467. Camera.CameraType = "Custom"
  5468. Controller.Disabled = false
  5469. end
  5470. end
  5471. end
  5472.  
  5473. function sphere(bonuspeed,type,pos,scale,value,color)
  5474. local type = type
  5475. local rng = Instance.new("Part", workspace)
  5476. rng.Anchored = true
  5477. rng.BrickColor = color
  5478. rng.CanCollide = false
  5479. rng.FormFactor = 3
  5480. rng.Name = "Ring"
  5481. rng.Material = "Neon"
  5482. rng.Size = Vector3.new(1, 1, 1)
  5483. rng.Transparency = 0
  5484. rng.TopSurface = 0
  5485. rng.BottomSurface = 0
  5486. rng.CFrame = pos
  5487. local rngm = Instance.new("SpecialMesh", rng)
  5488. rngm.MeshType = "Sphere"
  5489. rngm.Scale = scale
  5490. if rainbowmode == true then
  5491. rng.Color = Color3.new(r/255,g/255,b/255)
  5492. end
  5493. local scaler2 = 1
  5494. if type == "Add" then
  5495. scaler2 = 1*value
  5496. elseif type == "Divide" then
  5497. scaler2 = 1/value
  5498. end
  5499. coroutine.resume(coroutine.create(function()
  5500. for i = 0,10/bonuspeed,0.1 do
  5501. swait()
  5502. if rainbowmode == true then
  5503. rng.Color = Color3.new(r/255,g/255,b/255)
  5504. end
  5505. if type == "Add" then
  5506. scaler2 = scaler2 - 0.01*value/bonuspeed
  5507. elseif type == "Divide" then
  5508. scaler2 = scaler2 - 0.01/value*bonuspeed
  5509. end
  5510. if chaosmode == true then
  5511. rng.BrickColor = BrickColor.random()
  5512. end
  5513. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5514. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  5515. end
  5516. rng:Destroy()
  5517. end))
  5518. end
  5519.  
  5520. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  5521. local type = type
  5522. local rng = Instance.new("Part", char)
  5523. rng.Anchored = true
  5524. rng.BrickColor = color
  5525. rng.CanCollide = false
  5526. rng.FormFactor = 3
  5527. rng.Name = "Ring"
  5528. rng.Material = "Neon"
  5529. rng.Size = Vector3.new(1, 1, 1)
  5530. rng.Transparency = 0
  5531. rng.TopSurface = 0
  5532. rng.BottomSurface = 0
  5533. rng.CFrame = pos
  5534. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  5535. local rngm = Instance.new("SpecialMesh", rng)
  5536. rngm.MeshType = "Brick"
  5537. rngm.Scale = vt(x1,y1,z1)
  5538. if rainbowmode == true then
  5539. rng.Color = Color3.new(r/255,g/255,b/255)
  5540. end
  5541. local scaler2 = 1
  5542. local speeder = FastSpeed/10
  5543. if type == "Add" then
  5544. scaler2 = 1*value
  5545. elseif type == "Divide" then
  5546. scaler2 = 1/value
  5547. end
  5548. coroutine.resume(coroutine.create(function()
  5549. for i = 0,10/bonuspeed,0.1 do
  5550. swait()
  5551. if rainbowmode == true then
  5552. rng.Color = Color3.new(r/255,g/255,b/255)
  5553. end
  5554. if type == "Add" then
  5555. scaler2 = scaler2 - 0.01*value/bonuspeed
  5556. elseif type == "Divide" then
  5557. scaler2 = scaler2 - 0.01/value*bonuspeed
  5558. end
  5559. if chaosmode == true then
  5560. rng.BrickColor = BrickColor.random()
  5561. end
  5562. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  5563. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5564. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5565. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  5566. end
  5567. rng:Destroy()
  5568. end))
  5569. end
  5570.  
  5571. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  5572. local type = type
  5573. local rng = Instance.new("Part", char)
  5574. rng.Anchored = true
  5575. rng.BrickColor = color
  5576. rng.CanCollide = false
  5577. rng.FormFactor = 3
  5578. rng.Name = "Ring"
  5579. rng.Material = "Neon"
  5580. rng.Size = Vector3.new(1, 1, 1)
  5581. rng.Transparency = 0
  5582. rng.TopSurface = 0
  5583. rng.BottomSurface = 0
  5584. rng.CFrame = pos
  5585. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  5586. local rngm = Instance.new("SpecialMesh", rng)
  5587. rngm.MeshType = "Brick"
  5588. rngm.Scale = vt(x1,y1,z1)
  5589. if rainbowmode == true then
  5590. rng.Color = Color3.new(r/255,g/255,b/255)
  5591. end
  5592. local scaler2 = 0
  5593. local speeder = FastSpeed/10
  5594. if type == "Add" then
  5595. scaler2 = 1*value
  5596. elseif type == "Divide" then
  5597. scaler2 = 1/value
  5598. end
  5599. coroutine.resume(coroutine.create(function()
  5600. for i = 0,10/bonuspeed,0.1 do
  5601. swait()
  5602. if rainbowmode == true then
  5603. rng.Color = Color3.new(r/255,g/255,b/255)
  5604. end
  5605. if type == "Add" then
  5606. scaler2 = scaler2 - 0.01*value/bonuspeed
  5607. elseif type == "Divide" then
  5608. scaler2 = scaler2 - 0.01/value*bonuspeed
  5609. end
  5610. if chaosmode == true then
  5611. rng.BrickColor = BrickColor.random()
  5612. end
  5613. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  5614. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5615. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5616. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  5617. end
  5618. rng:Destroy()
  5619. end))
  5620. end
  5621.  
  5622. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  5623. local type = type
  5624. local rng = Instance.new("Part", workspace)
  5625. rng.Anchored = true
  5626. rng.BrickColor = color
  5627. rng.CanCollide = false
  5628. rng.FormFactor = 3
  5629. rng.Name = "Ring"
  5630. rng.Material = "Neon"
  5631. rng.Size = Vector3.new(1, 1, 1)
  5632. rng.Transparency = 0
  5633. rng.TopSurface = 0
  5634. rng.BottomSurface = 0
  5635. rng.CFrame = pos
  5636. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  5637. local rngm = Instance.new("SpecialMesh", rng)
  5638. rngm.MeshType = "Sphere"
  5639. rngm.Scale = vt(x1,y1,z1)
  5640. if rainbowmode == true then
  5641. rng.Color = Color3.new(r/255,g/255,b/255)
  5642. end
  5643. local scaler2 = 1
  5644. local speeder = FastSpeed
  5645. if type == "Add" then
  5646. scaler2 = 1*value
  5647. elseif type == "Divide" then
  5648. scaler2 = 1/value
  5649. end
  5650. coroutine.resume(coroutine.create(function()
  5651. for i = 0,10/bonuspeed,0.1 do
  5652. swait()
  5653. if rainbowmode == true then
  5654. rng.Color = Color3.new(r/255,g/255,b/255)
  5655. end
  5656. if type == "Add" then
  5657. scaler2 = scaler2 - 0.01*value/bonuspeed
  5658. elseif type == "Divide" then
  5659. scaler2 = scaler2 - 0.01/value*bonuspeed
  5660. end
  5661. if chaosmode == true then
  5662. rng.BrickColor = BrickColor.random()
  5663. end
  5664. speeder = speeder - 0.01*FastSpeed*bonuspeed
  5665. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5666. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  5667. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  5668. end
  5669. rng:Destroy()
  5670. end))
  5671. end
  5672.  
  5673.  
  5674. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  5675. local type = type
  5676. local rng = Instance.new("Part", char)
  5677. rng.Anchored = true
  5678. rng.BrickColor = color
  5679. rng.CanCollide = false
  5680. rng.FormFactor = 3
  5681. rng.Name = "Ring"
  5682. rng.Material = "Neon"
  5683. rng.Size = Vector3.new(1, 1, 1)
  5684. rng.Transparency = 1
  5685. rng.TopSurface = 0
  5686. rng.BottomSurface = 0
  5687. rng.CFrame = pos
  5688. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  5689. local rngm = Instance.new("SpecialMesh", rng)
  5690. rngm.MeshType = "Sphere"
  5691. rngm.Scale = vt(x1,y1,z1)
  5692. if rainbowmode == true then
  5693. rng.Color = Color3.new(r/255,g/255,b/255)
  5694. end
  5695. local scaler2 = 1
  5696. local speeder = FastSpeed
  5697. if type == "Add" then
  5698. scaler2 = 1*value
  5699. elseif type == "Divide" then
  5700. scaler2 = 1/value
  5701. end
  5702. coroutine.resume(coroutine.create(function()
  5703. for i = 0,10/bonuspeed,0.1 do
  5704. swait()
  5705. if rainbowmode == true then
  5706. rng.Color = Color3.new(r/255,g/255,b/255)
  5707. end
  5708. if type == "Add" then
  5709. scaler2 = scaler2 - 0.01*value/bonuspeed
  5710. elseif type == "Divide" then
  5711. scaler2 = scaler2 - 0.01/value*bonuspeed
  5712. end
  5713. if chaosmode == true then
  5714. rng.BrickColor = BrickColor.random()
  5715. end
  5716. speeder = speeder - 0.01*FastSpeed*bonuspeed
  5717. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  5718. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  5719. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  5720. end
  5721. rng:Destroy()
  5722. end))
  5723. end
  5724.  
  5725. function dmg(dude)
  5726. if dude.Name ~= Character then
  5727. local bgf = Instance.new("BodyGyro",dude.Head)
  5728. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  5729. local val = Instance.new("BoolValue",dude)
  5730. val.Name = "IsHit"
  5731. local ds = coroutine.wrap(function()
  5732. dude:WaitForChild("Head"):BreakJoints()
  5733. wait(0.5)
  5734. targetted = nil
  5735. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  5736. coroutine.resume(coroutine.create(function()
  5737. for i, v in pairs(dude:GetChildren()) do
  5738. if v:IsA("Accessory") then
  5739. v:Destroy()
  5740. end
  5741. if v:IsA("Humanoid") then
  5742. v:Destroy()
  5743. end
  5744. if v:IsA("CharacterMesh") then
  5745. v:Destroy()
  5746. end
  5747. if v:IsA("Model") then
  5748. v:Destroy()
  5749. end
  5750. if v:IsA("Part") or v:IsA("MeshPart") then
  5751. for x, o in pairs(v:GetChildren()) do
  5752. if o:IsA("Decal") then
  5753. o:Destroy()
  5754. end
  5755. end
  5756. coroutine.resume(coroutine.create(function()
  5757. v.Material = "Neon"
  5758. v.CanCollide = false
  5759. local bld = Instance.new("ParticleEmitter",v)
  5760. bld.LightEmission = 1
  5761. bld.Texture = "rbxassetid://284205403"
  5762. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5763. bld.Rate = 50
  5764. bld.Lifetime = NumberRange.new(1)
  5765. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  5766. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5767. bld.Speed = NumberRange.new(0,0)
  5768. bld.VelocitySpread = 50000
  5769. bld.Rotation = NumberRange.new(-500,500)
  5770. bld.RotSpeed = NumberRange.new(-500,500)
  5771. local sbs = Instance.new("BodyPosition", v)
  5772. sbs.P = 3000
  5773. sbs.D = 1000
  5774. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  5775. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  5776. v.Color = Color3.new(1,1,1)
  5777. coroutine.resume(coroutine.create(function()
  5778. for i = 0, 49 do
  5779. swait(1)
  5780. v.Transparency = v.Transparency + 0.02
  5781. end
  5782. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  5783. bld.Speed = NumberRange.new(1,5)
  5784. bld.Acceleration = vt(0,10,0)
  5785. wait(0.5)
  5786. bld.Enabled = false
  5787. wait(3)
  5788. v:Destroy()
  5789. dude:Destroy()
  5790. end))
  5791. end))
  5792. end
  5793. end
  5794. end))
  5795. end)
  5796. ds()
  5797. end
  5798. end
  5799.  
  5800.  
  5801. function FindNearestHead(Position, Distance, SinglePlayer)
  5802. if SinglePlayer then
  5803. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  5804. end
  5805. local List = {}
  5806. for i, v in pairs(workspace:GetChildren()) do
  5807. if v:IsA("Model") then
  5808. if v:findFirstChild("Head") then
  5809. if v ~= Character then
  5810. if (v.Head.Position - Position).magnitude <= Distance then
  5811. table.insert(List, v)
  5812. end
  5813. end
  5814. end
  5815. end
  5816. end
  5817. return List
  5818. end
  5819.  
  5820. function FaceMouse()
  5821. Cam = workspace.CurrentCamera
  5822. return {
  5823. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  5824. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  5825. }
  5826. end
  5827.  
  5828. function FaceMouse2()
  5829. Cam = workspace.CurrentCamera
  5830. return {
  5831. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  5832. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  5833. }
  5834. end
  5835.  
  5836. local ModeOfGlitch = 1
  5837. -- Functions are ready.
  5838. local storehumanoidWS = 16
  5839.  
  5840. function Blink()
  5841. for i = 0, 14 do
  5842. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  5843. end
  5844. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5845. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  5846. CameraEnshaking(2,10)
  5847. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  5848. if v:FindFirstChild('Head') then
  5849. end
  5850. end
  5851. for i = 0, 14 do
  5852. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  5853. end
  5854. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5855. end
  5856.  
  5857. function ExtinctiveHeartbreak()
  5858. local targetted = nil
  5859. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5860. targetted = mouse.Target.Parent
  5861. end
  5862. if targetted ~= nil then
  5863. attack = true
  5864. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5865. for i = 0, 9 do
  5866. 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 red"),0)
  5867. end
  5868. for i = 0, 24 do
  5869. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5870. end
  5871. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5872. local originalpos = root.CFrame
  5873. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5874. for i = 0, 9 do
  5875. 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 red"),0)
  5876. end
  5877. for i = 0, 24 do
  5878. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5879. end
  5880. hum.WalkSpeed = 0
  5881. targetted.Head.Anchored = true
  5882. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5883. for i = 0,2,0.1 do
  5884. swait()
  5885. 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)),.4)
  5886. 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)),.4)
  5887. 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)),.4)
  5888. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5889. 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)),.4)
  5890. 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)),.4)
  5891. end
  5892. coroutine.resume(coroutine.create(function()
  5893. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  5894. bld.LightEmission = 0.1
  5895. bld.Texture = "rbxassetid://284205403"
  5896. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5897. bld.Rate = 500
  5898. bld.Lifetime = NumberRange.new(1)
  5899. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5900. bld.Acceleration = vt(0,-25,0)
  5901. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5902. bld.Speed = NumberRange.new(10,50)
  5903. bld.EmissionDirection = "Front"
  5904. bld.VelocitySpread = 25
  5905. bld.Rotation = NumberRange.new(-500,500)
  5906. bld.RotSpeed = NumberRange.new(-500,500)
  5907. end))
  5908. coroutine.resume(coroutine.create(function()
  5909. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  5910. bld.LightEmission = 0.1
  5911. bld.Texture = "rbxassetid://284205403"
  5912. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  5913. bld.Rate = 500
  5914. bld.Lifetime = NumberRange.new(1)
  5915. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5916. bld.Acceleration = vt(0,-25,0)
  5917. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5918. bld.Speed = NumberRange.new(10,50)
  5919. bld.EmissionDirection = "Front"
  5920. bld.VelocitySpread = 25
  5921. bld.Rotation = NumberRange.new(-500,500)
  5922. bld.RotSpeed = NumberRange.new(-500,500)
  5923. end))
  5924. CameraEnshaking(5,5)
  5925. game:GetService("Debris"):AddItem(bld,3)
  5926. dmg(targetted)
  5927. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  5928. for i = 0,1,0.1 do
  5929. swait()
  5930. 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)),.8)
  5931. 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)),.8)
  5932. 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)),.8)
  5933. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5934. 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)),.8)
  5935. 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)),.8)
  5936. end
  5937. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5938. for i = 0, 9 do
  5939. 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 red"),0)
  5940. end
  5941. for i = 0, 24 do
  5942. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5943. end
  5944. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5945. root.CFrame = originalpos
  5946. for i = 0, 9 do
  5947. 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 red"),0)
  5948. end
  5949. for i = 0, 24 do
  5950. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5951. end
  5952. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5953. bld.Enabled = false
  5954. attack = false
  5955. hum.WalkSpeed = storehumanoidWS
  5956. end
  5957. end
  5958. function test()
  5959. attack = true
  5960. for i = 0, 2, 0.1 do
  5961. swait()
  5962. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  5963. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  5964. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4)
  5965. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4)
  5966. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1)
  5967. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  5968. end
  5969. CFuncs["Sound"].Create("rbxassetid://136007472", root, 1,2)
  5970. for i=1,20 do
  5971. sphereMKCharge(5,-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))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10)
  5972. swait()
  5973. end
  5974. swait(30)
  5975. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  5976. for i =1,20 do
  5977. 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,MAINRUINCOLOR,0)
  5978. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0)
  5979. end
  5980. for i = 0,2,0.1 do
  5981. swait()
  5982. 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(-30)),.5)
  5983. 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(30)),.5)
  5984. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,30 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5985. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  5986. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  5987. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  5988. end
  5989. for i =1,20 do
  5990. sphereMK(1,1,"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,10,0.05,MAINRUINCOLOR,0)
  5991. end
  5992. text.TextTransparency = 1
  5993. text.TextStrokeTransparency = 1
  5994. tr2.Enabled = false
  5995. tr1.Enabled = false
  5996. tr3.Enabled = false
  5997. tl1.Enabled = false
  5998. tl2.Enabled = false
  5999. tl3.Enabled = false
  6000. sphere(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  6001. eff = false
  6002. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6003. local invtab = {}
  6004. local function search(targ)
  6005. if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
  6006. table.insert(invtab,targ)
  6007. end
  6008. for i,v in pairs(targ:GetChildren()) do
  6009. search(v)
  6010. end
  6011. end
  6012. search(plr.Character)
  6013. local frm = 0
  6014. local frmcon
  6015. frmcon = game:GetService("RunService").Heartbeat:connect(function()
  6016. if frm < 10 then
  6017. for i,v in pairs(invtab) do
  6018. if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
  6019. v.Transparency = v.Transparency + 0.1
  6020. end
  6021. end
  6022. frm = frm + 1
  6023. else
  6024. frmcon:disconnect()
  6025. end
  6026. end)
  6027. swait(200)
  6028. text.TextTransparency = 0
  6029. text.TextStrokeTransparency = 0
  6030. tr2.Enabled = false
  6031. tr1.Enabled = false
  6032. tr3.Enabled = false
  6033. tl1.Enabled = false
  6034. tl2.Enabled = false
  6035. tl3.Enabled = false
  6036. eff = true
  6037. for i =1,20 do
  6038. sphereMK(1,1,"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,10,0.05,MAINRUINCOLOR,0)
  6039. end
  6040. sphere(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  6041. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6042. local invtab = {}
  6043. local function search(targ)
  6044. if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
  6045. table.insert(invtab,targ)
  6046. end
  6047. for i,v in pairs(targ:GetChildren()) do
  6048. search(v)
  6049. end
  6050. end
  6051. search(plr.Character)
  6052. local frm = 0
  6053. local frmcon
  6054. frmcon = game:GetService("RunService").Heartbeat:connect(function()
  6055. if frm < 10 then
  6056. for i,v in pairs(invtab) do
  6057. if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
  6058. v.Transparency = v.Transparency - 0.1
  6059. end
  6060. end
  6061. frm = frm + 1
  6062. else
  6063. frmcon:disconnect()
  6064. end
  6065. end)
  6066. swait(5)
  6067. for i = 0, 2, 0.1 do
  6068. swait()
  6069. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  6070. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  6071. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4)
  6072. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4)
  6073. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1)
  6074. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  6075. end
  6076. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  6077. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  6078. MagniDamage(root, 30, 65,90, 0, "Normal")
  6079. for i =1,20 do
  6080. sphereMK(1,1,"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,10,0.05,MAINRUINCOLOR,0)
  6081. end
  6082. sphere(1,"Add",Torso.CFrame,vt(1,1,1),1,MAINRUINCOLOR)
  6083. for i =1,20 do
  6084. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0)
  6085. end
  6086. swait(20)
  6087. attack = false
  6088. tr2.Enabled = true
  6089. tr1.Enabled = true
  6090. tr3.Enabled = true
  6091. tl1.Enabled = true
  6092. tl2.Enabled = true
  6093. tl3.Enabled = true
  6094. end
  6095. function FinalCalam()
  6096. attack = true
  6097.  
  6098. local orb = Instance.new("Part", char)
  6099. orb.Anchored = true
  6100. orb.BrickColor = MAINRUINCOLOR
  6101. orb.CanCollide = false
  6102. orb.FormFactor = 3
  6103. orb.Name = "Ring"
  6104. orb.Material = "Neon"
  6105. orb.Size = Vector3.new(1, 1, 1)
  6106. orb.Transparency = 0
  6107. orb.TopSurface = 0
  6108. orb.BottomSurface = 0
  6109. local orbm = Instance.new("SpecialMesh", orb)
  6110. orbm.MeshType = "Sphere"
  6111. orbm.Name = "SizeMesh"
  6112. orbm.Scale = vt(0,0,0)
  6113. local scaled = 0.1
  6114. local posid = 0
  6115. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  6116. for i = 0, 5, 0.1 do
  6117. swait()
  6118. scaled = scaled - 0.001
  6119. posid = posid - scaled
  6120. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  6121. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  6122. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10)
  6123. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  6124. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 10))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6125. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6126. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  6127. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  6128. end
  6129. swait(60)
  6130. for i =1,3 do
  6131. swait(30)
  6132. CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9)
  6133. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  6134. end
  6135. swait(30)
  6136. for i = 0, 2, 0.1 do
  6137. swait()
  6138. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  6139. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  6140. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  6141. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  6142. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  6143. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  6144. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  6145. end
  6146. swait(60)
  6147. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  6148. CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1)
  6149. sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR)
  6150. sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR)
  6151. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  6152. if v:FindFirstChild('Head') then
  6153. dmg(v)
  6154. end
  6155. end
  6156. for i = 1,20 do
  6157. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,MAINRUINCOLOR,0)
  6158. for i = 0, 10 do
  6159. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,MAINRUINCOLOR,0)
  6160. end
  6161. end
  6162. orb:Remove()
  6163. attack = false
  6164. end
  6165. function PureBomb()
  6166. attack = true
  6167.  
  6168. local orb = Instance.new("Part", char)
  6169. orb.Anchored = true
  6170. orb.BrickColor = BrickColor.new("Toothpaste")
  6171. orb.CanCollide = false
  6172. orb.FormFactor = 3
  6173. orb.Name = "Ring"
  6174. orb.Material = "Neon"
  6175. orb.Size = Vector3.new(1, 1, 1)
  6176. orb.Transparency = 0
  6177. orb.TopSurface = 0
  6178. orb.BottomSurface = 0
  6179. local orbm = Instance.new("SpecialMesh", orb)
  6180. orbm.MeshType = "Sphere"
  6181. orbm.Name = "SizeMesh"
  6182. orbm.Scale = vt(0,0,0)
  6183. local scaled = 0.1
  6184. local posid = 0
  6185. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  6186. for i = 0, 5, 0.1 do
  6187. swait()
  6188. scaled = scaled - 0.001
  6189. posid = posid - scaled
  6190. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  6191. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  6192. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  6193. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  6194. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  6195. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  6196. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6197. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6198. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  6199. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  6200. end
  6201. for i = 0, 2, 0.1 do
  6202. swait()
  6203. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  6204. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  6205. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  6206. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  6207. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  6208. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  6209. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  6210. end
  6211. coroutine.resume(coroutine.create(function()
  6212. orb.Anchored = false
  6213. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  6214. local a = Instance.new("Part",workspace)
  6215. a.Name = "Direction"
  6216. a.Anchored = true
  6217. a.BrickColor = bc("Bright red")
  6218. a.Material = "Neon"
  6219. a.Transparency = 1
  6220. a.CanCollide = false
  6221. local ray = Ray.new(
  6222. orb.CFrame.p, -- origin
  6223. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6224. )
  6225. local ignore = orb
  6226. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6227. a.BottomSurface = 10
  6228. a.TopSurface = 10
  6229. local distance = (orb.CFrame.p - position).magnitude
  6230. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6231. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6232. orb.CFrame = a.CFrame
  6233. a:Destroy()
  6234. local bv = Instance.new("BodyVelocity")
  6235. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6236. bv.velocity = orb.CFrame.lookVector*125
  6237. bv.Parent = orb
  6238. local hitted = false
  6239. game:GetService("Debris"):AddItem(orb, 15)
  6240. wait()
  6241. local hit =orb.Touched:connect(function(hit)
  6242. if hitted == false then
  6243. hitted = true
  6244. CameraEnshaking(10,2.5)
  6245. MagniDamage(orb, 65, 65,90, 0, "Normal")
  6246. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  6247. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  6248. for i = 0, 49 do
  6249. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  6250. end
  6251. for i = 0, 9 do
  6252. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  6253. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  6254. end
  6255. orb.Anchored = true
  6256. orb.Transparency = 1
  6257. wait(8)
  6258. orb:Destroy()
  6259. end
  6260. end)
  6261. end))
  6262. for i = 0, 1, 0.1 do
  6263. swait()
  6264. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  6265. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  6266. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  6267. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  6268. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  6269. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  6270. end
  6271. attack = false
  6272. end
  6273.  
  6274. function ChaosGroundStrike()
  6275. attack = true
  6276. for i = 0, 2, 0.1 do
  6277. swait()
  6278. 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)),.2)
  6279. 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)),.2)
  6280. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6281. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6282. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  6283. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  6284. end
  6285. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  6286. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  6287. CameraEnshaking(4,12)
  6288. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  6289. if v:FindFirstChild('Head') then
  6290. dmg(v)
  6291. end
  6292. end
  6293. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  6294. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  6295. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  6296. for i = 0, 2, 0.1 do
  6297. swait()
  6298. 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)
  6299. 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)
  6300. 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)),.4)
  6301. 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)),.4)
  6302. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  6303. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  6304. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  6305. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  6306. end
  6307. attack = false
  6308. end
  6309.  
  6310. function Starfall()
  6311. attack = true
  6312. hum.WalkSpeed = 0
  6313. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  6314. for i = 0, 5, 0.1 do
  6315. swait()
  6316. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  6317. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  6318. 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)
  6319. 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)
  6320. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6321. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  6322. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  6323. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  6324. end
  6325. local Overed = false
  6326. CameraEnshaking(2,20)
  6327. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  6328. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  6329. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6330. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  6331. local orb = Instance.new("Part", char)
  6332. orb.Anchored = true
  6333. orb.BrickColor = BrickColor.new("Toothpaste")
  6334. orb.CanCollide = false
  6335. orb.FormFactor = 3
  6336. orb.Name = "Remenant"
  6337. orb.Material = "Neon"
  6338. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  6339. orb.Size = Vector3.new(1, 1, 1)
  6340. orb.Transparency = 1
  6341. orb.TopSurface = 0
  6342. orb.BottomSurface = 0
  6343. hum.WalkSpeed = storehumanoidWS
  6344. coroutine.resume(coroutine.create(function()
  6345. for i = 0, 9 do
  6346. swait(10)
  6347. local lb = Instance.new("Part")
  6348. lb.Color = MAINRUINCOLOR.Color
  6349. lb.CanCollide = false
  6350. lb.Material = "Neon"
  6351. lb.Anchored = true
  6352. lb.TopSurface = 0
  6353. lb.BottomSurface = 0
  6354. lb.Transparency = 0
  6355. lb.Size = vt(1,1,1)
  6356. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  6357. lb.Anchored = false
  6358. lb.Parent = char
  6359. local thingery = Instance.new("SpecialMesh",lb)
  6360. thingery.MeshType = "Sphere"
  6361. thingery.Scale = vt(20,20,20)
  6362. game:GetService("Debris"):AddItem(lb, 10)
  6363. local bv = Instance.new("BodyVelocity")
  6364. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6365. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  6366. bv.Parent = lb
  6367. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  6368. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  6369. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  6370. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  6371. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  6372. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  6373. local hitted = false
  6374. coroutine.resume(coroutine.create(function()
  6375. while true do
  6376. swait(1)
  6377. if lb.Parent ~= nil and hitted == false then
  6378. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  6379. elseif lb.Parent == nil then
  6380. break
  6381. end
  6382. end
  6383. end))
  6384.  
  6385. game:GetService("Debris"):AddItem(a, 0.1)
  6386.  
  6387. coroutine.resume(coroutine.create(function()
  6388. swait(1)
  6389. lb.Touched:connect(function(hit)
  6390. if hitted == false then
  6391. hitted = true
  6392. lb.Transparency = 1
  6393. lb.Anchored = true
  6394. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  6395. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  6396. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  6397. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  6398. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  6399. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  6400. MagniDamage(lb, 45, 45,85, 0, "Normal")
  6401. CameraEnshaking(1,5)
  6402. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6403. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6404. for i = 0, 9 do
  6405. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  6406. end
  6407. for i = 0, 49 do
  6408. swait()
  6409. MagniDamage(lb, 30, 2,4, 0, "Normal")
  6410. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  6411. end
  6412. end
  6413. end)
  6414. end))
  6415. end
  6416. Overed = true
  6417. orb:Destroy()
  6418. end))
  6419.  
  6420. attack = false
  6421. end
  6422.  
  6423. function StarfallEX()
  6424. attack = true
  6425. hum.WalkSpeed = 0
  6426. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  6427. for i = 0, 5, 0.1 do
  6428. swait()
  6429. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  6430. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  6431. 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)
  6432. 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)
  6433. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6434. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  6435. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  6436. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  6437. end
  6438. local Overed = false
  6439. CameraEnshaking(2,20)
  6440. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  6441. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  6442. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6443. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  6444. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6445. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  6446. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  6447. local orb = Instance.new("Part", char)
  6448. orb.Anchored = true
  6449. orb.BrickColor = BrickColor.new("Toothpaste")
  6450. orb.CanCollide = false
  6451. orb.FormFactor = 3
  6452. orb.Name = "Remenant"
  6453. orb.Material = "Neon"
  6454. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  6455. orb.Size = Vector3.new(1, 1, 1)
  6456. orb.Transparency = 1
  6457. orb.TopSurface = 0
  6458. orb.BottomSurface = 0
  6459. hum.WalkSpeed = storehumanoidWS
  6460. coroutine.resume(coroutine.create(function()
  6461. for i = 0, 9 do
  6462. swait(10)
  6463. local lb = Instance.new("Part")
  6464. lb.Color = MAINRUINCOLOR.Color
  6465. lb.CanCollide = false
  6466. lb.Material = "Neon"
  6467. lb.Anchored = true
  6468. lb.TopSurface = 0
  6469. lb.BottomSurface = 0
  6470. lb.Transparency = 0
  6471. lb.Size = vt(1,1,1)
  6472. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  6473. lb.Anchored = false
  6474. lb.Parent = char
  6475. local thingery = Instance.new("SpecialMesh",lb)
  6476. thingery.MeshType = "Sphere"
  6477. thingery.Scale = vt(20,20,20)
  6478. game:GetService("Debris"):AddItem(lb, 10)
  6479. local bv = Instance.new("BodyVelocity")
  6480. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6481. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  6482. bv.Parent = lb
  6483. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  6484. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  6485. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  6486. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  6487. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  6488. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  6489. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  6490. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  6491. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  6492. local hitted = false
  6493. coroutine.resume(coroutine.create(function()
  6494. while true do
  6495. swait(1)
  6496. if lb.Parent ~= nil and hitted == false then
  6497. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  6498. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  6499. elseif lb.Parent == nil then
  6500. break
  6501. end
  6502. end
  6503. end))
  6504.  
  6505. game:GetService("Debris"):AddItem(a, 0.1)
  6506.  
  6507. coroutine.resume(coroutine.create(function()
  6508. swait(1)
  6509. lb.Touched:connect(function(hit)
  6510. if hitted == false then
  6511. hitted = true
  6512. lb.Transparency = 1
  6513. lb.Anchored = true
  6514. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  6515. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  6516. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  6517. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  6518. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  6519. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  6520. MagniDamage(lb, 45, 45,85, 0, "Normal")
  6521. CameraEnshaking(10,5)
  6522. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6523. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6524. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6525. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6526. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6527. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6528. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6529. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6530. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6531. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6532. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  6533. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  6534. for i = 0, 9 do
  6535. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  6536. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  6537. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  6538. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  6539. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  6540. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  6541. end
  6542. for i = 0, 49 do
  6543. swait()
  6544. MagniDamage(lb, 30, 30, 60, 0, "Normal")
  6545. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  6546. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  6547. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  6548. end
  6549. end
  6550. end)
  6551. end))
  6552. end
  6553. Overed = true
  6554. orb:Destroy()
  6555. end))
  6556.  
  6557. attack = false
  6558. end
  6559.  
  6560. function StarDivision()
  6561. attack = true
  6562. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  6563. for i = 0, 2, 0.1 do
  6564. swait()
  6565. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  6566. 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)),.6)
  6567. 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)),.6)
  6568. 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(90)),.6)
  6569. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  6570. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  6571. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  6572. end
  6573. local orb = Instance.new("Part", char)
  6574. orb.BrickColor = MAINRUINCOLOR
  6575. orb.CanCollide = false
  6576. orb.FormFactor = 3
  6577. orb.Name = "Ring"
  6578. orb.Material = "Neon"
  6579. orb.Size = Vector3.new(1, 1, 1)
  6580. orb.Transparency = 0
  6581. orb.TopSurface = 0
  6582. orb.BottomSurface = 0
  6583. local orbm = Instance.new("SpecialMesh", orb)
  6584. orbm.MeshType = "Sphere"
  6585. orbm.Name = "SizeMesh"
  6586. orbm.Scale = vt(2,2,2)
  6587. local a = Instance.new("Part",workspace)
  6588. a.Name = "Direction"
  6589. a.Anchored = true
  6590. a.BrickColor = bc("Bright red")
  6591. a.Material = "Neon"
  6592. a.Transparency = 1
  6593. a.CanCollide = false
  6594. local ray = Ray.new(
  6595. sorb.CFrame.p, -- origin
  6596. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  6597. )
  6598. local ignore = sorb
  6599. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6600. a.BottomSurface = 10
  6601. a.TopSurface = 10
  6602. local distance = (sorb.CFrame.p - position).magnitude
  6603. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6604. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6605. orb.CFrame = a.CFrame
  6606. a:Destroy()
  6607. local bv = Instance.new("BodyVelocity")
  6608. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6609. bv.velocity = orb.CFrame.lookVector*100
  6610. bv.Parent = orb
  6611. local hitted = false
  6612. game:GetService("Debris"):AddItem(orb, 10)
  6613. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  6614. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  6615. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  6616. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  6617. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  6618. coroutine.resume(coroutine.create(function()
  6619. while true do
  6620. swait(1)
  6621. if orb.Parent ~= nil and hitted == false then
  6622. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  6623. elseif orb.Parent == nil then
  6624. break
  6625. end
  6626. end
  6627. end))
  6628. coroutine.resume(coroutine.create(function()
  6629. swait(1)
  6630. orb.Touched:connect(function(hit)
  6631. if hitted == false then
  6632. hitted = true
  6633. game:GetService("Debris"):AddItem(orb, 5)
  6634. orb.Transparency = 1
  6635. orb.Anchored = true
  6636. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  6637. elocacenter.Anchored = true
  6638. elocacenter.CFrame = orb.CFrame
  6639. elocacenter.Orientation = vt(0,0,0)
  6640. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  6641. eloca1.Anchored = true
  6642. eloca1.CFrame = elocacenter.CFrame
  6643. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  6644. eloca2.Anchored = true
  6645. eloca2.CFrame = elocacenter.CFrame
  6646. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  6647. eloca3.Anchored = true
  6648. eloca3.CFrame = elocacenter.CFrame
  6649. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  6650. eloca4.Anchored = true
  6651. eloca4.CFrame = elocacenter.CFrame
  6652. local lookavec = 0
  6653. local speeds = 0
  6654. CameraEnshaking(1,1)
  6655. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  6656. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6657. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6658. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6659. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6660. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6661. for i = 0, 99 do
  6662. swait()
  6663. lookavec = lookavec + 1
  6664. speeds = speeds + 0.1
  6665. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  6666. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  6667. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  6668.  
  6669. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  6670. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  6671.  
  6672. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  6673. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  6674.  
  6675. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  6676. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  6677. end
  6678.  
  6679. for i = 0, 149 do
  6680. swait()
  6681. speeds = speeds + 0.1
  6682. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  6683. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  6684. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  6685.  
  6686. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  6687. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  6688.  
  6689. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  6690. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  6691.  
  6692. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  6693. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  6694. end
  6695. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  6696. if v:FindFirstChild('Head') then
  6697. dmg(v)
  6698. end
  6699. end
  6700. CameraEnshaking(7,30)
  6701. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  6702. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  6703. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  6704. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  6705. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  6706. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  6707. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  6708. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6709. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6710. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6711. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6712. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6713. for i = 0, 24 do
  6714. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  6715. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  6716. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  6717. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  6718. end
  6719. coroutine.resume(coroutine.create(function()
  6720. for i = 0, 499 do
  6721. swait(1)
  6722. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  6723. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  6724. end
  6725. elocacenter:Destroy()
  6726. eloca1:Destroy()
  6727. eloca2:Destroy()
  6728. eloca3:Destroy()
  6729. eloca4:Destroy()
  6730. end))
  6731. end
  6732. end)
  6733. end))
  6734. attack = false
  6735. end
  6736.  
  6737.  
  6738. function UniversalCollapse()
  6739. attack = true
  6740. local speedearn = 0
  6741. hum.WalkSpeed = 0
  6742. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  6743. for i = 0, 10, 0.1 do
  6744. swait()
  6745. speedearn = speedearn + 0.1
  6746. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6747. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6748. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6749. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6750. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6751. 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)),.1)
  6752. 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)),.1)
  6753. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6754. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6755. 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)
  6756. 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)
  6757. end
  6758. CameraEnshaking(5,45)
  6759. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  6760. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  6761. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  6762. if v:FindFirstChild('Head') then
  6763. dmg(v)
  6764. end
  6765. end
  6766. hum.WalkSpeed = storehumanoidWS
  6767. attack = false
  6768. end
  6769. function ChaosBegone()
  6770. attack = true
  6771. local speedearn = 0
  6772. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  6773. for i = 0, 10, 0.1 do
  6774. swait()
  6775. speedearn = speedearn + 0.1
  6776. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6777. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6778. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6779. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6780. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6781. 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)),.2)
  6782. 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)),.2)
  6783. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6784. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6785. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  6786. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  6787. end
  6788. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  6789. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  6790. CameraEnshaking(5,25)
  6791. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  6792. if v:FindFirstChild('Head') then
  6793. dmg(v)
  6794. end
  6795. end
  6796. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  6797. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  6798. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  6799. for i = 0, 3, 0.1 do
  6800. swait()
  6801. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*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)
  6802. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*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)
  6803. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*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)
  6804. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*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)
  6805. 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)),.4)
  6806. 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)),.4)
  6807. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  6808. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  6809. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  6810. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  6811. end
  6812. attack = false
  6813. end
  6814.  
  6815. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  6816. local orb = Instance.new("Part", char)
  6817. orb.Anchored = true
  6818. orb.BrickColor = color
  6819. orb.CanCollide = false
  6820. orb.FormFactor = 3
  6821. orb.Name = "Ring"
  6822. orb.Material = "Neon"
  6823. orb.Size = Vector3.new(1, 1, 1)
  6824. orb.Transparency = 0
  6825. orb.TopSurface = 0
  6826. orb.BottomSurface = 0
  6827. local orbm = Instance.new("SpecialMesh", orb)
  6828. orbm.MeshType = "Sphere"
  6829. orb.CFrame = positted
  6830. orbm.Name = "SizeMesh"
  6831. orbm.Scale = vt(1,1,1)
  6832. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  6833. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  6834. --[[for i = 0, 2 do
  6835. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  6836. end]]--
  6837. coroutine.resume(coroutine.create(function()
  6838. wait(timer)
  6839. CameraEnshaking(3,ShakePower)
  6840. orb.Transparency = 1
  6841. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  6842. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  6843. --[[for i = 0, 4 do
  6844. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  6845. end]]--
  6846. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  6847. wait(3)
  6848. orb:Destroy()
  6849. end))
  6850. end
  6851.  
  6852. function orb_spawn(positted,timer)
  6853. local randomcol = math.random(1,2)
  6854. local orb = Instance.new("Part", char)
  6855. orb.Anchored = true
  6856. if randomcol == 1 then
  6857. orb.BrickColor = BrickColor.new("White")
  6858. elseif randomcol == 2 then
  6859. orb.BrickColor = BrickColor.new("Really black")
  6860. end
  6861. orb.CanCollide = false
  6862. orb.FormFactor = 3
  6863. orb.Name = "Ring"
  6864. orb.Material = "Neon"
  6865. orb.Size = Vector3.new(1, 1, 1)
  6866. orb.Transparency = 0
  6867. orb.TopSurface = 0
  6868. orb.BottomSurface = 0
  6869. local orbm = Instance.new("SpecialMesh", orb)
  6870. orbm.MeshType = "Sphere"
  6871. orb.CFrame = positted
  6872. orbm.Name = "SizeMesh"
  6873. orbm.Scale = vt(1,1,1)
  6874. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  6875. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  6876. for i = 0, 2 do
  6877. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  6878. end
  6879. coroutine.resume(coroutine.create(function()
  6880. wait(timer)
  6881. CameraEnshaking(3,2)
  6882. orb.Transparency = 1
  6883. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  6884. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  6885. for i = 0, 4 do
  6886. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  6887. end
  6888. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  6889. wait(3)
  6890. orb:Destroy()
  6891. end))
  6892. end
  6893.  
  6894. function scattercorrupt()
  6895. attack = true
  6896. local rot = 0
  6897. local randomrotations = math.random(1,2)
  6898. local lookv = 2.5
  6899. local power = 5
  6900. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  6901. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  6902. for i = 0, 9 do
  6903. sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  6904. end
  6905. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  6906. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  6907. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  6908. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  6909. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  6910. local hite = Instance.new("Part", char)
  6911. hite.Anchored = true
  6912. hite.CanCollide = false
  6913. hite.FormFactor = 3
  6914. hite.Name = "Ring"
  6915. hite.Material = "Neon"
  6916. hite.Size = Vector3.new(1, 1, 1)
  6917. hite.Transparency = 1
  6918. hite.TopSurface = 0
  6919. hite.BottomSurface = 0
  6920. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  6921. local rem = Instance.new("Part", char)
  6922. rem.Anchored = true
  6923. rem.CanCollide = false
  6924. rem.FormFactor = 3
  6925. rem.Name = "Ring"
  6926. rem.Material = "Neon"
  6927. rem.Size = Vector3.new(1, 1, 1)
  6928. rem.Transparency = 1
  6929. rem.TopSurface = 0
  6930. rem.BottomSurface = 0
  6931. rem.CFrame = hite.CFrame
  6932. local rem2 = rem:Clone()
  6933. rem2.Parent = char
  6934. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  6935. local rem3 = rem:Clone()
  6936. rem3.Parent = char
  6937. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  6938. local rem4 = rem:Clone()
  6939. rem4.Parent = char
  6940. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  6941. hite:Destroy()
  6942. coroutine.resume(coroutine.create(function()
  6943. for i = 0, 24 do
  6944. swait(1)
  6945. if randomrotations == 1 then
  6946. rot = rot + 1
  6947. elseif randomrotations == 2 then
  6948. rot = rot - 1
  6949. end
  6950. power = power + 0.5
  6951. lookv = lookv + 7.5
  6952. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6953. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  6954. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  6955. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  6956. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  6957. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  6958. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  6959. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  6960. end
  6961. end))
  6962. attack = false
  6963. end
  6964. function yinyangi()
  6965. attack = true
  6966. for i = 0, 2, 0.1 do
  6967. swait()
  6968. 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(-20)),.2)
  6969. 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(20)),.2)
  6970. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  6971. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6972. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  6973. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  6974. end
  6975. local bv = Instance.new("BodyVelocity")
  6976. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6977. bv.velocity = root.CFrame.lookVector*175
  6978. bv.Parent = root
  6979. for Rotations = 0, 9 do
  6980. for i = 0, 1, 0.5 do
  6981. swait()
  6982. bv.velocity = root.CFrame.lookVector*175
  6983. 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(-20)),.5)
  6984. 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(20)),.5)
  6985. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  6986. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  6987. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  6988. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  6989. end
  6990. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  6991. for i = 0, 1, 0.5 do
  6992. swait()
  6993. bv.velocity = root.CFrame.lookVector*175
  6994. 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(-20)),.5)
  6995. 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(20)),.5)
  6996. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  6997. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  6998. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  6999. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  7000. end
  7001. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  7002. for i = 0, 1, 0.5 do
  7003. swait()
  7004. bv.velocity = root.CFrame.lookVector*175
  7005. 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(-20)),.5)
  7006. 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(20)),.5)
  7007. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  7008. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  7009. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  7010. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  7011. end
  7012. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  7013. for i = 0, 1, 0.5 do
  7014. swait()
  7015. bv.velocity = root.CFrame.lookVector*175
  7016. 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(-20)),.5)
  7017. 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(20)),.5)
  7018. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  7019. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  7020. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  7021. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  7022. end
  7023. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  7024. end
  7025. bv:Destroy()
  7026. attack = false
  7027. end
  7028.  
  7029. function Wip()
  7030. attack = true
  7031.  
  7032. local rngb = Instance.new("Part", char)
  7033. rngb.Anchored = true
  7034. rngb.BrickColor = origcolor
  7035. rngb.CanCollide = false
  7036. rngb.FormFactor = 3
  7037. rngb.Name = "Ring"
  7038. rngb.Material = "Neon"
  7039. rngb.Size = Vector3.new(1, 0.05, 1)
  7040. rngb.Transparency = 1
  7041. rngb.TopSurface = 0
  7042. rngb.BottomSurface = 0
  7043. local rngmb = Instance.new("SpecialMesh", rngb)
  7044. rngmb.MeshType = "Brick"
  7045. rngmb.Name = "SizeMesh"
  7046. rngmb.Scale = vt(0,1,0)
  7047.  
  7048. local orb = rngb:Clone()
  7049. orb.Parent = char
  7050. orb.Transparency = 0
  7051. orb.BrickColor = BrickColor.new("White")
  7052. orb.Size = vt(1,1,1)
  7053. local orbmish = orb.SizeMesh
  7054. orbmish.Scale = vt(0,0,0)
  7055. orbmish.MeshType = "Sphere"
  7056.  
  7057. local orbe = rngb:Clone()
  7058. orbe.Parent = char
  7059. orbe.Transparency = 0.5
  7060. orbe.BrickColor = BrickColor.new("New Yeller")
  7061. orbe.Size = vt(1,1,1)
  7062. local orbmish2 = orbe.SizeMesh
  7063. orbmish2.Scale = vt(0,0,0)
  7064. orbmish2.MeshType = "Sphere"
  7065. orbe.Color = Color3.new(r/255,g/255,b/255)
  7066.  
  7067. rngb:Destroy()
  7068. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  7069. local scaled = 1
  7070. for i = 0,5,0.1 do
  7071. swait()
  7072. scaled = scaled - 0.02
  7073. if rainbowmode == true then
  7074. orbe.Color = Color3.new(r/255,g/255,b/255)
  7075. end
  7076. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  7077. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  7078. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  7079. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  7080. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  7081. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  7082. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  7083. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  7084. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  7085. 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(0)),.3)
  7086. 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(10),math.rad(0)),.3)
  7087. RootPart.CFrame = FaceMouse()[1]
  7088. end]]--
  7089. for i = 0,5,0.1 do
  7090. swait()
  7091. if rainbowmode == true then
  7092. orbe.Color = Color3.new(r/255,g/255,b/255)
  7093. end
  7094. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  7095. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  7096. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  7097. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  7098. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  7099. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  7100. 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(0)),.3)
  7101. 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(10),math.rad(0)),.3)
  7102. RootPart.CFrame = FaceMouse()[1]
  7103. end
  7104. orbe.Transparency = 1
  7105. orb.Transparency = 1
  7106. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  7107. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  7108. local a = Instance.new("Part",Character)
  7109. a.Name = "Direction"
  7110. a.Anchored = true
  7111. a.BrickColor = bc("White")
  7112. a.Material = "Neon"
  7113. a.Transparency = 0
  7114. a.Shape = "Cylinder"
  7115. a.CanCollide = false
  7116. local a2 = Instance.new("Part",Character)
  7117. a2.Name = "Direction"
  7118. a2.Anchored = true
  7119. a2.BrickColor = bc("New Yeller")
  7120. a2.Color = Color3.new(r/255,g/255,b/255)
  7121. a2.Material = "Neon"
  7122. a2.Transparency = 0.5
  7123. a2.Shape = "Cylinder"
  7124. a2.CanCollide = false
  7125. local ba = Instance.new("Part",Character)
  7126. ba.Name = "HitDirect"
  7127. ba.Anchored = true
  7128. ba.BrickColor = bc("Cool yellow")
  7129. ba.Material = "Neon"
  7130. ba.Transparency = 1
  7131. ba.CanCollide = false
  7132. local ray = Ray.new(
  7133. orb.CFrame.p, -- origin
  7134. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7135. )
  7136. local ignore = Character
  7137. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7138. a.BottomSurface = 10
  7139. a.TopSurface = 10
  7140. a2.BottomSurface = 10
  7141. a2.TopSurface = 10
  7142. local distance = (orb.CFrame.p - position).magnitude
  7143. a.Size = Vector3.new(distance, 1, 1)
  7144. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7145. a2.Size = Vector3.new(distance, 1, 1)
  7146. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7147. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7148. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7149. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7150. game:GetService("Debris"):AddItem(a, 20)
  7151. game:GetService("Debris"):AddItem(a2, 20)
  7152. game:GetService("Debris"):AddItem(ba, 20)
  7153. local msh = Instance.new("SpecialMesh",a)
  7154. msh.MeshType = "Cylinder"
  7155. msh.Scale = vt(1,5*5,5*5)
  7156. local msh2 = Instance.new("SpecialMesh",a2)
  7157. msh2.MeshType = "Cylinder"
  7158. msh2.Scale = vt(1,6*5,6*5)
  7159.  
  7160. for i = 0,10,0.1 do
  7161. swait()
  7162. CameraEnshaking(1,5)
  7163. a2.Color = Color3.new(r/255,g/255,b/255)
  7164. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7165. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7166. ray = Ray.new(
  7167. orb.CFrame.p, -- origin
  7168. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7169. )
  7170. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7171. distance = (orb.CFrame.p - position).magnitude
  7172. if typrot == 1 then
  7173. rotation = rotation + 2.5
  7174. elseif typrot == 2 then
  7175. rotation = rotation - 2.5
  7176. end
  7177. RootPart.CFrame = FaceMouse()[1]
  7178. a.Size = Vector3.new(distance, 1, 1)
  7179. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7180. a2.Size = Vector3.new(distance, 1, 1)
  7181. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7182. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7183. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7184. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7185. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  7186. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  7187. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  7188. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  7189. MagniDamage(ba, 30, 500,60000, 0, "Normal")
  7190. end
  7191. a:Destroy()
  7192. a2:Destroy()
  7193. ba:Destroy()
  7194. orb:Destroy()
  7195. orbe:Destroy()
  7196. attack = false
  7197. end
  7198. function HolyBarrier()
  7199. attack = true
  7200. for i = 0, 2, 0.1 do
  7201. swait()
  7202. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  7203. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  7204. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  7205. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  7206. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
  7207. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
  7208. end
  7209. CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
  7210. stash = Instance.new("Model",workspace)
  7211. local barrier = Instance.new("Part",stash)
  7212. barrier.Anchored = true
  7213. barrier.CanCollide = false
  7214. barrier.Size = Vector3.new(20,20,20)
  7215. barrier.CFrame = root.CFrame
  7216. barrier.Transparency = 0.6
  7217. barrier.BrickColor = MAINRUINCOLOR
  7218. barrier.Material = Enum.Material.Neon
  7219. barrier.Shape = Enum.PartType.Ball
  7220. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  7221. Torso.Anchored = true
  7222. shielding = true
  7223. for i=1,50 do
  7224. local p = Instance.new("Part",stash)
  7225. p.Anchored = true
  7226. p.Transparency = 1
  7227. p.Size = Vector3.new(11,11,11)
  7228. p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  7229. end
  7230. end
  7231. function Judgement()
  7232. attack = true
  7233. hum.WalkSpeed = 0
  7234. local p = Instance.new("Part",root)
  7235. p.Anchored = true
  7236. p.CanCollide = false
  7237. p.BrickColor = MAINRUINCOLOR
  7238. p.Material = Enum.Material.Neon
  7239. p.Size = Vector3.new(1,1,1)
  7240. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  7241. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  7242. local m = Instance.new("SpecialMesh",p)
  7243. m.MeshType = "Cylinder"
  7244. m.Scale = Vector3.new(2000,2,2)
  7245. local targ = Instance.new("Part",root)
  7246. targ.Transparency = 1
  7247. targ.CanCollide = false
  7248. targ.Size = Vector3.new(1,1,1)
  7249. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  7250. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  7251. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  7252. for i = 1,15 do
  7253. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  7254. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  7255. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  7256. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  7257. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  7258. 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(-20)),.2)
  7259. 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(10),math.rad(20)),.2)
  7260. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  7261. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  7262. m.Scale = m.Scale+Vector3.new(0,1,1)
  7263. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  7264. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  7265. swait()
  7266. end
  7267. sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  7268. for i = 1,200 do
  7269. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  7270. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  7271. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  7272. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  7273. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  7274. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  7275. swait()
  7276. end
  7277. for i =1,15 do
  7278. m.Scale = m.Scale-Vector3.new(1,1,1)
  7279. p.Transparency = i / 15
  7280. swait()
  7281. end
  7282. p:Destroy()
  7283. hum.WalkSpeed = storehumanoidWS
  7284. attack = false
  7285. end
  7286.  
  7287. function UniversalSpark()
  7288. attack = true
  7289.  
  7290. local rngb = Instance.new("Part", char)
  7291. rngb.Anchored = true
  7292. rngb.BrickColor = origcolor
  7293. rngb.CanCollide = false
  7294. rngb.FormFactor = 3
  7295. rngb.Name = "Ring"
  7296. rngb.Material = "Neon"
  7297. rngb.Size = Vector3.new(1, 0.05, 1)
  7298. rngb.Transparency = 1
  7299. rngb.TopSurface = 0
  7300. rngb.BottomSurface = 0
  7301. local rngmb = Instance.new("SpecialMesh", rngb)
  7302. rngmb.MeshType = "Brick"
  7303. rngmb.Name = "SizeMesh"
  7304. rngmb.Scale = vt(0,1,0)
  7305.  
  7306. local orb = rngb:Clone()
  7307. orb.Parent = char
  7308. orb.Transparency = 0
  7309. orb.BrickColor = BrickColor.new("White")
  7310. orb.Size = vt(1,1,1)
  7311. local orbmish = orb.SizeMesh
  7312. orbmish.Scale = vt(0,0,0)
  7313. orbmish.MeshType = "Sphere"
  7314.  
  7315. local orbe = rngb:Clone()
  7316. orbe.Parent = char
  7317. orbe.Transparency = 0.5
  7318. orbe.BrickColor = BrickColor.new("New Yeller")
  7319. orbe.Size = vt(1,1,1)
  7320. local orbmish2 = orbe.SizeMesh
  7321. orbmish2.Scale = vt(0,0,0)
  7322. orbmish2.MeshType = "Sphere"
  7323. orbe.Color = Color3.new(r/255,g/255,b/255)
  7324.  
  7325. rngb:Destroy()
  7326. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  7327. local scaled = 1
  7328. for i = 0,5,0.1 do
  7329. swait()
  7330. scaled = scaled - 0.02
  7331. if rainbowmode == true then
  7332. orbe.Color = Color3.new(r/255,g/255,b/255)
  7333. end
  7334. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  7335. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  7336. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  7337. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  7338. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  7339. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  7340. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  7341. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  7342. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  7343. 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(0)),.3)
  7344. 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(10),math.rad(0)),.3)
  7345. RootPart.CFrame = FaceMouse()[1]
  7346. end]]--
  7347. for i = 0,5,0.1 do
  7348. swait()
  7349. if rainbowmode == true then
  7350. orbe.Color = Color3.new(r/255,g/255,b/255)
  7351. end
  7352. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  7353. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  7354. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  7355. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  7356. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  7357. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  7358. 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(0)),.3)
  7359. 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(10),math.rad(0)),.3)
  7360. RootPart.CFrame = FaceMouse()[1]
  7361. end
  7362. orbe.Transparency = 1
  7363. orb.Transparency = 1
  7364. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  7365. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  7366. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  7367. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  7368.  
  7369. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  7370. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  7371. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  7372. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  7373. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  7374. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  7375. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  7376. local xd= Instance.new("Sound",char)
  7377. xd.SoundId = "rbxassetid://445796828"
  7378. xd.Pitch = 0.75
  7379. xd.Looped = true
  7380. xd.Volume = 1.25
  7381. xd:Play()
  7382. local a = Instance.new("Part",Character)
  7383. a.Name = "Direction"
  7384. a.Anchored = true
  7385. a.BrickColor = bc("Alder")
  7386. a.Color = MAINRUINCOLOR.Color
  7387. a.Material = "Neon"
  7388. a.Transparency = 0.5
  7389. a.Shape = "Cylinder"
  7390. a.CanCollide = false
  7391. local a2 = Instance.new("Part",Character)
  7392. a2.Name = "Direction"
  7393. a2.Anchored = true
  7394. a2.BrickColor = bc("New Yeller")
  7395. a2.Color = MAINRUINCOLOR.Color
  7396. a2.Material = "Neon"
  7397. a2.Transparency = 0.5
  7398. a2.Shape = "Cylinder"
  7399. a2.CanCollide = false
  7400. local ba = Instance.new("Part",Character)
  7401. ba.Name = "HitDirect"
  7402. ba.Anchored = true
  7403. ba.BrickColor = bc("Cool yellow")
  7404. ba.Material = "Neon"
  7405. ba.Transparency = 1
  7406. ba.CanCollide = false
  7407. local ray = Ray.new(
  7408. orb.CFrame.p, -- origin
  7409. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7410. )
  7411. local ignore = Character
  7412. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7413. a.BottomSurface = 10
  7414. a.TopSurface = 10
  7415. a2.BottomSurface = 10
  7416. a2.TopSurface = 10
  7417. local distance = (orb.CFrame.p - position).magnitude
  7418. a.Size = Vector3.new(distance, 1, 1)
  7419. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7420. a2.Size = Vector3.new(distance, 1, 1)
  7421. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7422. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7423. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7424. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7425. game:GetService("Debris"):AddItem(a, 60)
  7426. game:GetService("Debris"):AddItem(a2, 60)
  7427. game:GetService("Debris"):AddItem(ba, 60)
  7428. local outerscale = 0
  7429. local msh = Instance.new("SpecialMesh",a)
  7430. msh.MeshType = "Cylinder"
  7431. msh.Scale = vt(1,0,0)
  7432. local msh2 = Instance.new("SpecialMesh",a2)
  7433. msh2.MeshType = "Cylinder"
  7434. msh2.Scale = vt(1,0,0)
  7435. for i = 0,2,0.1 do
  7436. swait()
  7437. CameraEnshaking(1,1)
  7438. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  7439. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  7440. outerscale = outerscale - 0.015
  7441. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7442. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7443. ray = Ray.new(
  7444. orb.CFrame.p, -- origin
  7445. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7446. )
  7447. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7448. distance = (orb.CFrame.p - position).magnitude
  7449. if typrot == 1 then
  7450. rotation = rotation + 2.5
  7451. elseif typrot == 2 then
  7452. rotation = rotation - 2.5
  7453. end
  7454. RootPart.CFrame = FaceMouse()[1]
  7455. a.Size = Vector3.new(distance, 1, 1)
  7456. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7457. a2.Size = Vector3.new(distance, 1, 1)
  7458. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7459. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7460. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7461. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7462. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  7463. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  7464. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  7465. end
  7466. for z = 0, 2 do
  7467. for i = 0,4,0.1 do
  7468. swait()
  7469. CameraEnshaking(1,1)
  7470. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  7471. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  7472. outerscale = outerscale + 0.015
  7473. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7474. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7475. ray = Ray.new(
  7476. orb.CFrame.p, -- origin
  7477. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7478. )
  7479. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7480. distance = (orb.CFrame.p - position).magnitude
  7481. if typrot == 1 then
  7482. rotation = rotation + 2.5
  7483. elseif typrot == 2 then
  7484. rotation = rotation - 2.5
  7485. end
  7486. RootPart.CFrame = FaceMouse()[1]
  7487. a.Size = Vector3.new(distance, 1, 1)
  7488. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7489. a2.Size = Vector3.new(distance, 1, 1)
  7490. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7491. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7492. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7493. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7494. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  7495. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  7496. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  7497. end
  7498. for i = 0,4,0.1 do
  7499. swait()
  7500. CameraEnshaking(1,1)
  7501. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  7502. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  7503. outerscale = outerscale - 0.015
  7504. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7505. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7506. ray = Ray.new(
  7507. orb.CFrame.p, -- origin
  7508. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7509. )
  7510. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7511. distance = (orb.CFrame.p - position).magnitude
  7512. if typrot == 1 then
  7513. rotation = rotation + 2.5
  7514. elseif typrot == 2 then
  7515. rotation = rotation - 2.5
  7516. end
  7517. RootPart.CFrame = FaceMouse()[1]
  7518. a.Size = Vector3.new(distance, 1, 1)
  7519. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7520. a2.Size = Vector3.new(distance, 1, 1)
  7521. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7522. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7523. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7524. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7525. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  7526. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  7527. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  7528. end
  7529. end
  7530. for i = 0,4,0.1 do
  7531. swait()
  7532. CameraEnshaking(1,1)
  7533. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  7534. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  7535. xd.Volume = xd.Volume - 0.025
  7536. a.Transparency = a.Transparency + 0.025
  7537. a2.Transparency = a2.Transparency + 0.025
  7538. outerscale = outerscale - 0.015
  7539. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7540. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7541. ray = Ray.new(
  7542. orb.CFrame.p, -- origin
  7543. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7544. )
  7545. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7546. distance = (orb.CFrame.p - position).magnitude
  7547. if typrot == 1 then
  7548. rotation = rotation + 2.5
  7549. elseif typrot == 2 then
  7550. rotation = rotation - 2.5
  7551. end
  7552. RootPart.CFrame = FaceMouse()[1]
  7553. a.Size = Vector3.new(distance, 1, 1)
  7554. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7555. a2.Size = Vector3.new(distance, 1, 1)
  7556. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7557. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7558. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7559. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7560. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  7561. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  7562. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  7563. end
  7564. xd:Destroy()
  7565. a:Destroy()
  7566. a2:Destroy()
  7567. ba:Destroy()
  7568. orb:Destroy()
  7569. orbe:Destroy()
  7570. attack = false
  7571. end
  7572.  
  7573.  
  7574. function resetmode()
  7575. rainbowmode = false
  7576. chaosmode = false
  7577. tl1.Enabled = false
  7578. tl2.Enabled = false
  7579. tl3.Enabled = false
  7580. ModeOfGlitch = 1
  7581. storehumanoidWS = 16
  7582. coroutine.resume(coroutine.create(function()
  7583. attack = true
  7584. hum.WalkSpeed = 0
  7585. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  7586. for i = 0,4,0.1 do
  7587. swait()
  7588. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  7589. 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(30)),.5)
  7590. 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(-30)),.5)
  7591. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.5)
  7592. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.5)
  7593. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.5)
  7594. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.5)
  7595. end
  7596. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  7597. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  7598. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  7599. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  7600. RecolorTextAndRename("Mayhem",Color3.new(0,0,0),Color3.new(1,0,0))
  7601. CameraEnshaking(5,2.5)
  7602. MAINRUINCOLOR = BrickColor.new("Really red")
  7603. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7604. for i = 0, 49 do
  7605. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  7606. end
  7607. for i = 0,3,0.1 do
  7608. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  7609. end
  7610. for i, v in pairs(mw2:GetChildren()) do
  7611. if v:IsA("Part") then
  7612. v.BrickColor = BrickColor.new("Really red")
  7613. v.Material = "Neon"
  7614. end
  7615. end
  7616. for i, v in pairs(mw1:GetChildren()) do
  7617. if v:IsA("Part") then
  7618. v.Transparency = 1
  7619. v.BrickColor = BrickColor.new("Really red")
  7620. v.Material = "Neon"
  7621. end
  7622. end
  7623. for i, v in pairs(m:GetChildren()) do
  7624. if v:IsA("Part") then
  7625. v.BrickColor = BrickColor.new("Really black")
  7626. v.Material = "Glass"
  7627. end
  7628. end
  7629. for i, v in pairs(m2:GetChildren()) do
  7630. if v:IsA("Part") then
  7631. v.BrickColor = BrickColor.new("Crimson")
  7632. v.Material = "Granite"
  7633. end
  7634. end
  7635. for i, v in pairs(m3:GetChildren()) do
  7636. if v:IsA("Part") then
  7637. v.BrickColor = BrickColor.new("Really red")
  7638. v.Material = "Neon"
  7639. end
  7640. end
  7641. for i, v in pairs(extrawingmod1:GetChildren()) do
  7642. if v:IsA("Part") then
  7643. v.Transparency = 1
  7644. v.BrickColor = BrickColor.new("White")
  7645. v.Material = "Neon"
  7646. end
  7647. end
  7648. for i, v in pairs(extrawingmod2:GetChildren()) do
  7649. if v:IsA("Part") then
  7650. v.Transparency = 1
  7651. v.BrickColor = BrickColor.new("White")
  7652. v.Material = "Neon"
  7653. end
  7654. end
  7655. for i = 0,2,0.1 do
  7656. swait()
  7657. 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(-30)),.5)
  7658. 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(30)),.5)
  7659. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  7660. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  7661. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  7662. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  7663. end
  7664. hum.WalkSpeed = storehumanoidWS
  7665. attack = false
  7666. end))
  7667. newTheme("rbxassetid://672003363",48.6,1,0.3)
  7668. end
  7669.  
  7670. function attackone()
  7671. attack = true
  7672. for i = 0,1,0.1 do
  7673. swait()
  7674. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  7675. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  7676. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  7677. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  7678. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  7679. 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(10)),.2)
  7680. end
  7681. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  7682.  
  7683. local hitb = Instance.new("Part", char)
  7684. hitb.Anchored = true
  7685. hitb.CanCollide = false
  7686. hitb.FormFactor = 3
  7687. hitb.Name = "Ring"
  7688. hitb.Material = "Neon"
  7689. hitb.Size = Vector3.new(1, 1, 1)
  7690. hitb.Transparency = 1
  7691. hitb.TopSurface = 0
  7692. hitb.BottomSurface = 0
  7693. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  7694. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  7695. hitb:Destroy()
  7696. for i = 0,1,0.1 do
  7697. swait()
  7698. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  7699. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  7700. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  7701. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  7702. RH.C0=clerp(RH.C0,cf(1,-1 - 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(-40)),.4)
  7703. 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(-10)),.4)
  7704. end
  7705.  
  7706. attack = false
  7707. end
  7708.  
  7709. function attacktwo()
  7710. attack = true
  7711. for i = 0,1,0.1 do
  7712. swait()
  7713. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  7714. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  7715. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  7716. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  7717. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  7718. 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(10)),.2)
  7719. end
  7720. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  7721. local hitb = Instance.new("Part", char)
  7722. hitb.Anchored = true
  7723. hitb.CanCollide = false
  7724. hitb.FormFactor = 3
  7725. hitb.Name = "Ring"
  7726. hitb.Material = "Neon"
  7727. hitb.Size = Vector3.new(1, 1, 1)
  7728. hitb.Transparency = 1
  7729. hitb.TopSurface = 0
  7730. hitb.BottomSurface = 0
  7731. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  7732. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  7733. hitb:Destroy()
  7734. for i = 0,1,0.1 do
  7735. swait()
  7736. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  7737. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  7738. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  7739. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  7740. 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(-5),math.rad(0),math.rad(-40)),.4)
  7741. 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(-10)),.4)
  7742. end
  7743. attack = false
  7744. end
  7745.  
  7746. function attackthree()
  7747. attack = true
  7748. for i = 0,1,0.1 do
  7749. swait()
  7750. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  7751. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  7752. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  7753. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  7754. 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(0)),.3)
  7755. 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(10),math.rad(0)),.3)
  7756. end
  7757. local distlook = 5
  7758. for i = 0, 4 do
  7759. swait(2)
  7760. CameraEnshaking(2,3)
  7761. local hite = Instance.new("Part", char)
  7762. hite.Anchored = true
  7763. hite.CanCollide = false
  7764. hite.FormFactor = 3
  7765. hite.Name = "Ring"
  7766. hite.Material = "Neon"
  7767. hite.Size = Vector3.new(1, 1, 1)
  7768. hite.Transparency = 1
  7769. hite.TopSurface = 0
  7770. hite.BottomSurface = 0
  7771. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  7772. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  7773. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  7774. MagniDamage(hite, 10, 15,35, 0, "Normal")
  7775. for i = 0, 2 do
  7776. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  7777. sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  7778. sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  7779. end
  7780. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  7781. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  7782. game:GetService("Debris"):AddItem(hite, 5)
  7783. distlook = distlook + 10
  7784. end
  7785. attack = false
  7786. end
  7787.  
  7788. local ActiveGia = false
  7789. function THEHELLITSTHATBIG()
  7790. ActiveGia = true
  7791. attack = true
  7792. hum.WalkSpeed = 0
  7793. for i = 0,2,0.1 do
  7794. swait()
  7795. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  7796. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  7797. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  7798. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  7799. 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(-20)),.2)
  7800. 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(10),math.rad(20)),.2)
  7801. end
  7802. for i = 0,1,0.1 do
  7803. torsweld.C1=clerp(torsweld.C1,cf(0,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  7804. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1)
  7805. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1)
  7806. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  7807. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  7808. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1)
  7809. end
  7810. CFuncs["Sound"].Create("rbxassetid://528589382", sectors, 5, 1)
  7811. secrleg.Transparency = 0.5
  7812. seclleg.Transparency = 0.5
  7813. secrarm.Transparency = 0.5
  7814. seclarm.Transparency = 0.5
  7815. seched.Transparency = 0.5
  7816. sectors.Transparency = 0.5
  7817. for i = 0,25,0.1 do
  7818. swait()
  7819. PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,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))),5,5,5,0.1,MAINRUINCOLOR,-10)
  7820. torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  7821. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),0.025)
  7822. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),0.025)
  7823. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  7824. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  7825. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
  7826. end
  7827. --[[secrleg.Transparency = 1
  7828. seclleg.Transparency = 1
  7829. secrarm.Transparency = 1
  7830. seclarm.Transparency = 1
  7831. seched.Transparency = 1
  7832. sectors.Transparency = 1]]--
  7833. torsweld.Part0 = root
  7834. hum.WalkSpeed = storehumanoidWS
  7835. attack = false
  7836. end
  7837.  
  7838. function removelol()
  7839. ActiveGia = false
  7840. attack = true
  7841. hum.WalkSpeed = 0
  7842. for i = 0,2,0.1 do
  7843. swait()
  7844. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  7845. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  7846. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  7847. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  7848. 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(-20)),.2)
  7849. 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(10),math.rad(20)),.2)
  7850. end
  7851. CFuncs["Sound"].Create("rbxassetid://528589274", sectors, 5, 1)
  7852. for i = 0,25,0.1 do
  7853. swait()
  7854. secrleg.Transparency = secrleg.Transparency + 0.00225
  7855. seclleg.Transparency = secrleg.Transparency
  7856. secrarm.Transparency = secrleg.Transparency
  7857. seclarm.Transparency = secrleg.Transparency
  7858. seched.Transparency = secrleg.Transparency
  7859. sectors.Transparency = secrleg.Transparency
  7860. PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,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))),5,5,5,0.1,MAINRUINCOLOR,-10)
  7861. torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  7862. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(20)),0.025)
  7863. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),0.025)
  7864. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  7865. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  7866. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
  7867. end
  7868. CFuncs["Sound"].Create("rbxassetid://468991944", sectors, 10, 1)
  7869. sphere(1,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7870. sphere(2,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7871. sphere(3,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7872. secrleg.Transparency = 1
  7873. seclleg.Transparency = 1
  7874. secrarm.Transparency = 1
  7875. seclarm.Transparency = 1
  7876. seched.Transparency = 1
  7877. sectors.Transparency = 1
  7878. torsweld.Part0 = root
  7879. hum.WalkSpeed = storehumanoidWS
  7880. attack = false
  7881. end
  7882.  
  7883. function FinalCalamity()
  7884. end
  7885.  
  7886. local attacktype = 1
  7887. mouse.Button1Down:connect(function()
  7888. if attack == false and attacktype == 1 then
  7889. attacktype = 2
  7890. attackone()
  7891. elseif attack == false and attacktype == 2 then
  7892. attacktype = 3
  7893. attacktwo()
  7894. elseif attack == false and attacktype == 3 then
  7895. attacktype = 1
  7896. attackthree()
  7897. elseif attack == false and attacktype == 4 then
  7898. attacktype = 1
  7899. --attackfour()
  7900. end
  7901. end)
  7902. mouse.KeyDown:connect(function(k)
  7903. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  7904. ModeOfGlitch = 2
  7905. storehumanoidWS = 16
  7906. hum.WalkSpeed = 16
  7907. rainbowmode = false
  7908. chaosmode = false
  7909. tl1.Enabled = false
  7910. tl2.Enabled = false
  7911. tl3.Enabled = false
  7912. RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  7913. newTheme("rbxassetid://1523462000",0,1,0.3)
  7914. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  7915. for i, v in pairs(mw2:GetChildren()) do
  7916. if v:IsA("Part") then
  7917. v.BrickColor = MAINRUINCOLOR
  7918. v.Material = "Neon"
  7919. end
  7920. end
  7921. for i, v in pairs(mw1:GetChildren()) do
  7922. if v:IsA("Part") then
  7923. v.Transparency = 1
  7924. v.BrickColor = MAINRUINCOLOR
  7925. v.Material = "Neon"
  7926. end
  7927. end
  7928. for i, v in pairs(m:GetChildren()) do
  7929. if v:IsA("Part") then
  7930. v.BrickColor = BrickColor.new("White")
  7931. v.Material = "Ice"
  7932. end
  7933. end
  7934. for i, v in pairs(m2:GetChildren()) do
  7935. if v:IsA("Part") then
  7936. v.BrickColor = BrickColor.new("Pastel light blue")
  7937. v.Material = "Glass"
  7938. end
  7939. end
  7940. for i, v in pairs(m3:GetChildren()) do
  7941. if v:IsA("Part") then
  7942. v.BrickColor = BrickColor.new("Toothpaste")
  7943. v.Material = "Neon"
  7944. end
  7945. end
  7946. for i, v in pairs(extrawingmod1:GetChildren()) do
  7947. if v:IsA("Part") then
  7948. v.Transparency = 1
  7949. v.BrickColor = BrickColor.new("White")
  7950. v.Material = "Neon"
  7951. end
  7952. end
  7953. for i, v in pairs(extrawingmod2:GetChildren()) do
  7954. if v:IsA("Part") then
  7955. v.Transparency = 1
  7956. v.BrickColor = BrickColor.new("White")
  7957. v.Material = "Neon"
  7958. end
  7959. end
  7960. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  7961. resetmode()
  7962. end
  7963. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  7964. ModeOfGlitch = 3
  7965. storehumanoidWS = 16
  7966. hum.WalkSpeed = 16
  7967. rainbowmode = false
  7968. chaosmode = false
  7969. tl1.Enabled = false
  7970. tl2.Enabled = false
  7971. tl3.Enabled = false
  7972. RecolorTextAndRename("Corruption",Color3.new(0,0,0),Color3.new(0.35,0,1))
  7973. newTheme("rbxassetid://261807692",58.15,0.98,1.25)
  7974. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7975. for i, v in pairs(mw2:GetChildren()) do
  7976. if v:IsA("Part") then
  7977. v.BrickColor = MAINRUINCOLOR
  7978. v.Material = "Neon"
  7979. end
  7980. end
  7981. for i, v in pairs(mw1:GetChildren()) do
  7982. if v:IsA("Part") then
  7983. v.Transparency = 1
  7984. v.BrickColor = MAINRUINCOLOR
  7985. v.Material = "Neon"
  7986. end
  7987. end
  7988. for i, v in pairs(m:GetChildren()) do
  7989. if v:IsA("Part") then
  7990. v.BrickColor = BrickColor.new("Black")
  7991. v.Material = "Ice"
  7992. end
  7993. end
  7994. for i, v in pairs(m2:GetChildren()) do
  7995. if v:IsA("Part") then
  7996. v.BrickColor = BrickColor.new("Dark indigo")
  7997. v.Material = "Glass"
  7998. end
  7999. end
  8000. for i, v in pairs(m3:GetChildren()) do
  8001. if v:IsA("Part") then
  8002. v.BrickColor = BrickColor.new("Royal purple")
  8003. v.Material = "Neon"
  8004. end
  8005. end
  8006. for i, v in pairs(extrawingmod1:GetChildren()) do
  8007. if v:IsA("Part") then
  8008. v.Transparency = 1
  8009. v.BrickColor = BrickColor.new("White")
  8010. v.Material = "Neon"
  8011. end
  8012. end
  8013. for i, v in pairs(extrawingmod2:GetChildren()) do
  8014. if v:IsA("Part") then
  8015. v.Transparency = 1
  8016. v.BrickColor = BrickColor.new("White")
  8017. v.Material = "Neon"
  8018. end
  8019. end
  8020. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  8021. resetmode()
  8022. end
  8023. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  8024. ModeOfGlitch = 4
  8025. storehumanoidWS = 16
  8026. hum.WalkSpeed = 16
  8027. rainbowmode = false
  8028. chaosmode = true
  8029. tl1.Enabled = true
  8030. tl2.Enabled = true
  8031. tl3.Enabled = true
  8032. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  8033. newTheme("rbxassetid://1117727239",0,1,1)
  8034. MAINRUINCOLOR = BrickColor.new("Black")
  8035. for i, v in pairs(mw2:GetChildren()) do
  8036. if v:IsA("Part") then
  8037. v.BrickColor = MAINRUINCOLOR
  8038. v.Material = "Neon"
  8039. end
  8040. end
  8041. for i, v in pairs(mw1:GetChildren()) do
  8042. if v:IsA("Part") then
  8043. v.Transparency = 0.75
  8044. v.BrickColor = BrickColor.random()
  8045. v.Material = "Neon"
  8046. end
  8047. end
  8048. for i, v in pairs(m:GetChildren()) do
  8049. if v:IsA("Part") then
  8050. v.BrickColor = BrickColor.new("Black")
  8051. v.Material = "Neon"
  8052. end
  8053. end
  8054. for i, v in pairs(m2:GetChildren()) do
  8055. if v:IsA("Part") then
  8056. v.BrickColor = BrickColor.random()
  8057. v.Material = "Neon"
  8058. end
  8059. end
  8060. for i, v in pairs(m3:GetChildren()) do
  8061. if v:IsA("Part") then
  8062. v.BrickColor = BrickColor.new("Black")
  8063. v.Material = "Neon"
  8064. end
  8065. end
  8066. for i, v in pairs(extrawingmod1:GetChildren()) do
  8067. if v:IsA("Part") then
  8068. v.Transparency = 1
  8069. v.BrickColor = BrickColor.new("White")
  8070. v.Material = "Neon"
  8071. end
  8072. end
  8073. for i, v in pairs(extrawingmod2:GetChildren()) do
  8074. if v:IsA("Part") then
  8075. v.Transparency = 1
  8076. v.BrickColor = BrickColor.new("White")
  8077. v.Material = "Neon"
  8078. end
  8079. end
  8080. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  8081. resetmode()
  8082. end
  8083. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  8084. ModeOfGlitch = 5
  8085. storehumanoidWS = 16
  8086. hum.WalkSpeed = 16
  8087. rainbowmode = false
  8088. chaosmode = false
  8089. tl1.Enabled = true
  8090. tl2.Enabled = true
  8091. tl3.Enabled = true
  8092. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
  8093. newTheme("rbxassetid://196678198",0,1.02,1)
  8094. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8095. for i, v in pairs(mw2:GetChildren()) do
  8096. if v:IsA("Part") then
  8097. v.BrickColor = MAINRUINCOLOR
  8098. v.Material = "Neon"
  8099. end
  8100. end
  8101. for i, v in pairs(mw1:GetChildren()) do
  8102. if v:IsA("Part") then
  8103. v.Transparency = 0
  8104. v.BrickColor = MAINRUINCOLOR
  8105. v.Material = "Neon"
  8106. end
  8107. end
  8108. for i, v in pairs(m:GetChildren()) do
  8109. if v:IsA("Part") then
  8110. v.BrickColor = BrickColor.new("Cool yellow")
  8111. v.Material = "Ice"
  8112. end
  8113. end
  8114. for i, v in pairs(m2:GetChildren()) do
  8115. if v:IsA("Part") then
  8116. v.BrickColor = BrickColor.new("Bright yellow")
  8117. v.Material = "Ice"
  8118. end
  8119. end
  8120. for i, v in pairs(m3:GetChildren()) do
  8121. if v:IsA("Part") then
  8122. v.BrickColor = BrickColor.new("Bright yellow")
  8123. v.Material = "Neon"
  8124. end
  8125. end
  8126. for i, v in pairs(extrawingmod1:GetChildren()) do
  8127. if v:IsA("Part") then
  8128. v.Transparency = 1
  8129. v.BrickColor = BrickColor.new("White")
  8130. v.Material = "Neon"
  8131. end
  8132. end
  8133. for i, v in pairs(extrawingmod2:GetChildren()) do
  8134. if v:IsA("Part") then
  8135. v.Transparency = 1
  8136. v.BrickColor = BrickColor.new("White")
  8137. v.Material = "Neon"
  8138. end
  8139. end
  8140. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  8141. resetmode()
  8142. end
  8143. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  8144. ModeOfGlitch = 6
  8145. storehumanoidWS = 75
  8146. hum.WalkSpeed = 75
  8147. rainbowmode = false
  8148. chaosmode = false
  8149. tl1.Enabled = true
  8150. tl2.Enabled = true
  8151. tl3.Enabled = true
  8152. RecolorTextAndRename("Equinox",Color3.new(0,0,0),Color3.new(1,1,1))
  8153. newTheme("rbxassetid://239618330",0,1,1)
  8154. MAINRUINCOLOR = BrickColor.new("White")
  8155. for i, v in pairs(mw2:GetChildren()) do
  8156. if v:IsA("Part") then
  8157. v.BrickColor = MAINRUINCOLOR
  8158. v.Material = "Neon"
  8159. end
  8160. end
  8161. for i, v in pairs(mw1:GetChildren()) do
  8162. if v:IsA("Part") then
  8163. v.Transparency = 0
  8164. v.BrickColor = MAINRUINCOLOR
  8165. v.Material = "Neon"
  8166. end
  8167. end
  8168. for i, v in pairs(m:GetChildren()) do
  8169. if v:IsA("Part") then
  8170. v.BrickColor = BrickColor.new("White")
  8171. v.Material = "Ice"
  8172. end
  8173. end
  8174. for i, v in pairs(m2:GetChildren()) do
  8175. if v:IsA("Part") then
  8176. v.BrickColor = BrickColor.new("Really black")
  8177. v.Material = "Ice"
  8178. end
  8179. end
  8180. for i, v in pairs(m3:GetChildren()) do
  8181. if v:IsA("Part") then
  8182. v.BrickColor = BrickColor.new("White")
  8183. v.Material = "Neon"
  8184. end
  8185. end
  8186. for i, v in pairs(extrawingmod1:GetChildren()) do
  8187. if v:IsA("Part") then
  8188. v.Transparency = 1
  8189. v.BrickColor = BrickColor.new("White")
  8190. v.Material = "Neon"
  8191. end
  8192. end
  8193. for i, v in pairs(extrawingmod2:GetChildren()) do
  8194. if v:IsA("Part") then
  8195. v.Transparency = 1
  8196. v.BrickColor = BrickColor.new("White")
  8197. v.Material = "Neon"
  8198. end
  8199. end
  8200. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  8201. resetmode()
  8202. end
  8203. if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then
  8204. ModeOfGlitch = 6127843
  8205. storehumanoidWS = 50
  8206. hum.WalkSpeed = 50
  8207. rainbowmode = true
  8208. chaosmode = false
  8209. tl1.Enabled = true
  8210. tl2.Enabled = true
  8211. tl3.Enabled = true
  8212. RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
  8213. newTheme("rbxassetid://1563725999",0,1,1)
  8214. MAINRUINCOLOR = BrickColor.new("White")
  8215. for i, v in pairs(mw2:GetChildren()) do
  8216. if v:IsA("Part") then
  8217. v.BrickColor = MAINRUINCOLOR
  8218. v.Material = "Neon"
  8219. end
  8220. end
  8221. for i, v in pairs(mw1:GetChildren()) do
  8222. if v:IsA("Part") then
  8223. v.Transparency = 0
  8224. v.BrickColor = MAINRUINCOLOR
  8225. v.Material = "Neon"
  8226. end
  8227. end
  8228. for i, v in pairs(m:GetChildren()) do
  8229. if v:IsA("Part") then
  8230. v.BrickColor = BrickColor.new("White")
  8231. v.Material = "Neon"
  8232. end
  8233. end
  8234. for i, v in pairs(m2:GetChildren()) do
  8235. if v:IsA("Part") then
  8236. v.BrickColor = BrickColor.new("White")
  8237. v.Material = "Neon"
  8238. end
  8239. end
  8240. for i, v in pairs(m3:GetChildren()) do
  8241. if v:IsA("Part") then
  8242. v.BrickColor = BrickColor.new("White")
  8243. v.Material = "Neon"
  8244. end
  8245. end
  8246. for i, v in pairs(extrawingmod1:GetChildren()) do
  8247. if v:IsA("Part") then
  8248. v.Transparency = 1
  8249. v.BrickColor = BrickColor.new("White")
  8250. v.Material = "Neon"
  8251. end
  8252. end
  8253. for i, v in pairs(extrawingmod2:GetChildren()) do
  8254. if v:IsA("Part") then
  8255. v.Transparency = 1
  8256. v.BrickColor = BrickColor.new("White")
  8257. v.Material = "Neon"
  8258. end
  8259. end
  8260. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  8261. resetmode()
  8262. end
  8263. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  8264. ModeOfGlitch = 1000000
  8265. storehumanoidWS = 100
  8266. hum.WalkSpeed = 100
  8267. rainbowmode = false
  8268. chaosmode = false
  8269. tl1.Enabled = true
  8270. tl2.Enabled = true
  8271. tl3.Enabled = true
  8272. RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  8273. newTheme("rbxassetid://1568123157",0,1,1)
  8274. MAINRUINCOLOR = BrickColor.new("Bright violet")
  8275. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8276. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8277. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8278. for i, v in pairs(mw2:GetChildren()) do
  8279. if v:IsA("Part") then
  8280. v.BrickColor = MAINRUINCOLOR
  8281. v.Material = "Neon"
  8282. end
  8283. end
  8284. for i, v in pairs(mw1:GetChildren()) do
  8285. if v:IsA("Part") then
  8286. v.Transparency = 0
  8287. v.BrickColor = MAINRUINCOLOR
  8288. v.Material = "Neon"
  8289. end
  8290. end
  8291. for i, v in pairs(m:GetChildren()) do
  8292. if v:IsA("Part") then
  8293. v.Color = Color3.new(0.5,0,1)
  8294. v.Material = "Neon"
  8295. end
  8296. end
  8297. for i, v in pairs(m2:GetChildren()) do
  8298. if v:IsA("Part") then
  8299. v.Color = Color3.new(0.25,0,1)
  8300. v.Material = "Neon"
  8301. end
  8302. end
  8303. for i, v in pairs(m3:GetChildren()) do
  8304. if v:IsA("Part") then
  8305. v.Color = Color3.new(0.45,0,1)
  8306. v.Material = "Neon"
  8307. end
  8308. end
  8309. for i, v in pairs(extrawingmod1:GetChildren()) do
  8310. if v:IsA("Part") then
  8311. v.Transparency = 0.75
  8312. v.Color = Color3.new(0.25,0,1)
  8313. v.Material = "Neon"
  8314. end
  8315. end
  8316. for i, v in pairs(extrawingmod2:GetChildren()) do
  8317. if v:IsA("Part") then
  8318. v.Transparency = 0.75
  8319. v.Color = Color3.new(0.5,0,1)
  8320. v.Material = "Neon"
  8321. end
  8322. end
  8323. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  8324. resetmode()
  8325. end
  8326. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 then
  8327. newThemeCust("rbxassetid://1614838208",0,1,1)
  8328. attack = true
  8329. hum.WalkSpeed = 0
  8330. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8331. for i = 0, 24, 0.1 do
  8332. swait()
  8333. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  8334. 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)),.1)
  8335. 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)),.1)
  8336. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  8337. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8338. 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)
  8339. 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)
  8340. end
  8341. CameraEnshaking(1,1)
  8342. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  8343. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  8344. wait(0.55)
  8345. CameraEnshaking(1,2)
  8346. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  8347. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  8348. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  8349. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  8350. wait(0.55)
  8351. CameraEnshaking(1,3)
  8352. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  8353. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  8354. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  8355. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  8356. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  8357. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  8358. wait(0.55)
  8359. CameraEnshaking(10,5)
  8360. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  8361. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  8362. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  8363. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  8364. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  8365. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  8366. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  8367. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  8368. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  8369. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  8370. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  8371. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  8372. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  8373. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  8374. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  8375. for i = 0, 49 do
  8376. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  8377. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  8378. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  8379. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  8380. end
  8381. ModeOfGlitch = 12345678987654321
  8382. storehumanoidWS = 200
  8383. hum.WalkSpeed = 200
  8384. rainbowmode = false
  8385. chaosmode = false
  8386. tl1.Enabled = true
  8387. tl2.Enabled = true
  8388. tl3.Enabled = true
  8389. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  8390. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8391. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8392. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8393. for i, v in pairs(mw2:GetChildren()) do
  8394. if v:IsA("Part") then
  8395. v.BrickColor = MAINRUINCOLOR
  8396. v.Material = "Neon"
  8397. end
  8398. end
  8399. for i, v in pairs(mw1:GetChildren()) do
  8400. if v:IsA("Part") then
  8401. v.Transparency = 0
  8402. v.BrickColor = MAINRUINCOLOR
  8403. v.Material = "Neon"
  8404. end
  8405. end
  8406. for i, v in pairs(m:GetChildren()) do
  8407. if v:IsA("Part") then
  8408. v.Color = Color3.new(0.5,0,1)
  8409. v.Material = "Neon"
  8410. end
  8411. end
  8412. for i, v in pairs(m2:GetChildren()) do
  8413. if v:IsA("Part") then
  8414. v.Color = Color3.new(0.5,0,1)
  8415. v.Material = "Neon"
  8416. end
  8417. end
  8418. for i, v in pairs(m3:GetChildren()) do
  8419. if v:IsA("Part") then
  8420. v.Color = Color3.new(0.5,0,1)
  8421. v.Material = "Neon"
  8422. end
  8423. end
  8424. for i, v in pairs(extrawingmod1:GetChildren()) do
  8425. if v:IsA("Part") then
  8426. v.Transparency = 0
  8427. v.Color = Color3.new(0.5,0,1)
  8428. v.Material = "Neon"
  8429. end
  8430. end
  8431. for i, v in pairs(extrawingmod2:GetChildren()) do
  8432. if v:IsA("Part") then
  8433. v.Transparency = 0
  8434. v.Color = Color3.new(0.5,0,1)
  8435. v.Material = "Neon"
  8436. end
  8437. attack = false
  8438. end
  8439. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  8440. resetmode()
  8441. end
  8442. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 666 then
  8443. newThemeCust("rbxassetid://1524659003",0,1,1)
  8444. attack = true
  8445. hum.WalkSpeed = 0
  8446. MAINRUINCOLOR = BrickColor.new("Crimson")
  8447. for i = 0, 24, 0.1 do
  8448. swait()
  8449. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  8450. 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)),.1)
  8451. 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)),.1)
  8452. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  8453. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8454. 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)
  8455. 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)
  8456. end
  8457. CameraEnshaking(1,1)
  8458. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  8459. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  8460. wait(0.55)
  8461. CameraEnshaking(1,2)
  8462. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  8463. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  8464. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  8465. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  8466. wait(0.55)
  8467. CameraEnshaking(1,3)
  8468. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  8469. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  8470. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  8471. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  8472. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  8473. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  8474. wait(0.55)
  8475. CameraEnshaking(10,5)
  8476. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  8477. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  8478. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  8479. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  8480. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  8481. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  8482. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  8483. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  8484. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  8485. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  8486. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  8487. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  8488. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  8489. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  8490. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  8491. for i = 0, 49 do
  8492. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  8493. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  8494. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  8495. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  8496. end
  8497. ModeOfGlitch = 666
  8498. storehumanoidWS = 16
  8499. hum.WalkSpeed = 16
  8500. rainbowmode = false
  8501. chaosmode = false
  8502. tl1.Enabled = true
  8503. tl2.Enabled = true
  8504. tl3.Enabled = true
  8505. RecolorTextAndRename("DeStRuCtIoN",Color3.new(1,0,0),Color3.new(0.75,0,0))
  8506. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8507. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8508. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8509. for i, v in pairs(mw2:GetChildren()) do
  8510. if v:IsA("Part") then
  8511. v.BrickColor = MAINRUINCOLOR
  8512. v.Material = "Neon"
  8513. end
  8514. end
  8515. for i, v in pairs(mw1:GetChildren()) do
  8516. if v:IsA("Part") then
  8517. v.Transparency = 0
  8518. v.BrickColor = MAINRUINCOLOR
  8519. v.Material = "Neon"
  8520. end
  8521. end
  8522. for i, v in pairs(m:GetChildren()) do
  8523. if v:IsA("Part") then
  8524. v.Color = Color3.new(1,0,0)
  8525. v.Material = "Neon"
  8526. end
  8527. end
  8528. for i, v in pairs(m2:GetChildren()) do
  8529. if v:IsA("Part") then
  8530. v.Color = Color3.new(1,0,0)
  8531. v.Material = "Neon"
  8532. end
  8533. end
  8534. for i, v in pairs(m3:GetChildren()) do
  8535. if v:IsA("Part") then
  8536. v.Color = Color3.new(1,0,0)
  8537. v.Material = "Neon"
  8538. end
  8539. end
  8540. for i, v in pairs(extrawingmod1:GetChildren()) do
  8541. if v:IsA("Part") then
  8542. v.Transparency = 0
  8543. v.Color = Color3.new(1,0,0)
  8544. v.Material = "Neon"
  8545. end
  8546. end
  8547. for i, v in pairs(extrawingmod2:GetChildren()) do
  8548. if v:IsA("Part") then
  8549. v.Transparency = 0
  8550. v.Color = Color3.new(1,0,0)
  8551. v.Material = "Neon"
  8552. end
  8553. attack = false
  8554. end
  8555. elseif k == "b" and attack == false and ModeOfGlitch == 666 then
  8556. resetmode()
  8557. end
  8558. if k == "l" and toggleTag == false then
  8559. toggleTag = true
  8560. text.TextTransparency = 0
  8561. text.TextStrokeTransparency = 0
  8562. elseif k == "l" and toggleTag == true then
  8563. toggleTag = false
  8564. text.TextTransparency = 1
  8565. text.TextStrokeTransparency = 1
  8566. end
  8567. if k == "z" and attack == false and ModeOfGlitch == 1 then
  8568. ExtinctiveHeartbreak()
  8569. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  8570. PureBomb()
  8571. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  8572. scattercorrupt()
  8573. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  8574. ChaosGroundStrike()
  8575. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  8576. Judgement()
  8577. elseif k == "f" and attack == false and ModeOfGlitch == 5 then
  8578. HolyBarrier()
  8579. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  8580. Starfall()
  8581. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  8582. yinyangi()
  8583. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  8584. test()
  8585. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  8586. Wip()
  8587. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  8588. StarfallEX()
  8589. elseif k == "c" and attack == false and ModeOfGlitch == 12345678987654321 then
  8590. FinalCalam()
  8591. end
  8592. if k == "n" and attack == false then
  8593. Blink()
  8594. elseif k == "x" and attack == false and ModeOfGlitch == 1000000 then
  8595. StarDivision()
  8596. end
  8597. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  8598. UniversalCollapse()
  8599. end
  8600. if k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed < 200 then
  8601. hum.WalkSpeed = 16 + 184
  8602. elseif k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed == 200 then
  8603. hum.WalkSpeed = 200 - 184
  8604. end
  8605. if k == "x" and attack == false and ModeOfGlitch == 12345678987654321 then
  8606. UniversalSpark()
  8607. end
  8608. if k == "z" and attack == false and ModeOfGlitch == 666 then
  8609. StarDivision()
  8610. end
  8611. if k == "x" and attack == false and ModeOfGlitch == 666 then
  8612. Starfall()
  8613. end
  8614. if k == "m" and attack == false and ModeOfGlitch == 4 then
  8615. ChaosBegone()
  8616. elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == false then
  8617. THEHELLITSTHATBIG()
  8618. elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == true then
  8619. removelol()
  8620. end
  8621. end)
  8622. mouse.KeyUp:connect(function(k)
  8623. if k == "f" and ModeOfGlitch == 5 then
  8624. stash:Remove()
  8625. attack = false
  8626. Torso.Anchored = false
  8627. shielding = false
  8628. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  8629. end
  8630. end)
  8631. coroutine.resume(coroutine.create(function()
  8632. while true do
  8633. swait(2)
  8634. if rainbowmode == true or ModeOfGlitch == 6 then
  8635. if eff == true then
  8636. sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
  8637. end
  8638. end
  8639. end
  8640. end))
  8641. coroutine.resume(coroutine.create(function()
  8642. while true do
  8643. swait(2)
  8644. if shielding == true then
  8645. 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("White"),0)
  8646. end
  8647. end
  8648. end))
  8649.  
  8650.  
  8651. coroutine.resume(coroutine.create(function()
  8652. while true do
  8653. if ModeOfGlitch == 1000000 then
  8654. swait(0.5)
  8655. end
  8656. swait()
  8657. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  8658. sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
  8659. end
  8660. if ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  8661. sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
  8662. end
  8663. end
  8664. end))
  8665.  
  8666.  
  8667. coroutine.resume(coroutine.create(function()
  8668. while true do
  8669. swait(2)
  8670. if chaosmode == true then
  8671. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8672. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8673. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8674. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  8675. for i, v in pairs(mw1:GetChildren()) do
  8676. if v:IsA("Part") then
  8677. v.Transparency = 0.75
  8678. v.BrickColor = BrickColor.random()
  8679. v.Material = "Neon"
  8680. end
  8681. end
  8682. for i, v in pairs(m2:GetChildren()) do
  8683. if v:IsA("Part") then
  8684. v.BrickColor = BrickColor.random()
  8685. v.Material = "Neon"
  8686. end
  8687. end
  8688. for i, v in pairs(secondchar:GetChildren()) do
  8689. if v:IsA("Part") then
  8690. v.BrickColor = BrickColor.random()
  8691. v.Material = "Neon"
  8692. end
  8693. end
  8694. end
  8695. end
  8696. end))
  8697. Humanoid.Name = "STARGLITCHER"
  8698. Humanoid.MaxHealth = math.huge
  8699. Humanoid.Health = math.huge
  8700. Instance.new("ForceField",char).Visible = false
  8701. Humanoid.Animator.Parent = nil
  8702. idleanim=.4
  8703. while true do
  8704. if rainbowmode == false then
  8705. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8706. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8707. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8708. for i, v in pairs(secondchar:GetChildren()) do
  8709. if v:IsA("Part") then
  8710. v.BrickColor = MAINRUINCOLOR
  8711. v.Material = "Neon"
  8712. end
  8713. end
  8714. if chaosmode == false then
  8715. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8716. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8717. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8718. for i, v in pairs(secondchar:GetChildren()) do
  8719. if v:IsA("Part") then
  8720. v.BrickColor = MAINRUINCOLOR
  8721. v.Material = "Neon"
  8722. end
  8723. end
  8724. end
  8725. end
  8726. if rainbowmode == true then
  8727. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  8728. MAINRUINCOLOR = BrickColor.new("White")
  8729. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8730. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8731. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8732. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8733. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8734. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8735. for i, v in pairs(m:GetChildren()) do
  8736. if v:IsA("Part") then
  8737. v.Color = Color3.new(r/255,g/255,b/255)
  8738. end
  8739. end
  8740. for i, v in pairs(m2:GetChildren()) do
  8741. if v:IsA("Part") then
  8742. v.Color = Color3.new(r/255,g/255,b/255)
  8743. end
  8744. end
  8745. for i, v in pairs(secondchar:GetChildren()) do
  8746. if v:IsA("Part") then
  8747. v.Color = Color3.new(r/255,g/255,b/255)
  8748. v.Material = "Neon"
  8749. end
  8750. end
  8751. for i, v in pairs(m3:GetChildren()) do
  8752. if v:IsA("Part") then
  8753. v.Color = Color3.new(r/255,g/255,b/255)
  8754. end
  8755. end
  8756. for i, v in pairs(mw1:GetChildren()) do
  8757. if v:IsA("Part") then
  8758. v.Color = Color3.new(r/255,g/255,b/255)
  8759. v.Material = "Neon"
  8760. end
  8761. end
  8762. for i, v in pairs(mw2:GetChildren()) do
  8763. if v:IsA("Part") then
  8764. v.Color = Color3.new(r/255,g/255,b/255)
  8765. v.Material = "Neon"
  8766. end
  8767. end
  8768. end
  8769. CameraManager()
  8770. swait()
  8771. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  8772. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  8773. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  8774. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  8775. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  8776. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  8777.  
  8778. if attack == false and ActiveGia == false then
  8779. torsweld.C1=clerp(torsweld.C1,cf(2,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  8780. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1)
  8781. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1)
  8782. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  8783. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  8784. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1)
  8785. elseif attack == false and ActiveGia == true then
  8786. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then
  8787. torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  8788. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025)
  8789. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025)
  8790. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  8791. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  8792. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025)
  8793. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  8794. torsweld.C1=clerp(torsweld.C1,cf(0,-25 + 0.5 * math.cos(sine / 32) ,-8)*angles(math.rad(20),math.rad(0),math.rad(0)),.025)
  8795. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025)
  8796. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025)
  8797. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,1.5*8,0.6*8)*angles(math.rad(20),math.rad(0),math.rad(0)),0.025)
  8798. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0.11*8)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025)
  8799. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(5),math.rad(0),math.rad(0)),0.025)
  8800. end
  8801. end
  8802.  
  8803. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  8804. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  8805. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  8806. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  8807. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  8808. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  8809. sine = sine + change
  8810. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  8811. local velderp=RootPart.Velocity.y
  8812. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  8813. if equipped==true or equipped==false then
  8814. if attack==false then
  8815. idle=idle+1
  8816. else
  8817. idle=0
  8818. end
  8819. if idle>=500 then
  8820. if attack==false then
  8821. --Sheath()
  8822. end
  8823. end
  8824. if RootPart.Velocity.y > 1 and hitfloor==nil then
  8825. Anim="Jump"
  8826. if attack==false then
  8827. 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(-5),math.rad(0),math.rad(-20)),.1)
  8828. 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)
  8829. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  8830. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  8831. 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)
  8832. 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)
  8833. end
  8834. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  8835. Anim="Fall"
  8836. if attack==false then
  8837. 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(-5),math.rad(0),math.rad(-20)),.1)
  8838. 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)
  8839. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  8840. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  8841. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  8842. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  8843. end
  8844. elseif torvel<1 and hitfloor~=nil then
  8845. Anim="Idle"
  8846. if attack==false then
  8847. if ModeOfGlitch == 1 then
  8848. 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)
  8849. 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)
  8850. 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)
  8851. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  8852. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  8853. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  8854.  
  8855. elseif ModeOfGlitch == 666 then
  8856. 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)
  8857. 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)
  8858. 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)
  8859. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8860. 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)
  8861. 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)
  8862.  
  8863. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  8864. 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(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  8865. 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 + 1 * math.cos(sine / 34))),.1)
  8866. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  8867. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  8868. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  8869. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  8870.  
  8871. elseif ModeOfGlitch == 3 then
  8872. 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 - 1 * math.cos(sine / 34))),.1)
  8873. 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(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  8874. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  8875. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  8876. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  8877. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  8878.  
  8879. elseif ModeOfGlitch == 4 then
  8880. 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)
  8881. 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)
  8882. 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)
  8883. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  8884. RW.C0=clerp(RW.C0,cf(1.5,0.5,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))),.1)
  8885. LW.C0=clerp(LW.C0,cf(-1.5,0.5,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))),.1)
  8886.  
  8887. elseif ModeOfGlitch == 5 then
  8888. 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 + 1 * math.cos(sine / 34))),.1)
  8889. 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 + 1 * math.cos(sine / 34))),.1)
  8890. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  8891. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  8892. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
  8893. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  8894.  
  8895. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  8896. 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)
  8897. 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)
  8898. 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)
  8899. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  8900. 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)
  8901. 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)
  8902.  
  8903. elseif ModeOfGlitch == 12345678987654321 then
  8904. 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)
  8905. 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)
  8906. 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(-40)),.1)
  8907. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  8908. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  8909. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  8910. end
  8911. end
  8912. elseif torvel>2 and torvel<50 and hitfloor~=nil then
  8913. Anim="Walk"
  8914. if attack==false then
  8915. if ModeOfGlitch == 1 then
  8916. RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1)
  8917. LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1)
  8918. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  8919. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 5 * math.cos(sine / 0.325)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  8920. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  8921. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  8922.  
  8923. elseif ModeOfGlitch == 4 or ModeOfGlitch == 666 then
  8924. RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(5 + 25 * math.cos(sine / 12))),.1)
  8925. LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(-5 + 25 * math.cos(sine / 12))),.1)
  8926. 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)
  8927. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  8928. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  8929. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  8930.  
  8931. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 or ModeOfGlitch ~= 666 then
  8932. RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1)
  8933. LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*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 + 25 * math.cos(sine / 8))),.1)
  8934. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  8935. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  8936. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  8937. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
  8938. end
  8939. end
  8940. elseif torvel>=22 and hitfloor~=nil then
  8941. Anim="Run"
  8942. if attack==false then
  8943. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then
  8944. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  8945. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  8946. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  8947. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  8948. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 155 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  8949. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 155 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  8950. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  8951. 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(-20)),.2)
  8952. 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(20)),.2)
  8953. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  8954. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  8955. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
  8956. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
  8957. end
  8958. end
  8959. end
  8960. end
  8961. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement