Advertisement
PR0J3CT11

Untitled

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