Advertisement
9Simplicity9

Untitled

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