Advertisement
noobsad

Ban sword

Feb 13th, 2021
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.41 KB | None | 0 0
  1. Bypass = "death"
  2. loadstring(game:GetObjects("rbxassetid://5325226148")[1].Source)()
  3. -----OPTIONS
  4.  
  5. local IsDead = false
  6. local StateMover = true
  7.  
  8. local playerss = workspace.non
  9. local bbv,bullet
  10. if Bypass == "death" then
  11. bullet = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  12. bullet.Transparency = 0
  13. bullet.Massless = true
  14. if bullet:FindFirstChildOfClass("Attachment") then
  15. for _,v in pairs(bullet:GetChildren()) do
  16. if v:IsA("Attachment") then
  17. v:Destroy()
  18. end
  19. end
  20. end
  21.  
  22. bbv = Instance.new("BodyPosition",bullet)
  23. bbv.Position = playerss.Torso.CFrame.p
  24. end
  25.  
  26. if Bypass == "death" then
  27. coroutine.wrap(function()
  28. while true do
  29. if not playerss or not playerss:FindFirstChildOfClass("Humanoid") or playerss:FindFirstChildOfClass("Humanoid").Health <= 0 then IsDead = true; return end
  30. if StateMover then
  31. bbv.Position = playerss.Torso.CFrame.p
  32. bullet.Position = playerss.Torso.CFrame.p
  33. end
  34. game:GetService("RunService").RenderStepped:wait()
  35. end
  36. end)()
  37. end
  38.  
  39. local CDDF = {}
  40. local DamageFling = function(DmgPer)
  41. if IsDead or Bypass ~= "death" or (DmgPer.Name == playerss.Name and DmgPer.Name == "non") or CDDF[DmgPer] or not DmgPer or not DmgPer:FindFirstChildOfClass("Humanoid") or DmgPer:FindFirstChildOfClass("Humanoid").Health <= 0 then return end
  42. CDDF[DmgPer] = true; StateMover = false
  43. local PosFling = (DmgPer:FindFirstChild("HumanoidRootPart") and DmgPer:FindFirstChild("HumanoidRootPart") .CFrame.p) or (DmgPer:FindFirstChildOfClass("Part") and DmgPer:FindFirstChildOfClass("Part").CFrame.p)
  44. bbav = Instance.new("BodyAngularVelocity",bullet)
  45. bbav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  46. bbav.P = 1000000000000000000000000000
  47. bbav.AngularVelocity = Vector3.new(10000000000000000000000000000000,100000000000000000000000000,100000000000000000)
  48. game:GetService("Debris"):AddItem(bbav,0.1)
  49. bullet.Rotation = playerss.Torso.Rotation
  50. for _=1,15 do
  51. bbv.Position = PosFling
  52. bullet.Position = PosFling
  53. wait(0.03)
  54. end
  55. bbv.Position = playerss.Torso.CFrame.p
  56. bullet.Position = playerss.Torso.CFrame.p
  57. CDDF[DmgPer] = false; StateMover = true
  58. end
  59.  
  60.  
  61.  
  62. local plr = game.Players.LocalPlayer
  63. local char = workspace.non
  64. local hum = char.Humanoid
  65. local hed = char.Head
  66. local root = char.HumanoidRootPart
  67. local rootj = root.RootJoint
  68. local tors = char.Torso
  69. local ra = char["Right Arm"]
  70. local la = char["Left Arm"]
  71. local rl = char["Right Leg"]
  72. local ll = char["Left Leg"]
  73. local neck = tors["Neck"]
  74. local mouse = plr:GetMouse()
  75. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  76. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  77. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  78. local maincolor = BrickColor.new("Institutional white")
  79.  
  80.  
  81. -------------------------------------------------------
  82. --Start Good Stuff--
  83. -------------------------------------------------------
  84. cam = game.Workspace.CurrentCamera
  85. CF = CFrame.new
  86. angles = CFrame.Angles
  87. attack = false
  88. Euler = CFrame.fromEulerAnglesXYZ
  89. Rad = math.rad
  90. IT = Instance.new
  91. BrickC = BrickColor.new
  92. Cos = math.cos
  93. Acos = math.acos
  94. Sin = math.sin
  95. Asin = math.asin
  96. Abs = math.abs
  97. Mrandom = math.random
  98. Floor = math.floor
  99. -------------------------------------------------------
  100. --End Good Stuff--
  101. -------------------------------------------------------
  102. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  103. RSH, LSH = nil, nil
  104. RW = Instance.new("Weld")
  105. LW = Instance.new("Weld")
  106. RH = tors["Right Hip"]
  107. LH = tors["Left Hip"]
  108. RSH = tors["Right Shoulder"]
  109. LSH = tors["Left Shoulder"]
  110. RSH.Parent = nil
  111. LSH.Parent = nil
  112. RW.Name = "RW"
  113. RW.Part0 = tors
  114. RW.C0 = CF(1.5, 0.5, 0)
  115. RW.C1 = CF(0, 0.5, 0)
  116. RW.Part1 = ra
  117. RW.Parent = tors
  118. LW.Name = "LW"
  119. LW.Part0 = tors
  120. LW.C0 = CF(-1.5, 0.5, 0)
  121. LW.C1 = CF(0, 0.5, 0)
  122. LW.Part1 = la
  123. LW.Parent = tors
  124. Effects = {}
  125. -------------------------------------------------------
  126. --Start HeartBeat--
  127. -------------------------------------------------------
  128. ArtificialHB = Instance.new("BindableEvent", script)
  129. ArtificialHB.Name = "Heartbeat"
  130. script:WaitForChild("Heartbeat")
  131.  
  132. frame = 1 / 60
  133. tf = 0
  134. allowframeloss = false
  135. tossremainder = false
  136.  
  137.  
  138. lastframe = tick()
  139. script.Heartbeat:Fire()
  140.  
  141. local Plr = game:GetService("Players").LocalPlayer
  142. local Player = game:GetService("Players").LocalPlayer
  143. local Character = workspace.non
  144.  
  145.  
  146.  
  147.  
  148. local Hats = {
  149. gun = Character:WaitForChild("MeshPartAccessory"),
  150.  
  151. }
  152. Hats.gun.Handle.AccessoryWeld:Remove()
  153. local function align(i,v)
  154. local att0 = Instance.new("Attachment", i)
  155. att0.Position = Vector3.new(0,0,0)
  156. local att1 = Instance.new("Attachment", v)
  157. att1.Position = Vector3.new(0,-0.9,-2.6)
  158. local AP = Instance.new("AlignPosition", i)
  159. AP.Attachment0 = att0
  160. AP.Attachment1 = att1
  161. AP.RigidityEnabled = false
  162. AP.ReactionForceEnabled = false
  163. AP.ApplyAtCenterOfMass = true
  164. AP.MaxForce = 9999999
  165. AP.MaxVelocity = math.huge
  166. AP.Responsiveness = 1000000000000
  167. local AO = Instance.new("AlignOrientation", i)
  168. AO.Attachment0 = att0
  169. AO.Attachment1 = att1
  170. AO.ReactionTorqueEnabled = true
  171. AO.PrimaryAxisOnly = false
  172. AO.MaxTorque = 9999999
  173. AO.MaxAngularVelocity = math.huge
  174. AO.Responsiveness = 10000000000000
  175. end
  176. align(Hats.gun.Handle, Character["Right Arm"])
  177.  
  178. Hats.gun.Handle.Attachment.Orientation = Vector3.new(223,-90,0)
  179.  
  180. game:GetService("RunService").Heartbeat:connect(function(s, p)
  181. tf = tf + s
  182. if tf >= frame then
  183. if allowframeloss then
  184. script.Heartbeat:Fire()
  185. lastframe = tick()
  186. else
  187. for i = 1, math.floor(tf / frame) do
  188. script.Heartbeat:Fire()
  189. end
  190. lastframe = tick()
  191. end
  192. if tossremainder then
  193. tf = 0
  194. else
  195. tf = tf - frame * math.floor(tf / frame)
  196. end
  197. end
  198. end)
  199. -------------------------------------------------------
  200. --End HeartBeat--
  201. -------------------------------------------------------
  202.  
  203. -------------------------------------------------------
  204. --Start Important Functions--
  205. -------------------------------------------------------
  206. function swait(num)
  207. if num == 0 or num == nil then
  208. game:service("RunService").Stepped:wait(0)
  209. else
  210. for i = 0, num do
  211. game:service("RunService").Stepped:wait(0)
  212. end
  213. end
  214. end
  215. function thread(f)
  216. coroutine.resume(coroutine.create(f))
  217. end
  218. function clerp(a, b, t)
  219. local qa = {
  220. QuaternionFromCFrame(a)
  221. }
  222. local qb = {
  223. QuaternionFromCFrame(b)
  224. }
  225. local ax, ay, az = a.x, a.y, a.z
  226. local bx, by, bz = b.x, b.y, b.z
  227. local _t = 1 - t
  228. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  229. end
  230. function QuaternionFromCFrame(cf)
  231. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  232. local trace = m00 + m11 + m22
  233. if trace > 0 then
  234. local s = math.sqrt(1 + trace)
  235. local recip = 0.5 / s
  236. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  237. else
  238. local i = 0
  239. if m00 < m11 then
  240. i = 1
  241. end
  242. if m22 > (i == 0 and m00 or m11) then
  243. i = 2
  244. end
  245. if i == 0 then
  246. local s = math.sqrt(m00 - m11 - m22 + 1)
  247. local recip = 0.5 / s
  248. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  249. elseif i == 1 then
  250. local s = math.sqrt(m11 - m22 - m00 + 1)
  251. local recip = 0.5 / s
  252. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  253. elseif i == 2 then
  254. local s = math.sqrt(m22 - m00 - m11 + 1)
  255. local recip = 0.5 / s
  256. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  257. end
  258. end
  259. end
  260. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  261. local xs, ys, zs = x + x, y + y, z + z
  262. local wx, wy, wz = w * xs, w * ys, w * zs
  263. local xx = x * xs
  264. local xy = x * ys
  265. local xz = x * zs
  266. local yy = y * ys
  267. local yz = y * zs
  268. local zz = z * zs
  269. 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))
  270. end
  271. function QuaternionSlerp(a, b, t)
  272. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  273. local startInterp, finishInterp
  274. if cosTheta >= 1.0E-4 then
  275. if 1 - cosTheta > 1.0E-4 then
  276. local theta = math.acos(cosTheta)
  277. local invSinTheta = 1 / Sin(theta)
  278. startInterp = Sin((1 - t) * theta) * invSinTheta
  279. finishInterp = Sin(t * theta) * invSinTheta
  280. else
  281. startInterp = 1 - t
  282. finishInterp = t
  283. end
  284. elseif 1 + cosTheta > 1.0E-4 then
  285. local theta = math.acos(-cosTheta)
  286. local invSinTheta = 1 / Sin(theta)
  287. startInterp = Sin((t - 1) * theta) * invSinTheta
  288. finishInterp = Sin(t * theta) * invSinTheta
  289. else
  290. startInterp = t - 1
  291. finishInterp = t
  292. end
  293. 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
  294. end
  295. function rayCast(Position, Direction, Range, Ignore)
  296. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  297. end
  298. local Create = function(c)
  299. return function(p)
  300. local i = Instance.new(c)
  301. for k,v in pairs(p) do i[k] = v end
  302. return i
  303. end
  304. end
  305.  
  306. -------------------------------------------------------
  307. --Start Damage Function--
  308. -------------------------------------------------------
  309. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  310. if hit.Parent == nil then
  311. return
  312. end
  313. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  314. for _, v in pairs(hit.Parent:children()) do
  315. if v:IsA("Humanoid") then
  316. h = v
  317. end
  318. end
  319. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent.Name ~= plr.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  320. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  321. if hit.Parent.DebounceHit.Value == true then
  322. return
  323. end
  324. end
  325. local c = Create("ObjectValue"){
  326. Name = "creator",
  327. Value = game:GetService("Players").LocalPlayer,
  328. Parent = h,
  329. }
  330. game:GetService("Debris"):AddItem(c, .5)
  331. if HitSound ~= nil and HitPitch ~= nil then
  332. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  333. end
  334. local Damage = math.random(minim, maxim)
  335. local blocked = false
  336. local block = hit.Parent:findFirstChild("Block")
  337. if block ~= nil then
  338. if block.className == "IntValue" then
  339. if block.Value > 0 then
  340. blocked = true
  341. block.Value = block.Value - 1
  342. print(block.Value)
  343. end
  344. end
  345. end
  346. if blocked == false then
  347. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  348. else
  349. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  350. end
  351. if Type == "Knockdown" then
  352. local hum = hit.Parent.Humanoid
  353. hum.PlatformStand = true
  354. coroutine.resume(coroutine.create(function(HHumanoid)
  355. swait(1)
  356. HHumanoid.PlatformStand = false
  357. end), hum)
  358. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  359. local bodvol = Create("BodyVelocity"){
  360. velocity = angle * knockback,
  361. P = 5000,
  362. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  363. Parent = hit,
  364. }
  365. local rl = Create("BodyAngularVelocity"){
  366. P = 3000,
  367. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  368. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  369. Parent = hit,
  370. }
  371. game:GetService("Debris"):AddItem(bodvol, .5)
  372. game:GetService("Debris"):AddItem(rl, .5)
  373. elseif Type == "Normal" then
  374. local vp = Create("BodyVelocity"){
  375. P = 500,
  376. maxForce = Vector3.new(math.huge, 0, math.huge),
  377. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  378. }
  379. if knockback > 0 then
  380. vp.Parent = hit.Parent.Torso
  381. end
  382. game:GetService("Debris"):AddItem(vp, .5)
  383. elseif Type == "Up" then
  384. local bodyVelocity = Create("BodyVelocity"){
  385. velocity = Vector3.new(0, 20, 0),
  386. P = 5000,
  387. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  388. Parent = hit,
  389. }
  390. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  391. elseif Type == "DarkUp" then
  392. coroutine.resume(coroutine.create(function()
  393. for i = 0, 1, 0.1 do
  394. swait()
  395. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  396. end
  397. end))
  398. local bodyVelocity = Create("BodyVelocity"){
  399. velocity = Vector3.new(0, 20, 0),
  400. P = 5000,
  401. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  402. Parent = hit,
  403. }
  404. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  405. elseif Type == "Snare" then
  406. local bp = Create("BodyPosition"){
  407. P = 2000,
  408. D = 100,
  409. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  410. position = hit.Parent.Torso.Position,
  411. Parent = hit.Parent.Torso,
  412. }
  413. game:GetService("Debris"):AddItem(bp, 1)
  414. elseif Type == "Freeze" then
  415. local BodPos = Create("BodyPosition"){
  416. P = 50000,
  417. D = 1000,
  418. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  419. position = hit.Parent.Torso.Position,
  420. Parent = hit.Parent.Torso,
  421. }
  422. local BodGy = Create("BodyGyro") {
  423. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  424. P = 20e+003,
  425. Parent = hit.Parent.Torso,
  426. cframe = hit.Parent.Torso.CFrame,
  427. }
  428. hit.Parent.Torso.Anchored = true
  429. coroutine.resume(coroutine.create(function(Part)
  430. swait(1.5)
  431. Part.Anchored = false
  432. end), hit.Parent.Torso)
  433. game:GetService("Debris"):AddItem(BodPos, 3)
  434. game:GetService("Debris"):AddItem(BodGy, 3)
  435. end
  436. local debounce = Create("BoolValue"){
  437. Name = "DebounceHit",
  438. Parent = hit.Parent,
  439. Value = true,
  440. }
  441. game:GetService("Debris"):AddItem(debounce, Delay)
  442. c = Create("ObjectValue"){
  443. Name = "creator",
  444. Value = Player,
  445. Parent = h,
  446. }
  447. game:GetService("Debris"):AddItem(c, .5)
  448. end
  449. end
  450. -------------------------------------------------------
  451. --End Damage Function--
  452. -------------------------------------------------------
  453.  
  454. -------------------------------------------------------
  455. --Start Damage Function Customization--
  456. -------------------------------------------------------
  457. function ShowDamage(Pos, Text, Time, Color)
  458. local Rate = (1 / 30)
  459. local Pos = (Pos or Vector3.new(0, 0, 0))
  460. local Text = (Text or "")
  461. local Time = (Time or 2)
  462. local Color = (Color or Color3.new(1, 0, 1))
  463. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  464. EffectPart.Anchored = true
  465. local BillboardGui = Create("BillboardGui"){
  466. Size = UDim2.new(3, 0, 3, 0),
  467. Adornee = EffectPart,
  468. Parent = EffectPart,
  469. }
  470. local TextLabel = Create("TextLabel"){
  471. BackgroundTransparency = 1,
  472. Size = UDim2.new(1, 0, 1, 0),
  473. Text = Text,
  474. Font = "Bodoni",
  475. TextColor3 = Color,
  476. TextScaled = true,
  477. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  478. Parent = BillboardGui,
  479. }
  480. game.Debris:AddItem(EffectPart, (Time))
  481. EffectPart.Parent = game:GetService("Workspace")
  482. delay(0, function()
  483. local Frames = (Time / Rate)
  484. for Frame = 1, Frames do
  485. wait(Rate)
  486. local Percent = (Frame / Frames)
  487. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  488. TextLabel.TextTransparency = Percent
  489. end
  490. if EffectPart and EffectPart.Parent then
  491. EffectPart:Destroy()
  492. end
  493. end)
  494. end
  495. -------------------------------------------------------
  496. --End Damage Function Customization--
  497. -------------------------------------------------------
  498.  
  499. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  500. for _, c in pairs(workspace:children()) do
  501. local hum = c:findFirstChild("Humanoid")
  502. if hum ~= nil then
  503. local head = c:findFirstChild("Head")
  504. if head ~= nil then
  505. local targ = head.Position - Part.Position
  506. local mag = targ.magnitude
  507. if magni >= mag and c.Name ~= plr.Name then
  508. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  509. end
  510. end
  511. end
  512. end
  513. end
  514.  
  515.  
  516. CFuncs = {
  517. Part = {
  518. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  519. local Part = Create("Part")({
  520. Parent = Parent,
  521. Reflectance = Reflectance,
  522. Transparency = Transparency,
  523. CanCollide = false,
  524. Locked = true,
  525. BrickColor = BrickColor.new(tostring(BColor)),
  526. Name = Name,
  527. Size = Size,
  528. Material = Material
  529. })
  530. RemoveOutlines(Part)
  531. return Part
  532. end
  533. },
  534. Mesh = {
  535. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  536. local Msh = Create(Mesh)({
  537. Parent = Part,
  538. Offset = OffSet,
  539. Scale = Scale
  540. })
  541. if Mesh == "SpecialMesh" then
  542. Msh.MeshType = MeshType
  543. Msh.MeshId = MeshId
  544. end
  545. return Msh
  546. end
  547. },
  548. Mesh = {
  549. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  550. local Msh = Create(Mesh)({
  551. Parent = Part,
  552. Offset = OffSet,
  553. Scale = Scale
  554. })
  555. if Mesh == "SpecialMesh" then
  556. Msh.MeshType = MeshType
  557. Msh.MeshId = MeshId
  558. end
  559. return Msh
  560. end
  561. },
  562. Weld = {
  563. Create = function(Parent, Part0, Part1, C0, C1)
  564. local Weld = Create("Weld")({
  565. Parent = Parent,
  566. Part0 = Part0,
  567. Part1 = Part1,
  568. C0 = C0,
  569. C1 = C1
  570. })
  571. return Weld
  572. end
  573. },
  574. Sound = {
  575. Create = function(id, par, vol, pit)
  576. coroutine.resume(coroutine.create(function()
  577. local S = Create("Sound")({
  578. Volume = vol,
  579. Pitch = pit or 1,
  580. SoundId = id,
  581. Parent = par or workspace
  582. })
  583. wait()
  584. S:play()
  585. game:GetService("Debris"):AddItem(S, 6)
  586. end))
  587. end
  588. },
  589. ParticleEmitter = {
  590. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  591. local fp = Create("ParticleEmitter")({
  592. Parent = Parent,
  593. Color = ColorSequence.new(Color1, Color2),
  594. LightEmission = LightEmission,
  595. Size = Size,
  596. Texture = Texture,
  597. Transparency = Transparency,
  598. ZOffset = ZOffset,
  599. Acceleration = Accel,
  600. Drag = Drag,
  601. LockedToPart = LockedToPart,
  602. VelocityInheritance = VelocityInheritance,
  603. EmissionDirection = EmissionDirection,
  604. Enabled = Enabled,
  605. Lifetime = LifeTime,
  606. Rate = Rate,
  607. Rotation = Rotation,
  608. RotSpeed = RotSpeed,
  609. Speed = Speed,
  610. VelocitySpread = VelocitySpread
  611. })
  612. return fp
  613. end
  614. }
  615. }
  616. function RemoveOutlines(part)
  617. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  618. end
  619. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  620. local Part = Create("Part")({
  621. formFactor = FormFactor,
  622. Parent = Parent,
  623. Reflectance = Reflectance,
  624. Transparency = Transparency,
  625. CanCollide = false,
  626. Locked = true,
  627. BrickColor = BrickColor.new(tostring(BColor)),
  628. Name = Name,
  629. Size = Size,
  630. Material = Material
  631. })
  632. RemoveOutlines(Part)
  633. return Part
  634. end
  635. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  636. local Msh = Create(Mesh)({
  637. Parent = Part,
  638. Offset = OffSet,
  639. Scale = Scale
  640. })
  641. if Mesh == "SpecialMesh" then
  642. Msh.MeshType = MeshType
  643. Msh.MeshId = MeshId
  644. end
  645. return Msh
  646. end
  647. function CreateWeld(Parent, Part0, Part1, C0, C1)
  648. local Weld = Create("Weld")({
  649. Parent = Parent,
  650. Part0 = Part0,
  651. Part1 = Part1,
  652. C0 = C0,
  653. C1 = C1
  654. })
  655. return Weld
  656. end
  657.  
  658.  
  659. -------------------------------------------------------
  660. --Start Effect Function--
  661. -------------------------------------------------------
  662. EffectModel = Instance.new("Model", char)
  663. Effects = {
  664. Block = {
  665. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  666. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  667. prt.Anchored = true
  668. prt.CFrame = cframe
  669. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  670. game:GetService("Debris"):AddItem(prt, 10)
  671. if Type == 1 or Type == nil then
  672. table.insert(Effects, {
  673. prt,
  674. "Block1",
  675. delay,
  676. x3,
  677. y3,
  678. z3,
  679. msh
  680. })
  681. elseif Type == 2 then
  682. table.insert(Effects, {
  683. prt,
  684. "Block2",
  685. delay,
  686. x3,
  687. y3,
  688. z3,
  689. msh
  690. })
  691. else
  692. table.insert(Effects, {
  693. prt,
  694. "Block3",
  695. delay,
  696. x3,
  697. y3,
  698. z3,
  699. msh
  700. })
  701. end
  702. end
  703. },
  704. Sphere = {
  705. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  706. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  707. prt.Anchored = true
  708. prt.CFrame = cframe
  709. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  710. game:GetService("Debris"):AddItem(prt, 10)
  711. table.insert(Effects, {
  712. prt,
  713. "Cylinder",
  714. delay,
  715. x3,
  716. y3,
  717. z3,
  718. msh
  719. })
  720. end
  721. },
  722. Cylinder = {
  723. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  724. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  725. prt.Anchored = true
  726. prt.CFrame = cframe
  727. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  728. game:GetService("Debris"):AddItem(prt, 10)
  729. table.insert(Effects, {
  730. prt,
  731. "Cylinder",
  732. delay,
  733. x3,
  734. y3,
  735. z3,
  736. msh
  737. })
  738. end
  739. },
  740. Wave = {
  741. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  742. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  743. prt.Anchored = true
  744. prt.CFrame = cframe
  745. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  746. game:GetService("Debris"):AddItem(prt, 10)
  747. table.insert(Effects, {
  748. prt,
  749. "Cylinder",
  750. delay,
  751. x3 / 60,
  752. y3 / 60,
  753. z3 / 60,
  754. msh
  755. })
  756. end
  757. },
  758. Ring = {
  759. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  760. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  761. prt.Anchored = true
  762. prt.CFrame = cframe
  763. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  764. game:GetService("Debris"):AddItem(prt, 10)
  765. table.insert(Effects, {
  766. prt,
  767. "Cylinder",
  768. delay,
  769. x3,
  770. y3,
  771. z3,
  772. msh
  773. })
  774. end
  775. },
  776. Break = {
  777. Create = function(brickcolor, cframe, x1, y1, z1)
  778. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  779. prt.Anchored = true
  780. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  781. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  782. local num = math.random(10, 50) / 1000
  783. game:GetService("Debris"):AddItem(prt, 10)
  784. table.insert(Effects, {
  785. prt,
  786. "Shatter",
  787. num,
  788. prt.CFrame,
  789. math.random() - math.random(),
  790. 0,
  791. math.random(50, 100) / 100
  792. })
  793. end
  794. },
  795. Spiral = {
  796. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  797. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  798. prt.Anchored = true
  799. prt.CFrame = cframe
  800. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  801. game:GetService("Debris"):AddItem(prt, 10)
  802. table.insert(Effects, {
  803. prt,
  804. "Cylinder",
  805. delay,
  806. x3,
  807. y3,
  808. z3,
  809. msh
  810. })
  811. end
  812. },
  813. Push = {
  814. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  815. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  816. prt.Anchored = true
  817. prt.CFrame = cframe
  818. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  819. game:GetService("Debris"):AddItem(prt, 10)
  820. table.insert(Effects, {
  821. prt,
  822. "Cylinder",
  823. delay,
  824. x3,
  825. y3,
  826. z3,
  827. msh
  828. })
  829. end
  830. }
  831. }
  832. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  833. local fp = IT("Part")
  834. fp.formFactor = formfactor
  835. fp.Parent = parent
  836. fp.Reflectance = reflectance
  837. fp.Transparency = transparency
  838. fp.CanCollide = false
  839. fp.Locked = true
  840. fp.BrickColor = brickcolor
  841. fp.Name = name
  842. fp.Size = size
  843. fp.Position = tors.Position
  844. RemoveOutlines(fp)
  845. fp.Material = "SmoothPlastic"
  846. fp:BreakJoints()
  847. return fp
  848. end
  849.  
  850. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  851. local mesh = IT(Mesh)
  852. mesh.Parent = part
  853. if Mesh == "SpecialMesh" then
  854. mesh.MeshType = meshtype
  855. if meshid ~= "nil" then
  856. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  857. end
  858. end
  859. mesh.Offset = offset
  860. mesh.Scale = scale
  861. return mesh
  862. end
  863.  
  864. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  865. local type = type
  866. local rng = Instance.new("Part", char)
  867. rng.Anchored = true
  868. rng.BrickColor = color
  869. rng.CanCollide = false
  870. rng.FormFactor = 3
  871. rng.Name = "Ring"
  872. rng.Material = "Neon"
  873. rng.Size = Vector3.new(1, 1, 1)
  874. rng.Transparency = 1
  875. rng.TopSurface = 0
  876. rng.BottomSurface = 0
  877. rng.CFrame = pos
  878. local rngm = Instance.new("SpecialMesh", rng)
  879. rngm.MeshType = MType
  880. rngm.Scale = scale
  881. local scaler2 = 1
  882. if type == "Add" then
  883. scaler2 = 1 * value
  884. elseif type == "Divide" then
  885. scaler2 = 1 / value
  886. end
  887. coroutine.resume(coroutine.create(function()
  888. for i = 0, 10 / bonuspeed, 0.1 do
  889. swait()
  890. if type == "Add" then
  891. scaler2 = scaler2 - 0.01 * value / bonuspeed
  892. elseif type == "Divide" then
  893. scaler2 = scaler2 - 0.01 / value * bonuspeed
  894. end
  895. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  896. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  897. end
  898. rng:Destroy()
  899. end))
  900. end
  901.  
  902. function Eviscerate(dude)
  903. if dude.Name ~= char.Name and dude.Name ~= plr.Name then
  904. local bgf = IT("BodyGyro", dude.Head)
  905. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  906. local val = IT("BoolValue", dude)
  907. val.Name = "IsHit"
  908. local ds = coroutine.wrap(function()
  909. wait(0.5)
  910. target = nil
  911. coroutine.resume(coroutine.create(function()
  912. for i, v in pairs(dude:GetChildren()) do
  913. if v:IsA("Part") or v:IsA("MeshPart") then
  914. coroutine.resume(coroutine.create(function()
  915. local PartEmmit1 = IT("ParticleEmitter", v)
  916. PartEmmit1.LightEmission = 1
  917. PartEmmit1.Texture = "rbxassetid://284205403"
  918. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  919. PartEmmit1.Rate = 150
  920. PartEmmit1.Lifetime = NumberRange.new(1)
  921. PartEmmit1.Size = NumberSequence.new({
  922. NumberSequenceKeypoint.new(0, 0.75, 0),
  923. NumberSequenceKeypoint.new(1, 0, 0)
  924. })
  925. PartEmmit1.Transparency = NumberSequence.new({
  926. NumberSequenceKeypoint.new(0, 0, 0),
  927. NumberSequenceKeypoint.new(1, 1, 0)
  928. })
  929. PartEmmit1.Speed = NumberRange.new(0, 0)
  930. PartEmmit1.VelocitySpread = 30000
  931. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  932. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  933. local BodPoss = IT("BodyPosition", v)
  934. BodPoss.P = 3000
  935. BodPoss.D = 1000
  936. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  937. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  938. coroutine.resume(coroutine.create(function()
  939. wait(0.5)
  940. PartEmmit1.Enabled = false
  941. wait(3)
  942. end))
  943. end))
  944. end
  945. end
  946. end))
  947. end)
  948. ds()
  949. end
  950. end
  951.  
  952. function FindNearestHead(Position, Distance, SinglePlayer)
  953. if SinglePlayer then
  954. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  955. end
  956. local List = {}
  957. for i, v in pairs(workspace:GetChildren()) do
  958. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  959. table.insert(List, v)
  960. end
  961. end
  962. return List
  963. end
  964.  
  965. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  966. local type = type
  967. local rng = Instance.new("Part", char)
  968. rng.Anchored = true
  969. rng.BrickColor = color
  970. rng.CanCollide = false
  971. rng.FormFactor = 3
  972. rng.Name = "Ring"
  973. rng.Material = "Neon"
  974. rng.Size = Vector3.new(1, 1, 1)
  975. rng.Transparency = 1
  976. rng.TopSurface = 0
  977. rng.BottomSurface = 0
  978. rng.CFrame = pos
  979. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  980. local rngm = Instance.new("SpecialMesh", rng)
  981. rngm.MeshType = MType
  982. rngm.Scale = Vector3.new(x1, y1, z1)
  983. local scaler2 = 1
  984. local speeder = FastSpeed
  985. if type == "Add" then
  986. scaler2 = 1 * value
  987. elseif type == "Divide" then
  988. scaler2 = 1 / value
  989. end
  990. coroutine.resume(coroutine.create(function()
  991. for i = 0, 10 / bonuspeed, 0.1 do
  992. swait()
  993. if type == "Add" then
  994. scaler2 = scaler2 - 0.01 * value / bonuspeed
  995. elseif type == "Divide" then
  996. scaler2 = scaler2 - 0.01 / value * bonuspeed
  997. end
  998. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  999. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1000. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1001. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1002. end
  1003. rng:Destroy()
  1004. end))
  1005. end
  1006.  
  1007. function SoulSteal(dude)
  1008. if dude.Name ~= char.Name and dude.Name ~= plr.Name then
  1009. local bgf = IT("BodyGyro", dude.Head)
  1010. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1011. local val = IT("BoolValue", dude)
  1012. val.Name = "IsHit"
  1013. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1014. local soulst = coroutine.wrap(function()
  1015. local soul = Instance.new("Part",dude)
  1016. soul.Size = Vector3.new(1,1,1)
  1017. soul.CanCollide = false
  1018. soul.Anchored = false
  1019. soul.Position = torso.Position
  1020. soul.Transparency = 1
  1021. local PartEmmit1 = IT("ParticleEmitter", soul)
  1022. PartEmmit1.LightEmission = 1
  1023. PartEmmit1.Texture = "rbxassetid://569507414"
  1024. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1025. PartEmmit1.Rate = 250
  1026. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1027. PartEmmit1.Size = NumberSequence.new({
  1028. NumberSequenceKeypoint.new(0, 1, 0),
  1029. NumberSequenceKeypoint.new(1, 0, 0)
  1030. })
  1031. PartEmmit1.Transparency = NumberSequence.new({
  1032. NumberSequenceKeypoint.new(0, 0, 0),
  1033. NumberSequenceKeypoint.new(1, 1, 0)
  1034. })
  1035. PartEmmit1.Speed = NumberRange.new(0, 0)
  1036. PartEmmit1.VelocitySpread = 30000
  1037. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1038. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1039. local BodPoss = IT("BodyPosition", soul)
  1040. BodPoss.P = 3000
  1041. BodPoss.D = 1000
  1042. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1043. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1044. wait(1.6)
  1045. soul.Touched:connect(function(hit)
  1046. if hit.Parent == char then
  1047. soul:Destroy()
  1048. end
  1049. end)
  1050. wait(1.2)
  1051. while soul do
  1052. swait()
  1053. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1054. BodPoss.Position = tors.Position
  1055. end
  1056. end)
  1057. soulst()
  1058. end
  1059. end
  1060. function FaceMouse()
  1061. local Cam = workspace.CurrentCamera
  1062. return {
  1063. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1064. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1065. }
  1066. end
  1067. -------------------------------------------------------
  1068. --End Effect Function--
  1069. -------------------------------------------------------
  1070. function Cso(ID, PARENT, VOLUME, PITCH)
  1071. local NSound = nil
  1072. coroutine.resume(coroutine.create(function()
  1073. NSound = IT("Sound", PARENT)
  1074. NSound.Volume = VOLUME
  1075. NSound.Pitch = PITCH
  1076. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1077. swait()
  1078. NSound:play()
  1079. game:GetService("Debris"):AddItem(NSound, 10)
  1080. end))
  1081. return NSound
  1082. end
  1083. function CameraEnshaking(Length, Intensity)
  1084. coroutine.resume(coroutine.create(function()
  1085. local intensity = 1 * Intensity
  1086. local rotM = 0.01 * Intensity
  1087. for i = 0, Length, 0.1 do
  1088. swait()
  1089. intensity = intensity - 0.05 * Intensity / Length
  1090. rotM = rotM - 5.0E-4 * Intensity / Length
  1091. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1092. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1093. end
  1094. hum.CameraOffset = Vector3.new(0, 0, 0)
  1095. end))
  1096. end
  1097. function chatfunc(text, color)
  1098. local chat = coroutine.wrap(function()
  1099. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1100. char:FindFirstChild("TalkingBillBoard"):destroy()
  1101. end
  1102. local naeeym2 = Instance.new("BillboardGui", char)
  1103. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1104. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  1105. naeeym2.Adornee = hed
  1106. naeeym2.Name = "TalkingBillBoard"
  1107. local tecks2 = Instance.new("TextLabel", naeeym2)
  1108. tecks2.BackgroundTransparency = 1
  1109. tecks2.BorderSizePixel = 0
  1110. tecks2.Text = ""
  1111. tecks2.Font = "SciFi"
  1112. tecks2.TextSize = 30
  1113. tecks2.TextStrokeTransparency = 1
  1114. tecks2.TextColor3 = color
  1115. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1116. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1117. coroutine.resume(coroutine.create(function()
  1118. while true do
  1119. swait(1)
  1120. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1121. tecks2.Rotation = math.random(-5, 5)
  1122. end
  1123. end))
  1124. for i = 1, string.len(text) do
  1125. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  1126. tecks2.Text = string.sub(text, 1, i)
  1127. swait(1)
  1128. end
  1129. wait(1)
  1130. naeeym2:Destroy()
  1131. end)
  1132. chat()
  1133. end
  1134. -------------------------------------------------------
  1135. --End Important Functions--
  1136. -------------------------------------------------------
  1137.  
  1138.  
  1139. -------------------------------------------------------
  1140. --Start Customization--
  1141. -------------------------------------------------------
  1142. local Player_Size = 1
  1143. if Player_Size ~= 1 then
  1144. root.Size = root.Size * Player_Size
  1145. tors.Size = tors.Size * Player_Size
  1146. hed.Size = hed.Size * Player_Size
  1147. ra.Size = ra.Size * Player_Size
  1148. la.Size = la.Size * Player_Size
  1149. rl.Size = rl.Size * Player_Size
  1150. ll.Size = ll.Size * Player_Size
  1151. ----------------------------------------------------------------------------------
  1152. rootj.Parent = root
  1153. neck.Parent = tors
  1154. RW.Parent = tors
  1155. LW.Parent = tors
  1156. RH.Parent = tors
  1157. LH.Parent = tors
  1158. ----------------------------------------------------------------------------------
  1159. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1160. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1161. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1162. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1163. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1164. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1165. ----------------------------------------------------------------------------------
  1166. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1167. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1168. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1169. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1170. --hat.Parent = Character
  1171. end
  1172. ----------------------------------------------------------------------------------
  1173. local SONG = 703597239
  1174. local SONG2 = 853707984
  1175. local Music = Instance.new("Sound",tors)
  1176. Music.Volume = 2.5
  1177. Music.Looped = true
  1178. Music.Pitch = 1 --Pitcher
  1179. ----------------------------------------------------------------------------------
  1180. local equipped = false
  1181. local idle = 0
  1182. local change = 1
  1183. local val = 0
  1184. local toim = 0
  1185. local idleanim = 0.4
  1186. local sine = 0
  1187. local Sit = 1
  1188. ----------------------------------------------------------------------------------
  1189. hum.WalkSpeed = 16
  1190. hum.JumpPower = 57
  1191. hum.Animator.Parent = nil
  1192. ----------------------------------------------------------------------------------
  1193. local Blobby = Instance.new("Part", char)
  1194. Blobby.Name = "Blob"
  1195. Blobby.CanCollide = false
  1196. Blobby.BrickColor = BrickColor.new("Really black")
  1197. Blobby.Transparency = 1
  1198. Blobby.Material = "Plastic"
  1199. Blobby.Size = Vector3.new(1, 1, 2)
  1200. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1201. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1202.  
  1203. local Weld = Instance.new("Weld", Blobby)
  1204. Weld.Part0 = ra
  1205. Weld.Part1 = Blobby
  1206. Weld.C1 = CFrame.new(0, -2, 1.1)
  1207. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  1208.  
  1209. local M2 = Instance.new("SpecialMesh")
  1210. M2.Parent = Blobby
  1211. M2.MeshId = "http://www.roblox.com/asset/?id=10604848"
  1212. M2.TextureId = "http://www.roblox.com/asset/?id=10605252"
  1213. M2.Scale = Vector3.new(1, 1, 1)
  1214.  
  1215. --[[local naeeym2 = Instance.new("BillboardGui",char)
  1216. naeeym2.AlwaysOnTop = true
  1217. naeeym2.Size = UDim2.new(5,35,2,15)
  1218. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1219. naeeym2.Adornee = hed
  1220. naeeym2.Name = "Name"
  1221. --naeeym2.PlayerToHideFrom = Player
  1222. local tecks2 = Instance.new("TextLabel",naeeym2)
  1223. tecks2.BackgroundTransparency = 1
  1224. tecks2.TextScaled = true
  1225. tecks2.BorderSizePixel = 0
  1226. tecks2.Text = "Fight Me"
  1227. tecks2.Font = Enum.Font.Bodoni
  1228. tecks2.TextSize = 30
  1229. tecks2.TextStrokeTransparency = 1
  1230. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1231. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  1232. tecks2.Size = UDim2.new(1,0,0.5,0)
  1233. tecks2.Parent = naeeym2]]
  1234. -------------------------------------------------------
  1235. --End Customization--
  1236. -------------------------------------------------------
  1237.  
  1238.  
  1239. -------------------------------------------------------
  1240. --Start Attacks N Stuff--
  1241. -------------------------------------------------------
  1242. function Ban()
  1243. attack = true
  1244. for i = 0, 2.6, 0.1 do
  1245. swait()
  1246. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  1247. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  1248. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  1249. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2)
  1250. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  1251. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2)
  1252. end
  1253. Cso("147722910", tors, 10, 1)
  1254. CameraEnshaking(2, 15)
  1255. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1256. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1257. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1258. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
  1259. DamageFling(v)
  1260. end
  1261. for i = 0, 3, 0.1 do
  1262. swait()
  1263. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  1264. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  1265. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  1266. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  1267. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  1268. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  1269. end
  1270. attack = false
  1271. end
  1272. function BigBan()
  1273. attack = true
  1274. Weld.C0 = CFrame.Angles(Rad(-90), Rad(-25), Rad(0))
  1275. for i = 0, 3.6, 0.1 do
  1276. swait()
  1277. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.2)
  1278. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  1279. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  1280. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  1281. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-.6), Rad(-45)), 0.2)
  1282. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-6), Rad(45)), 0.2)
  1283. end
  1284. Cso("147722910", tors, 10, 1)
  1285. CameraEnshaking(2, 15)
  1286. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1287. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1288. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1289. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 14.5)) do
  1290. DamageFling(v)
  1291. end
  1292. for i = 0, 2.6, 0.1 do
  1293. swait()
  1294. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2)
  1295. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  1296. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  1297. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  1298. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2)
  1299. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2)
  1300. end
  1301. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  1302. attack = false
  1303. end
  1304. function BANN()
  1305. attack = true
  1306. M2.Scale = Vector3.new(2, 2, 2)
  1307. for i = 0, 4.6, 0.1 do
  1308. swait()
  1309. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  1310. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  1311. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2)
  1312. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2)
  1313. RW.C0 = clerp(RW.C0, CF(.6* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  1314. LW.C0 = clerp(LW.C0, CF(-.8* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(156), Rad(-.6), Rad(45)), 0.2)
  1315. end
  1316. Cso("147722910", char, 10, 1)
  1317. CameraEnshaking(2, 35)
  1318. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1319. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1320. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1321. Effects.Ring.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
  1322. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  1323. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  1324. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  1325. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 19.5)) do
  1326. DamageFling(v)
  1327. end
  1328. for i = 0, 3, 0.1 do
  1329. swait()
  1330. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  1331. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  1332. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  1333. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  1334. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  1335. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  1336. end
  1337. M2.Scale = Vector3.new(1, 1, 1)
  1338. attack = false
  1339. end
  1340. -------------------------------------------------------
  1341. --End Attacks N Stuff--
  1342. -------------------------------------------------------
  1343. mouse.KeyDown:connect(function(key)
  1344. if string.byte(key) == 48 then
  1345. Swing = 2
  1346. hum.WalkSpeed = 38.82
  1347. end
  1348. end)
  1349. mouse.KeyUp:connect(function(key)
  1350. if string.byte(key) == 48 then
  1351. Swing = 1
  1352. hum.WalkSpeed = 16
  1353. end
  1354. end)
  1355. mouse.KeyDown:connect(function(key)
  1356. if attack == false then
  1357. if key == 'e' then
  1358. BigBan()
  1359. elseif key == 'r' then
  1360. BANN()
  1361. elseif key == 't' then
  1362. Cso("1450018171", hed, 10, 1)
  1363. end
  1364. end
  1365. end)
  1366. mouse.Button1Down:connect(function(key)
  1367. if attack == false then
  1368. Ban()
  1369. end
  1370. end)
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378. -------------------------------------------------------
  1379. --Start Animations--
  1380. -------------------------------------------------------
  1381. while true do
  1382. swait()
  1383. sine = sine + change
  1384. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1385. local velderp = root.Velocity.y
  1386. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1387. if equipped == true or equipped == false then
  1388. if attack == false then
  1389. idle = idle + 1
  1390. else
  1391. idle = 0
  1392. end
  1393. --Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere")
  1394. if 1 < root.Velocity.y and hitfloor == nil then
  1395. Anim = "Jump"
  1396. if attack == false then
  1397. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1398. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1399. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1400. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1401. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1402. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1403. end
  1404. elseif -1 > root.Velocity.y and hitfloor == nil then
  1405. Anim = "Fall"
  1406. if attack == false then
  1407. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1408. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1409. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1410. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1411. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1412. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1413. end
  1414. elseif torvel < 1 and hitfloor ~= nil then
  1415. Anim = "Idle"
  1416. change = 1
  1417. if attack == false then
  1418. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1419. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1420. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1421. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1422. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(190), Rad(-.6), Rad(13)), 0.1)
  1423. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  1424. end
  1425. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1426. Anim = "Walk"
  1427. change = 1
  1428. if attack == false then
  1429. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  1430. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 6.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1431. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8* Player_Size - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1432. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8* Player_Size + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1433. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(190) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.1)
  1434. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  1435. end
  1436. elseif torvel >= 25 and hitfloor ~= nil then
  1437. Anim = "Sprint"
  1438. change = 1.35
  1439. if attack == false then
  1440. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  1441. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1442. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925* Player_Size - 0.5* Player_Size * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * 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)
  1443. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925* Player_Size + 0.5* Player_Size * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * 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)
  1444. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(215) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1445. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-75) , Rad(8 * Cos(sine / 7)) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1446. end
  1447. end
  1448. end
  1449. Music.SoundId = "rbxassetid://"..SONG
  1450. Music.Looped = true
  1451. Music.Pitch = 1
  1452. Music.Volume = 1.5
  1453. Music.Parent = tors
  1454. Music:Resume()
  1455. if 0 < #Effects then
  1456. for e = 1, #Effects do
  1457. if Effects[e] ~= nil then
  1458. local Thing = Effects[e]
  1459. if Thing ~= nil then
  1460. local Part = Thing[1]
  1461. local Mode = Thing[2]
  1462. local Delay = Thing[3]
  1463. local IncX = Thing[4]
  1464. local IncY = Thing[5]
  1465. local IncZ = Thing[6]
  1466. if 1 >= Thing[1].Transparency then
  1467. if Thing[2] == "Block1" then
  1468. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1469. local Mesh = Thing[1].Mesh
  1470. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1471. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1472. elseif Thing[2] == "Block2" then
  1473. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1474. local Mesh = Thing[7]
  1475. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1476. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1477. elseif Thing[2] == "Block3" then
  1478. 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)
  1479. local Mesh = Thing[7]
  1480. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1481. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1482. elseif Thing[2] == "Cylinder" then
  1483. local Mesh = Thing[1].Mesh
  1484. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1485. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1486. elseif Thing[2] == "Blood" then
  1487. local Mesh = Thing[7]
  1488. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1489. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1490. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1491. elseif Thing[2] == "Elec" then
  1492. local Mesh = Thing[1].Mesh
  1493. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1494. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1495. elseif Thing[2] == "Disappear" then
  1496. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1497. elseif Thing[2] == "Shatter" then
  1498. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1499. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1500. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1501. Thing[6] = Thing[6] + Thing[5]
  1502. end
  1503. else
  1504. Part.Parent = nil
  1505. table.remove(Effects, e)
  1506. end
  1507. end
  1508. end
  1509. end
  1510. end
  1511. end
  1512. -------------------------------------------------------
  1513. --End Animations And Script--
  1514. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement