Advertisement
pakin2549

Untitled

Dec 18th, 2018
125
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. local all, last = {}, nil
  1075. ArmourParts = {}
  1076. ArmourParts2 = {}
  1077. NeonParts = {}
  1078. function scan(p)
  1079. for _, v in pairs(p:GetChildren()) do
  1080. if v:IsA("BasePart") then
  1081. if v.BrickColor == BrickColor.new("Smoky grey") then
  1082. table.insert(ArmourParts, v)
  1083. end
  1084. if v.BrickColor == BrickColor.new("Fossil") then
  1085. table.insert(ArmourParts2, v)
  1086. end
  1087. if v.BrickColor == BrickColor.new("Institutional white") then
  1088. table.insert(NeonParts, v)
  1089. end
  1090. if last then
  1091. local w = Instance.new("Weld")
  1092. w.Part0, w.Part1 = last, v
  1093. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  1094. w.Parent = last
  1095. end
  1096. table.insert(all, v)
  1097. last = v
  1098. end
  1099. scan(v)
  1100. end
  1101. end
  1102. scan(Gunty)
  1103. for _, v in pairs(all) do
  1104. v.Anchored = false
  1105. v.CanCollide = false
  1106. end
  1107. function resetmode()
  1108. for i, v in pairs(ArmourParts) do
  1109. v.BrickColor = BrickColor.new("Smoky grey")
  1110. end
  1111. for i, v in pairs(ArmourParts2) do
  1112. v.BrickColor = BrickColor.new("Fossil")
  1113. end
  1114. for i, v in pairs(NeonParts) do
  1115. v.BrickColor = BrickColor.new("Institutional white")
  1116. end
  1117. maincolor = BrickColor.new("Institutional white")
  1118. end
  1119. -------------------------------------------------------
  1120. --Start Music Option--
  1121. -------------------------------------------------------
  1122. local Music = Instance.new("Sound",hed)
  1123. Music.Volume = 7.5
  1124. Music.SoundId = "rbxassetid://303536628"
  1125. Music.Looped = true
  1126. Music.Pitch = 1 --Pitcher
  1127. Music:Play()
  1128. -------------------------------------------------------
  1129. --End Music Option--
  1130. -------------------------------------------------------
  1131.  
  1132. local naeeym2 = Instance.new("BillboardGui",char)
  1133. naeeym2.AlwaysOnTop = true
  1134. naeeym2.Size = UDim2.new(5,35,2,35)
  1135. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1136. naeeym2.Adornee = hed
  1137. naeeym2.Name = "Name"
  1138.  
  1139. local tecks2 = Instance.new("TextLabel",naeeym2)
  1140. tecks2.BackgroundTransparency = 1
  1141. tecks2.TextScaled = true
  1142. tecks2.BorderSizePixel = 0
  1143. tecks2.Text = "Mask rider Drive"
  1144. tecks2.Font = "Code"
  1145. tecks2.TextSize = 30
  1146. tecks2.TextStrokeTransparency = 0
  1147. tecks2.TextColor3 = Color3.new(0,0,0)
  1148. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1149. tecks2.Size = UDim2.new(1,0,0.5,0)
  1150. tecks2.Parent = naeeym2
  1151.  
  1152. -------------------------------------------------------
  1153. --Start Attacks N Stuff--
  1154. -------------------------------------------------------
  1155. local sine=0
  1156. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1157. local Hitboxpart = Instance.new("Part", EffectModel)
  1158. RemoveOutlines(Hitboxpart)
  1159. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1160. Hitboxpart.CanCollide = false
  1161. Hitboxpart.Transparency = 1
  1162. Hitboxpart.Anchored = true
  1163. Hitboxpart.CFrame = Pose
  1164. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1165. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1166. end
  1167. wait2 = false
  1168. combo = 1
  1169. mouse.Button1Down:connect(function(key)
  1170. if attack == false then
  1171. attack = true
  1172. hum.WalkSpeed = 3.01
  1173. if combo == 1 and wait2 == false then
  1174. wait2 = true
  1175. for i = 0, 1.2, 0.1 do
  1176. swait()
  1177. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  1178. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  1179. 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)
  1180. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1181. 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)
  1182. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  1183. end
  1184. CreateSound("138097048", ra, 3, .8)
  1185. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1186. for i = 0, 1.2, 0.1 do
  1187. swait()
  1188. BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
  1189. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
  1190. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1191. 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)
  1192. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1193. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
  1194. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1195. end
  1196. combo = 2
  1197. end
  1198. if combo == 2 and wait2 == false then
  1199. wait2 = true
  1200. for i = 0, 1.2, 0.1 do
  1201. swait()
  1202. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
  1203. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1204. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  1205. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1206. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
  1207. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
  1208. end
  1209. CreateSound("138097048", rl, 3, 1)
  1210. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
  1211. for i = 0, 1.6, 0.1 do
  1212. swait()
  1213. 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)
  1214. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1215. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1)
  1216. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3)
  1217. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
  1218. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3)
  1219. end
  1220. combo = 3
  1221. end
  1222. if combo == 3 and wait2 == false then
  1223. for i = 0, 1.2, 0.1 do
  1224. swait()
  1225. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  1226. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  1227. 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)
  1228. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1229. 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)
  1230. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  1231. end
  1232. CreateSound("138097048", ra, 3, .8)
  1233. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1234. for i = 0, 1.2, 0.1 do
  1235. swait()
  1236. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
  1237. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1238. 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)
  1239. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1240. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  1241. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1242. end
  1243. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03)
  1244. Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1245. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1246. for i = 0, 1.2, 0.1 do
  1247. swait()
  1248. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
  1249. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1250. 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)
  1251. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1252. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  1253. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1254. end
  1255. combo = 1
  1256. end
  1257. hum.WalkSpeed = 8
  1258. wait2 = false
  1259. attack = false
  1260. end
  1261. end)
  1262. function Decapitate()
  1263. local target = nil
  1264. local targettorso = nil
  1265. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1266. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1267. target = mouse.Target.Parent.Humanoid
  1268. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1269. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1270. end
  1271. end
  1272. if target ~= nil then
  1273. targettorso.Anchored = true
  1274. attack = true
  1275. hum.WalkSpeed = 0
  1276. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  1277. for i = 0,4.2,0.1 do
  1278. swait()
  1279. 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)
  1280. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  1281. 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)
  1282. 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)
  1283. 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)
  1284. 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)
  1285. end
  1286. local ModelHead01 = New("Model", char, "", {})
  1287. local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
  1288. local Head01 = targethead:Clone()
  1289. targethead.Transparency = 1
  1290. Head01.Parent = ModelHead01
  1291. local weldHead01 = Instance.new("Weld")
  1292. weldHead01.Parent = Head01
  1293. weldHead01.Part0 = targethead
  1294. weldHead01.Part1 = Head01
  1295. weldHead01.C1 = CFrame.new(0, 0, 0)
  1296. targethead.face:Remove()
  1297. weldHead01.Part0 = ra
  1298. weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1299. targettorso:BreakJoints()
  1300. CreateSound("314390675", targettorso, 5, .7)
  1301. for i = 0,3.2,0.1 do
  1302. swait()
  1303. 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)
  1304. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1305. 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)
  1306. 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)
  1307. 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)
  1308. 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)
  1309. end
  1310. for i = 0,4.2,0.1 do
  1311. swait()
  1312. 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)
  1313. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  1314. 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)
  1315. 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)
  1316. 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)
  1317. 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)
  1318. end
  1319. CreateSound("541909763", targettorso, 5, .8)
  1320. weldHead01:Destroy()
  1321. Head01.CanCollide = true
  1322. local bodyVelocity2 = Create("BodyVelocity")({
  1323. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  1324. P = 5000,
  1325. maxForce = Vector3.new(8000, 8000, 8000),
  1326. Parent = Head01
  1327. })
  1328. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1329. for i = 0,6.2,0.1 do
  1330. swait()
  1331. 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)
  1332. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  1333. 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)
  1334. 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)
  1335. 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)
  1336. 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)
  1337. end
  1338. targettorso.Anchored = false
  1339. attack = false
  1340. hum.WalkSpeed = 8
  1341. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  1342. end
  1343. end
  1344. function Laugh()
  1345. attack = true
  1346. hum.WalkSpeed = 0
  1347. CreateSound("300208779", hed, 10, 1)
  1348. for i = 0,9,0.1 do
  1349. swait()
  1350. 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)
  1351. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
  1352. if Mrandom(1,15) == 1 then
  1353. 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)
  1354. end
  1355. 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)
  1356. 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)
  1357. 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)
  1358. 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)
  1359. end
  1360. attack = false
  1361. hum.WalkSpeed = 10
  1362. end
  1363. function Flying_Kick()
  1364. attack = true
  1365. hum.WalkSpeed = 0
  1366. for i = 0,2.7,0.1 do
  1367. swait()
  1368. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1369. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1370. 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)
  1371. 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)
  1372. 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)
  1373. 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)
  1374. end
  1375. local bodyVelocity = Create("BodyVelocity")({
  1376. velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250,
  1377. P = 5000,
  1378. maxForce = Vector3.new(9e99, 9e99, 9e99),
  1379. Parent = root
  1380. })
  1381. game:GetService("Debris"):AddItem(bodyVelocity, 0.05)
  1382. CreateSound("138097048", rl, 3, 1)
  1383. for i = 0,2.1,0.1 do
  1384. swait()
  1385. HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
  1386. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15)
  1387. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1388. 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)
  1389. 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)
  1390. 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)
  1391. 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)
  1392. end
  1393. attack = false
  1394. hum.WalkSpeed = 8
  1395. end
  1396. function UpperCut()
  1397. attack = true
  1398. hum.WalkSpeed = 0
  1399. for i = 0,2.3,0.1 do
  1400. swait()
  1401. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1402. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  1403. 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)
  1404. 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)
  1405. 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)
  1406. 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)
  1407. end
  1408. CreateSound("138097048", ra, 3, .8)
  1409. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
  1410. for i = 0,2.8,0.1 do
  1411. swait()
  1412. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15)
  1413. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1414. 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)
  1415. 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)
  1416. 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)
  1417. 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)
  1418. end
  1419. attack = false
  1420. hum.WalkSpeed = 8
  1421. end
  1422. function Spinning_Kick()
  1423. attack = true
  1424. hum.WalkSpeed = 3.01
  1425. for i = 0, 1.2, 0.1 do
  1426. swait()
  1427. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
  1428. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1429. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  1430. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1431. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
  1432. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
  1433. end
  1434. for i = 0, 4.6, 0.1 do
  1435. swait()
  1436. CreateSound("138097048", rl, 3, 1)
  1437. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
  1438. 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)
  1439. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1440. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1)
  1441. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3)
  1442. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
  1443. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3)
  1444. end
  1445. attack = false
  1446. hum.WalkSpeed = 8
  1447. end
  1448. function Beam_Of_Light()
  1449.  
  1450. end
  1451. function Blast_Of_God()
  1452. attack = true
  1453. hum.WalkSpeed = 3.01
  1454. for i = 0,6.3,0.1 do
  1455. swait()
  1456. Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1457. 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)
  1458. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  1459. 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)
  1460. 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)
  1461. 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)
  1462. 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)
  1463. end
  1464. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  1465. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
  1466. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  1467. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  1468. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1469. 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)
  1470. CreateSound("142070127", tors, 10, 1)
  1471. MagniDamage(ra, 12, 40, 60, 10, "Normal")
  1472. for i = 0,2.6,0.1 do
  1473. swait()
  1474. 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)
  1475. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  1476. 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)
  1477. 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)
  1478. 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)
  1479. 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)
  1480. end
  1481. attack = false
  1482. hum.WalkSpeed = 8
  1483. end
  1484. function Diablo_Explosion()
  1485. attack = true
  1486. hum.WalkSpeed = 3.01
  1487. for i = 0,6.3,0.1 do
  1488. swait()
  1489. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1490. Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1491. 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)
  1492. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1493. 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)
  1494. 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)
  1495. 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)
  1496. 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)
  1497. end
  1498. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05)
  1499. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03)
  1500. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05)
  1501. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05)
  1502. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1503. Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  1504. CreateSound("142070127", tors, 10, 1)
  1505. MagniDamage(tors, 12, 34, 54, 10, "DarkUp")
  1506. for i = 0,4.6,0.1 do
  1507. 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)
  1508. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1509. 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)
  1510. 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)
  1511. 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)
  1512. 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)
  1513. end
  1514. wait(.6)
  1515. attack = false
  1516. hum.WalkSpeed = 8
  1517. end
  1518. function Hell_From_Above()
  1519. 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,})
  1520. attack = true
  1521. hum.WalkSpeed = 3.01
  1522. for i = 0,6.3,0.1 do
  1523. swait()
  1524. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1525. 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)
  1526. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1527. 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)
  1528. 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)
  1529. 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)
  1530. 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)
  1531. end
  1532. CreateSound("142070127", tors, 10, 1)
  1533. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1534. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1535. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1536. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1537. for i = 0,3.8,0.1 do
  1538. swait()
  1539. 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)
  1540. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1541. 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)
  1542. 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)
  1543. 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)
  1544. 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)
  1545. end
  1546. CreateSound("224339201", tors, 10, 0.5)
  1547. for i = 1, 3 do
  1548. MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp")
  1549. UhhhhThing.CFrame = mouse.Hit
  1550. Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
  1551. Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
  1552. end
  1553. UhhhhThing:Destroy()
  1554. attack = false
  1555. hum.WalkSpeed = 8
  1556. end
  1557. function Spinning_Below()
  1558. attack = true
  1559. hum.WalkSpeed = 3.01
  1560. CreateSound("649634100", tors, 10, 0.5)
  1561. for i = 0,6.3,0.1 do
  1562. swait()
  1563. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1564. Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1565. 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)
  1566. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1567. 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)
  1568. 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)
  1569. 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)
  1570. 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)
  1571. end
  1572. attack = false
  1573. hum.WalkSpeed = 8
  1574. end
  1575. function Purity_Slam()
  1576. attack = true
  1577. for i = 0,5.2,0.1 do
  1578. swait()
  1579. 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)
  1580. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1581. 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)
  1582. 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)
  1583. 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)
  1584. 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)
  1585. end
  1586. CreateSound("331666100", tors, 10, 1)
  1587. 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)
  1588. 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)
  1589. 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)
  1590. 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)
  1591. MagniDamage(tors, 12, 40, 60, 10, "Normal")
  1592. coroutine.resume(coroutine.create(function()
  1593. for i = 0,1.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 = 1,4.7,0.1 do
  1603. 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)
  1604. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1605. 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)
  1606. 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)
  1607. 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)
  1608. 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)
  1609. end
  1610. wait(.6)
  1611. attack = false
  1612. end
  1613. function Painful_Stomp()
  1614. attack = true
  1615. for i = 0,5.2,0.1 do
  1616. swait()
  1617. 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)
  1618. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1619. 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)
  1620. 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)
  1621. 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)
  1622. 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)
  1623. end
  1624. CreateSound("331666100", char, 10, 1)
  1625. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1626. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1627. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1628. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1629. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  1630. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  1631. 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)
  1632. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  1633. if v:FindFirstChild("Head") then
  1634. Eviscerate(v)
  1635. end
  1636. end
  1637. coroutine.resume(coroutine.create(function()
  1638. for i = 0,2.8,0.1 do
  1639. swait()
  1640. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1641. end
  1642. for i = 0,1.8,0.1 do
  1643. swait()
  1644. hum.CameraOffset = Vector3.new(0,0,0)
  1645. end
  1646. end))
  1647. for i = 0,3.7,0.1 do
  1648. 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)
  1649. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1650. 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)
  1651. 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)
  1652. 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)
  1653. 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)
  1654. end
  1655. wait(.6)
  1656. attack = false
  1657. end
  1658. function Ending()
  1659. local target = nil
  1660. local targettorso = nil
  1661. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1662. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1663. targetT = mouse.Target.Parent
  1664. target = mouse.Target.Parent.Humanoid
  1665. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1666. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1667. end
  1668. end
  1669. if target ~= nil then
  1670. targettorso.Anchored = true
  1671. attack = true
  1672. hum.WalkSpeed = 0
  1673. local originalpos = root.CFrame
  1674. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  1675. for i = 0,1.8,0.1 do
  1676. swait()
  1677. 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)
  1678. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
  1679. 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)
  1680. 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)
  1681. 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)
  1682. 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)
  1683. end
  1684. Eviscerate(targetT)
  1685. CreateSound("331666100", ra, 4, 1)
  1686. CreateSound("180083286", targettorso, 10, 1)
  1687. coroutine.resume(coroutine.create(function()
  1688. for i = 0,1.8,0.1 do
  1689. swait()
  1690. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1691. end
  1692. for i = 0,1.8,0.1 do
  1693. swait()
  1694. hum.CameraOffset = Vector3.new(0,0,0)
  1695. end
  1696. end))
  1697. for i = 0,4.6,0.1 do
  1698. 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)
  1699. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1700. 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)
  1701. 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)
  1702. 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)
  1703. 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)
  1704. end
  1705. wait(.6)
  1706. root.CFrame = originalpos
  1707. attack = false
  1708. hum.WalkSpeed = 8
  1709. end
  1710. end
  1711.  
  1712. --[[I don't take ANY credit for this attack,
  1713. this was all nooby's hard work and the only reason i uhhh "used" it
  1714. is cause I i didn't have attack ideas at the time so yeah,
  1715. 100% nooby's credit <3]]
  1716. function Ende_der_Weld()
  1717. attack = true
  1718. hum.WalkSpeed = 0
  1719. for i = 0,4.6,0.1 do
  1720. swait()
  1721. 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)
  1722. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1723. 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)
  1724. 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)
  1725. 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)
  1726. 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)
  1727. end
  1728. local a = Instance.new("Part",char)
  1729. a.BrickColor = BrickColor.random()
  1730. a.Name = "Lazer"
  1731. a.Anchored = true
  1732. a.Material = "Neon"
  1733. a.Transparency = 1
  1734. a.CanCollide = false
  1735. local hitbox = Instance.new("Part",char)
  1736. hitbox.Size = Vector3.new(5,5,5)
  1737. hitbox.CFrame = mouse.hit
  1738. hitbox.Anchored = true
  1739. hitbox.Transparency = 1
  1740. hitbox.CanCollide = false
  1741. local ray = Ray.new(
  1742. ra.CFrame.p, -- origin
  1743. (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction
  1744. )
  1745. local ignore = char
  1746. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1747. if hit then
  1748. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1749.  
  1750. if not humanoid then
  1751. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1752. end
  1753. if humanoid then
  1754. if humanoid.Parent:IsA"Model" then
  1755. end
  1756. end
  1757. end
  1758. a.BottomSurface = 10
  1759. a.TopSurface = 10
  1760. local distance = (ra.CFrame.p - position).magnitude
  1761. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1762. a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0)
  1763. game:GetService("Debris"):AddItem(a, 5)
  1764. game:GetService("Debris"):AddItem(hitbox, 1)
  1765. local newmesh = Instance.new("BlockMesh",a)
  1766. MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025)
  1767. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1)
  1768. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2)
  1769. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1)
  1770. local lbs = Instance.new("Part")
  1771. lbs.Parent = char
  1772. CreateSound("929619479", lbs, 10, 1)
  1773. lbs.Material = "Neon"
  1774. lbs.Color = BrickColor.Random().Color
  1775. lbs.CanCollide = false
  1776. lbs.Shape = "Ball"
  1777. lbs.Anchored = true
  1778. lbs.Transparency = 0
  1779. lbs.Size = Vector3.new(20,20,20)
  1780. lbs.CFrame = a.CFrame
  1781. local thing = Instance.new("SpecialMesh",lbs)
  1782. thing.MeshType = "Sphere"
  1783. lbs.Anchored = false
  1784. local bvs = Instance.new("BodyVelocity")
  1785. bvs.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1786. bvs.velocity = a.CFrame.lookVector*75
  1787. bvs.Parent = lbs
  1788. lbs.Touched:connect(function(hit)
  1789. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  1790. end)
  1791. attack = false
  1792. game:GetService("Debris"):AddItem(lbs, 10)
  1793. for x = 0, 4 do
  1794. local bulletgos = IT("Model",char)
  1795. local bulletgos2 = IT("Model",char)
  1796. for z = 0, 24 do
  1797. local lb = Instance.new("Part")
  1798. lb.Parent = bulletgos
  1799. lb.Material = "Neon"
  1800. lb.Color = BrickColor.Random().Color
  1801. lb.CanCollide = false
  1802. lb.Anchored = true
  1803. lb.Transparency = 0
  1804. lb.Size = Vector3.new(2,2,2)
  1805. local thing = Instance.new("SpecialMesh",lb)
  1806. thing.MeshType = "Sphere"
  1807. thing.Scale = Vector3.new(0.5,0.5,1.5)
  1808. lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1809. lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15
  1810. local lb2 = Instance.new("Part")
  1811. lb2.Parent = bulletgos2
  1812. lb2.Material = "Neon"
  1813. lb2.Color = lb.Color
  1814. lb2.CanCollide = false
  1815. lb2.Anchored = true
  1816. lb2.Transparency = 0
  1817. lb2.Size = Vector3.new(2,2,2)
  1818. lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1819. lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15
  1820. local thing2 = Instance.new("SpecialMesh",lb2)
  1821. thing2.MeshType = "Sphere"
  1822. thing2.Scale = Vector3.new(0.5,0.5,1.5)
  1823. lb.Touched:connect(function(hit)
  1824. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  1825. end)
  1826. lb2.Touched:connect(function(hit)
  1827. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  1828. end)
  1829. end
  1830. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  1831. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  1832. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  1833. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  1834. CreateSound("925629856", lbs, 5, 1)
  1835. game:GetService("Debris"):AddItem(bulletgos, 7)
  1836. game:GetService("Debris"):AddItem(bulletgos2, 7)
  1837. for i,v in pairs(bulletgos:children()) do
  1838. if v:IsA("Part") then
  1839. v.Anchored = false
  1840. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  1841. local bv = Instance.new("BodyVelocity")
  1842. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1843. bv.velocity = v.CFrame.lookVector*25
  1844. bv.Parent = v
  1845. game:GetService("Debris"):AddItem(v, 5)
  1846. end
  1847. end
  1848. for i,v in pairs(bulletgos2:children()) do
  1849. if v:IsA("Part") then
  1850. v.Anchored = false
  1851. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  1852. local bv = Instance.new("BodyVelocity")
  1853. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1854. bv.velocity = v.CFrame.lookVector*-25
  1855. bv.Parent = v
  1856. game:GetService("Debris"):AddItem(v, 5)
  1857. end
  1858. end
  1859. wait(1)
  1860. end
  1861. attack = false
  1862. hum.WalkSpeed = 8
  1863. end
  1864. -------------------------------------------------------
  1865. --End Attacks N Stuff--
  1866. -------------------------------------------------------
  1867. mouse.KeyDown:connect(function(key)
  1868. if string.byte(key) == 48 then
  1869. Swing = 2
  1870. hum.WalkSpeed = 38.82
  1871. end
  1872. end)
  1873. mouse.KeyUp:connect(function(key)
  1874. if string.byte(key) == 48 then
  1875. Swing = 1
  1876. hum.WalkSpeed = 8
  1877. end
  1878. end)
  1879. mouse.KeyDown:connect(function(key)
  1880. if attack == false then
  1881. 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
  1882. EdgyMode = true
  1883. tecks2.Text = "Edgy"
  1884. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1885. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  1886. for i, v in pairs(ArmourParts) do
  1887. v.BrickColor = BrickColor.new("Black")
  1888. end
  1889. for i, v in pairs(ArmourParts2) do
  1890. v.BrickColor = BrickColor.new("Really black")
  1891. end
  1892. for i, v in pairs(NeonParts) do
  1893. v.BrickColor = BrickColor.new("Royal purple")
  1894. end
  1895. maincolor = BrickColor.new("Royal purple")
  1896. Music.SoundId = "rbxassetid://1470848774"
  1897. Music.Parent = tors
  1898. Music:Play()
  1899. 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
  1900. EdgyMode = false
  1901. tecks2.Text = "Neutral"
  1902. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1903. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1904. resetmode()
  1905. Music.SoundId = "rbxassetid://1117396305"
  1906. Music.Parent = tors
  1907. Music:Play()
  1908. 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
  1909. Divinity = true
  1910. tecks2.Text = "Divinity"
  1911. tecks2.TextColor3 = Color3.new(1, 1, 1)
  1912. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  1913. for i, v in pairs(ArmourParts) do
  1914. v.BrickColor = BrickColor.new("Institutional white")
  1915. end
  1916. for i, v in pairs(ArmourParts2) do
  1917. v.BrickColor = BrickColor.new("White")
  1918. end
  1919. for i, v in pairs(NeonParts) do
  1920. v.BrickColor = BrickColor.new("New Yeller")
  1921. end
  1922. maincolor = BrickColor.new("New Yeller")
  1923. Music.SoundId = "rbxassetid://595800581"
  1924. Music.Parent = tors
  1925. Music:Play()
  1926. 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
  1927. Divinity = false
  1928. tecks2.Text = "Neutral"
  1929. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1930. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1931. resetmode()
  1932. Music.SoundId = "rbxassetid://1117396305"
  1933. Music.Parent = tors
  1934. Music:Play()
  1935. 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
  1936. Fighter = true
  1937. tecks2.Text = "Drive"
  1938. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1939. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  1940. for i, v in pairs(ArmourParts) do
  1941. v.BrickColor = BrickColor.new("Black")
  1942. end
  1943. for i, v in pairs(ArmourParts2) do
  1944. v.BrickColor = BrickColor.new("Really black")
  1945. end
  1946. for i, v in pairs(NeonParts) do
  1947. v.BrickColor = BrickColor.new("Institutional white")
  1948. end
  1949. maincolor = BrickColor.new("Institutional white")
  1950. Music.SoundId = "rbxassetid://303536628"
  1951. Music.Parent = tors
  1952. Music:Play()
  1953. 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
  1954. Fighter = false
  1955. tecks2.Text = "Neutral"
  1956. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1957. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1958. resetmode()
  1959. Music.SoundId = "rbxassetid://1117396305"
  1960. Music.Parent = tors
  1961. Music:Play()
  1962. 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
  1963. Purity = true
  1964. tecks2.Text = "Purity"
  1965. tecks2.TextColor3 = Color3.new(1, 1, 1)
  1966. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255)
  1967. for i, v in pairs(ArmourParts) do
  1968. v.BrickColor = BrickColor.new("Institutional white")
  1969. end
  1970. for i, v in pairs(ArmourParts2) do
  1971. v.BrickColor = BrickColor.new("Institutional white")
  1972. end
  1973. for i, v in pairs(NeonParts) do
  1974. v.BrickColor = BrickColor.new("Toothpaste")
  1975. end
  1976. maincolor = BrickColor.new("Toothpaste")
  1977. Music.SoundId = "rbxassetid://553751015"
  1978. Music.Parent = tors
  1979. Music:Play()
  1980. 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
  1981. Purity = false
  1982. tecks2.Text = "Neutral"
  1983. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1984. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1985. resetmode()
  1986. Music.SoundId = "rbxassetid://1117396305"
  1987. Music.Parent = tors
  1988. Music:Play()
  1989. 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
  1990. Destruction = true
  1991. tecks2.Text = "Destruction"
  1992. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1993. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  1994. for i, v in pairs(ArmourParts) do
  1995. v.BrickColor = BrickColor.new("Really black")
  1996. end
  1997. for i, v in pairs(ArmourParts2) do
  1998. v.BrickColor = BrickColor.new("Black")
  1999. end
  2000. for i, v in pairs(NeonParts) do
  2001. v.BrickColor = BrickColor.new("Really red")
  2002. end
  2003. maincolor = BrickColor.new("Really red")
  2004. Music.SoundId = "rbxassetid://613361202"
  2005. Music.Parent = tors
  2006. Music:Play()
  2007. 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
  2008. Destruction = false
  2009. tecks2.Text = "Neutral"
  2010. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2011. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2012. resetmode()
  2013. Music.SoundId = "rbxassetid://1117396305"
  2014. Music.Parent = tors
  2015. Music:Play()
  2016. 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
  2017. helpme = true
  2018. tecks2.Text = "iNsAnItY"
  2019. Music.SoundId = "rbxassetid://460874877"
  2020. Music.Parent = tors
  2021. Music:Play()
  2022. 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
  2023. helpme = false
  2024. tecks2.Text = "Neutral"
  2025. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2026. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2027. resetmode()
  2028. Music.SoundId = "rbxassetid://1117396305"
  2029. Music.Parent = tors
  2030. Music:Play()
  2031. elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1 then
  2032. tecks2.TextTransparency = 0
  2033. tecks2.TextStrokeTransparency = 0
  2034. elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0 then
  2035. tecks2.TextTransparency = 1
  2036. tecks2.TextStrokeTransparency = 1
  2037. 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
  2038. Planetary = true
  2039. tecks2.Text = "Planetary"
  2040. tecks2.TextColor3 = Color3.fromRGB(61, 21, 133)
  2041. tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133)
  2042. for i, v in pairs(ArmourParts) do
  2043. v.BrickColor = BrickColor.new("Dark indigo")
  2044. end
  2045. for i, v in pairs(ArmourParts2) do
  2046. v.BrickColor = BrickColor.new("Dark indigo")
  2047. end
  2048. for i, v in pairs(NeonParts) do
  2049. v.BrickColor = BrickColor.new("Dark indigo")
  2050. end
  2051. maincolor = BrickColor.new("Dark indigo")
  2052. Music.SoundId = "rbxassetid://609934004"
  2053. Music.Parent = tors
  2054. Music:Play()
  2055. 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
  2056. Planetary = false
  2057. tecks2.Text = "Neutral"
  2058. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2059. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2060. resetmode()
  2061. Music.SoundId = "rbxassetid://1117396305"
  2062. Music.Parent = tors
  2063. Music:Play()
  2064. end
  2065. end
  2066. end)
  2067. mouse.KeyDown:connect(function(key)
  2068. if attack == false then
  2069. if EdgyMode == true then
  2070. if key == 'r' then
  2071. Decapitate()
  2072. elseif key == 'e' then
  2073. Laugh()
  2074. end
  2075. end
  2076. if Divinity == true then
  2077. if key == 'r' then
  2078. Beam_Of_Light()
  2079. elseif key == 'f' then
  2080. Blast_Of_God()
  2081. end
  2082. end
  2083. if Fighter == true then
  2084. if key == 'e' then
  2085. Flying_Kick()
  2086. elseif key == 'f' then
  2087. UpperCut()
  2088. elseif key == 't' then
  2089. Spinning_Kick()
  2090. end
  2091. end
  2092. if Purity == true then
  2093. if key == 'r' then
  2094. Purity_Slam()
  2095. end
  2096. end
  2097. if Destruction == true then
  2098. if key == 'r' then
  2099. Diablo_Explosion()
  2100. elseif key == 'f' then
  2101. Hell_From_Above()
  2102. elseif key == 't' then
  2103. Spinning_Below()
  2104. end
  2105. end
  2106. if helpme == true then
  2107. if key == 'r' then
  2108. Painful_Stomp()
  2109. elseif key == 'f' then
  2110. Ending()
  2111. elseif key == 't' then
  2112. Ende_der_Weld()
  2113. end
  2114. end
  2115. end
  2116. end)
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123. -------------------------------------------------------
  2124. --Start Animations--
  2125. -------------------------------------------------------
  2126. local equipped = false
  2127. local idle = 0
  2128. local change = 1
  2129. local val = 0
  2130. local toim = 0
  2131. local idleanim = 0.4
  2132. hum.WalkSpeed = 8
  2133. hum.Animator.Parent = nil
  2134. while true do
  2135. swait()
  2136. Music.Parent = char
  2137. if helpme == true then
  2138. for i, v in pairs(ArmourParts) do
  2139. v.BrickColor = BrickColor.random()
  2140. end
  2141. for i, v in pairs(ArmourParts2) do
  2142. v.BrickColor = BrickColor.random()
  2143. end
  2144. for i, v in pairs(NeonParts) do
  2145. v.BrickColor = BrickColor.random()
  2146. end
  2147. maincolor = BrickColor.random()
  2148. tecks2.TextColor3 = maincolor.Color
  2149. tecks2.TextStrokeColor3 = maincolor.Color
  2150. 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))
  2151. end
  2152. if Planetary == true then
  2153. 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)
  2154. end
  2155. sine = sine + change
  2156. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2157. local velderp = root.Velocity.y
  2158. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  2159. if equipped == true or equipped == false then
  2160. if attack == false then
  2161. idle = idle + 1
  2162. else
  2163. idle = 0
  2164. end
  2165. if 1 < root.Velocity.y and hitfloor == nil then
  2166. Anim = "Jump"
  2167. change = 1
  2168. if attack == false then
  2169. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  2170. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  2171. 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)
  2172. 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)
  2173. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2174. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  2175. end
  2176. elseif -1 > root.Velocity.y and hitfloor == nil then
  2177. Anim = "Fall"
  2178. change = 1
  2179. if attack == false then
  2180. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  2181. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  2182. 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)
  2183. 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)
  2184. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2185. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  2186. end
  2187. elseif torvel < 1 and hitfloor ~= nil then
  2188. Anim = "Idle"
  2189. change = 1
  2190. 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
  2191. 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)
  2192. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2193. 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)
  2194. 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)
  2195. 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)
  2196. 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)
  2197. 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
  2198. 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)
  2199. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2200. if Mrandom(1,15) == 1 then
  2201. 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)
  2202. end
  2203. 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)
  2204. 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)
  2205. 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)
  2206. 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)
  2207. 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
  2208. 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)
  2209. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2210. 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)
  2211. 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)
  2212. 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)
  2213. 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)
  2214. 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
  2215. 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)
  2216. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3)
  2217. 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)
  2218. 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)
  2219. 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)
  2220. 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)
  2221. 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
  2222. 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)
  2223. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2224. 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)
  2225. 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)
  2226. 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)
  2227. 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)
  2228. 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
  2229. 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)
  2230. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3)
  2231. 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)
  2232. 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)
  2233. 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)
  2234. 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)
  2235. 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
  2236. 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)
  2237. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
  2238. if math.random(1,1) == 1 then
  2239. 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)
  2240. 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)
  2241. 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)
  2242. 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)
  2243. 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)
  2244. 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)
  2245. end
  2246. for i, v in pairs(ArmourParts) do
  2247. v.BrickColor = BrickColor.random()
  2248. end
  2249. for i, v in pairs(ArmourParts2) do
  2250. v.BrickColor = BrickColor.random()
  2251. end
  2252. for i, v in pairs(NeonParts) do
  2253. v.BrickColor = BrickColor.random()
  2254. end
  2255. maincolor = BrickColor.random()
  2256. tecks2.TextColor3 = maincolor.Color
  2257. tecks2.TextStrokeColor3 = maincolor.Color
  2258. 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)
  2259. 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)
  2260. 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)
  2261. 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)
  2262. 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
  2263. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2264. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2265. 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)
  2266. 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)
  2267. 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)
  2268. 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)
  2269. end
  2270. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2271. Anim = "Walk"
  2272. change = .6
  2273. if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  2274. 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)
  2275. 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)
  2276. 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)
  2277. 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)
  2278. 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)
  2279. 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)
  2280. elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
  2281. 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)
  2282. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2283. 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)
  2284. 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)
  2285. 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)
  2286. 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)
  2287. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
  2288. 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)
  2289. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2290. 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)
  2291. 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)
  2292. 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)
  2293. 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)
  2294. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
  2295. 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)
  2296. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
  2297. if math.random(1,1) == 1 then
  2298. 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)
  2299. 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)
  2300. 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)
  2301. 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)
  2302. 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)
  2303. 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)
  2304. end
  2305. for i, v in pairs(ArmourParts) do
  2306. v.BrickColor = BrickColor.random()
  2307. end
  2308. for i, v in pairs(ArmourParts2) do
  2309. v.BrickColor = BrickColor.random()
  2310. end
  2311. for i, v in pairs(NeonParts) do
  2312. v.BrickColor = BrickColor.random()
  2313. end
  2314. maincolor = BrickColor.random()
  2315. tecks2.TextColor3 = maincolor.Color
  2316. tecks2.TextStrokeColor3 = maincolor.Color
  2317. 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)
  2318. 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)
  2319. 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)
  2320. 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)
  2321. elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  2322. 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)
  2323. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2324. if Mrandom(1,15) == 1 then
  2325. 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)
  2326. end
  2327. 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)
  2328. 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)
  2329. 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)
  2330. 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)
  2331. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
  2332. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  2333. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2334. 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)
  2335. 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)
  2336. 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)
  2337. 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)
  2338. end
  2339. elseif torvel >= 25 and hitfloor ~= nil then
  2340. Anim = "Sprint"
  2341. change = 1.35
  2342. if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  2343. 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)
  2344. 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)
  2345. 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)
  2346. 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)
  2347. 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)
  2348. 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)
  2349. elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
  2350. 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)
  2351. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2352. 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)
  2353. 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)
  2354. 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)
  2355. 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)
  2356. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
  2357. 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)
  2358. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2359. 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)
  2360. 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)
  2361. 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)
  2362. 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)
  2363. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
  2364. 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)
  2365. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  2366. if math.random(1,1) == 1 then
  2367. 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)
  2368. 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)
  2369. 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)
  2370. 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)
  2371. 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)
  2372. 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)
  2373. end
  2374. for i, v in pairs(ArmourParts) do
  2375. v.BrickColor = BrickColor.random()
  2376. end
  2377. for i, v in pairs(ArmourParts2) do
  2378. v.BrickColor = BrickColor.random()
  2379. end
  2380. for i, v in pairs(NeonParts) do
  2381. v.BrickColor = BrickColor.random()
  2382. end
  2383. maincolor = BrickColor.random()
  2384. tecks2.TextColor3 = maincolor.Color
  2385. tecks2.TextStrokeColor3 = maincolor.Color
  2386. 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)
  2387. 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)
  2388. 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)
  2389. 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)
  2390. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
  2391. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15)
  2392. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2393. 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)
  2394. 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)
  2395. 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)
  2396. 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)
  2397. end
  2398. end
  2399. end
  2400. if 0 < #Effects then
  2401. for e = 1, #Effects do
  2402. if Effects[e] ~= nil then
  2403. local Thing = Effects[e]
  2404. if Thing ~= nil then
  2405. local Part = Thing[1]
  2406. local Mode = Thing[2]
  2407. local Delay = Thing[3]
  2408. local IncX = Thing[4]
  2409. local IncY = Thing[5]
  2410. local IncZ = Thing[6]
  2411. if 1 >= Thing[1].Transparency then
  2412. if Thing[2] == "Block1" then
  2413. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2414. local Mesh = Thing[1].Mesh
  2415. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2416. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2417. elseif Thing[2] == "Block2" then
  2418. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2419. local Mesh = Thing[7]
  2420. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2421. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2422. elseif Thing[2] == "Block3" then
  2423. 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)
  2424. local Mesh = Thing[7]
  2425. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2426. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2427. elseif Thing[2] == "Cylinder" then
  2428. local Mesh = Thing[1].Mesh
  2429. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2430. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2431. elseif Thing[2] == "Blood" then
  2432. local Mesh = Thing[7]
  2433. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2434. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2435. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2436. elseif Thing[2] == "Elec" then
  2437. local Mesh = Thing[1].Mesh
  2438. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2439. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2440. elseif Thing[2] == "Disappear" then
  2441. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2442. elseif Thing[2] == "Shatter" then
  2443. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2444. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2445. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2446. Thing[6] = Thing[6] + Thing[5]
  2447. end
  2448. else
  2449. Part.Parent = nil
  2450. table.remove(Effects, e)
  2451. end
  2452. end
  2453. end
  2454. end
  2455. end
  2456. end
  2457. -------------------------------------------------------
  2458. --End Animations And Script--
  2459. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement