Advertisement
num6456

axe edit XD

May 13th, 2018
481
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --//====================================================\\--
  2. --|| EDIT by 1x1x1x1x1x1x1x0x0x2
  3. --\\====================================================//--
  4.  
  5. Player = game.Players.LocalPlayer
  6. Character = Player.Character
  7. local txt = Instance.new("BillboardGui", Character)
  8. txt.Adornee = Character.Head
  9. txt.Name = "_status"
  10. txt.Size = UDim2.new(2, 0, 1.2, 0)
  11. txt.StudsOffset = Vector3.new(-9, 8, 0)
  12. local text = Instance.new("TextLabel", txt)
  13. text.Size = UDim2.new(10, 0, 7, 0)
  14. text.FontSize = "Size24"
  15. text.TextScaled = true
  16. text.TextTransparency = 0
  17. text.BackgroundTransparency = 1
  18. text.TextTransparency = 0
  19. text.TextStrokeTransparency = 0
  20. text.Font = "Code"
  21. text.TextStrokeColor3 = Color3.new(0,0,0)
  22. text.Text = Player.Name.." With Axe"
  23. print("Edited by 1x1x1x1x1x1x1x0x0x2")
  24.  
  25. --//====================================================\\--
  26. --|| CREATED BY SHACKLUSTER
  27. --\\====================================================//--
  28.  
  29.  
  30.  
  31. wait(0.2)
  32.  
  33.  
  34.  
  35. Player = game:GetService("Players").LocalPlayer
  36. PlayerGui = Player.PlayerGui
  37. Cam = workspace.CurrentCamera
  38. Backpack = Player.Backpack
  39. Character = Player.Character
  40. Humanoid = Character.Humanoid
  41. Mouse = Player:GetMouse()
  42. RootPart = Character["HumanoidRootPart"]
  43. Torso = Character["Torso"]
  44. Head = Character["Head"]
  45. RightArm = Character["Right Arm"]
  46. LeftArm = Character["Left Arm"]
  47. RightLeg = Character["Right Leg"]
  48. LeftLeg = Character["Left Leg"]
  49. RootJoint = RootPart["RootJoint"]
  50. Neck = Torso["Neck"]
  51. RightShoulder = Torso["Right Shoulder"]
  52. LeftShoulder = Torso["Left Shoulder"]
  53. RightHip = Torso["Right Hip"]
  54. LeftHip = Torso["Left Hip"]
  55. local sick = Instance.new("Sound",Character)
  56. sick.SoundId = "rbxassetid://924339757"
  57. sick.Looped = true
  58. sick.Pitch = 1
  59. sick.Volume = 5
  60. sick:Play()
  61.  
  62. IT = Instance.new
  63. CF = CFrame.new
  64. VT = Vector3.new
  65. RAD = math.rad
  66. C3 = Color3.new
  67. UD2 = UDim2.new
  68. BRICKC = BrickColor.new
  69. ANGLES = CFrame.Angles
  70. EULER = CFrame.fromEulerAnglesXYZ
  71. COS = math.cos
  72. ACOS = math.acos
  73. SIN = math.sin
  74. ASIN = math.asin
  75. ABS = math.abs
  76. MRANDOM = math.random
  77. FLOOR = math.floor
  78.  
  79. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  80. local NEWMESH = IT(MESH)
  81. if MESH == "SpecialMesh" then
  82. NEWMESH.MeshType = MESHTYPE
  83. if MESHID ~= "nil" and MESHID ~= "" then
  84. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  85. end
  86. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  87. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  88. end
  89. end
  90. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  91. NEWMESH.Scale = SCALE
  92. NEWMESH.Parent = PARENT
  93. return NEWMESH
  94. end
  95.  
  96. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  97. local NEWPART = IT("Part")
  98. NEWPART.formFactor = FORMFACTOR
  99. NEWPART.Reflectance = REFLECTANCE
  100. NEWPART.Transparency = TRANSPARENCY
  101. NEWPART.CanCollide = false
  102. NEWPART.Locked = true
  103. NEWPART.Anchored = true
  104. if ANCHOR == false then
  105. NEWPART.Anchored = false
  106. end
  107. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  108. NEWPART.Name = NAME
  109. NEWPART.Size = SIZE
  110. NEWPART.Position = Torso.Position
  111. NEWPART.Material = MATERIAL
  112. NEWPART:BreakJoints()
  113. NEWPART.Parent = PARENT
  114. return NEWPART
  115. end
  116.  
  117. --//=================================\\
  118. --|| CUSTOMIZATION
  119. --\\=================================//
  120.  
  121. Player_Size = 1 --Size of the player.
  122. Animation_Speed = 3
  123. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  124.  
  125. local Speed = 16
  126. local Effects2 = {}
  127.  
  128. --//=================================\\
  129. --|| END OF CUSTOMIZATION
  130. --\\=================================//
  131.  
  132. local function weldBetween(a, b)
  133. local weldd = Instance.new("ManualWeld")
  134. weldd.Part0 = a
  135. weldd.Part1 = b
  136. weldd.C0 = CFrame.new()
  137. weldd.C1 = b.CFrame:inverse() * a.CFrame
  138. weldd.Parent = a
  139. return weldd
  140. end
  141.  
  142. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  143. local acs = Instance.new("Part")
  144. acs.CanCollide = false
  145. acs.Anchored = false
  146. acs.Size = Vector3.new(0,0,0)
  147. acs.CFrame = attachmentpart.CFrame
  148. acs.Parent = Character
  149. acs.BrickColor = color
  150. local meshs = Instance.new("SpecialMesh")
  151. meshs.MeshId = mesh
  152. meshs.TextureId = texture
  153. meshs.Parent = acs
  154. meshs.Scale = scale
  155. meshs.Offset = offset
  156. weldBetween(attachmentpart,acs)
  157. end
  158.  
  159. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  160. if TYPE == "Gem" then
  161. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  162. acs.Anchored = false
  163. acs.CanCollide = false
  164. acs.CFrame = PART.CFrame
  165. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  166. weldBetween(PART,acs)
  167. elseif TYPE == "Skull" then
  168. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  169. acs.Anchored = false
  170. acs.CanCollide = false
  171. acs.CFrame = PART.CFrame
  172. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  173. weldBetween(PART,acs)
  174. elseif TYPE == "Eye" then
  175. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  176. acs.Anchored = false
  177. acs.CanCollide = false
  178. acs.CFrame = PART.CFrame
  179. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  180. weldBetween(PART,acs)
  181. end
  182. end
  183.  
  184. --//=================================\\
  185. --|| USEFUL VALUES
  186. --\\=================================//
  187.  
  188. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  189. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  190. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  191. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  192. local CHANGEDEFENSE = 0
  193. local CHANGEDAMAGE = 0
  194. local CHANGEMOVEMENT = 0
  195. local ANIM = "Idle"
  196. local ATTACK = false
  197. local EQUIPPED = false
  198. local HOLD = false
  199. local COMBO = 1
  200. local Rooted = false
  201. local SINE = 0
  202. local KEYHOLD = false
  203. local CHANGE = 2 / Animation_Speed
  204. local WALKINGANIM = false
  205. local WALK = 0
  206. local VALUE1 = false
  207. local HITFLOOR = nil
  208. local VALUE2 = false
  209. local ROBLOXIDLEANIMATION = IT("Animation")
  210. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  211. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  212. --ROBLOXIDLEANIMATION.Parent = Humanoid
  213. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  214. WEAPONGUI.Name = "Weapon GUI"
  215. local Weapon = IT("Model")
  216. Weapon.Name = "Adds"
  217. local Delete = IT("Model",Character)
  218. Delete.Name = "Banlist"
  219. local Effects = IT("Folder", Weapon)
  220. Effects.Name = "Effects"
  221. local ANIMATOR = Humanoid.Animator
  222. local ANIMATE = Character.Animate
  223. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  224. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  225. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  226. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  227. local UNANCHOR = true
  228.  
  229. local SKILLTEXTCOLOR = C3(0,0,0)
  230.  
  231. --//=================================\\
  232. --\\=================================//
  233.  
  234.  
  235. --//=================================\\
  236. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  237. --\\=================================//
  238.  
  239. ArtificialHB = Instance.new("BindableEvent", script)
  240. ArtificialHB.Name = "ArtificialHB"
  241.  
  242. script:WaitForChild("ArtificialHB")
  243.  
  244. frame = Frame_Speed
  245. tf = 0
  246. allowframeloss = false
  247. tossremainder = false
  248. lastframe = tick()
  249. script.ArtificialHB:Fire()
  250.  
  251. game:GetService("RunService").Heartbeat:connect(function(s, p)
  252. tf = tf + s
  253. if tf >= frame then
  254. if allowframeloss then
  255. script.ArtificialHB:Fire()
  256. lastframe = tick()
  257. else
  258. for i = 1, math.floor(tf / frame) do
  259. script.ArtificialHB:Fire()
  260. end
  261. lastframe = tick()
  262. end
  263. if tossremainder then
  264. tf = 0
  265. else
  266. tf = tf - frame * math.floor(tf / frame)
  267. end
  268. end
  269. end)
  270.  
  271. --//=================================\\
  272. --\\=================================//
  273.  
  274.  
  275.  
  276.  
  277.  
  278. --//=================================\\
  279. --|| SOME FUNCTIONS
  280. --\\=================================//
  281.  
  282. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  283. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  284. end
  285.  
  286. function PositiveAngle(NUMBER)
  287. if NUMBER >= 0 then
  288. NUMBER = 0
  289. end
  290. return NUMBER
  291. end
  292.  
  293. function NegativeAngle(NUMBER)
  294. if NUMBER <= 0 then
  295. NUMBER = 0
  296. end
  297. return NUMBER
  298. end
  299.  
  300. function Swait(NUMBER)
  301. if NUMBER == 0 or NUMBER == nil then
  302. ArtificialHB.Event:wait()
  303. else
  304. for i = 1, NUMBER do
  305. ArtificialHB.Event:wait()
  306. end
  307. end
  308. end
  309.  
  310. function QuaternionFromCFrame(cf)
  311. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  312. local trace = m00 + m11 + m22
  313. if trace > 0 then
  314. local s = math.sqrt(1 + trace)
  315. local recip = 0.5 / s
  316. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  317. else
  318. local i = 0
  319. if m11 > m00 then
  320. i = 1
  321. end
  322. if m22 > (i == 0 and m00 or m11) then
  323. i = 2
  324. end
  325. if i == 0 then
  326. local s = math.sqrt(m00 - m11 - m22 + 1)
  327. local recip = 0.5 / s
  328. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  329. elseif i == 1 then
  330. local s = math.sqrt(m11 - m22 - m00 + 1)
  331. local recip = 0.5 / s
  332. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  333. elseif i == 2 then
  334. local s = math.sqrt(m22 - m00 - m11 + 1)
  335. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  336. end
  337. end
  338. end
  339.  
  340. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  341. local xs, ys, zs = x + x, y + y, z + z
  342. local wx, wy, wz = w * xs, w * ys, w * zs
  343. local xx = x * xs
  344. local xy = x * ys
  345. local xz = x * zs
  346. local yy = y * ys
  347. local yz = y * zs
  348. local zz = z * zs
  349. 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))
  350. end
  351.  
  352. function QuaternionSlerp(a, b, t)
  353. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  354. local startInterp, finishInterp;
  355. if cosTheta >= 0.0001 then
  356. if (1 - cosTheta) > 0.0001 then
  357. local theta = ACOS(cosTheta)
  358. local invSinTheta = 1 / SIN(theta)
  359. startInterp = SIN((1 - t) * theta) * invSinTheta
  360. finishInterp = SIN(t * theta) * invSinTheta
  361. else
  362. startInterp = 1 - t
  363. finishInterp = t
  364. end
  365. else
  366. if (1 + cosTheta) > 0.0001 then
  367. local theta = ACOS(-cosTheta)
  368. local invSinTheta = 1 / SIN(theta)
  369. startInterp = SIN((t - 1) * theta) * invSinTheta
  370. finishInterp = SIN(t * theta) * invSinTheta
  371. else
  372. startInterp = t - 1
  373. finishInterp = t
  374. end
  375. end
  376. 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
  377. end
  378.  
  379. function Clerp(a, b, t)
  380. local qa = {QuaternionFromCFrame(a)}
  381. local qb = {QuaternionFromCFrame(b)}
  382. local ax, ay, az = a.x, a.y, a.z
  383. local bx, by, bz = b.x, b.y, b.z
  384. local _t = 1 - t
  385. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  386. end
  387.  
  388. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  389. local frame = IT("Frame")
  390. frame.BackgroundTransparency = TRANSPARENCY
  391. frame.BorderSizePixel = BORDERSIZEPIXEL
  392. frame.Position = POSITION
  393. frame.Size = SIZE
  394. frame.BackgroundColor3 = COLOR
  395. frame.BorderColor3 = BORDERCOLOR
  396. frame.Name = NAME
  397. frame.Parent = PARENT
  398. return frame
  399. end
  400.  
  401. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  402. local label = IT("TextLabel")
  403. label.BackgroundTransparency = 1
  404. label.Size = UD2(1, 0, 1, 0)
  405. label.Position = UD2(0, 0, 0, 0)
  406. label.TextColor3 = TEXTCOLOR
  407. label.TextStrokeTransparency = STROKETRANSPARENCY
  408. label.TextTransparency = TRANSPARENCY
  409. label.FontSize = TEXTFONTSIZE
  410. label.Font = TEXTFONT
  411. label.BorderSizePixel = BORDERSIZEPIXEL
  412. label.TextScaled = false
  413. label.Text = TEXT
  414. label.Name = NAME
  415. label.Parent = PARENT
  416. return label
  417. end
  418.  
  419. function NoOutlines(PART)
  420. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  421. end
  422.  
  423.  
  424. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  425. local NEWWELD = IT(TYPE)
  426. NEWWELD.Part0 = PART0
  427. NEWWELD.Part1 = PART1
  428. NEWWELD.C0 = C0
  429. NEWWELD.C1 = C1
  430. NEWWELD.Parent = PARENT
  431. return NEWWELD
  432. end
  433.  
  434. local SOUND = IT("Sound",nil)
  435.  
  436. function CreateSound(ID, PARENT, VOLUME, PITCH)
  437. local NEWSOUND = nil
  438. coroutine.resume(coroutine.create(function()
  439. NEWSOUND = SOUND:Clone()
  440. NEWSOUND.Parent = PARENT
  441. NEWSOUND.Volume = VOLUME
  442. NEWSOUND.Pitch = PITCH
  443. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  444. Swait()
  445. NEWSOUND:play()
  446. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  447. end))
  448. return NEWSOUND
  449. end
  450.  
  451. function CFrameFromTopBack(at, top, back)
  452. local right = top:Cross(back)
  453. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  454. end
  455.  
  456. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  457. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  458. local mesh = IT("SpecialMesh",wave)
  459. mesh.MeshType = "FileMesh"
  460. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  461. mesh.Scale = SIZE
  462. mesh.Offset = VT(0,0,-SIZE.X/8)
  463. wave.CFrame = CFRAME
  464. coroutine.resume(coroutine.create(function(PART)
  465. for i = 1, WAIT do
  466. Swait()
  467. mesh.Scale = mesh.Scale + GROW
  468. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  469. if DOESROT == true then
  470. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  471. end
  472. wave.Transparency = wave.Transparency + (0.5/WAIT)
  473. if wave.Transparency > 0.99 then
  474. wave:remove()
  475. end
  476. end
  477. end))
  478. end
  479.  
  480. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  481. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  482. local mesh = IT("SpecialMesh",wave)
  483. mesh.MeshType = "Sphere"
  484. mesh.Scale = SIZE
  485. mesh.Offset = VT(0,0,0)
  486. wave.CFrame = CFRAME
  487. coroutine.resume(coroutine.create(function(PART)
  488. for i = 1, WAIT do
  489. Swait()
  490. mesh.Scale = mesh.Scale + GROW
  491. wave.Transparency = wave.Transparency + (1/WAIT)
  492. if wave.Transparency > 0.99 then
  493. wave:remove()
  494. end
  495. end
  496. end))
  497. end
  498.  
  499. function MakeForm(PART,TYPE)
  500. if TYPE == "Cyl" then
  501. local MSH = IT("CylinderMesh",PART)
  502. elseif TYPE == "Ball" then
  503. local MSH = IT("SpecialMesh",PART)
  504. MSH.MeshType = "Sphere"
  505. elseif TYPE == "Wedge" then
  506. local MSH = IT("SpecialMesh",PART)
  507. MSH.MeshType = "Wedge"
  508. end
  509. end
  510.  
  511. function CheckTableForString(Table, String)
  512. for i, v in pairs(Table) do
  513. if string.find(string.lower(String), string.lower(v)) then
  514. return true
  515. end
  516. end
  517. return false
  518. end
  519.  
  520. function CheckIntangible(Hit)
  521. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  522. if Hit and Hit.Parent then
  523. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  524. return true
  525. end
  526. end
  527. return false
  528. end
  529.  
  530. Debris = game:GetService("Debris")
  531.  
  532. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  533. local Direction = CFrame.new(StartPos, Vec).lookVector
  534. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  535. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  536. if RayHit and CheckIntangible(RayHit) then
  537. if DelayIfHit then
  538. wait()
  539. end
  540. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  541. end
  542. return RayHit, RayPos, RayNormal
  543. end
  544.  
  545. function turnto(position)
  546. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  547. end
  548.  
  549. --//=================================\\
  550. --|| WEAPON CREATION
  551. --\\=================================//
  552. for i = 1, 35 do
  553.  
  554. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  555. FACE.Color = C3(0,0,0)
  556. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  557. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  558. end
  559. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really Red", "Eyeball", VT(0.15,0.15,0.15),false)
  560. MakeForm(EYE,"Ball")
  561. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  562. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Gold", "Eyeball", VT(0.15,0.15,0.15),false)
  563. MakeForm(EYE2,"Ball")
  564. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  565. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  566. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.2, 3.39, 1.61),false)
  567. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "145815658", "186913315", VT(1,1,1), VT(0, 0, 0))
  568. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  569.  
  570. local DECAL = IT("Decal",HandlePart)
  571. DECAL.Texture = "http://www.roblox.com/asset/?id=116830967"
  572.  
  573. for _, c in pairs(Weapon:GetChildren()) do
  574. if c.ClassName == "Part" then
  575. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  576. end
  577. end
  578.  
  579. Weapon.Parent = Character
  580.  
  581. Humanoid.Died:connect(function()
  582. ATTACK = true
  583. end)
  584.  
  585. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  586.  
  587. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK+HOLD] Dead Slam", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
  588.  
  589. --//=================================\\
  590. --|| DAMAGING
  591. --\\=================================//
  592.  
  593. function BAN(CHARACTER)
  594. local BANFOLDER = IT("Folder",Effects)
  595. local naeeym2 = Instance.new("BillboardGui",BANFOLDER)
  596. naeeym2.AlwaysOnTop = false
  597. naeeym2.Size = UDim2.new(10,35,10,35)
  598. naeeym2.StudsOffset = Vector3.new(0,1,0)
  599. naeeym2.Name = "AAAA"
  600. local tecks2 = Instance.new("TextLabel",naeeym2)
  601. tecks2.BackgroundTransparency = 1
  602. tecks2.TextScaled = true
  603. tecks2.BorderSizePixel = 0
  604. tecks2.Text = "YOU DEAD"
  605. tecks2.Font = "Code"
  606. tecks2.TextSize = 45
  607. tecks2.TextStrokeTransparency = 1
  608. tecks2.TextColor3 = Color3.new(255,0,0)
  609. tecks2.TextStrokeColor3 = Color3.new(1,1,1)
  610. tecks2.Size = UDim2.new(1,0,0.5,0)
  611. tecks2.Parent = naeeym2
  612. for i,v in ipairs(CHARACTER:GetChildren()) do
  613. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  614. if v.Name ~= "HumanoidRootPart" then
  615. local BOD = v:Clone()
  616. BOD.CanCollide = false
  617. BOD.Anchored = true
  618. BOD.CFrame = v.CFrame
  619. BOD.Parent = BANFOLDER
  620. BOD.Material = "Neon"
  621. BOD.Color = C3(0,0,0)
  622. if BOD:FindFirstChildOfClass("Decal") then
  623. BOD:FindFirstChildOfClass("Decal"):remove()
  624. end
  625. if BOD.Name == "Head" then
  626. naeeym2.Adornee = BOD
  627. end
  628. if BOD.ClassName == "MeshPart" then
  629. BOD.TextureID = ""
  630. end
  631. end
  632. end
  633. end
  634. CHARACTER:remove()
  635. coroutine.resume(coroutine.create(function()
  636. for i = 1, 50 do
  637. Swait()
  638. for i,v in ipairs(BANFOLDER:GetChildren()) do
  639. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  640. v.Transparency = 1
  641. end
  642. naeeym2.Enabled = false
  643. end
  644. Swait()
  645. for i,v in ipairs(BANFOLDER:GetChildren()) do
  646. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  647. v.Transparency = 0
  648. end
  649. naeeym2.Enabled = true
  650. end
  651. end
  652. BANFOLDER:remove()
  653. end))
  654. end
  655.  
  656. function BANNEAREST(POS,RANGE)
  657. for i,v in ipairs(workspace:GetChildren()) do
  658. local body = v:GetChildren()
  659. for part = 1, #body do
  660. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  661. if(body[part].Position - POS).Magnitude < RANGE then
  662. if v:FindFirstChildOfClass("Humanoid") then
  663. BAN(v)
  664. if game.Players:FindFirstChild(v.Name) then
  665. local Value = IT("BoolValue",Delete)
  666. Value.Name = v.Name
  667. end
  668. end
  669. end
  670. end
  671. end
  672. end
  673. end
  674.  
  675. --//=================================\\
  676. --|| ATTACK FUNCTIONS AND STUFF
  677. --\\=================================//
  678.  
  679. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  680. if FLOOR ~= nil then
  681. coroutine.resume(coroutine.create(function()
  682. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  683. PART.CFrame = CF(POSITION)
  684. for i = 1, 45 do
  685. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  686. RingPiece.Material = FLOOR.Material
  687. RingPiece.Color = FLOOR.Color
  688. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  689. Debris:AddItem(RingPiece,SWAIT/100)
  690. end
  691. PART:remove()
  692. end))
  693. end
  694. end
  695.  
  696. function BANSLAM()
  697. ATTACK = true
  698. Rooted = false
  699. repeat
  700. for i=0, 0.2, 0.1 / Animation_Speed do
  701. Swait()
  702. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)),2 / Animation_Speed)
  703. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 7) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  704. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  705. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  706. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  707. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  708. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  709. end
  710. for i=0, 0.08, 0.1 / Animation_Speed do
  711. Swait()
  712. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  713. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  714. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  715. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  716. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  717. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  718. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  719. end
  720. for i=0, 0.08, 0.1 / Animation_Speed do
  721. Swait()
  722. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  723. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  724. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  725. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  726. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  727. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  728. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  729. end
  730. CreateSound("185688060", Effects, 10, 1)
  731. BANNEAREST(RootPart.CFrame*CF(0,0,-6).p,25)
  732. if HITFLOOR ~= nil then
  733. CreateSound("185688060", HandlePart, 10, 1)
  734. CreateDebreeRing(HITFLOOR,RootPart.CFrame*CF(0,-5,-6).p,5,VT(8,8,8),35)
  735. end
  736. CreateWave(VT(100,100,100),45,RootPart.CFrame*CF(0,-5,-6),true,2,"Really black",VT(0,3,0))
  737. CreateWave(VT(100,100,100),45,RootPart.CFrame*CF(0,-5,-6),true,-2,"Really black",VT(0,3,0))
  738. for i=0, 0.1, 0.1 / Animation_Speed do
  739. Swait()
  740. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  741. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  742. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  743. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  744. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  745. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  746. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  747. end
  748. if HOLD == true then
  749. for i=0, 0.08, 0.1 / Animation_Speed do
  750. Swait()
  751. if HOLD == false then
  752. break
  753. end
  754. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  755. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  756. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  757. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  758. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  759. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  760. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  761. end
  762. end
  763. until HOLD == false
  764. for i=0, 1, 0.1 / Animation_Speed do
  765. Swait()
  766. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  767. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  768. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  769. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  770. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  771. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  772. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  773. end
  774. for i=0, 5, 0.1 / Animation_Speed do
  775. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  776. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  777. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  778. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  779. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  780. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  781. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  782. end
  783. ATTACK = false
  784. Rooted = false
  785. end
  786.  
  787. --//=================================\\
  788. --|| ASSIGN THINGS TO KEYS
  789. --\\=================================//
  790.  
  791.  
  792. function MouseDown(Mouse)
  793. HOLD = true
  794. if ATTACK == false then
  795. BANSLAM()
  796. end
  797. end
  798.  
  799. function MouseUp(Mouse)
  800. HOLD = false
  801. end
  802.  
  803. function KeyDown(Key)
  804. KEYHOLD = true
  805. if Key == "b" and ATTACK == false then
  806. local pos = RootPart.Position
  807. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
  808. CreateSound("769380905", Torso, 10, 1)
  809. end
  810.  
  811. if Key == "t" then
  812. CreateSound("1058417264", Head, 10, 1)
  813. Delete:ClearAllChildren()
  814. end
  815. end
  816.  
  817. function KeyUp(Key)
  818. KEYHOLD = false
  819. end
  820.  
  821. Mouse.Button1Down:connect(function(NEWKEY)
  822. MouseDown(NEWKEY)
  823. end)
  824. Mouse.Button1Up:connect(function(NEWKEY)
  825. MouseUp(NEWKEY)
  826. end)
  827. Mouse.KeyDown:connect(function(NEWKEY)
  828. KeyDown(NEWKEY)
  829. end)
  830. Mouse.KeyUp:connect(function(NEWKEY)
  831. KeyUp(NEWKEY)
  832. end)
  833.  
  834. --//=================================\\
  835. --\\=================================//
  836.  
  837.  
  838. function unanchor()
  839. if UNANCHOR == true then
  840. g = Character:GetChildren()
  841. for i = 1, #g do
  842. if g[i].ClassName == "Part" then
  843. g[i].Anchored = false
  844. end
  845. end
  846. end
  847. end
  848.  
  849.  
  850. --//=================================\\
  851. --|| WRAP THE WHOLE SCRIPT UP
  852. --\\=================================//
  853.  
  854. Humanoid.Changed:connect(function(Jump)
  855. if Jump == "Jump" and (Disable_Jump == true) then
  856. Humanoid.Jump = false
  857. end
  858. end)
  859.  
  860. Speed = 23
  861.  
  862. while true do
  863. Swait()
  864. ANIMATE.Parent = nil
  865. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  866. IDLEANIMATION:Play()
  867. SINE = SINE + CHANGE
  868. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  869. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  870. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  871. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  872. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  873. if ATTACK == false then
  874. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  875. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  876. end
  877. if ANIM == "Walk" and TORSOVELOCITY > 1 and ATTACK == false then
  878. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  879. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  880. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  881. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  882. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or (ATTACK == true) then
  883. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  884. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  885. RightHip.C1 = Clerp(RightHip.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)), 0.2 / Animation_Speed)
  886. LeftHip.C1 = Clerp(LeftHip.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)), 0.2 / Animation_Speed)
  887. end
  888. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  889. ANIM = "Jump"
  890. if ATTACK == false then
  891. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  892. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  893. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  894. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  895. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  896. end
  897. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  898. ANIM = "Fall"
  899. if ATTACK == false then
  900. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  901. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  902. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  903. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  904. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  905. end
  906. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  907. ANIM = "Idle"
  908. if ATTACK == false then
  909. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  910. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  911. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  912. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  913. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  914. end
  915. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  916. ANIM = "Walk"
  917. WALK = WALK + 1 / Animation_Speed
  918. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  919. WALK = 0
  920. if WALKINGANIM == true then
  921. WALKINGANIM = false
  922. elseif WALKINGANIM == false then
  923. WALKINGANIM = true
  924. end
  925. end
  926. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  927. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  928. if ATTACK == false then
  929. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  930. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  931. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  932. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  933. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  934. end
  935. end
  936. unanchor()
  937. Humanoid.MaxHealth = "inf"
  938. Humanoid.Health = "inf"
  939. if Rooted == false then
  940. Disable_Jump = false
  941. Humanoid.WalkSpeed = Speed
  942. elseif Rooted == true then
  943. Disable_Jump = true
  944. Humanoid.WalkSpeed = 0
  945. end
  946. local MATHS = {"0","1"}
  947. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  948. Humanoid.PlatformStand = false
  949. local GAME = game.Players:GetChildren()
  950. for PLAYER = 1, #GAME do
  951. local PLAY = GAME[PLAYER]
  952. if PLAY.Character ~= nil and Delete:FindFirstChild(PLAY.Name) then
  953. PLAY.Character:remove()
  954. end
  955. end
  956. end
  957.  
  958. --//=================================\\
  959. --\\=================================//
  960.  
  961.  
  962.  
  963.  
  964.  
  965. --//====================================================\\--
  966. --|| END OF SCRIPT
  967. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement