Advertisement
pakin2549

Untitled

Dec 18th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -----------------------
  2. --WhAT ANOTHER ONE????????!--
  3. -------------------------------------------------------
  4. --A script By makhail07
  5.  
  6. --Discord Creterisk#2958
  7.  
  8.  
  9. --https://cdn.discordapp.com/attachments/424766294303309844/424769047436197888/e41a6cbd-23cb-4553-bd39-1338429743a7.png
  10. -------------------------------------------------------
  11. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  12. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  13. local RealPlayer = Player
  14. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  15.  
  16.  
  17. wait()
  18. local plr = game:service'Players'.LocalPlayer
  19. print('Local User is '..plr.Name)
  20. local char = plr.Character
  21. local hum = char.Humanoid
  22. local ra = char["Right Arm"]
  23. local la= char["Left Arm"]
  24. local rl= char["Right Leg"]
  25. local ll = char["Left Leg"]
  26. local hed = char.Head
  27. local root = char.HumanoidRootPart
  28. local rootj = root.RootJoint
  29. local tors = char.Torso
  30. local mouse = plr:GetMouse()
  31. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  32. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  33. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  34. local EdgyMode = false
  35. local Divinity = false
  36. local Fighter = false
  37. local Purity = false
  38. local Destruction = false
  39. local helpme = false
  40. local Planetary = false
  41. local maincolor = BrickColor.new("Institutional white")
  42. -------------------------------------------------------
  43. --Start Good Stuff--
  44. -------------------------------------------------------
  45. CF = CFrame.new
  46. angles = CFrame.Angles
  47. attack = false
  48. Euler = CFrame.fromEulerAnglesXYZ
  49. Rad = math.rad
  50. IT = Instance.new
  51. BrickC = BrickColor.new
  52. Cos = math.cos
  53. Acos = math.acos
  54. Sin = math.sin
  55. Asin = math.asin
  56. Abs = math.abs
  57. Mrandom = math.random
  58. Floor = math.floor
  59. -------------------------------------------------------
  60. --End Good Stuff--
  61. -------------------------------------------------------
  62. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  63. RSH, LSH = nil, nil
  64. RW = Instance.new("Weld")
  65. LW = Instance.new("Weld")
  66. RH = tors["Right Hip"]
  67. LH = tors["Left Hip"]
  68. RSH = tors["Right Shoulder"]
  69. LSH = tors["Left Shoulder"]
  70. RSH.Parent = nil
  71. LSH.Parent = nil
  72. RW.Name = "RW"
  73. RW.Part0 = tors
  74. RW.C0 = CF(1.5, 0.5, 0)
  75. RW.C1 = CF(0, 0.5, 0)
  76. RW.Part1 = ra
  77. RW.Parent = tors
  78. LW.Name = "LW"
  79. LW.Part0 = tors
  80. LW.C0 = CF(-1.5, 0.5, 0)
  81. LW.C1 = CF(0, 0.5, 0)
  82. LW.Part1 = la
  83. LW.Parent = tors
  84. Effects = {}
  85.  
  86. -------------------------------------------------------
  87. --Start HeartBeat--
  88. -------------------------------------------------------
  89. ArtificialHB = Instance.new("BindableEvent", script)
  90. ArtificialHB.Name = "Heartbeat"
  91. script:WaitForChild("Heartbeat")
  92.  
  93. frame = 1 / 60
  94. tf = 0
  95. allowframeloss = false
  96. tossremainder = false
  97.  
  98.  
  99. lastframe = tick()
  100. script.Heartbeat:Fire()
  101.  
  102.  
  103. game:GetService("RunService").Heartbeat:connect(function(s, p)
  104. tf = tf + s
  105. if tf >= frame then
  106. if allowframeloss then
  107. script.Heartbeat:Fire()
  108. lastframe = tick()
  109. else
  110. for i = 1, math.floor(tf / frame) do
  111. script.Heartbeat:Fire()
  112. end
  113. lastframe = tick()
  114. end
  115. if tossremainder then
  116. tf = 0
  117. else
  118. tf = tf - frame * math.floor(tf / frame)
  119. end
  120. end
  121. end)
  122. -------------------------------------------------------
  123. --End HeartBeat--
  124. -------------------------------------------------------
  125.  
  126. -------------------------------------------------------
  127. --Start Important Functions--
  128. -------------------------------------------------------
  129. function swait(num)
  130. if num == 0 or num == nil then
  131. game:service("RunService").Stepped:wait(0)
  132. else
  133. for i = 0, num do
  134. game:service("RunService").Stepped:wait(0)
  135. end
  136. end
  137. end
  138. function thread(f)
  139. coroutine.resume(coroutine.create(f))
  140. end
  141. function clerp(a, b, t)
  142. local qa = {
  143. QuaternionFromCFrame(a)
  144. }
  145. local qb = {
  146. QuaternionFromCFrame(b)
  147. }
  148. local ax, ay, az = a.x, a.y, a.z
  149. local bx, by, bz = b.x, b.y, b.z
  150. local _t = 1 - t
  151. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  152. end
  153. function QuaternionFromCFrame(cf)
  154. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  155. local trace = m00 + m11 + m22
  156. if trace > 0 then
  157. local s = math.sqrt(1 + trace)
  158. local recip = 0.5 / s
  159. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  160. else
  161. local i = 0
  162. if m00 < m11 then
  163. i = 1
  164. end
  165. if m22 > (i == 0 and m00 or m11) then
  166. i = 2
  167. end
  168. if i == 0 then
  169. local s = math.sqrt(m00 - m11 - m22 + 1)
  170. local recip = 0.5 / s
  171. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  172. elseif i == 1 then
  173. local s = math.sqrt(m11 - m22 - m00 + 1)
  174. local recip = 0.5 / s
  175. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  176. elseif i == 2 then
  177. local s = math.sqrt(m22 - m00 - m11 + 1)
  178. local recip = 0.5 / s
  179. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  180. end
  181. end
  182. end
  183. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  184. local xs, ys, zs = x + x, y + y, z + z
  185. local wx, wy, wz = w * xs, w * ys, w * zs
  186. local xx = x * xs
  187. local xy = x * ys
  188. local xz = x * zs
  189. local yy = y * ys
  190. local yz = y * zs
  191. local zz = z * zs
  192. 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))
  193. end
  194. function QuaternionSlerp(a, b, t)
  195. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  196. local startInterp, finishInterp
  197. if cosTheta >= 1.0E-4 then
  198. if 1 - cosTheta > 1.0E-4 then
  199. local theta = math.acos(cosTheta)
  200. local invSinTheta = 1 / Sin(theta)
  201. startInterp = Sin((1 - t) * theta) * invSinTheta
  202. finishInterp = Sin(t * theta) * invSinTheta
  203. else
  204. startInterp = 1 - t
  205. finishInterp = t
  206. end
  207. elseif 1 + cosTheta > 1.0E-4 then
  208. local theta = math.acos(-cosTheta)
  209. local invSinTheta = 1 / Sin(theta)
  210. startInterp = Sin((t - 1) * theta) * invSinTheta
  211. finishInterp = Sin(t * theta) * invSinTheta
  212. else
  213. startInterp = t - 1
  214. finishInterp = t
  215. end
  216. 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
  217. end
  218. function rayCast(Position, Direction, Range, Ignore)
  219. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  220. end
  221. local RbxUtility = LoadLibrary("RbxUtility")
  222. local Create = RbxUtility.Create
  223.  
  224. -------------------------------------------------------
  225. --Start Damage Function--
  226. -------------------------------------------------------
  227. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  228. if hit.Parent == nil then
  229. return
  230. end
  231. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  232. for _, v in pairs(hit.Parent:children()) do
  233. if v:IsA("Humanoid") then
  234. h = v
  235. end
  236. end
  237. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  238.  
  239. hit.Parent:FindFirstChild("Head"):BreakJoints()
  240. end
  241.  
  242. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  243. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  244. if hit.Parent.DebounceHit.Value == true then
  245. return
  246. end
  247. end
  248. if insta == true then
  249. hit.Parent:FindFirstChild("Head"):BreakJoints()
  250. end
  251. local c = Create("ObjectValue"){
  252. Name = "creator",
  253. Value = game:service("Players").LocalPlayer,
  254. Parent = h,
  255. }
  256. game:GetService("Debris"):AddItem(c, .5)
  257. if HitSound ~= nil and HitPitch ~= nil then
  258. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  259. end
  260. local Damage = math.random(minim, maxim)
  261. local blocked = false
  262. local block = hit.Parent:findFirstChild("Block")
  263. if block ~= nil then
  264. if block.className == "IntValue" then
  265. if block.Value > 0 then
  266. blocked = true
  267. block.Value = block.Value - 1
  268. print(block.Value)
  269. end
  270. end
  271. end
  272. if blocked == false then
  273. h.Health = h.Health - Damage
  274. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
  275. else
  276. h.Health = h.Health - (Damage / 2)
  277. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
  278. end
  279. if Type == "Knockdown" then
  280. local hum = hit.Parent.Humanoid
  281. hum.PlatformStand = true
  282. coroutine.resume(coroutine.create(function(HHumanoid)
  283. swait(1)
  284. HHumanoid.PlatformStand = false
  285. end), hum)
  286. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  287. local bodvol = Create("BodyVelocity"){
  288. velocity = angle * knockback,
  289. P = 5000,
  290. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  291. Parent = hit,
  292. }
  293. local rl = Create("BodyAngularVelocity"){
  294. P = 3000,
  295. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  296. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  297. Parent = hit,
  298. }
  299. game:GetService("Debris"):AddItem(bodvol, .5)
  300. game:GetService("Debris"):AddItem(rl, .5)
  301. elseif Type == "Normal" then
  302. local vp = Create("BodyVelocity"){
  303. P = 500,
  304. maxForce = Vector3.new(math.huge, 0, math.huge),
  305. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  306. }
  307. if knockback > 0 then
  308. vp.Parent = hit.Parent.Torso
  309. end
  310. game:GetService("Debris"):AddItem(vp, .5)
  311. elseif Type == "Up" then
  312. local bodyVelocity = Create("BodyVelocity"){
  313. velocity = Vector3.new(0, 20, 0),
  314. P = 5000,
  315. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  316. Parent = hit,
  317. }
  318. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  319. elseif Type == "DarkUp" then
  320. coroutine.resume(coroutine.create(function()
  321. for i = 0, 1, 0.1 do
  322. swait()
  323. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  324. end
  325. end))
  326. local bodyVelocity = Create("BodyVelocity"){
  327. velocity = Vector3.new(0, 20, 0),
  328. P = 5000,
  329. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  330. Parent = hit,
  331. }
  332. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  333. elseif Type == "Snare" then
  334. local bp = Create("BodyPosition"){
  335. P = 2000,
  336. D = 100,
  337. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  338. position = hit.Parent.Torso.Position,
  339. Parent = hit.Parent.Torso,
  340. }
  341. game:GetService("Debris"):AddItem(bp, 1)
  342. elseif Type == "Freeze" then
  343. local BodPos = Create("BodyPosition"){
  344. P = 50000,
  345. D = 1000,
  346. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  347. position = hit.Parent.Torso.Position,
  348. Parent = hit.Parent.Torso,
  349. }
  350. local BodGy = Create("BodyGyro") {
  351. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  352. P = 20e+003,
  353. Parent = hit.Parent.Torso,
  354. cframe = hit.Parent.Torso.CFrame,
  355. }
  356. hit.Parent.Torso.Anchored = true
  357. coroutine.resume(coroutine.create(function(Part)
  358. swait(1.5)
  359. Part.Anchored = false
  360. end), hit.Parent.Torso)
  361. game:GetService("Debris"):AddItem(BodPos, 3)
  362. game:GetService("Debris"):AddItem(BodGy, 3)
  363. end
  364. local debounce = Create("BoolValue"){
  365. Name = "DebounceHit",
  366. Parent = hit.Parent,
  367. Value = true,
  368. }
  369. game:GetService("Debris"):AddItem(debounce, Delay)
  370. c = Create("ObjectValue"){
  371. Name = "creator",
  372. Value = Player,
  373. Parent = h,
  374. }
  375. game:GetService("Debris"):AddItem(c, .5)
  376. end
  377. end
  378. -------------------------------------------------------
  379. --End Damage Function--
  380. -------------------------------------------------------
  381.  
  382. -------------------------------------------------------
  383. --Start Damage Function Customization--
  384. -------------------------------------------------------
  385. function ShowDamage(Pos, Text, Time, Color)
  386. local Rate = (1 / 30)
  387. local Pos = (Pos or Vector3.new(0, 0, 0))
  388. local Text = (Text or "")
  389. local Time = (Time or 2)
  390. local Color = (Color or Color3.new(1, 0, 1))
  391. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  392. EffectPart.Anchored = true
  393. local BillboardGui = Create("BillboardGui"){
  394. Size = UDim2.new(3, 0, 3, 0),
  395. Adornee = EffectPart,
  396. Parent = EffectPart,
  397. }
  398. local TextLabel = Create("TextLabel"){
  399. BackgroundTransparency = 1,
  400. Size = UDim2.new(1, 0, 1, 0),
  401. Text = Text,
  402. Font = "Highway",
  403. TextColor3 = Color,
  404. TextScaled = true,
  405. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  406. Parent = BillboardGui,
  407. }
  408. game.Debris:AddItem(EffectPart, (Time))
  409. EffectPart.Parent = game:GetService("Workspace")
  410. delay(0, function()
  411. local Frames = (Time / Rate)
  412. for Frame = 1, Frames do
  413. wait(Rate)
  414. local Percent = (Frame / Frames)
  415. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  416. TextLabel.TextTransparency = Percent
  417. end
  418. if EffectPart and EffectPart.Parent then
  419. EffectPart:Destroy()
  420. end
  421. end)
  422. end
  423. -------------------------------------------------------
  424. --End Damage Function Customization--
  425. -------------------------------------------------------
  426.  
  427. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  428. for _, c in pairs(workspace:children()) do
  429. local hum = c:findFirstChild("Humanoid")
  430. if hum ~= nil then
  431. local head = c:findFirstChild("Head")
  432. if head ~= nil then
  433. local targ = head.Position - Part.Position
  434. local mag = targ.magnitude
  435. if magni >= mag and c.Name ~= plr.Name then
  436. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  437. end
  438. end
  439. end
  440. end
  441. end
  442.  
  443.  
  444. CFuncs = {
  445. Part = {
  446. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  447. local Part = Create("Part")({
  448. Parent = Parent,
  449. Reflectance = Reflectance,
  450. Transparency = Transparency,
  451. CanCollide = false,
  452. Locked = true,
  453. BrickColor = BrickColor.new(tostring(BColor)),
  454. Name = Name,
  455. Size = Size,
  456. Material = Material
  457. })
  458. RemoveOutlines(Part)
  459. return Part
  460. end
  461. },
  462. Mesh = {
  463. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  464. local Msh = Create(Mesh)({
  465. Parent = Part,
  466. Offset = OffSet,
  467. Scale = Scale
  468. })
  469. if Mesh == "SpecialMesh" then
  470. Msh.MeshType = MeshType
  471. Msh.MeshId = MeshId
  472. end
  473. return Msh
  474. end
  475. },
  476. Mesh = {
  477. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  478. local Msh = Create(Mesh)({
  479. Parent = Part,
  480. Offset = OffSet,
  481. Scale = Scale
  482. })
  483. if Mesh == "SpecialMesh" then
  484. Msh.MeshType = MeshType
  485. Msh.MeshId = MeshId
  486. end
  487. return Msh
  488. end
  489. },
  490. Weld = {
  491. Create = function(Parent, Part0, Part1, C0, C1)
  492. local Weld = Create("Weld")({
  493. Parent = Parent,
  494. Part0 = Part0,
  495. Part1 = Part1,
  496. C0 = C0,
  497. C1 = C1
  498. })
  499. return Weld
  500. end
  501. },
  502. Sound = {
  503. Create = function(id, par, vol, pit)
  504. coroutine.resume(coroutine.create(function()
  505. local S = Create("Sound")({
  506. Volume = vol,
  507. Pitch = pit or 1,
  508. SoundId = id,
  509. Parent = par or workspace
  510. })
  511. wait()
  512. S:play()
  513. game:GetService("Debris"):AddItem(S, 6)
  514. end))
  515. end
  516. },
  517. ParticleEmitter = {
  518. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  519. local fp = Create("ParticleEmitter")({
  520. Parent = Parent,
  521. Color = ColorSequence.new(Color1, Color2),
  522. LightEmission = LightEmission,
  523. Size = Size,
  524. Texture = Texture,
  525. Transparency = Transparency,
  526. ZOffset = ZOffset,
  527. Acceleration = Accel,
  528. Drag = Drag,
  529. LockedToPart = LockedToPart,
  530. VelocityInheritance = VelocityInheritance,
  531. EmissionDirection = EmissionDirection,
  532. Enabled = Enabled,
  533. Lifetime = LifeTime,
  534. Rate = Rate,
  535. Rotation = Rotation,
  536. RotSpeed = RotSpeed,
  537. Speed = Speed,
  538. VelocitySpread = VelocitySpread
  539. })
  540. return fp
  541. end
  542. }
  543. }
  544. function RemoveOutlines(part)
  545. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  546. end
  547. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  548. local Part = Create("Part")({
  549. formFactor = FormFactor,
  550. Parent = Parent,
  551. Reflectance = Reflectance,
  552. Transparency = Transparency,
  553. CanCollide = false,
  554. Locked = true,
  555. BrickColor = BrickColor.new(tostring(BColor)),
  556. Name = Name,
  557. Size = Size,
  558. Material = Material
  559. })
  560. RemoveOutlines(Part)
  561. return Part
  562. end
  563. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  564. local Msh = Create(Mesh)({
  565. Parent = Part,
  566. Offset = OffSet,
  567. Scale = Scale
  568. })
  569. if Mesh == "SpecialMesh" then
  570. Msh.MeshType = MeshType
  571. Msh.MeshId = MeshId
  572. end
  573. return Msh
  574. end
  575. function CreateWeld(Parent, Part0, Part1, C0, C1)
  576. local Weld = Create("Weld")({
  577. Parent = Parent,
  578. Part0 = Part0,
  579. Part1 = Part1,
  580. C0 = C0,
  581. C1 = C1
  582. })
  583. return Weld
  584. end
  585.  
  586.  
  587. -------------------------------------------------------
  588. --Start Effect Function--
  589. -------------------------------------------------------
  590. EffectModel = Instance.new("Model", char)
  591. Effects = {
  592. Block = {
  593. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  594. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  595. prt.Anchored = true
  596. prt.CFrame = cframe
  597. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  598. game:GetService("Debris"):AddItem(prt, 10)
  599. if Type == 1 or Type == nil then
  600. table.insert(Effects, {
  601. prt,
  602. "Block1",
  603. delay,
  604. x3,
  605. y3,
  606. z3,
  607. msh
  608. })
  609. elseif Type == 2 then
  610. table.insert(Effects, {
  611. prt,
  612. "Block2",
  613. delay,
  614. x3,
  615. y3,
  616. z3,
  617. msh
  618. })
  619. else
  620. table.insert(Effects, {
  621. prt,
  622. "Block3",
  623. delay,
  624. x3,
  625. y3,
  626. z3,
  627. msh
  628. })
  629. end
  630. end
  631. },
  632. Sphere = {
  633. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  634. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  635. prt.Anchored = true
  636. prt.CFrame = cframe
  637. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  638. game:GetService("Debris"):AddItem(prt, 10)
  639. table.insert(Effects, {
  640. prt,
  641. "Cylinder",
  642. delay,
  643. x3,
  644. y3,
  645. z3,
  646. msh
  647. })
  648. end
  649. },
  650. Cylinder = {
  651. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  652. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  653. prt.Anchored = true
  654. prt.CFrame = cframe
  655. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  656. game:GetService("Debris"):AddItem(prt, 10)
  657. table.insert(Effects, {
  658. prt,
  659. "Cylinder",
  660. delay,
  661. x3,
  662. y3,
  663. z3,
  664. msh
  665. })
  666. end
  667. },
  668. Wave = {
  669. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  670. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  671. prt.Anchored = true
  672. prt.CFrame = cframe
  673. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  674. game:GetService("Debris"):AddItem(prt, 10)
  675. table.insert(Effects, {
  676. prt,
  677. "Cylinder",
  678. delay,
  679. x3 / 60,
  680. y3 / 60,
  681. z3 / 60,
  682. msh
  683. })
  684. end
  685. },
  686. Ring = {
  687. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  688. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  689. prt.Anchored = true
  690. prt.CFrame = cframe
  691. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  692. game:GetService("Debris"):AddItem(prt, 10)
  693. table.insert(Effects, {
  694. prt,
  695. "Cylinder",
  696. delay,
  697. x3,
  698. y3,
  699. z3,
  700. msh
  701. })
  702. end
  703. },
  704. Break = {
  705. Create = function(brickcolor, cframe, x1, y1, z1)
  706. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  707. prt.Anchored = true
  708. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  709. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  710. local num = math.random(10, 50) / 1000
  711. game:GetService("Debris"):AddItem(prt, 10)
  712. table.insert(Effects, {
  713. prt,
  714. "Shatter",
  715. num,
  716. prt.CFrame,
  717. math.random() - math.random(),
  718. 0,
  719. math.random(50, 100) / 100
  720. })
  721. end
  722. },
  723. Spiral = {
  724. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  725. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  726. prt.Anchored = true
  727. prt.CFrame = cframe
  728. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  729. game:GetService("Debris"):AddItem(prt, 10)
  730. table.insert(Effects, {
  731. prt,
  732. "Cylinder",
  733. delay,
  734. x3,
  735. y3,
  736. z3,
  737. msh
  738. })
  739. end
  740. },
  741. Push = {
  742. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  743. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  744. prt.Anchored = true
  745. prt.CFrame = cframe
  746. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  747. game:GetService("Debris"):AddItem(prt, 10)
  748. table.insert(Effects, {
  749. prt,
  750. "Cylinder",
  751. delay,
  752. x3,
  753. y3,
  754. z3,
  755. msh
  756. })
  757. end
  758. }
  759. }
  760. -------------------------------------------------------
  761. --End Effect Function--
  762. -------------------------------------------------------
  763.  
  764. function CreateSound(ID, PARENT, VOLUME, PITCH)
  765. local NSound = nil
  766. coroutine.resume(coroutine.create(function()
  767. NSound = Instance.new("Sound", PARENT)
  768. NSound.Volume = VOLUME
  769. NSound.Pitch = PITCH
  770. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  771. NSound.Parent = hed
  772. swait()
  773. NSound:play()
  774. game:GetService("Debris"):AddItem(NSound, 10)
  775. end))
  776. return NSound
  777. end
  778.  
  779. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  780. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  781. prt.Anchored = true
  782. prt.CFrame = cframe
  783. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  784. game:GetService("Debris"):AddItem(prt, 10)
  785. if Type == 1 or Type == nil then
  786. table.insert(Effects, {
  787. prt,
  788. "Block1",
  789. delay,
  790. x3,
  791. y3,
  792. z3,
  793. msh
  794. })
  795. elseif Type == 2 then
  796. table.insert(Effects, {
  797. prt,
  798. "Block2",
  799. delay,
  800. x3,
  801. y3,
  802. z3,
  803. msh
  804. })
  805. elseif Type == 3 then
  806. table.insert(Effects, {
  807. prt,
  808. "Block3",
  809. delay,
  810. x3,
  811. y3,
  812. z3,
  813. msh
  814. })
  815. end
  816. end
  817.  
  818. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  819. local fp=Instance.new("Part")
  820. fp.formFactor=formfactor
  821. fp.Parent=parent
  822. fp.Reflectance=reflectance
  823. fp.Transparency=transparency
  824. fp.CanCollide=false
  825. fp.Locked=true
  826. fp.BrickColor=brickcolor
  827. fp.Name=name
  828. fp.Size=size
  829. fp.Position=tors.Position
  830. RemoveOutlines(fp)
  831. fp.Material="SmoothPlastic"
  832. fp:BreakJoints()
  833. return fp
  834. end
  835.  
  836. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  837. local mesh=Instance.new(Mesh)
  838. mesh.Parent=part
  839. if Mesh=="SpecialMesh" then
  840. mesh.MeshType=meshtype
  841. if meshid~="nil" then
  842. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  843. end
  844. end
  845. mesh.Offset=offset
  846. mesh.Scale=scale
  847. return mesh
  848. end
  849.  
  850. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  851. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  852. prt.Anchored = true
  853. prt.Material = "Neon"
  854. prt.CFrame = cframe
  855. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  856. game:GetService("Debris"):AddItem(prt, 5)
  857. coroutine.resume(coroutine.create(function(Part, Mesh)
  858. local rtype = rottype
  859. for i = 0, 1, delay do
  860. swait()
  861. if rtype == 1 then
  862. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  863. elseif rtype == 2 then
  864. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  865. end
  866. prt.Transparency = i
  867. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  868. end
  869. Part.Parent = nil
  870. end), prt, msh)
  871. end
  872.  
  873.  
  874. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  875. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  876. prt.Anchored = true
  877. prt.Material = "Neon"
  878. prt.CFrame = cframe
  879. prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  880. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  881. game:GetService("Debris"):AddItem(prt, 5)
  882. coroutine.resume(coroutine.create(function(Part, Mesh)
  883. for i = 0, 1, delay do
  884. swait()
  885. Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  886. Part.Transparency = i
  887. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  888. end
  889. Part.Parent = nil
  890. end), prt, msh)
  891. end
  892.  
  893.  
  894. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  895. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  896. prt.Anchored = true
  897. prt.Material = "Neon"
  898. prt.CFrame = cframe
  899. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
  900. game:GetService("Debris"):AddItem(prt, 5)
  901. coroutine.resume(coroutine.create(function(Part, Mesh)
  902. local rtype = rottype
  903. for i = 0, 1, delay do
  904. swait()
  905. if rtype == 1 then
  906. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  907. elseif rtype == 2 then
  908. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  909. end
  910. prt.Transparency = i
  911. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0)
  912. end
  913. Part.Parent = nil
  914. end), prt, msh)
  915. end
  916.  
  917. function Eviscerate(dude)
  918. if dude.Name ~= char then
  919. local bgf = IT("BodyGyro", dude.Head)
  920. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  921. local val = IT("BoolValue", dude)
  922. val.Name = "IsHit"
  923. local ds = coroutine.wrap(function()
  924. dude:WaitForChild("Head"):BreakJoints()
  925. wait(0.5)
  926. target = nil
  927. coroutine.resume(coroutine.create(function()
  928. for i, v in pairs(dude:GetChildren()) do
  929. if v:IsA("Accessory") then
  930. v:Destroy()
  931. end
  932. if v:IsA("Humanoid") then
  933. v:Destroy()
  934. end
  935. if v:IsA("CharacterMesh") then
  936. v:Destroy()
  937. end
  938. if v:IsA("Model") then
  939. v:Destroy()
  940. end
  941. if v:IsA("Part") or v:IsA("MeshPart") then
  942. for x, o in pairs(v:GetChildren()) do
  943. if o:IsA("Decal") then
  944. o:Destroy()
  945. end
  946. end
  947. coroutine.resume(coroutine.create(function()
  948. v.Material = "Neon"
  949. v.CanCollide = false
  950. local PartEmmit1 = IT("ParticleEmitter", v)
  951. PartEmmit1.LightEmission = 1
  952. PartEmmit1.Texture = "rbxassetid://284205403"
  953. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  954. PartEmmit1.Rate = 150
  955. PartEmmit1.Lifetime = NumberRange.new(1)
  956. PartEmmit1.Size = NumberSequence.new({
  957. NumberSequenceKeypoint.new(0, 0.75, 0),
  958. NumberSequenceKeypoint.new(1, 0, 0)
  959. })
  960. PartEmmit1.Transparency = NumberSequence.new({
  961. NumberSequenceKeypoint.new(0, 0, 0),
  962. NumberSequenceKeypoint.new(1, 1, 0)
  963. })
  964. PartEmmit1.Speed = NumberRange.new(0, 0)
  965. PartEmmit1.VelocitySpread = 30000
  966. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  967. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  968. local BodPoss = IT("BodyPosition", v)
  969. BodPoss.P = 3000
  970. BodPoss.D = 1000
  971. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  972. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  973. v.Color = maincolor.Color
  974. coroutine.resume(coroutine.create(function()
  975. for i = 0, 49 do
  976. swait(1)
  977. v.Transparency = v.Transparency + 0.08
  978. end
  979. wait(0.5)
  980. PartEmmit1.Enabled = false
  981. wait(3)
  982. v:Destroy()
  983. dude:Destroy()
  984. end))
  985. end))
  986. end
  987. end
  988. end))
  989. end)
  990. ds()
  991. end
  992. end
  993. function FindNearestHead(Position, Distance, SinglePlayer)
  994. if SinglePlayer then
  995. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  996. end
  997. local List = {}
  998. for i, v in pairs(workspace:GetChildren()) do
  999. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1000. table.insert(List, v)
  1001. end
  1002. end
  1003. return List
  1004. end
  1005. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  1006. local type = type
  1007. local rng = Instance.new("Part", char)
  1008. rng.Anchored = true
  1009. rng.BrickColor = color
  1010. rng.CanCollide = false
  1011. rng.FormFactor = 3
  1012. rng.Name = "Ring"
  1013. rng.Material = "Neon"
  1014. rng.Size = Vector3.new(1, 1, 1)
  1015. rng.Transparency = 0
  1016. rng.TopSurface = 0
  1017. rng.BottomSurface = 0
  1018. rng.CFrame = pos
  1019. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1020. local rngm = Instance.new("SpecialMesh", rng)
  1021. rngm.MeshType = "Sphere"
  1022. rngm.Scale = Vector3.new(x1, y1, z1)
  1023. local scaler2 = 1
  1024. local speeder = FastSpeed
  1025. if type == "Add" then
  1026. scaler2 = 1 * value
  1027. elseif type == "Divide" then
  1028. scaler2 = 1 / value
  1029. end
  1030. coroutine.resume(coroutine.create(function()
  1031. for i = 0, 10 / bonuspeed, 0.1 do
  1032. swait()
  1033. if type == "Add" then
  1034. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1035. elseif type == "Divide" then
  1036. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1037. end
  1038. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1039. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1040. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1041. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1042. end
  1043. rng:Destroy()
  1044. end))
  1045. end
  1046. -------------------------------------------------------
  1047. --End Important Functions--
  1048. -------------------------------------------------------
  1049.  
  1050. --[[
  1051. Thanks for using Build-To-Lua by jarredbcv.
  1052. ]]--
  1053.  
  1054. New = function(Object, Parent, Name, Data)
  1055. local Object = Instance.new(Object)
  1056. for Index, Value in pairs(Data or {}) do
  1057. Object[Index] = Value
  1058. end
  1059. Object.Parent = Parent
  1060. Object.Name = Name
  1061. return Object
  1062. end
  1063.  
  1064. NewInstance = function(instance,parent,properties)
  1065. local inst = Instance.new(instance,parent)
  1066. if(properties)then
  1067. for i,v in next, properties do
  1068. pcall(function() inst[i] = v end)
  1069. end
  1070. end
  1071. return inst;
  1072. end
  1073.  
  1074. -------------------------------------------------------
  1075. --Start Music Option--
  1076. -------------------------------------------------------
  1077. local Music = Instance.new("Sound",hed)
  1078. Music.Volume = 7.5
  1079. Music.SoundId = "rbxassetid://303536628"
  1080. Music.Looped = true
  1081. Music.Pitch = 1 --Pitcher
  1082. Music:Play()
  1083. -------------------------------------------------------
  1084. --End Music Option--
  1085. -------------------------------------------------------
  1086.  
  1087. local naeeym2 = Instance.new("BillboardGui",char)
  1088. naeeym2.AlwaysOnTop = true
  1089. naeeym2.Size = UDim2.new(5,35,2,35)
  1090. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1091. naeeym2.Adornee = hed
  1092. naeeym2.Name = "Name"
  1093.  
  1094. local tecks2 = Instance.new("TextLabel",naeeym2)
  1095. tecks2.BackgroundTransparency = 1
  1096. tecks2.TextScaled = true
  1097. tecks2.BorderSizePixel = 0
  1098. tecks2.Text = "Mask rider Drive"
  1099. tecks2.Font = "Code"
  1100. tecks2.TextSize = 30
  1101. tecks2.TextStrokeTransparency = 0
  1102. tecks2.TextColor3 = Color3.new(0,0,0)
  1103. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1104. tecks2.Size = UDim2.new(1,0,0.5,0)
  1105. tecks2.Parent = naeeym2
  1106.  
  1107. -------------------------------------------------------
  1108. --Start Attacks N Stuff--
  1109. -------------------------------------------------------
  1110. local sine=0
  1111. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1112. local Hitboxpart = Instance.new("Part", EffectModel)
  1113. RemoveOutlines(Hitboxpart)
  1114. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1115. Hitboxpart.CanCollide = false
  1116. Hitboxpart.Transparency = 1
  1117. Hitboxpart.Anchored = true
  1118. Hitboxpart.CFrame = Pose
  1119. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1120. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1121. end
  1122. wait2 = false
  1123. combo = 1
  1124. mouse.Button1Down:connect(function(key)
  1125. if attack == false then
  1126. attack = true
  1127. hum.WalkSpeed = 3.01
  1128. if combo == 1 and wait2 == false then
  1129. wait2 = true
  1130. for i = 0, 1.2, 0.1 do
  1131. swait()
  1132. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  1133. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  1134. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1135. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1136. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  1137. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  1138. end
  1139. CreateSound("138097048", ra, 3, .8)
  1140. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1141. for i = 0, 1.2, 0.1 do
  1142. swait()
  1143. BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
  1144. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
  1145. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1146. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1)
  1147. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1148. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
  1149. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1150. end
  1151. combo = 2
  1152. end
  1153. if combo == 2 and wait2 == false then
  1154. wait2 = true
  1155. for i = 0, 1.2, 0.1 do
  1156. swait()
  1157. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
  1158. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1159. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  1160. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1161. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
  1162. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
  1163. end
  1164. CreateSound("138097048", rl, 3, 1)
  1165. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
  1166. for i = 0, 1.6, 0.1 do
  1167. swait()
  1168. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3)
  1169. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1170. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1)
  1171. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3)
  1172. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
  1173. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3)
  1174. end
  1175. combo = 3
  1176. end
  1177. if combo == 3 and wait2 == false then
  1178. for i = 0, 1.2, 0.1 do
  1179. swait()
  1180. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  1181. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  1182. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1183. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1184. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  1185. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  1186. end
  1187. CreateSound("138097048", ra, 3, .8)
  1188. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1189. for i = 0, 1.2, 0.1 do
  1190. swait()
  1191. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
  1192. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1193. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1)
  1194. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1195. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  1196. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1197. end
  1198. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03)
  1199. Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1200. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1201. for i = 0, 1.2, 0.1 do
  1202. swait()
  1203. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
  1204. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1205. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1)
  1206. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1207. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  1208. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1209. end
  1210. combo = 1
  1211. end
  1212. hum.WalkSpeed = 8
  1213. wait2 = false
  1214. attack = false
  1215. end
  1216. end)
  1217. function Decapitate()
  1218. local target = nil
  1219. local targettorso = nil
  1220. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1221. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1222. target = mouse.Target.Parent.Humanoid
  1223. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1224. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1225. end
  1226. end
  1227. if target ~= nil then
  1228. targettorso.Anchored = true
  1229. attack = true
  1230. hum.WalkSpeed = 0
  1231. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  1232. for i = 0,4.2,0.1 do
  1233. swait()
  1234. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  1235. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  1236. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  1237. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  1238. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1)
  1239. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1240. end
  1241. local ModelHead01 = New("Model", char, "", {})
  1242. local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
  1243. local Head01 = targethead:Clone()
  1244. targethead.Transparency = 1
  1245. Head01.Parent = ModelHead01
  1246. local weldHead01 = Instance.new("Weld")
  1247. weldHead01.Parent = Head01
  1248. weldHead01.Part0 = targethead
  1249. weldHead01.Part1 = Head01
  1250. weldHead01.C1 = CFrame.new(0, 0, 0)
  1251. targethead.face:Remove()
  1252. weldHead01.Part0 = ra
  1253. weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1254. targettorso:BreakJoints()
  1255. CreateSound("314390675", targettorso, 5, .7)
  1256. for i = 0,3.2,0.1 do
  1257. swait()
  1258. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  1259. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1260. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1261. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15)
  1262. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1)
  1263. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1264. end
  1265. for i = 0,4.2,0.1 do
  1266. swait()
  1267. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  1268. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  1269. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1270. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1271. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
  1272. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  1273. end
  1274. CreateSound("541909763", targettorso, 5, .8)
  1275. weldHead01:Destroy()
  1276. Head01.CanCollide = true
  1277. local bodyVelocity2 = Create("BodyVelocity")({
  1278. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  1279. P = 5000,
  1280. maxForce = Vector3.new(8000, 8000, 8000),
  1281. Parent = Head01
  1282. })
  1283. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1284. for i = 0,6.2,0.1 do
  1285. swait()
  1286. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  1287. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  1288. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1289. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1290. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1)
  1291. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  1292. end
  1293. targettorso.Anchored = false
  1294. attack = false
  1295. hum.WalkSpeed = 8
  1296. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  1297. end
  1298. end
  1299. function Laugh()
  1300. attack = true
  1301. hum.WalkSpeed = 0
  1302. CreateSound("300208779", hed, 10, 1)
  1303. for i = 0,9,0.1 do
  1304. swait()
  1305. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15)
  1306. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
  1307. if Mrandom(1,15) == 1 then
  1308. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  1309. end
  1310. RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15)
  1311. LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15)
  1312. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1)
  1313. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1)
  1314. end
  1315. attack = false
  1316. hum.WalkSpeed = 10
  1317. end
  1318. function Flying_Kick()
  1319. attack = true
  1320. hum.WalkSpeed = 0
  1321. for i = 0,2.7,0.1 do
  1322. swait()
  1323. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1324. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1325. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1326. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15)
  1327. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(15)), 0.1)
  1328. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(-15)), 0.1)
  1329. end
  1330. local bodyVelocity = Create("BodyVelocity")({
  1331. velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250,
  1332. P = 5000,
  1333. maxForce = Vector3.new(9e99, 9e99, 9e99),
  1334. Parent = root
  1335. })
  1336. game:GetService("Debris"):AddItem(bodyVelocity, 0.05)
  1337. CreateSound("138097048", rl, 3, 1)
  1338. for i = 0,2.1,0.1 do
  1339. swait()
  1340. HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
  1341. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15)
  1342. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1343. RH.C0 = clerp(RH.C0, CF(.4, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-125), Rad(0), Rad(0)), 0.15)
  1344. LH.C0 = clerp(LH.C0, CF(-1.3, -1.3 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  1345. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1346. LW.C0 = clerp(LW.C0, CF(-1.9, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-215)), 0.1)
  1347. end
  1348. attack = false
  1349. hum.WalkSpeed = 8
  1350. end
  1351. function UpperCut()
  1352. attack = true
  1353. hum.WalkSpeed = 0
  1354. for i = 0,2.3,0.1 do
  1355. swait()
  1356. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1357. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  1358. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1359. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15)
  1360. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 30), -.8 + 0.025 * Cos(sine / 20)) * angles(Rad(165), Rad(0), Rad(0)), 0.1)
  1361. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), -1 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(75)), 0.1)
  1362. end
  1363. CreateSound("138097048", ra, 3, .8)
  1364. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
  1365. for i = 0,2.8,0.1 do
  1366. swait()
  1367. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15)
  1368. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1369. RH.C0 = clerp(RH.C0, CF(1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-55)), 0.15)
  1370. LH.C0 = clerp(LH.C0, CF(-1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
  1371. RW.C0 = clerp(RW.C0, CF(1.3, .8 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(125), Rad(0), Rad(0)), 0.1)
  1372. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-10)), 0.1)
  1373. end
  1374. attack = false
  1375. hum.WalkSpeed = 8
  1376. end
  1377. function Spinning_Kick()
  1378. attack = true
  1379. hum.WalkSpeed = 3.01
  1380. for i = 0, 1.2, 0.1 do
  1381. swait()
  1382. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
  1383. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1384. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  1385. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1386. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
  1387. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
  1388. end
  1389. for i = 0, 4.6, 0.1 do
  1390. swait()
  1391. CreateSound("138097048", rl, 3, 1)
  1392. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
  1393. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65 + 255.45 * i)), 0.3)
  1394. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1395. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1)
  1396. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3)
  1397. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
  1398. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3)
  1399. end
  1400. attack = false
  1401. hum.WalkSpeed = 8
  1402. end
  1403. function Beam_Of_Light()
  1404.  
  1405. end
  1406. function Blast_Of_God()
  1407. attack = true
  1408. hum.WalkSpeed = 3.01
  1409. for i = 0,6.3,0.1 do
  1410. swait()
  1411. Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1412. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15)
  1413. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  1414. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  1415. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  1416. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1417. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
  1418. end
  1419. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  1420. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
  1421. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  1422. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  1423. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1424. Effects.Ring.Create(BrickC("New Yeller"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1425. CreateSound("142070127", tors, 10, 1)
  1426. MagniDamage(ra, 12, 40, 60, 10, "Normal")
  1427. for i = 0,2.6,0.1 do
  1428. swait()
  1429. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15)
  1430. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  1431. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  1432. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  1433. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1)
  1434. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
  1435. end
  1436. attack = false
  1437. hum.WalkSpeed = 8
  1438. end
  1439. function Diablo_Explosion()
  1440. attack = true
  1441. hum.WalkSpeed = 3.01
  1442. for i = 0,6.3,0.1 do
  1443. swait()
  1444. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1445. Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1446. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1447. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1448. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1449. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
  1450. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1451. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  1452. end
  1453. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05)
  1454. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03)
  1455. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05)
  1456. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05)
  1457. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1458. Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  1459. CreateSound("142070127", tors, 10, 1)
  1460. MagniDamage(tors, 12, 34, 54, 10, "DarkUp")
  1461. for i = 0,4.6,0.1 do
  1462. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1463. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1464. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1465. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1466. RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
  1467. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  1468. end
  1469. wait(.6)
  1470. attack = false
  1471. hum.WalkSpeed = 8
  1472. end
  1473. function Hell_From_Above()
  1474. local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1475. attack = true
  1476. hum.WalkSpeed = 3.01
  1477. for i = 0,6.3,0.1 do
  1478. swait()
  1479. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1480. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1481. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1482. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1483. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1484. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  1485. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  1486. end
  1487. CreateSound("142070127", tors, 10, 1)
  1488. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1489. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1490. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1491. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1492. for i = 0,3.8,0.1 do
  1493. swait()
  1494. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1495. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1496. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1497. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1498. RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  1499. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  1500. end
  1501. CreateSound("224339201", tors, 10, 0.5)
  1502. for i = 1, 3 do
  1503. MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp")
  1504. UhhhhThing.CFrame = mouse.Hit
  1505. Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
  1506. Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
  1507. end
  1508. UhhhhThing:Destroy()
  1509. attack = false
  1510. hum.WalkSpeed = 8
  1511. end
  1512. function Spinning_Below()
  1513. attack = true
  1514. hum.WalkSpeed = 3.01
  1515. CreateSound("649634100", tors, 10, 0.5)
  1516. for i = 0,6.3,0.1 do
  1517. swait()
  1518. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1519. Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1520. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15)
  1521. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1522. RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1523. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1524. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1525. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  1526. end
  1527. attack = false
  1528. hum.WalkSpeed = 8
  1529. end
  1530. function Purity_Slam()
  1531. attack = true
  1532. for i = 0,5.2,0.1 do
  1533. swait()
  1534. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1535. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1536. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1537. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  1538. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1539. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  1540. end
  1541. CreateSound("331666100", tors, 10, 1)
  1542. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  1543. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
  1544. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  1545. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
  1546. MagniDamage(tors, 12, 40, 60, 10, "Normal")
  1547. coroutine.resume(coroutine.create(function()
  1548. for i = 0,1.8,0.1 do
  1549. swait()
  1550. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1551. end
  1552. for i = 0,1.8,0.1 do
  1553. swait()
  1554. hum.CameraOffset = Vector3.new(0,0,0)
  1555. end
  1556. end))
  1557. for i = 1,4.7,0.1 do
  1558. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  1559. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1560. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  1561. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1562. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  1563. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  1564. end
  1565. wait(.6)
  1566. attack = false
  1567. end
  1568. function Painful_Stomp()
  1569. attack = true
  1570. for i = 0,5.2,0.1 do
  1571. swait()
  1572. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1573. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1574. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1575. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  1576. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  1577. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  1578. end
  1579. CreateSound("331666100", char, 10, 1)
  1580. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1581. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1582. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1583. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1584. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  1585. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  1586. Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  1587. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  1588. if v:FindFirstChild("Head") then
  1589. Eviscerate(v)
  1590. end
  1591. end
  1592. coroutine.resume(coroutine.create(function()
  1593. for i = 0,2.8,0.1 do
  1594. swait()
  1595. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1596. end
  1597. for i = 0,1.8,0.1 do
  1598. swait()
  1599. hum.CameraOffset = Vector3.new(0,0,0)
  1600. end
  1601. end))
  1602. for i = 0,3.7,0.1 do
  1603. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1604. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1605. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  1606. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  1607. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1608. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  1609. end
  1610. wait(.6)
  1611. attack = false
  1612. end
  1613. function Ending()
  1614. local target = nil
  1615. local targettorso = nil
  1616. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1617. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1618. targetT = mouse.Target.Parent
  1619. target = mouse.Target.Parent.Humanoid
  1620. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1621. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1622. end
  1623. end
  1624. if target ~= nil then
  1625. targettorso.Anchored = true
  1626. attack = true
  1627. hum.WalkSpeed = 0
  1628. local originalpos = root.CFrame
  1629. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  1630. for i = 0,1.8,0.1 do
  1631. swait()
  1632. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15)
  1633. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
  1634. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  1635. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  1636. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1)
  1637. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1638. end
  1639. Eviscerate(targetT)
  1640. CreateSound("331666100", ra, 4, 1)
  1641. CreateSound("180083286", targettorso, 10, 1)
  1642. coroutine.resume(coroutine.create(function()
  1643. for i = 0,1.8,0.1 do
  1644. swait()
  1645. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1646. end
  1647. for i = 0,1.8,0.1 do
  1648. swait()
  1649. hum.CameraOffset = Vector3.new(0,0,0)
  1650. end
  1651. end))
  1652. for i = 0,4.6,0.1 do
  1653. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  1654. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1655. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  1656. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  1657. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1658. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1659. end
  1660. wait(.6)
  1661. root.CFrame = originalpos
  1662. attack = false
  1663. hum.WalkSpeed = 8
  1664. end
  1665. end
  1666.  
  1667. --[[I don't take ANY credit for this attack,
  1668. this was all nooby's hard work and the only reason i uhhh "used" it
  1669. is cause I i didn't have attack ideas at the time so yeah,
  1670. 100% nooby's credit <3]]
  1671. function Ende_der_Weld()
  1672. attack = true
  1673. hum.WalkSpeed = 0
  1674. for i = 0,4.6,0.1 do
  1675. swait()
  1676. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  1677. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1678. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  1679. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  1680. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1681. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1682. end
  1683. local a = Instance.new("Part",char)
  1684. a.BrickColor = BrickColor.random()
  1685. a.Name = "Lazer"
  1686. a.Anchored = true
  1687. a.Material = "Neon"
  1688. a.Transparency = 1
  1689. a.CanCollide = false
  1690. local hitbox = Instance.new("Part",char)
  1691. hitbox.Size = Vector3.new(5,5,5)
  1692. hitbox.CFrame = mouse.hit
  1693. hitbox.Anchored = true
  1694. hitbox.Transparency = 1
  1695. hitbox.CanCollide = false
  1696. local ray = Ray.new(
  1697. ra.CFrame.p, -- origin
  1698. (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction
  1699. )
  1700. local ignore = char
  1701. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1702. if hit then
  1703. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1704.  
  1705. if not humanoid then
  1706. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1707. end
  1708. if humanoid then
  1709. if humanoid.Parent:IsA"Model" then
  1710. end
  1711. end
  1712. end
  1713. a.BottomSurface = 10
  1714. a.TopSurface = 10
  1715. local distance = (ra.CFrame.p - position).magnitude
  1716. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1717. a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0)
  1718. game:GetService("Debris"):AddItem(a, 5)
  1719. game:GetService("Debris"):AddItem(hitbox, 1)
  1720. local newmesh = Instance.new("BlockMesh",a)
  1721. MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025)
  1722. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1)
  1723. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2)
  1724. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1)
  1725. local lbs = Instance.new("Part")
  1726. lbs.Parent = char
  1727. CreateSound("929619479", lbs, 10, 1)
  1728. lbs.Material = "Neon"
  1729. lbs.Color = BrickColor.Random().Color
  1730. lbs.CanCollide = false
  1731. lbs.Shape = "Ball"
  1732. lbs.Anchored = true
  1733. lbs.Transparency = 0
  1734. lbs.Size = Vector3.new(20,20,20)
  1735. lbs.CFrame = a.CFrame
  1736. local thing = Instance.new("SpecialMesh",lbs)
  1737. thing.MeshType = "Sphere"
  1738. lbs.Anchored = false
  1739. local bvs = Instance.new("BodyVelocity")
  1740. bvs.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1741. bvs.velocity = a.CFrame.lookVector*75
  1742. bvs.Parent = lbs
  1743. lbs.Touched:connect(function(hit)
  1744. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  1745. end)
  1746. attack = false
  1747. game:GetService("Debris"):AddItem(lbs, 10)
  1748. for x = 0, 4 do
  1749. local bulletgos = IT("Model",char)
  1750. local bulletgos2 = IT("Model",char)
  1751. for z = 0, 24 do
  1752. local lb = Instance.new("Part")
  1753. lb.Parent = bulletgos
  1754. lb.Material = "Neon"
  1755. lb.Color = BrickColor.Random().Color
  1756. lb.CanCollide = false
  1757. lb.Anchored = true
  1758. lb.Transparency = 0
  1759. lb.Size = Vector3.new(2,2,2)
  1760. local thing = Instance.new("SpecialMesh",lb)
  1761. thing.MeshType = "Sphere"
  1762. thing.Scale = Vector3.new(0.5,0.5,1.5)
  1763. lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1764. lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15
  1765. local lb2 = Instance.new("Part")
  1766. lb2.Parent = bulletgos2
  1767. lb2.Material = "Neon"
  1768. lb2.Color = lb.Color
  1769. lb2.CanCollide = false
  1770. lb2.Anchored = true
  1771. lb2.Transparency = 0
  1772. lb2.Size = Vector3.new(2,2,2)
  1773. lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1774. lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15
  1775. local thing2 = Instance.new("SpecialMesh",lb2)
  1776. thing2.MeshType = "Sphere"
  1777. thing2.Scale = Vector3.new(0.5,0.5,1.5)
  1778. lb.Touched:connect(function(hit)
  1779. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  1780. end)
  1781. lb2.Touched:connect(function(hit)
  1782. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  1783. end)
  1784. end
  1785. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  1786. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  1787. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  1788. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  1789. CreateSound("925629856", lbs, 5, 1)
  1790. game:GetService("Debris"):AddItem(bulletgos, 7)
  1791. game:GetService("Debris"):AddItem(bulletgos2, 7)
  1792. for i,v in pairs(bulletgos:children()) do
  1793. if v:IsA("Part") then
  1794. v.Anchored = false
  1795. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  1796. local bv = Instance.new("BodyVelocity")
  1797. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1798. bv.velocity = v.CFrame.lookVector*25
  1799. bv.Parent = v
  1800. game:GetService("Debris"):AddItem(v, 5)
  1801. end
  1802. end
  1803. for i,v in pairs(bulletgos2:children()) do
  1804. if v:IsA("Part") then
  1805. v.Anchored = false
  1806. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  1807. local bv = Instance.new("BodyVelocity")
  1808. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1809. bv.velocity = v.CFrame.lookVector*-25
  1810. bv.Parent = v
  1811. game:GetService("Debris"):AddItem(v, 5)
  1812. end
  1813. end
  1814. wait(1)
  1815. end
  1816. attack = false
  1817. hum.WalkSpeed = 8
  1818. end
  1819. -------------------------------------------------------
  1820. --End Attacks N Stuff--
  1821. -------------------------------------------------------
  1822. mouse.KeyDown:connect(function(key)
  1823. if string.byte(key) == 48 then
  1824. Swing = 2
  1825. hum.WalkSpeed = 38.82
  1826. end
  1827. end)
  1828. mouse.KeyUp:connect(function(key)
  1829. if string.byte(key) == 48 then
  1830. Swing = 1
  1831. hum.WalkSpeed = 8
  1832. end
  1833. end)
  1834. mouse.KeyDown:connect(function(key)
  1835. if attack == false then
  1836. if key == 'q' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  1837. EdgyMode = true
  1838. tecks2.Text = "Edgy"
  1839. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1840. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  1841. for i, v in pairs(ArmourParts) do
  1842. v.BrickColor = BrickColor.new("Black")
  1843. end
  1844. for i, v in pairs(ArmourParts2) do
  1845. v.BrickColor = BrickColor.new("Really black")
  1846. end
  1847. for i, v in pairs(NeonParts) do
  1848. v.BrickColor = BrickColor.new("Royal purple")
  1849. end
  1850. maincolor = BrickColor.new("Royal purple")
  1851. Music.SoundId = "rbxassetid://1470848774"
  1852. Music.Parent = tors
  1853. Music:Play()
  1854. elseif key == 'q' and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  1855. EdgyMode = false
  1856. tecks2.Text = "Neutral"
  1857. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1858. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1859. resetmode()
  1860. Music.SoundId = "rbxassetid://1117396305"
  1861. Music.Parent = tors
  1862. Music:Play()
  1863. elseif key == 'e' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  1864. Divinity = true
  1865. tecks2.Text = "Divinity"
  1866. tecks2.TextColor3 = Color3.new(1, 1, 1)
  1867. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  1868. for i, v in pairs(ArmourParts) do
  1869. v.BrickColor = BrickColor.new("Institutional white")
  1870. end
  1871. for i, v in pairs(ArmourParts2) do
  1872. v.BrickColor = BrickColor.new("White")
  1873. end
  1874. for i, v in pairs(NeonParts) do
  1875. v.BrickColor = BrickColor.new("New Yeller")
  1876. end
  1877. maincolor = BrickColor.new("New Yeller")
  1878. Music.SoundId = "rbxassetid://595800581"
  1879. Music.Parent = tors
  1880. Music:Play()
  1881. elseif key == 'e' and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  1882. Divinity = false
  1883. tecks2.Text = "Neutral"
  1884. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1885. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1886. resetmode()
  1887. Music.SoundId = "rbxassetid://1117396305"
  1888. Music.Parent = tors
  1889. Music:Play()
  1890. elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  1891. Fighter = true
  1892. tecks2.Text = "Drive"
  1893. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1894. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  1895. for i, v in pairs(ArmourParts) do
  1896. v.BrickColor = BrickColor.new("Black")
  1897. end
  1898. for i, v in pairs(ArmourParts2) do
  1899. v.BrickColor = BrickColor.new("Really black")
  1900. end
  1901. for i, v in pairs(NeonParts) do
  1902. v.BrickColor = BrickColor.new("Institutional white")
  1903. end
  1904. maincolor = BrickColor.new("Institutional white")
  1905. Music.SoundId = "rbxassetid://303536628"
  1906. Music.Parent = tors
  1907. Music:Play()
  1908. elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then
  1909. Fighter = false
  1910. tecks2.Text = "Neutral"
  1911. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1912. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1913. resetmode()
  1914. Music.SoundId = "rbxassetid://1117396305"
  1915. Music.Parent = tors
  1916. Music:Play()
  1917. elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  1918. Purity = true
  1919. tecks2.Text = "Purity"
  1920. tecks2.TextColor3 = Color3.new(1, 1, 1)
  1921. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255)
  1922. for i, v in pairs(ArmourParts) do
  1923. v.BrickColor = BrickColor.new("Institutional white")
  1924. end
  1925. for i, v in pairs(ArmourParts2) do
  1926. v.BrickColor = BrickColor.new("Institutional white")
  1927. end
  1928. for i, v in pairs(NeonParts) do
  1929. v.BrickColor = BrickColor.new("Toothpaste")
  1930. end
  1931. maincolor = BrickColor.new("Toothpaste")
  1932. Music.SoundId = "rbxassetid://553751015"
  1933. Music.Parent = tors
  1934. Music:Play()
  1935. elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then
  1936. Purity = false
  1937. tecks2.Text = "Neutral"
  1938. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1939. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1940. resetmode()
  1941. Music.SoundId = "rbxassetid://1117396305"
  1942. Music.Parent = tors
  1943. Music:Play()
  1944. elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  1945. Destruction = true
  1946. tecks2.Text = "Destruction"
  1947. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1948. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  1949. for i, v in pairs(ArmourParts) do
  1950. v.BrickColor = BrickColor.new("Really black")
  1951. end
  1952. for i, v in pairs(ArmourParts2) do
  1953. v.BrickColor = BrickColor.new("Black")
  1954. end
  1955. for i, v in pairs(NeonParts) do
  1956. v.BrickColor = BrickColor.new("Really red")
  1957. end
  1958. maincolor = BrickColor.new("Really red")
  1959. Music.SoundId = "rbxassetid://613361202"
  1960. Music.Parent = tors
  1961. Music:Play()
  1962. elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then
  1963. Destruction = false
  1964. tecks2.Text = "Neutral"
  1965. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1966. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1967. resetmode()
  1968. Music.SoundId = "rbxassetid://1117396305"
  1969. Music.Parent = tors
  1970. Music:Play()
  1971. elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  1972. helpme = true
  1973. tecks2.Text = "iNsAnItY"
  1974. Music.SoundId = "rbxassetid://460874877"
  1975. Music.Parent = tors
  1976. Music:Play()
  1977. elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then
  1978. helpme = false
  1979. tecks2.Text = "Neutral"
  1980. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1981. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1982. resetmode()
  1983. Music.SoundId = "rbxassetid://1117396305"
  1984. Music.Parent = tors
  1985. Music:Play()
  1986. elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1 then
  1987. tecks2.TextTransparency = 0
  1988. tecks2.TextStrokeTransparency = 0
  1989. elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0 then
  1990. tecks2.TextTransparency = 1
  1991. tecks2.TextStrokeTransparency = 1
  1992. elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  1993. Planetary = true
  1994. tecks2.Text = "Planetary"
  1995. tecks2.TextColor3 = Color3.fromRGB(61, 21, 133)
  1996. tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133)
  1997. for i, v in pairs(ArmourParts) do
  1998. v.BrickColor = BrickColor.new("Dark indigo")
  1999. end
  2000. for i, v in pairs(ArmourParts2) do
  2001. v.BrickColor = BrickColor.new("Dark indigo")
  2002. end
  2003. for i, v in pairs(NeonParts) do
  2004. v.BrickColor = BrickColor.new("Dark indigo")
  2005. end
  2006. maincolor = BrickColor.new("Dark indigo")
  2007. Music.SoundId = "rbxassetid://609934004"
  2008. Music.Parent = tors
  2009. Music:Play()
  2010. elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then
  2011. Planetary = false
  2012. tecks2.Text = "Neutral"
  2013. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2014. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2015. resetmode()
  2016. Music.SoundId = "rbxassetid://1117396305"
  2017. Music.Parent = tors
  2018. Music:Play()
  2019. end
  2020. end
  2021. end)
  2022. mouse.KeyDown:connect(function(key)
  2023. if attack == false then
  2024. if EdgyMode == true then
  2025. if key == 'r' then
  2026. Decapitate()
  2027. elseif key == 'e' then
  2028. Laugh()
  2029. end
  2030. end
  2031. if Divinity == true then
  2032. if key == 'r' then
  2033. Beam_Of_Light()
  2034. elseif key == 'f' then
  2035. Blast_Of_God()
  2036. end
  2037. end
  2038. if Fighter == true then
  2039. if key == 'e' then
  2040. Flying_Kick()
  2041. elseif key == 'f' then
  2042. UpperCut()
  2043. elseif key == 't' then
  2044. Spinning_Kick()
  2045. end
  2046. end
  2047. if Purity == true then
  2048. if key == 'r' then
  2049. Purity_Slam()
  2050. end
  2051. end
  2052. if Destruction == true then
  2053. if key == 'r' then
  2054. Diablo_Explosion()
  2055. elseif key == 'f' then
  2056. Hell_From_Above()
  2057. elseif key == 't' then
  2058. Spinning_Below()
  2059. end
  2060. end
  2061. if helpme == true then
  2062. if key == 'r' then
  2063. Painful_Stomp()
  2064. elseif key == 'f' then
  2065. Ending()
  2066. elseif key == 't' then
  2067. Ende_der_Weld()
  2068. end
  2069. end
  2070. end
  2071. end)
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078. -------------------------------------------------------
  2079. --Start Animations--
  2080. -------------------------------------------------------
  2081. local equipped = false
  2082. local idle = 0
  2083. local change = 1
  2084. local val = 0
  2085. local toim = 0
  2086. local idleanim = 0.4
  2087. hum.WalkSpeed = 8
  2088. hum.Animator.Parent = nil
  2089. while true do
  2090. swait()
  2091. Music.Parent = char
  2092. if helpme == true then
  2093. for i, v in pairs(ArmourParts) do
  2094. v.BrickColor = BrickColor.random()
  2095. end
  2096. for i, v in pairs(ArmourParts2) do
  2097. v.BrickColor = BrickColor.random()
  2098. end
  2099. for i, v in pairs(NeonParts) do
  2100. v.BrickColor = BrickColor.random()
  2101. end
  2102. maincolor = BrickColor.random()
  2103. tecks2.TextColor3 = maincolor.Color
  2104. tecks2.TextStrokeColor3 = maincolor.Color
  2105. MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-15,15),-3,Mrandom(-15,15)) * angles(Rad(90 + Mrandom(-25, 25)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,Mrandom(1,2))
  2106. end
  2107. if Planetary == true then
  2108. MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-25,25),-3,Mrandom(-25,25)) * angles(Rad(90 + Mrandom(-15, 15)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,2)
  2109. end
  2110. sine = sine + change
  2111. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2112. local velderp = root.Velocity.y
  2113. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  2114. if equipped == true or equipped == false then
  2115. if attack == false then
  2116. idle = idle + 1
  2117. else
  2118. idle = 0
  2119. end
  2120. if 1 < root.Velocity.y and hitfloor == nil then
  2121. Anim = "Jump"
  2122. change = 1
  2123. if attack == false then
  2124. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  2125. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  2126. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3)
  2127. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3)
  2128. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2129. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  2130. end
  2131. elseif -1 > root.Velocity.y and hitfloor == nil then
  2132. Anim = "Fall"
  2133. change = 1
  2134. if attack == false then
  2135. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  2136. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  2137. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3)
  2138. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3)
  2139. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2140. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  2141. end
  2142. elseif torvel < 1 and hitfloor ~= nil then
  2143. Anim = "Idle"
  2144. change = 1
  2145. if attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2146. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2147. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2148. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  2149. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2150. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1)
  2151. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-5 + 2.5 * Sin(sine / 20))), 0.1)
  2152. elseif attack == false and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2153. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2154. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2155. if Mrandom(1,15) == 1 then
  2156. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  2157. end
  2158. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(10)), 0.15)
  2159. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
  2160. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
  2161. LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
  2162. elseif attack == false and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2163. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2164. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2165. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2166. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2167. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1)
  2168. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
  2169. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2170. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(85)), 0.15)
  2171. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3)
  2172. RH.C0 = clerp(RH.C0, CF(.6, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-70), Rad(0), Rad(0)), 0.15)
  2173. LH.C0 = clerp(LH.C0, CF(-1, -0.7 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5), Rad(0), Rad(0)), 0.15)
  2174. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  2175. LW.C0 = clerp(LW.C0, CF(-1, 0.3 + 0.05 * Sin(sine / 20), .4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  2176. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then
  2177. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
  2178. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2179. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15)
  2180. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15)
  2181. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
  2182. LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  2183. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then
  2184. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
  2185. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3)
  2186. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2187. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  2188. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1)
  2189. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  2190. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then
  2191. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2192. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
  2193. if math.random(1,1) == 1 then
  2194. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
  2195. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
  2196. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  2197. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  2198. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15)
  2199. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15)
  2200. end
  2201. for i, v in pairs(ArmourParts) do
  2202. v.BrickColor = BrickColor.random()
  2203. end
  2204. for i, v in pairs(ArmourParts2) do
  2205. v.BrickColor = BrickColor.random()
  2206. end
  2207. for i, v in pairs(NeonParts) do
  2208. v.BrickColor = BrickColor.random()
  2209. end
  2210. maincolor = BrickColor.random()
  2211. tecks2.TextColor3 = maincolor.Color
  2212. tecks2.TextStrokeColor3 = maincolor.Color
  2213. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2214. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  2215. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
  2216. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2217. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then
  2218. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2219. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2220. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2221. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  2222. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
  2223. LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  2224. end
  2225. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2226. Anim = "Walk"
  2227. change = .6
  2228. if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  2229. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  2230. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2231. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2232. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2233. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  2234. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  2235. elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
  2236. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.15)
  2237. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2238. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2239. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  2240. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
  2241. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
  2242. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
  2243. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15)
  2244. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2245. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  2246. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2247. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  2248. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  2249. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
  2250. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2251. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
  2252. if math.random(1,1) == 1 then
  2253. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
  2254. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
  2255. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  2256. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  2257. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2258. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2259. end
  2260. for i, v in pairs(ArmourParts) do
  2261. v.BrickColor = BrickColor.random()
  2262. end
  2263. for i, v in pairs(ArmourParts2) do
  2264. v.BrickColor = BrickColor.random()
  2265. end
  2266. for i, v in pairs(NeonParts) do
  2267. v.BrickColor = BrickColor.random()
  2268. end
  2269. maincolor = BrickColor.random()
  2270. tecks2.TextColor3 = maincolor.Color
  2271. tecks2.TextStrokeColor3 = maincolor.Color
  2272. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2273. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  2274. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
  2275. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2276. elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  2277. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  2278. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2279. if Mrandom(1,15) == 1 then
  2280. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  2281. end
  2282. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2283. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2284. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
  2285. LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
  2286. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
  2287. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  2288. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2289. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2290. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  2291. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2292. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2293. end
  2294. elseif torvel >= 25 and hitfloor ~= nil then
  2295. Anim = "Sprint"
  2296. change = 1.35
  2297. if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  2298. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  2299. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2300. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2301. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2302. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2303. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  2304. elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
  2305. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  2306. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2307. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-34 + 2.5 * Sin(sine / 20))), 0.15)
  2308. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(34 + 2.5 * Sin(sine / 20))), 0.15)
  2309. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
  2310. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
  2311. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
  2312. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(0)), 0.15)
  2313. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2314. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-35 + 3 * Sin(sine / 20))), 0.15)
  2315. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5 + 3 * Sin(sine / 20)), Rad(0), Rad(35 + 3 * Sin(sine / 20))), 0.15)
  2316. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(-10 * Cos(sine / 20)), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2317. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(10 * Cos(sine / 20)), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2318. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
  2319. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
  2320. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  2321. if math.random(1,1) == 1 then
  2322. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  2323. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25))), 1)
  2324. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  2325. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  2326. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  2327. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  2328. end
  2329. for i, v in pairs(ArmourParts) do
  2330. v.BrickColor = BrickColor.random()
  2331. end
  2332. for i, v in pairs(ArmourParts2) do
  2333. v.BrickColor = BrickColor.random()
  2334. end
  2335. for i, v in pairs(NeonParts) do
  2336. v.BrickColor = BrickColor.random()
  2337. end
  2338. maincolor = BrickColor.random()
  2339. tecks2.TextColor3 = maincolor.Color
  2340. tecks2.TextStrokeColor3 = maincolor.Color
  2341. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2342. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(16)), 0.15)
  2343. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(10), Rad(10), Rad(15)), 0.1)
  2344. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(-15)), 0.1)
  2345. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
  2346. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15)
  2347. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2348. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2349. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  2350. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-15 - 2.5 * Sin(sine / 20))), 0.1)
  2351. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
  2352. end
  2353. end
  2354. end
  2355. if 0 < #Effects then
  2356. for e = 1, #Effects do
  2357. if Effects[e] ~= nil then
  2358. local Thing = Effects[e]
  2359. if Thing ~= nil then
  2360. local Mode = Thing[2]
  2361. local Delay = Thing[3]
  2362. local IncX = Thing[4]
  2363. local IncY = Thing[5]
  2364. local IncZ = Thing[6]
  2365. if 1 >= Thing[1].Transparency then
  2366. if Thing[2] == "Block1" then
  2367. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2368. local Mesh = Thing[1].Mesh
  2369. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2370. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2371. elseif Thing[2] == "Block2" then
  2372. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2373. local Mesh = Thing[7]
  2374. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2375. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2376. elseif Thing[2] == "Block3" then
  2377. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2378. local Mesh = Thing[7]
  2379. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2380. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2381. elseif Thing[2] == "Cylinder" then
  2382. local Mesh = Thing[1].Mesh
  2383. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2384. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2385. elseif Thing[2] == "Blood" then
  2386. local Mesh = Thing[7]
  2387. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2388. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2389. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2390. elseif Thing[2] == "Elec" then
  2391. local Mesh = Thing[1].Mesh
  2392. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2393. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2394. elseif Thing[2] == "Disappear" then
  2395. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2396. elseif Thing[2] == "Shatter" then
  2397. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2398. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2399. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2400. Thing[6] = Thing[6] + Thing[5]
  2401. end
  2402. else
  2403. Part.Parent = nil
  2404. table.remove(Effects, e)
  2405. end
  2406. end
  2407. end
  2408. end
  2409. end
  2410. end
  2411. -------------------------------------------------------
  2412. --End Animations And Script--
  2413. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement