Advertisement
Guest User

Untitled

a guest
May 24th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Body = Instance.new("Frame")
  5. local TextButton = Instance.new("TextButton")
  6. local TextButton_2 = Instance.new("TextButton")
  7. local TextLabel = Instance.new("TextLabel")
  8. local TextButton_3 = Instance.new("TextButton")
  9. local TextButton_4 = Instance.new("TextButton")
  10.  
  11. -- Properties
  12.  
  13. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  14.  
  15. Body.Name = "Body"
  16. Body.Parent = ScreenGui
  17. Body.BackgroundColor3 = Color3.new(0, 0, 1)
  18. Body.Position = UDim2.new(-0.0111642741, 0, 0.169977918, 0)
  19. Body.Size = UDim2.new(0, 234, 0, 210)
  20.  
  21.  
  22.  
  23. TextButton_2.Parent = Body
  24. TextButton_2.BackgroundColor3 = Color3.new(1, 0.333333, 1)
  25. TextButton_2.Position = UDim2.new(0.47863248, 0, 0.163461536, 0)
  26. TextButton_2.Size = UDim2.new(0, 122, 0, 50)
  27. TextButton_2.Font = Enum.Font.SourceSans
  28. TextButton_2.Text = "Ban Hammer v2"
  29. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  30. TextButton_2.TextSize = 14
  31. Ban Hammer v2.MouseButton1Down:connect(function()
  32. --script goes under here
  33. --//====================================================\\--
  34. --|| CREATED BY SHACKLUSTER
  35. --\\====================================================//--
  36.  
  37.  
  38.  
  39. wait(0.2)
  40.  
  41.  
  42.  
  43. Player = game:GetService("Players").LocalPlayer
  44. PlayerGui = Player.PlayerGui
  45. Cam = workspace.CurrentCamera
  46. Backpack = Player.Backpack
  47. Character = Player.Character
  48. Humanoid = Character.Humanoid
  49. Mouse = Player:GetMouse()
  50. RootPart = Character["HumanoidRootPart"]
  51. Torso = Character["Torso"]
  52. Head = Character["Head"]
  53. RightArm = Character["Right Arm"]
  54. LeftArm = Character["Left Arm"]
  55. RightLeg = Character["Right Leg"]
  56. LeftLeg = Character["Left Leg"]
  57. RootJoint = RootPart["RootJoint"]
  58. Neck = Torso["Neck"]
  59. RightShoulder = Torso["Right Shoulder"]
  60. LeftShoulder = Torso["Left Shoulder"]
  61. RightHip = Torso["Right Hip"]
  62. LeftHip = Torso["Left Hip"]
  63. local sick = Instance.new("Sound",Character)
  64. sick.SoundId = "rbxassetid://853707984"
  65. sick.Looped = true
  66. sick.Pitch = 1
  67. sick.Volume = 1
  68. sick:Play()
  69.  
  70. IT = Instance.new
  71. CF = CFrame.new
  72. VT = Vector3.new
  73. RAD = math.rad
  74. C3 = Color3.new
  75. UD2 = UDim2.new
  76. BRICKC = BrickColor.new
  77. ANGLES = CFrame.Angles
  78. EULER = CFrame.fromEulerAnglesXYZ
  79. COS = math.cos
  80. ACOS = math.acos
  81. SIN = math.sin
  82. ASIN = math.asin
  83. ABS = math.abs
  84. MRANDOM = math.random
  85. FLOOR = math.floor
  86.  
  87. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  88. local NEWMESH = IT(MESH)
  89. if MESH == "SpecialMesh" then
  90. NEWMESH.MeshType = MESHTYPE
  91. if MESHID ~= "nil" and MESHID ~= "" then
  92. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  93. end
  94. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  95. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  96. end
  97. end
  98. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  99. NEWMESH.Scale = SCALE
  100. NEWMESH.Parent = PARENT
  101. return NEWMESH
  102. end
  103.  
  104. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  105. local NEWPART = IT("Part")
  106. NEWPART.formFactor = FORMFACTOR
  107. NEWPART.Reflectance = REFLECTANCE
  108. NEWPART.Transparency = TRANSPARENCY
  109. NEWPART.CanCollide = false
  110. NEWPART.Locked = true
  111. NEWPART.Anchored = true
  112. if ANCHOR == false then
  113. NEWPART.Anchored = false
  114. end
  115. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  116. NEWPART.Name = NAME
  117. NEWPART.Size = SIZE
  118. NEWPART.Position = Torso.Position
  119. NEWPART.Material = MATERIAL
  120. NEWPART:BreakJoints()
  121. NEWPART.Parent = PARENT
  122. return NEWPART
  123. end
  124.  
  125. --//=================================\\
  126. --|| CUSTOMIZATION
  127. --\\=================================//
  128.  
  129. Player_Size = 1 --Size of the player.
  130. Animation_Speed = 3
  131. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  132.  
  133. local Speed = 16
  134. local Effects2 = {}
  135.  
  136. --//=================================\\
  137. --|| END OF CUSTOMIZATION
  138. --\\=================================//
  139.  
  140. local function weldBetween(a, b)
  141. local weldd = Instance.new("ManualWeld")
  142. weldd.Part0 = a
  143. weldd.Part1 = b
  144. weldd.C0 = CFrame.new()
  145. weldd.C1 = b.CFrame:inverse() * a.CFrame
  146. weldd.Parent = a
  147. return weldd
  148. end
  149.  
  150. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  151. local acs = Instance.new("Part")
  152. acs.CanCollide = false
  153. acs.Anchored = false
  154. acs.Size = Vector3.new(0,0,0)
  155. acs.CFrame = attachmentpart.CFrame
  156. acs.Parent = Character
  157. acs.BrickColor = color
  158. local meshs = Instance.new("SpecialMesh")
  159. meshs.MeshId = mesh
  160. meshs.TextureId = texture
  161. meshs.Parent = acs
  162. meshs.Scale = scale
  163. meshs.Offset = offset
  164. weldBetween(attachmentpart,acs)
  165. end
  166.  
  167. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  168. if TYPE == "Gem" then
  169. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  170. acs.Anchored = false
  171. acs.CanCollide = false
  172. acs.CFrame = PART.CFrame
  173. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  174. weldBetween(PART,acs)
  175. elseif TYPE == "Skull" then
  176. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  177. acs.Anchored = false
  178. acs.CanCollide = false
  179. acs.CFrame = PART.CFrame
  180. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  181. weldBetween(PART,acs)
  182. elseif TYPE == "Eye" then
  183. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  184. acs.Anchored = false
  185. acs.CanCollide = false
  186. acs.CFrame = PART.CFrame
  187. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  188. weldBetween(PART,acs)
  189. end
  190. end
  191.  
  192. --//=================================\\
  193. --|| USEFUL VALUES
  194. --\\=================================//
  195.  
  196. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  197. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  198. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  199. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  200. local CHANGEDEFENSE = 0
  201. local CHANGEDAMAGE = 0
  202. local CHANGEMOVEMENT = 0
  203. local ANIM = "Idle"
  204. local ATTACK = false
  205. local EQUIPPED = false
  206. local HOLD = false
  207. local COMBO = 1
  208. local Rooted = false
  209. local SINE = 0
  210. local KEYHOLD = false
  211. local CHANGE = 2 / Animation_Speed
  212. local WALKINGANIM = false
  213. local WALK = 0
  214. local VALUE1 = false
  215. local HITFLOOR = nil
  216. local VALUE2 = false
  217. local ROBLOXIDLEANIMATION = IT("Animation")
  218. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  219. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  220. --ROBLOXIDLEANIMATION.Parent = Humanoid
  221. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  222. WEAPONGUI.Name = "Weapon GUI"
  223. local Weapon = IT("Model")
  224. Weapon.Name = "Adds"
  225. local Delete = IT("Model",Character)
  226. Delete.Name = "Banlist"
  227. local Effects = IT("Folder", Weapon)
  228. Effects.Name = "Effects"
  229. local ANIMATOR = Humanoid.Animator
  230. local ANIMATE = Character.Animate
  231. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  232. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  233. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  234. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  235. local UNANCHOR = true
  236.  
  237. local SKILLTEXTCOLOR = C3(0,0,0)
  238.  
  239. --//=================================\\
  240. --\\=================================//
  241.  
  242.  
  243. --//=================================\\
  244. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  245. --\\=================================//
  246.  
  247. ArtificialHB = Instance.new("BindableEvent", script)
  248. ArtificialHB.Name = "ArtificialHB"
  249.  
  250. script:WaitForChild("ArtificialHB")
  251.  
  252. frame = Frame_Speed
  253. tf = 0
  254. allowframeloss = false
  255. tossremainder = false
  256. lastframe = tick()
  257. script.ArtificialHB:Fire()
  258.  
  259. game:GetService("RunService").Heartbeat:connect(function(s, p)
  260. tf = tf + s
  261. if tf >= frame then
  262. if allowframeloss then
  263. script.ArtificialHB:Fire()
  264. lastframe = tick()
  265. else
  266. for i = 1, math.floor(tf / frame) do
  267. script.ArtificialHB:Fire()
  268. end
  269. lastframe = tick()
  270. end
  271. if tossremainder then
  272. tf = 0
  273. else
  274. tf = tf - frame * math.floor(tf / frame)
  275. end
  276. end
  277. end)
  278.  
  279. --//=================================\\
  280. --\\=================================//
  281.  
  282.  
  283.  
  284.  
  285.  
  286. --//=================================\\
  287. --|| SOME FUNCTIONS
  288. --\\=================================//
  289.  
  290. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  291. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  292. end
  293.  
  294. function PositiveAngle(NUMBER)
  295. if NUMBER >= 0 then
  296. NUMBER = 0
  297. end
  298. return NUMBER
  299. end
  300.  
  301. function NegativeAngle(NUMBER)
  302. if NUMBER <= 0 then
  303. NUMBER = 0
  304. end
  305. return NUMBER
  306. end
  307.  
  308. function Swait(NUMBER)
  309. if NUMBER == 0 or NUMBER == nil then
  310. ArtificialHB.Event:wait()
  311. else
  312. for i = 1, NUMBER do
  313. ArtificialHB.Event:wait()
  314. end
  315. end
  316. end
  317.  
  318. function QuaternionFromCFrame(cf)
  319. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  320. local trace = m00 + m11 + m22
  321. if trace > 0 then
  322. local s = math.sqrt(1 + trace)
  323. local recip = 0.5 / s
  324. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  325. else
  326. local i = 0
  327. if m11 > m00 then
  328. i = 1
  329. end
  330. if m22 > (i == 0 and m00 or m11) then
  331. i = 2
  332. end
  333. if i == 0 then
  334. local s = math.sqrt(m00 - m11 - m22 + 1)
  335. local recip = 0.5 / s
  336. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  337. elseif i == 1 then
  338. local s = math.sqrt(m11 - m22 - m00 + 1)
  339. local recip = 0.5 / s
  340. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  341. elseif i == 2 then
  342. local s = math.sqrt(m22 - m00 - m11 + 1)
  343. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  344. end
  345. end
  346. end
  347.  
  348. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  349. local xs, ys, zs = x + x, y + y, z + z
  350. local wx, wy, wz = w * xs, w * ys, w * zs
  351. local xx = x * xs
  352. local xy = x * ys
  353. local xz = x * zs
  354. local yy = y * ys
  355. local yz = y * zs
  356. local zz = z * zs
  357. 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))
  358. end
  359.  
  360. function QuaternionSlerp(a, b, t)
  361. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  362. local startInterp, finishInterp;
  363. if cosTheta >= 0.0001 then
  364. if (1 - cosTheta) > 0.0001 then
  365. local theta = ACOS(cosTheta)
  366. local invSinTheta = 1 / SIN(theta)
  367. startInterp = SIN((1 - t) * theta) * invSinTheta
  368. finishInterp = SIN(t * theta) * invSinTheta
  369. else
  370. startInterp = 1 - t
  371. finishInterp = t
  372. end
  373. else
  374. if (1 + cosTheta) > 0.0001 then
  375. local theta = ACOS(-cosTheta)
  376. local invSinTheta = 1 / SIN(theta)
  377. startInterp = SIN((t - 1) * theta) * invSinTheta
  378. finishInterp = SIN(t * theta) * invSinTheta
  379. else
  380. startInterp = t - 1
  381. finishInterp = t
  382. end
  383. end
  384. 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
  385. end
  386.  
  387. function Clerp(a, b, t)
  388. local qa = {QuaternionFromCFrame(a)}
  389. local qb = {QuaternionFromCFrame(b)}
  390. local ax, ay, az = a.x, a.y, a.z
  391. local bx, by, bz = b.x, b.y, b.z
  392. local _t = 1 - t
  393. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  394. end
  395.  
  396. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  397. local frame = IT("Frame")
  398. frame.BackgroundTransparency = TRANSPARENCY
  399. frame.BorderSizePixel = BORDERSIZEPIXEL
  400. frame.Position = POSITION
  401. frame.Size = SIZE
  402. frame.BackgroundColor3 = COLOR
  403. frame.BorderColor3 = BORDERCOLOR
  404. frame.Name = NAME
  405. frame.Parent = PARENT
  406. return frame
  407. end
  408.  
  409. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  410. local label = IT("TextLabel")
  411. label.BackgroundTransparency = 1
  412. label.Size = UD2(1, 0, 1, 0)
  413. label.Position = UD2(0, 0, 0, 0)
  414. label.TextColor3 = TEXTCOLOR
  415. label.TextStrokeTransparency = STROKETRANSPARENCY
  416. label.TextTransparency = TRANSPARENCY
  417. label.FontSize = TEXTFONTSIZE
  418. label.Font = TEXTFONT
  419. label.BorderSizePixel = BORDERSIZEPIXEL
  420. label.TextScaled = false
  421. label.Text = TEXT
  422. label.Name = NAME
  423. label.Parent = PARENT
  424. return label
  425. end
  426.  
  427. function NoOutlines(PART)
  428. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  429. end
  430.  
  431.  
  432. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  433. local NEWWELD = IT(TYPE)
  434. NEWWELD.Part0 = PART0
  435. NEWWELD.Part1 = PART1
  436. NEWWELD.C0 = C0
  437. NEWWELD.C1 = C1
  438. NEWWELD.Parent = PARENT
  439. return NEWWELD
  440. end
  441.  
  442. local SOUND = IT("Sound",nil)
  443.  
  444. function CreateSound(ID, PARENT, VOLUME, PITCH)
  445. local NEWSOUND = nil
  446. coroutine.resume(coroutine.create(function()
  447. NEWSOUND = SOUND:Clone()
  448. NEWSOUND.Parent = PARENT
  449. NEWSOUND.Volume = VOLUME
  450. NEWSOUND.Pitch = PITCH
  451. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  452. Swait()
  453. NEWSOUND:play()
  454. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  455. end))
  456. return NEWSOUND
  457. end
  458.  
  459. function CFrameFromTopBack(at, top, back)
  460. local right = top:Cross(back)
  461. 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)
  462. end
  463.  
  464. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  465. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  466. local mesh = IT("SpecialMesh",wave)
  467. mesh.MeshType = "FileMesh"
  468. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  469. mesh.Scale = SIZE
  470. mesh.Offset = VT(0,0,-SIZE.X/8)
  471. wave.CFrame = CFRAME
  472. coroutine.resume(coroutine.create(function(PART)
  473. for i = 1, WAIT do
  474. Swait()
  475. mesh.Scale = mesh.Scale + GROW
  476. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  477. if DOESROT == true then
  478. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  479. end
  480. wave.Transparency = wave.Transparency + (0.5/WAIT)
  481. if wave.Transparency > 0.99 then
  482. wave:remove()
  483. end
  484. end
  485. end))
  486. end
  487.  
  488. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  489. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  490. local mesh = IT("SpecialMesh",wave)
  491. mesh.MeshType = "Sphere"
  492. mesh.Scale = SIZE
  493. mesh.Offset = VT(0,0,0)
  494. wave.CFrame = CFRAME
  495. coroutine.resume(coroutine.create(function(PART)
  496. for i = 1, WAIT do
  497. Swait()
  498. mesh.Scale = mesh.Scale + GROW
  499. wave.Transparency = wave.Transparency + (1/WAIT)
  500. if wave.Transparency > 0.99 then
  501. wave:remove()
  502. end
  503. end
  504. end))
  505. end
  506.  
  507. function MakeForm(PART,TYPE)
  508. if TYPE == "Cyl" then
  509. local MSH = IT("CylinderMesh",PART)
  510. elseif TYPE == "Ball" then
  511. local MSH = IT("SpecialMesh",PART)
  512. MSH.MeshType = "Sphere"
  513. elseif TYPE == "Wedge" then
  514. local MSH = IT("SpecialMesh",PART)
  515. MSH.MeshType = "Wedge"
  516. end
  517. end
  518.  
  519. function CheckTableForString(Table, String)
  520. for i, v in pairs(Table) do
  521. if string.find(string.lower(String), string.lower(v)) then
  522. return true
  523. end
  524. end
  525. return false
  526. end
  527.  
  528. function CheckIntangible(Hit)
  529. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  530. if Hit and Hit.Parent then
  531. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  532. return true
  533. end
  534. end
  535. return false
  536. end
  537.  
  538. Debris = game:GetService("Debris")
  539.  
  540. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  541. local Direction = CFrame.new(StartPos, Vec).lookVector
  542. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  543. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  544. if RayHit and CheckIntangible(RayHit) then
  545. if DelayIfHit then
  546. wait()
  547. end
  548. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  549. end
  550. return RayHit, RayPos, RayNormal
  551. end
  552.  
  553. function turnto(position)
  554. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  555. end
  556.  
  557. --//=================================\\
  558. --|| WEAPON CREATION
  559. --\\=================================//
  560.  
  561. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  562. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "10604848", "10605252", VT(1,1,1), VT(0, 2.7, 0))
  563. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-0.8,0) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  564.  
  565. for _, c in pairs(Weapon:GetChildren()) do
  566. if c.ClassName == "Part" then
  567. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  568. end
  569. end
  570.  
  571. Weapon.Parent = Character
  572.  
  573. Humanoid.Died:connect(function()
  574. ATTACK = true
  575. end)
  576.  
  577. 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")
  578. 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")
  579.  
  580. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK+HOLD] Ban Slam", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
  581. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Teleport", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 2")
  582.  
  583. --//=================================\\
  584. --|| DAMAGING
  585. --\\=================================//
  586.  
  587. function BAN(CHARACTER)
  588. local BANFOLDER = IT("Folder",Effects)
  589. local naeeym2 = Instance.new("BillboardGui",BANFOLDER)
  590. naeeym2.AlwaysOnTop = false
  591. naeeym2.Size = UDim2.new(5,35,2,35)
  592. naeeym2.StudsOffset = Vector3.new(0,1,0)
  593. naeeym2.Name = "AAAA"
  594. local tecks2 = Instance.new("TextLabel",naeeym2)
  595. tecks2.BackgroundTransparency = 1
  596. tecks2.TextScaled = true
  597. tecks2.BorderSizePixel = 0
  598. tecks2.Text = "BANNED"
  599. tecks2.Font = "Code"
  600. tecks2.TextSize = 30
  601. tecks2.TextStrokeTransparency = 1
  602. tecks2.TextColor3 = Color3.new(1,0,0)
  603. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  604. tecks2.Size = UDim2.new(1,0,0.5,0)
  605. tecks2.Parent = naeeym2
  606. for i,v in ipairs(CHARACTER:GetChildren()) do
  607. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  608. if v.Name ~= "HumanoidRootPart" then
  609. local BOD = v:Clone()
  610. BOD.CanCollide = false
  611. BOD.Anchored = true
  612. BOD.CFrame = v.CFrame
  613. BOD.Parent = BANFOLDER
  614. BOD.Material = "Neon"
  615. BOD.Color = C3(1,0,0)
  616. if BOD:FindFirstChildOfClass("Decal") then
  617. BOD:FindFirstChildOfClass("Decal"):remove()
  618. end
  619. if BOD.Name == "Head" then
  620. naeeym2.Adornee = BOD
  621. end
  622. if BOD.ClassName == "MeshPart" then
  623. BOD.TextureID = ""
  624. end
  625. end
  626. end
  627. end
  628. CHARACTER:remove()
  629. coroutine.resume(coroutine.create(function()
  630. for i = 1, 50 do
  631. Swait()
  632. for i,v in ipairs(BANFOLDER:GetChildren()) do
  633. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  634. v.Transparency = 1
  635. end
  636. naeeym2.Enabled = false
  637. end
  638. Swait()
  639. for i,v in ipairs(BANFOLDER:GetChildren()) do
  640. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  641. v.Transparency = 0
  642. end
  643. naeeym2.Enabled = true
  644. end
  645. end
  646. BANFOLDER:remove()
  647. end))
  648. end
  649.  
  650. function BANNEAREST(POS,RANGE)
  651. for i,v in ipairs(workspace:GetChildren()) do
  652. local body = v:GetChildren()
  653. for part = 1, #body do
  654. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  655. if(body[part].Position - POS).Magnitude < RANGE then
  656. if v:FindFirstChildOfClass("Humanoid") then
  657. BAN(v)
  658. if game.Players:FindFirstChild(v.Name) then
  659. local Value = IT("BoolValue",Delete)
  660. Value.Name = v.Name
  661. end
  662. end
  663. end
  664. end
  665. end
  666. end
  667. end
  668.  
  669. --//=================================\\
  670. --|| ATTACK FUNCTIONS AND STUFF
  671. --\\=================================//
  672.  
  673. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  674. if FLOOR ~= nil then
  675. coroutine.resume(coroutine.create(function()
  676. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  677. PART.CFrame = CF(POSITION)
  678. for i = 1, 45 do
  679. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  680. RingPiece.Material = FLOOR.Material
  681. RingPiece.Color = FLOOR.Color
  682. 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)))
  683. Debris:AddItem(RingPiece,SWAIT/100)
  684. end
  685. PART:remove()
  686. end))
  687. end
  688. end
  689.  
  690. function BANSLAM()
  691. ATTACK = true
  692. Rooted = false
  693. repeat
  694. for i=0, 0.2, 0.1 / Animation_Speed do
  695. Swait()
  696. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)),2 / Animation_Speed)
  697. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 7) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  698. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  699. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  700. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  701. 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)
  702. 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)
  703. end
  704. for i=0, 0.08, 0.1 / Animation_Speed do
  705. Swait()
  706. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  707. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  708. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  709. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  710. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  711. 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)
  712. 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)
  713. end
  714. for i=0, 0.08, 0.1 / Animation_Speed do
  715. Swait()
  716. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  717. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  718. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  719. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  720. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  721. 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)
  722. 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)
  723. end
  724. CreateSound("147722910", Effects, 10, 1)
  725. BANNEAREST(RootPart.CFrame*CF(0,0,-6).p,25)
  726. if HITFLOOR ~= nil then
  727. CreateSound("289842971", HandlePart, 10, 1)
  728. CreateSound("289842971", HandlePart, 10, 1)
  729. CreateSound("289842971", HandlePart, 10, 1)
  730. CreateSound("289842971", HandlePart, 10, 1)
  731. CreateDebreeRing(HITFLOOR,RootPart.CFrame*CF(0,-5,-6).p,5,VT(8,8,8),35)
  732. end
  733. CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,2,"Really red",VT(0,3,0))
  734. CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,-2,"Really red",VT(0,3,0))
  735. for i=0, 0.1, 0.1 / Animation_Speed do
  736. Swait()
  737. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  738. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  739. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  740. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  741. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  742. 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)
  743. 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)
  744. end
  745. if HOLD == true then
  746. for i=0, 0.08, 0.1 / Animation_Speed do
  747. Swait()
  748. if HOLD == false then
  749. break
  750. end
  751. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  752. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  753. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  754. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  755. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  756. 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)
  757. 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)
  758. end
  759. end
  760. until HOLD == false
  761. for i=0, 1, 0.1 / Animation_Speed do
  762. Swait()
  763. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  764. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  765. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  766. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  767. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  768. 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)
  769. 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)
  770. end
  771. for i=0, 5, 0.1 / Animation_Speed do
  772. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  773. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  774. 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)
  775. 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)
  776. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  777. 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)
  778. 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)
  779. end
  780. ATTACK = false
  781. Rooted = false
  782. end
  783.  
  784. --//=================================\\
  785. --|| ASSIGN THINGS TO KEYS
  786. --\\=================================//
  787.  
  788. function MouseDown(Mouse)
  789. HOLD = true
  790. if ATTACK == false then
  791. BANSLAM()
  792. end
  793. end
  794.  
  795. function MouseUp(Mouse)
  796. HOLD = false
  797. end
  798.  
  799. function KeyDown(Key)
  800. KEYHOLD = true
  801. if Key == "b" and ATTACK == false then
  802. local pos = RootPart.Position
  803. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
  804. CreateSound("769380905", Torso, 10, 1)
  805. end
  806.  
  807. if Key == "t" then
  808. CreateSound("1058417264", Head, 10, 1)
  809. Delete:ClearAllChildren()
  810. end
  811. end
  812.  
  813. function KeyUp(Key)
  814. KEYHOLD = false
  815. end
  816.  
  817. Mouse.Button1Down:connect(function(NEWKEY)
  818. MouseDown(NEWKEY)
  819. end)
  820. Mouse.Button1Up:connect(function(NEWKEY)
  821. MouseUp(NEWKEY)
  822. end)
  823. Mouse.KeyDown:connect(function(NEWKEY)
  824. KeyDown(NEWKEY)
  825. end)
  826. Mouse.KeyUp:connect(function(NEWKEY)
  827. KeyUp(NEWKEY)
  828. end)
  829.  
  830. --//=================================\\
  831. --\\=================================//
  832.  
  833.  
  834. function unanchor()
  835. if UNANCHOR == true then
  836. g = Character:GetChildren()
  837. for i = 1, #g do
  838. if g[i].ClassName == "Part" then
  839. g[i].Anchored = false
  840. end
  841. end
  842. end
  843. end
  844.  
  845.  
  846. --//=================================\\
  847. --|| WRAP THE WHOLE SCRIPT UP
  848. --\\=================================//
  849.  
  850. Humanoid.Changed:connect(function(Jump)
  851. if Jump == "Jump" and (Disable_Jump == true) then
  852. Humanoid.Jump = false
  853. end
  854. end)
  855.  
  856. Speed = 23
  857.  
  858. while true do
  859. Swait()
  860. ANIMATE.Parent = nil
  861. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  862. IDLEANIMATION:Play()
  863. SINE = SINE + CHANGE
  864. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  865. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  866. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  867. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  868. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  869. if ATTACK == false then
  870. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  871. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  872. end
  873. if ANIM == "Walk" and TORSOVELOCITY > 1 and ATTACK == false then
  874. 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)
  875. 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)
  876. 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)
  877. 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)
  878. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or (ATTACK == true) then
  879. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  880. 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)
  881. 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)
  882. 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)
  883. end
  884. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  885. ANIM = "Jump"
  886. if ATTACK == false then
  887. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  888. 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)
  889. 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)
  890. 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)
  891. 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)
  892. end
  893. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  894. ANIM = "Fall"
  895. if ATTACK == false then
  896. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  897. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  898. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  899. 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)
  900. 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)
  901. end
  902. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  903. ANIM = "Idle"
  904. if ATTACK == false then
  905. 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)
  906. 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)
  907. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  908. 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)
  909. 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)
  910. end
  911. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  912. ANIM = "Walk"
  913. WALK = WALK + 1 / Animation_Speed
  914. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  915. WALK = 0
  916. if WALKINGANIM == true then
  917. WALKINGANIM = false
  918. elseif WALKINGANIM == false then
  919. WALKINGANIM = true
  920. end
  921. end
  922. --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)
  923. --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)
  924. if ATTACK == false then
  925. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  926. 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)
  927. 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)
  928. 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)
  929. 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)
  930. end
  931. end
  932. unanchor()
  933. Humanoid.MaxHealth = "inf"
  934. Humanoid.Health = "inf"
  935. if Rooted == false then
  936. Disable_Jump = false
  937. Humanoid.WalkSpeed = Speed
  938. elseif Rooted == true then
  939. Disable_Jump = true
  940. Humanoid.WalkSpeed = 0
  941. end
  942. local MATHS = {"0","1"}
  943. 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)]
  944. Humanoid.PlatformStand = false
  945. local GAME = game.Players:GetChildren()
  946. for PLAYER = 1, #GAME do
  947. local PLAY = GAME[PLAYER]
  948. if PLAY.Character ~= nil and Delete:FindFirstChild(PLAY.Name) then
  949. PLAY.Character:remove()
  950. end
  951. end
  952. end
  953.  
  954. --//=================================\\
  955. --\\=================================//
  956.  
  957.  
  958.  
  959.  
  960.  
  961. --//====================================================\\--
  962. --|| END OF SCRIPT
  963. --\\====================================================//--
  964.  
  965.  
  966. TextLabel.Parent = Body
  967. TextLabel.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  968. TextLabel.Size = UDim2.new(0, 234, 0, 34)
  969. TextLabel.Font = Enum.Font.SourceSans
  970. TextLabel.Text = "Ban Hammer Scripts GUI Made By Justmahir"
  971. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  972. TextLabel.TextSize = 14
  973.  
  974.  
  975.  
  976. TextButton_3.Parent = Body
  977. TextButton_3.BackgroundColor3 = Color3.new(1, 0, 0)
  978. TextButton_3.Position = UDim2.new(0, 0, 0.557692289, 0)
  979. TextButton_3.Size = UDim2.new(0, 90, 0, 50)
  980. TextButton_3.Font = Enum.Font.SourceSans
  981. TextButton_3.Text = "Ban hammer v3"
  982. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  983. TextButton_3.TextSize = 14
  984. Ban hammer v3.MouseButton1Down:connect(function()
  985. --script goes under here
  986. -- By Theamazingnater
  987. char = game.Players.LocalPlayer.Character
  988. local music = Instance.new("Sound",char)
  989. music.Volume = 1
  990. music.SoundId = "rbxassetid://853707984"
  991. music.Looped = true
  992. music:Play()
  993. local ban = Instance.new("Sound",char.Torso)
  994. ban.SoundId = "rbxassetid://147722910"
  995. ban.Volume = 10
  996. local banh = Instance.new("Part",char)
  997. banh.Name = "BAN!"
  998. banh.Size = Vector3.new(1, 5.2, 1)
  999. banh.CanCollide = false
  1000. local banm = Instance.new("FileMesh",banh)
  1001. banm.MeshId = "http://www.roblox.com/asset/?id=10604848"
  1002. banm.TextureId = "http://www.roblox.com/asset/?id=10605252"
  1003. banm.Scale = Vector3.new(0.5,0.5,0.5)
  1004. local weld = Instance.new("Weld",banh)
  1005. weld.Part0 = banh
  1006. weld.Part1 = char["Right Arm"]
  1007. weld.C0 = CFrame.new(0.0185670853, -1.69550169, -1.06726038, -0.997520506, 0.00503299711, 0.0701959729, -0.0702080429, -0.00226099929, -0.997529864, -0.00486185262, -0.999984622, 0.00260874978)
  1008. mouse = game.Players.LocalPlayer:GetMouse()
  1009. local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  1010. game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
  1011. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  1012. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  1013. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  1014. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  1015. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  1016. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  1017. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  1018. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  1019. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  1020. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  1021. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  1022. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  1023. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  1024. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  1025. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  1026. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  1027. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  1028. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  1029. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  1030. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  1031. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  1032. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  1033. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  1034. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  1035. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  1036. local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  1037. local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  1038. headweld.Part0 = game.Players.LocalPlayer.Character.Torso
  1039. headweld.Part1 = game.Players.LocalPlayer.Character.Head
  1040. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  1041. using = false
  1042. cananimate = true
  1043. for i = 0,1 , 0.03 do
  1044. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.53559077, 0.0383267403, 0, 0.997264206, 0.0739177391, 0, -0.0739177391, 0.997264266, 0, 2.98023224e-08, 1.86264515e-09, 0.999999881),i)
  1045. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.398939848, -0.585105896, 1.00000012, 3.85171006e-10, 1.11758709e-08, 9.31322042e-09, -0.0281364974, -0.99960357, -1.16415322e-10, 0.999603391, -0.0281365328),i)
  1046. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.75279808, -1.92294025, 0, 0.985477746, 0.16980496, 0, -0.16980496, 0.985477746, 0, 0, 0, 1),i)
  1047. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.696445823, -1.93322277, 0, 0.946795106, -0.321837038, 0, 0.321837038, 0.946795106, 0, 0, 0, 1),i)
  1048. game:GetService("RunService").RenderStepped:wait()
  1049. end
  1050. function Ban(dude)
  1051. local display = dude:FindFirstChild("Head"):Clone()
  1052. display.Parent = workspace
  1053. display.Transparency = 1
  1054. display:FindFirstChildOfClass("Decal"):Destroy()
  1055. display.Anchored = true
  1056. display.CanCollide = false
  1057. local txt = Instance.new("BillboardGui", display)
  1058. txt.Adornee = display
  1059. txt.Name = "Nametag"
  1060. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1061. txt.StudsOffset = Vector3.new(-9, 6, 0)
  1062. local text = Instance.new("TextLabel", txt)
  1063. text.Size = UDim2.new(10, 0, 7, 0)
  1064. text.TextSize = 30
  1065. text.Font = Enum.Font.Arcade
  1066. text.TextScaled = false
  1067. text.BackgroundTransparency = 1
  1068. text.TextColor3 = BrickColor.new("Really blue").Color
  1069. text.TextStrokeTransparency = 0
  1070. text.TextStrokeColor3 = Color3.new(0,0,0)
  1071. text.Text = "Banned!"
  1072. game:GetService("Debris"):AddItem(display,2)
  1073. dude:Destroy()
  1074. end
  1075.  
  1076. function swing()
  1077. if not using then
  1078. using = true
  1079. cananimate = false
  1080. for i = 0,1 , 0.045 do
  1081. weld.C0 = weld.C0:lerp(CFrame.new(0.152735472, -1.66358948, -1.08551645, -0.0427260287, 0.00281231292, 0.999082863, -0.999074996, 0.00474835932, -0.0427390598, -0.00486420048, -0.999984741, 0.00260683335),i)
  1082. headweld.C0 = headweld.C0:lerp(CFrame.new(-4.65661287e-10, 1.49999952, 0, 0.601507425, -2.32830644e-10, 0.798867226, 3.0559022e-10, 1, 0, -0.798867226, -4.65661287e-10, 0.601507425),i)
  1083. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.63088727, -0.00573391188, -0.775853336, 0, 0.999972701, -0.00739025697, 0.775874496, 0.00466241874, 0.630870044),i)
  1084. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(0.0363237262, 0.350219727, -1.1563791, 0.495106995, -0.857149601, 0.1419992, 0.110766649, -0.0998312235, -0.988819599, 0.861742377, 0.505300522, 0.0455164276),i)
  1085. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.50056481, 0.516354084, -0.499166548, 0.995925009, -0.00520473719, 0.09003409, 0.0901844054, 0.0574772507, -0.994265079, -2.98023224e-08, 0.998333335, 0.057712432),i)
  1086. game:GetService("RunService").RenderStepped:wait()
  1087. end
  1088. local hitbox = Instance.new("Part",banh)
  1089. hitbox.Name = "HurtBox"
  1090. hitbox.Size = Vector3.new(2.09, 3.4, 1.8)
  1091. hitbox.Transparency = 1
  1092. local hitboxwe = Instance.new("Weld",hitbox)
  1093. hitboxwe.Part0 = hitbox
  1094. hitboxwe.Part1 = banh
  1095. hitboxwe.C0 = CFrame.new(0.230496407, 0.228847623, 1.76342273, -0.997520506, -0.0702080652, -0.00486185262, 0.00503299385, -0.00226099882, -0.999983966, 0.070195958, -0.997529984, 0.00260874908)
  1096. function getbanned(part)
  1097. local human = part.Parent:FindFirstChildOfClass("Humanoid")
  1098. if human then
  1099. ban:Play()
  1100. Ban(human.Parent)
  1101. end
  1102. end
  1103. hitbox.Touched:connect(getbanned)
  1104. for i = 0,1 , 0.08 do
  1105. headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0249017328, 1.48724031, 2.04332173e-06, 0.499998868, 0, -0.866026163, 0, 1, 0, 0.866026163, 0, 0.499998868),i)
  1106. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.305942208, 0, -0.952050149, 0, 1, 0, 0.952050149, 0, 0.305942208):inverse(),i)
  1107. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.07653618, 0.305679321, -0.818206966, 0.707105398, -0.707108259, 4.32133675e-07, 0.122787982, 0.122786887, -0.984807909, 0.696365714, 0.696363032, 0.173647687),i)
  1108. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.74788636, 0.363031864, -0.7663396, 0.70710665, 0.707106948, -2.23517418e-08, -0.0616280138, 0.061627958, -0.99619478, -0.704416275, 0.704416037, 0.0871551335),i)
  1109. game:GetService("RunService").RenderStepped:wait()
  1110. end
  1111. using = false
  1112. cananimate = true
  1113. hitbox:Destroy()
  1114. weld.C0 = CFrame.new(0.0185670853, -1.69550169, -1.06726038, -0.997520506, 0.00503299711, 0.0701959729, -0.0702080429, -0.00226099929, -0.997529864, -0.00486185262, -0.999984622, 0.00260874978)
  1115. end
  1116. end
  1117. mouse.Button1Down:connect(swing)
  1118.  
  1119. while true do
  1120. if cananimate then
  1121. --Walking animation
  1122. if game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 and cananimate then
  1123. for i = 0.1,0.3 , 0.008 do
  1124. if cananimate and game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 and cananimate then
  1125. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  1126. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  1127. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.53402293, 0.0594797134, 0.144087285, 0.997264206, 0.0707819909, 0.0213012099, -0.0739177391, 0.9549582, 0.287386209, 2.98023224e-08, -0.28817457, 0.957577825),i)
  1128. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.54035091, 0.0769848824, -0.170524538, 0.99592495, -0.0847774297, 0.0307573378, 0.090184398, 0.936214805, -0.339659303, 0, 0.341049016, 0.940045416),i)
  1129. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.67391682, -0.738807678, 0.99999994, 0, 0, 0, 0.673916757, -0.738807261, 0, 0.738807321, 0.673916817),i)
  1130. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.67705727, 0.735931396, 1, 0, 0, 0, 0.677056909, 0.735930681, 0, -0.735930741, 0.677056968),i)
  1131. game:GetService("RunService").Stepped:wait()
  1132. end
  1133. end
  1134. for i = 0.1,0.3 , 0.008 do
  1135. if cananimate and game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 and cananimate then
  1136. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  1137. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  1138. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.69855976, 0.715551376, 1, 0, 0, 0, 0.698559642, 0.715551734, 0, -0.715551794, 0.698559701),i)
  1139. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.80723953, -0.590223312, 1, 0, 0, 0, 0.807239354, -0.590224087, 0, 0.590224147, 0.807239413),i)
  1140. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.53173375, 0.0903658867, -0.222393572, 0.997264206, 0.0662034005, -0.0328776538, -0.0739177391, 0.893185973, -0.443570435, 2.98023224e-08, 0.444787204, 0.895636141),i)
  1141. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.54079688, 0.0720610619, 0.156226337, 0.99592495, -0.085669145, -0.0281783342, 0.090184398, 0.946062148, 0.311179608, 0, -0.312452823, 0.949932992),i)
  1142. game:GetService("RunService").Stepped:wait()
  1143. end
  1144. end
  1145. -- Idle animation
  1146. elseif game.Players.LocalPlayer.Character.Torso.Velocity.x > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x < 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < 0.5 then
  1147. for i = 0,1 , 0.1 do
  1148. if cananimate and game.Players.LocalPlayer.Character.Torso.Velocity.x > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x < 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < 0.5 and cananimate then
  1149. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  1150. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  1151. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.53559077, 0.0383267403, 0, 0.997264206, 0.0739177391, 0, -0.0739177391, 0.997264266, 0, 2.98023224e-08, 1.86264515e-09, 0.999999881),i)
  1152. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.398939848, -0.585105896, 1.00000012, 3.85171006e-10, 1.11758709e-08, 9.31322042e-09, -0.0281364974, -0.99960357, -1.16415322e-10, 0.999603391, -0.0281365328),i)
  1153. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.75279808, -1.92294025, 0, 0.985477746, 0.16980496, 0, -0.16980496, 0.985477746, 0, 0, 0, 1),i)
  1154. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.696445823, -1.93322277, 0, 0.946795106, -0.321837038, 0, 0.321837038, 0.946795106, 0, 0, 0, 1),i)
  1155. game:GetService("RunService").RenderStepped:wait()
  1156. end
  1157. end
  1158. end
  1159. end
  1160. wait()
  1161. end
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167. TextButton_4.Parent = Body
  1168. TextButton_4.BackgroundColor3 = Color3.new(1, 1, 0)
  1169. TextButton_4.Position = UDim2.new(0.47863248, 0, 0.557692289, 0)
  1170. TextButton_4.Size = UDim2.new(0, 122, 0, 50)
  1171. TextButton_4.Font = Enum.Font.SourceSans
  1172. TextButton_4.Text = "Ban Hammer v4"
  1173. TextButton_4.TextColor3 = Color3.new(0, 0, 0)
  1174. TextButton_4.TextSize = 14
  1175. Ban Hammer v4.MouseButton1Down:connect(function()
  1176. --script goes under here
  1177. -----------------------
  1178. --[[ Name : God ]]--
  1179. -------------------------------------------------------
  1180. --A script By makhail07
  1181.  
  1182. --Discord Creterisk#2958
  1183.  
  1184. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  1185. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  1186. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  1187. --YOU FUCKING SKIDS,
  1188. --For Those who log/decompile this, If you sell or trade this,
  1189. --and I find out who you are, i will take massive action.
  1190.  
  1191. -------------------------------------------------------
  1192.  
  1193. local FavIDs = {
  1194. 340106355, --Nefl Crystals
  1195. 927529620, --Dimension
  1196. 876981900, --Fantasy
  1197. 398987889, --Ordinary Days
  1198. 1117396305, --Oh wait, it's you.
  1199. 885996042, --Action Winter Journey
  1200. 919231299, --Sprawling Idiot Effigy
  1201. 743466274, --Good Day Sunshine
  1202. 727411183, --Knife Fight
  1203. 1402748531, --The Earth Is Counting On You!
  1204. 595230126 --Robot Language
  1205. }
  1206.  
  1207.  
  1208.  
  1209. --The reality of my life isn't real but a Universe -makhail07
  1210. wait()
  1211. local plr = game:service'Players'.LocalPlayer
  1212. print('Local User is '..plr.Name)
  1213. print('God Loaded')
  1214. print('hahahAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')
  1215. local char = plr.Character
  1216. local hum = char.Humanoid
  1217. local hed = char.Head
  1218. local root = char.HumanoidRootPart
  1219. local rootj = root.RootJoint
  1220. local tors = char.Torso
  1221. local ra = char["Right Arm"]
  1222. local la = char["Left Arm"]
  1223. local rl = char["Right Leg"]
  1224. local ll = char["Left Leg"]
  1225. local neck = tors["Neck"]
  1226. local mouse = plr:GetMouse()
  1227. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1228. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1229. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1230. local maincolor = BrickColor.new("Institutional white")
  1231.  
  1232.  
  1233. -------------------------------------------------------
  1234. --Start Good Stuff--
  1235. -------------------------------------------------------
  1236. cam = game.Workspace.CurrentCamera
  1237. CF = CFrame.new
  1238. angles = CFrame.Angles
  1239. attack = false
  1240. Euler = CFrame.fromEulerAnglesXYZ
  1241. Rad = math.rad
  1242. IT = Instance.new
  1243. BrickC = BrickColor.new
  1244. Cos = math.cos
  1245. Acos = math.acos
  1246. Sin = math.sin
  1247. Asin = math.asin
  1248. Abs = math.abs
  1249. Mrandom = math.random
  1250. Floor = math.floor
  1251. -------------------------------------------------------
  1252. --End Good Stuff--
  1253. -------------------------------------------------------
  1254. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1255. RSH, LSH = nil, nil
  1256. RW = Instance.new("Weld")
  1257. LW = Instance.new("Weld")
  1258. RH = tors["Right Hip"]
  1259. LH = tors["Left Hip"]
  1260. RSH = tors["Right Shoulder"]
  1261. LSH = tors["Left Shoulder"]
  1262. RSH.Parent = nil
  1263. LSH.Parent = nil
  1264. RW.Name = "RW"
  1265. RW.Part0 = tors
  1266. RW.C0 = CF(1.5, 0.5, 0)
  1267. RW.C1 = CF(0, 0.5, 0)
  1268. RW.Part1 = ra
  1269. RW.Parent = tors
  1270. LW.Name = "LW"
  1271. LW.Part0 = tors
  1272. LW.C0 = CF(-1.5, 0.5, 0)
  1273. LW.C1 = CF(0, 0.5, 0)
  1274. LW.Part1 = la
  1275. LW.Parent = tors
  1276. Effects = {}
  1277. -------------------------------------------------------
  1278. --Start HeartBeat--
  1279. -------------------------------------------------------
  1280. ArtificialHB = Instance.new("BindableEvent", script)
  1281. ArtificialHB.Name = "Heartbeat"
  1282. script:WaitForChild("Heartbeat")
  1283.  
  1284. frame = 1 / 60
  1285. tf = 0
  1286. allowframeloss = false
  1287. tossremainder = false
  1288.  
  1289.  
  1290. lastframe = tick()
  1291. script.Heartbeat:Fire()
  1292.  
  1293.  
  1294. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1295. tf = tf + s
  1296. if tf >= frame then
  1297. if allowframeloss then
  1298. script.Heartbeat:Fire()
  1299. lastframe = tick()
  1300. else
  1301. for i = 1, math.floor(tf / frame) do
  1302. script.Heartbeat:Fire()
  1303. end
  1304. lastframe = tick()
  1305. end
  1306. if tossremainder then
  1307. tf = 0
  1308. else
  1309. tf = tf - frame * math.floor(tf / frame)
  1310. end
  1311. end
  1312. end)
  1313. -------------------------------------------------------
  1314. --End HeartBeat--
  1315. -------------------------------------------------------
  1316.  
  1317. -------------------------------------------------------
  1318. --Start Important Functions--
  1319. -------------------------------------------------------
  1320. function swait(num)
  1321. if num == 0 or num == nil then
  1322. game:service("RunService").Stepped:wait(0)
  1323. else
  1324. for i = 0, num do
  1325. game:service("RunService").Stepped:wait(0)
  1326. end
  1327. end
  1328. end
  1329. function thread(f)
  1330. coroutine.resume(coroutine.create(f))
  1331. end
  1332. function clerp(a, b, t)
  1333. local qa = {
  1334. QuaternionFromCFrame(a)
  1335. }
  1336. local qb = {
  1337. QuaternionFromCFrame(b)
  1338. }
  1339. local ax, ay, az = a.x, a.y, a.z
  1340. local bx, by, bz = b.x, b.y, b.z
  1341. local _t = 1 - t
  1342. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1343. end
  1344. function QuaternionFromCFrame(cf)
  1345. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1346. local trace = m00 + m11 + m22
  1347. if trace > 0 then
  1348. local s = math.sqrt(1 + trace)
  1349. local recip = 0.5 / s
  1350. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1351. else
  1352. local i = 0
  1353. if m00 < m11 then
  1354. i = 1
  1355. end
  1356. if m22 > (i == 0 and m00 or m11) then
  1357. i = 2
  1358. end
  1359. if i == 0 then
  1360. local s = math.sqrt(m00 - m11 - m22 + 1)
  1361. local recip = 0.5 / s
  1362. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1363. elseif i == 1 then
  1364. local s = math.sqrt(m11 - m22 - m00 + 1)
  1365. local recip = 0.5 / s
  1366. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1367. elseif i == 2 then
  1368. local s = math.sqrt(m22 - m00 - m11 + 1)
  1369. local recip = 0.5 / s
  1370. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1371. end
  1372. end
  1373. end
  1374. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1375. local xs, ys, zs = x + x, y + y, z + z
  1376. local wx, wy, wz = w * xs, w * ys, w * zs
  1377. local xx = x * xs
  1378. local xy = x * ys
  1379. local xz = x * zs
  1380. local yy = y * ys
  1381. local yz = y * zs
  1382. local zz = z * zs
  1383. 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))
  1384. end
  1385. function QuaternionSlerp(a, b, t)
  1386. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1387. local startInterp, finishInterp
  1388. if cosTheta >= 1.0E-4 then
  1389. if 1 - cosTheta > 1.0E-4 then
  1390. local theta = math.acos(cosTheta)
  1391. local invSinTheta = 1 / Sin(theta)
  1392. startInterp = Sin((1 - t) * theta) * invSinTheta
  1393. finishInterp = Sin(t * theta) * invSinTheta
  1394. else
  1395. startInterp = 1 - t
  1396. finishInterp = t
  1397. end
  1398. elseif 1 + cosTheta > 1.0E-4 then
  1399. local theta = math.acos(-cosTheta)
  1400. local invSinTheta = 1 / Sin(theta)
  1401. startInterp = Sin((t - 1) * theta) * invSinTheta
  1402. finishInterp = Sin(t * theta) * invSinTheta
  1403. else
  1404. startInterp = t - 1
  1405. finishInterp = t
  1406. end
  1407. 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
  1408. end
  1409. function rayCast(Position, Direction, Range, Ignore)
  1410. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1411. end
  1412. local RbxUtility = LoadLibrary("RbxUtility")
  1413. local Create = RbxUtility.Create
  1414.  
  1415. -------------------------------------------------------
  1416. --Start Damage Function--
  1417. -------------------------------------------------------
  1418. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1419. if hit.Parent == nil then
  1420. return
  1421. end
  1422. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1423. for _, v in pairs(hit.Parent:children()) do
  1424. if v:IsA("Humanoid") then
  1425. h = v
  1426. end
  1427. end
  1428. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1429.  
  1430. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1431. end
  1432.  
  1433. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1434. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1435. if hit.Parent.DebounceHit.Value == true then
  1436. return
  1437. end
  1438. end
  1439. if insta == true then
  1440. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1441. end
  1442. local c = Create("ObjectValue"){
  1443. Name = "creator",
  1444. Value = game:service("Players").LocalPlayer,
  1445. Parent = h,
  1446. }
  1447. game:GetService("Debris"):AddItem(c, .5)
  1448. if HitSound ~= nil and HitPitch ~= nil then
  1449. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1450. end
  1451. local Damage = math.random(minim, maxim)
  1452. local blocked = false
  1453. local block = hit.Parent:findFirstChild("Block")
  1454. if block ~= nil then
  1455. if block.className == "IntValue" then
  1456. if block.Value > 0 then
  1457. blocked = true
  1458. block.Value = block.Value - 1
  1459. print(block.Value)
  1460. end
  1461. end
  1462. end
  1463. if blocked == false then
  1464. h.Health = h.Health - Damage
  1465. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1466. else
  1467. h.Health = h.Health - (Damage / 2)
  1468. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1469. end
  1470. if Type == "Knockdown" then
  1471. local hum = hit.Parent.Humanoid
  1472. hum.PlatformStand = true
  1473. coroutine.resume(coroutine.create(function(HHumanoid)
  1474. swait(1)
  1475. HHumanoid.PlatformStand = false
  1476. end), hum)
  1477. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1478. local bodvol = Create("BodyVelocity"){
  1479. velocity = angle * knockback,
  1480. P = 5000,
  1481. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1482. Parent = hit,
  1483. }
  1484. local rl = Create("BodyAngularVelocity"){
  1485. P = 3000,
  1486. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1487. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1488. Parent = hit,
  1489. }
  1490. game:GetService("Debris"):AddItem(bodvol, .5)
  1491. game:GetService("Debris"):AddItem(rl, .5)
  1492. elseif Type == "Normal" then
  1493. local vp = Create("BodyVelocity"){
  1494. P = 500,
  1495. maxForce = Vector3.new(math.huge, 0, math.huge),
  1496. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1497. }
  1498. if knockback > 0 then
  1499. vp.Parent = hit.Parent.Torso
  1500. end
  1501. game:GetService("Debris"):AddItem(vp, .5)
  1502. elseif Type == "Up" then
  1503. local bodyVelocity = Create("BodyVelocity"){
  1504. velocity = Vector3.new(0, 20, 0),
  1505. P = 5000,
  1506. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1507. Parent = hit,
  1508. }
  1509. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1510. elseif Type == "DarkUp" then
  1511. coroutine.resume(coroutine.create(function()
  1512. for i = 0, 1, 0.1 do
  1513. swait()
  1514. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1515. end
  1516. end))
  1517. local bodyVelocity = Create("BodyVelocity"){
  1518. velocity = Vector3.new(0, 20, 0),
  1519. P = 5000,
  1520. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1521. Parent = hit,
  1522. }
  1523. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1524. elseif Type == "Snare" then
  1525. local bp = Create("BodyPosition"){
  1526. P = 2000,
  1527. D = 100,
  1528. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1529. position = hit.Parent.Torso.Position,
  1530. Parent = hit.Parent.Torso,
  1531. }
  1532. game:GetService("Debris"):AddItem(bp, 1)
  1533. elseif Type == "Freeze" then
  1534. local BodPos = Create("BodyPosition"){
  1535. P = 50000,
  1536. D = 1000,
  1537. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1538. position = hit.Parent.Torso.Position,
  1539. Parent = hit.Parent.Torso,
  1540. }
  1541. local BodGy = Create("BodyGyro") {
  1542. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1543. P = 20e+003,
  1544. Parent = hit.Parent.Torso,
  1545. cframe = hit.Parent.Torso.CFrame,
  1546. }
  1547. hit.Parent.Torso.Anchored = true
  1548. coroutine.resume(coroutine.create(function(Part)
  1549. swait(1.5)
  1550. Part.Anchored = false
  1551. end), hit.Parent.Torso)
  1552. game:GetService("Debris"):AddItem(BodPos, 3)
  1553. game:GetService("Debris"):AddItem(BodGy, 3)
  1554. end
  1555. local debounce = Create("BoolValue"){
  1556. Name = "DebounceHit",
  1557. Parent = hit.Parent,
  1558. Value = true,
  1559. }
  1560. game:GetService("Debris"):AddItem(debounce, Delay)
  1561. c = Create("ObjectValue"){
  1562. Name = "creator",
  1563. Value = Player,
  1564. Parent = h,
  1565. }
  1566. game:GetService("Debris"):AddItem(c, .5)
  1567. end
  1568. end
  1569. -------------------------------------------------------
  1570. --End Damage Function--
  1571. -------------------------------------------------------
  1572.  
  1573. -------------------------------------------------------
  1574. --Start Damage Function Customization--
  1575. -------------------------------------------------------
  1576. function ShowDamage(Pos, Text, Time, Color)
  1577. local Rate = (1 / 30)
  1578. local Pos = (Pos or Vector3.new(0, 0, 0))
  1579. local Text = (Text or "")
  1580. local Time = (Time or 2)
  1581. local Color = (Color or Color3.new(1, 0, 1))
  1582. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1583. EffectPart.Anchored = true
  1584. local BillboardGui = Create("BillboardGui"){
  1585. Size = UDim2.new(3, 0, 3, 0),
  1586. Adornee = EffectPart,
  1587. Parent = EffectPart,
  1588. }
  1589. local TextLabel = Create("TextLabel"){
  1590. BackgroundTransparency = 1,
  1591. Size = UDim2.new(1, 0, 1, 0),
  1592. Text = Text,
  1593. Font = "Bodoni",
  1594. TextColor3 = Color,
  1595. TextScaled = true,
  1596. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  1597. Parent = BillboardGui,
  1598. }
  1599. game.Debris:AddItem(EffectPart, (Time))
  1600. EffectPart.Parent = game:GetService("Workspace")
  1601. delay(0, function()
  1602. local Frames = (Time / Rate)
  1603. for Frame = 1, Frames do
  1604. wait(Rate)
  1605. local Percent = (Frame / Frames)
  1606. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1607. TextLabel.TextTransparency = Percent
  1608. end
  1609. if EffectPart and EffectPart.Parent then
  1610. EffectPart:Destroy()
  1611. end
  1612. end)
  1613. end
  1614. -------------------------------------------------------
  1615. --End Damage Function Customization--
  1616. -------------------------------------------------------
  1617.  
  1618. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1619. for _, c in pairs(workspace:children()) do
  1620. local hum = c:findFirstChild("Humanoid")
  1621. if hum ~= nil then
  1622. local head = c:findFirstChild("Head")
  1623. if head ~= nil then
  1624. local targ = head.Position - Part.Position
  1625. local mag = targ.magnitude
  1626. if magni >= mag and c.Name ~= plr.Name then
  1627. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  1628. end
  1629. end
  1630. end
  1631. end
  1632. end
  1633.  
  1634.  
  1635. CFuncs = {
  1636. Part = {
  1637. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1638. local Part = Create("Part")({
  1639. Parent = Parent,
  1640. Reflectance = Reflectance,
  1641. Transparency = Transparency,
  1642. CanCollide = false,
  1643. Locked = true,
  1644. BrickColor = BrickColor.new(tostring(BColor)),
  1645. Name = Name,
  1646. Size = Size,
  1647. Material = Material
  1648. })
  1649. RemoveOutlines(Part)
  1650. return Part
  1651. end
  1652. },
  1653. Mesh = {
  1654. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1655. local Msh = Create(Mesh)({
  1656. Parent = Part,
  1657. Offset = OffSet,
  1658. Scale = Scale
  1659. })
  1660. if Mesh == "SpecialMesh" then
  1661. Msh.MeshType = MeshType
  1662. Msh.MeshId = MeshId
  1663. end
  1664. return Msh
  1665. end
  1666. },
  1667. Mesh = {
  1668. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1669. local Msh = Create(Mesh)({
  1670. Parent = Part,
  1671. Offset = OffSet,
  1672. Scale = Scale
  1673. })
  1674. if Mesh == "SpecialMesh" then
  1675. Msh.MeshType = MeshType
  1676. Msh.MeshId = MeshId
  1677. end
  1678. return Msh
  1679. end
  1680. },
  1681. Weld = {
  1682. Create = function(Parent, Part0, Part1, C0, C1)
  1683. local Weld = Create("Weld")({
  1684. Parent = Parent,
  1685. Part0 = Part0,
  1686. Part1 = Part1,
  1687. C0 = C0,
  1688. C1 = C1
  1689. })
  1690. return Weld
  1691. end
  1692. },
  1693. Sound = {
  1694. Create = function(id, par, vol, pit)
  1695. coroutine.resume(coroutine.create(function()
  1696. local S = Create("Sound")({
  1697. Volume = vol,
  1698. Pitch = pit or 1,
  1699. SoundId = id,
  1700. Parent = par or workspace
  1701. })
  1702. wait()
  1703. S:play()
  1704. game:GetService("Debris"):AddItem(S, 6)
  1705. end))
  1706. end
  1707. },
  1708. ParticleEmitter = {
  1709. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1710. local fp = Create("ParticleEmitter")({
  1711. Parent = Parent,
  1712. Color = ColorSequence.new(Color1, Color2),
  1713. LightEmission = LightEmission,
  1714. Size = Size,
  1715. Texture = Texture,
  1716. Transparency = Transparency,
  1717. ZOffset = ZOffset,
  1718. Acceleration = Accel,
  1719. Drag = Drag,
  1720. LockedToPart = LockedToPart,
  1721. VelocityInheritance = VelocityInheritance,
  1722. EmissionDirection = EmissionDirection,
  1723. Enabled = Enabled,
  1724. Lifetime = LifeTime,
  1725. Rate = Rate,
  1726. Rotation = Rotation,
  1727. RotSpeed = RotSpeed,
  1728. Speed = Speed,
  1729. VelocitySpread = VelocitySpread
  1730. })
  1731. return fp
  1732. end
  1733. }
  1734. }
  1735. function RemoveOutlines(part)
  1736. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1737. end
  1738. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1739. local Part = Create("Part")({
  1740. formFactor = FormFactor,
  1741. Parent = Parent,
  1742. Reflectance = Reflectance,
  1743. Transparency = Transparency,
  1744. CanCollide = false,
  1745. Locked = true,
  1746. BrickColor = BrickColor.new(tostring(BColor)),
  1747. Name = Name,
  1748. Size = Size,
  1749. Material = Material
  1750. })
  1751. RemoveOutlines(Part)
  1752. return Part
  1753. end
  1754. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1755. local Msh = Create(Mesh)({
  1756. Parent = Part,
  1757. Offset = OffSet,
  1758. Scale = Scale
  1759. })
  1760. if Mesh == "SpecialMesh" then
  1761. Msh.MeshType = MeshType
  1762. Msh.MeshId = MeshId
  1763. end
  1764. return Msh
  1765. end
  1766. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1767. local Weld = Create("Weld")({
  1768. Parent = Parent,
  1769. Part0 = Part0,
  1770. Part1 = Part1,
  1771. C0 = C0,
  1772. C1 = C1
  1773. })
  1774. return Weld
  1775. end
  1776.  
  1777.  
  1778. -------------------------------------------------------
  1779. --Start Effect Function--
  1780. -------------------------------------------------------
  1781. EffectModel = Instance.new("Model", char)
  1782. Effects = {
  1783. Block = {
  1784. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1785. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1786. prt.Anchored = true
  1787. prt.CFrame = cframe
  1788. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1789. game:GetService("Debris"):AddItem(prt, 10)
  1790. if Type == 1 or Type == nil then
  1791. table.insert(Effects, {
  1792. prt,
  1793. "Block1",
  1794. delay,
  1795. x3,
  1796. y3,
  1797. z3,
  1798. msh
  1799. })
  1800. elseif Type == 2 then
  1801. table.insert(Effects, {
  1802. prt,
  1803. "Block2",
  1804. delay,
  1805. x3,
  1806. y3,
  1807. z3,
  1808. msh
  1809. })
  1810. else
  1811. table.insert(Effects, {
  1812. prt,
  1813. "Block3",
  1814. delay,
  1815. x3,
  1816. y3,
  1817. z3,
  1818. msh
  1819. })
  1820. end
  1821. end
  1822. },
  1823. Sphere = {
  1824. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1825. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1826. prt.Anchored = true
  1827. prt.CFrame = cframe
  1828. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1829. game:GetService("Debris"):AddItem(prt, 10)
  1830. table.insert(Effects, {
  1831. prt,
  1832. "Cylinder",
  1833. delay,
  1834. x3,
  1835. y3,
  1836. z3,
  1837. msh
  1838. })
  1839. end
  1840. },
  1841. Cylinder = {
  1842. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1843. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1844. prt.Anchored = true
  1845. prt.CFrame = cframe
  1846. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1847. game:GetService("Debris"):AddItem(prt, 10)
  1848. table.insert(Effects, {
  1849. prt,
  1850. "Cylinder",
  1851. delay,
  1852. x3,
  1853. y3,
  1854. z3,
  1855. msh
  1856. })
  1857. end
  1858. },
  1859. Wave = {
  1860. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1861. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1862. prt.Anchored = true
  1863. prt.CFrame = cframe
  1864. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1865. game:GetService("Debris"):AddItem(prt, 10)
  1866. table.insert(Effects, {
  1867. prt,
  1868. "Cylinder",
  1869. delay,
  1870. x3 / 60,
  1871. y3 / 60,
  1872. z3 / 60,
  1873. msh
  1874. })
  1875. end
  1876. },
  1877. Ring = {
  1878. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1879. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1880. prt.Anchored = true
  1881. prt.CFrame = cframe
  1882. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1883. game:GetService("Debris"):AddItem(prt, 10)
  1884. table.insert(Effects, {
  1885. prt,
  1886. "Cylinder",
  1887. delay,
  1888. x3,
  1889. y3,
  1890. z3,
  1891. msh
  1892. })
  1893. end
  1894. },
  1895. Break = {
  1896. Create = function(brickcolor, cframe, x1, y1, z1)
  1897. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1898. prt.Anchored = true
  1899. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1900. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1901. local num = math.random(10, 50) / 1000
  1902. game:GetService("Debris"):AddItem(prt, 10)
  1903. table.insert(Effects, {
  1904. prt,
  1905. "Shatter",
  1906. num,
  1907. prt.CFrame,
  1908. math.random() - math.random(),
  1909. 0,
  1910. math.random(50, 100) / 100
  1911. })
  1912. end
  1913. },
  1914. Spiral = {
  1915. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1916. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1917. prt.Anchored = true
  1918. prt.CFrame = cframe
  1919. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1920. game:GetService("Debris"):AddItem(prt, 10)
  1921. table.insert(Effects, {
  1922. prt,
  1923. "Cylinder",
  1924. delay,
  1925. x3,
  1926. y3,
  1927. z3,
  1928. msh
  1929. })
  1930. end
  1931. },
  1932. Push = {
  1933. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1934. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1935. prt.Anchored = true
  1936. prt.CFrame = cframe
  1937. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1938. game:GetService("Debris"):AddItem(prt, 10)
  1939. table.insert(Effects, {
  1940. prt,
  1941. "Cylinder",
  1942. delay,
  1943. x3,
  1944. y3,
  1945. z3,
  1946. msh
  1947. })
  1948. end
  1949. }
  1950. }
  1951. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1952. local fp = IT("Part")
  1953. fp.formFactor = formfactor
  1954. fp.Parent = parent
  1955. fp.Reflectance = reflectance
  1956. fp.Transparency = transparency
  1957. fp.CanCollide = false
  1958. fp.Locked = true
  1959. fp.BrickColor = brickcolor
  1960. fp.Name = name
  1961. fp.Size = size
  1962. fp.Position = tors.Position
  1963. RemoveOutlines(fp)
  1964. fp.Material = "SmoothPlastic"
  1965. fp:BreakJoints()
  1966. return fp
  1967. end
  1968.  
  1969. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1970. local mesh = IT(Mesh)
  1971. mesh.Parent = part
  1972. if Mesh == "SpecialMesh" then
  1973. mesh.MeshType = meshtype
  1974. if meshid ~= "nil" then
  1975. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1976. end
  1977. end
  1978. mesh.Offset = offset
  1979. mesh.Scale = scale
  1980. return mesh
  1981. end
  1982.  
  1983. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1984. local type = type
  1985. local rng = Instance.new("Part", char)
  1986. rng.Anchored = true
  1987. rng.BrickColor = color
  1988. rng.CanCollide = false
  1989. rng.FormFactor = 3
  1990. rng.Name = "Ring"
  1991. rng.Material = "Neon"
  1992. rng.Size = Vector3.new(1, 1, 1)
  1993. rng.Transparency = 0
  1994. rng.TopSurface = 0
  1995. rng.BottomSurface = 0
  1996. rng.CFrame = pos
  1997. local rngm = Instance.new("SpecialMesh", rng)
  1998. rngm.MeshType = MType
  1999. rngm.Scale = scale
  2000. local scaler2 = 1
  2001. if type == "Add" then
  2002. scaler2 = 1 * value
  2003. elseif type == "Divide" then
  2004. scaler2 = 1 / value
  2005. end
  2006. coroutine.resume(coroutine.create(function()
  2007. for i = 0, 10 / bonuspeed, 0.1 do
  2008. swait()
  2009. if type == "Add" then
  2010. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2011. elseif type == "Divide" then
  2012. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2013. end
  2014. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2015. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  2016. end
  2017. rng:Destroy()
  2018. end))
  2019. end
  2020.  
  2021. function Eviscerate(dude)
  2022. if dude.Name ~= char then
  2023. local bgf = IT("BodyGyro", dude.Head)
  2024. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2025. local val = IT("BoolValue", dude)
  2026. val.Name = "IsHit"
  2027. local ds = coroutine.wrap(function()
  2028. dude:WaitForChild("Head"):BreakJoints()
  2029. wait(0.5)
  2030. target = nil
  2031. coroutine.resume(coroutine.create(function()
  2032. for i, v in pairs(dude:GetChildren()) do
  2033. if v:IsA("Accessory") then
  2034. v:Destroy()
  2035. end
  2036. if v:IsA("Humanoid") then
  2037. v:Destroy()
  2038. end
  2039. if v:IsA("CharacterMesh") then
  2040. v:Destroy()
  2041. end
  2042. if v:IsA("Model") then
  2043. v:Destroy()
  2044. end
  2045. if v:IsA("Part") or v:IsA("MeshPart") then
  2046. for x, o in pairs(v:GetChildren()) do
  2047. if o:IsA("Decal") then
  2048. o:Destroy()
  2049. end
  2050. end
  2051. coroutine.resume(coroutine.create(function()
  2052. v.Material = "Neon"
  2053. v.CanCollide = false
  2054. local PartEmmit1 = IT("ParticleEmitter", v)
  2055. PartEmmit1.LightEmission = 1
  2056. PartEmmit1.Texture = "rbxassetid://284205403"
  2057. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2058. PartEmmit1.Rate = 150
  2059. PartEmmit1.Lifetime = NumberRange.new(1)
  2060. PartEmmit1.Size = NumberSequence.new({
  2061. NumberSequenceKeypoint.new(0, 0.75, 0),
  2062. NumberSequenceKeypoint.new(1, 0, 0)
  2063. })
  2064. PartEmmit1.Transparency = NumberSequence.new({
  2065. NumberSequenceKeypoint.new(0, 0, 0),
  2066. NumberSequenceKeypoint.new(1, 1, 0)
  2067. })
  2068. PartEmmit1.Speed = NumberRange.new(0, 0)
  2069. PartEmmit1.VelocitySpread = 30000
  2070. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  2071. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  2072. local BodPoss = IT("BodyPosition", v)
  2073. BodPoss.P = 3000
  2074. BodPoss.D = 1000
  2075. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2076. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2077. v.Color = maincolor.Color
  2078. coroutine.resume(coroutine.create(function()
  2079. for i = 0, 49 do
  2080. swait(1)
  2081. v.Transparency = v.Transparency + 0.08
  2082. end
  2083. wait(0.5)
  2084. PartEmmit1.Enabled = false
  2085. wait(3)
  2086. v:Destroy()
  2087. dude:Destroy()
  2088. end))
  2089. end))
  2090. end
  2091. end
  2092. end))
  2093. end)
  2094. ds()
  2095. end
  2096. end
  2097.  
  2098. function FindNearestHead(Position, Distance, SinglePlayer)
  2099. if SinglePlayer then
  2100. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  2101. end
  2102. local List = {}
  2103. for i, v in pairs(workspace:GetChildren()) do
  2104. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  2105. table.insert(List, v)
  2106. end
  2107. end
  2108. return List
  2109. end
  2110.  
  2111. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  2112. local type = type
  2113. local rng = Instance.new("Part", char)
  2114. rng.Anchored = true
  2115. rng.BrickColor = color
  2116. rng.CanCollide = false
  2117. rng.FormFactor = 3
  2118. rng.Name = "Ring"
  2119. rng.Material = "Neon"
  2120. rng.Size = Vector3.new(1, 1, 1)
  2121. rng.Transparency = 0
  2122. rng.TopSurface = 0
  2123. rng.BottomSurface = 0
  2124. rng.CFrame = pos
  2125. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2126. local rngm = Instance.new("SpecialMesh", rng)
  2127. rngm.MeshType = MType
  2128. rngm.Scale = Vector3.new(x1, y1, z1)
  2129. local scaler2 = 1
  2130. local speeder = FastSpeed
  2131. if type == "Add" then
  2132. scaler2 = 1 * value
  2133. elseif type == "Divide" then
  2134. scaler2 = 1 / value
  2135. end
  2136. coroutine.resume(coroutine.create(function()
  2137. for i = 0, 10 / bonuspeed, 0.1 do
  2138. swait()
  2139. if type == "Add" then
  2140. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2141. elseif type == "Divide" then
  2142. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2143. end
  2144. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2145. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2146. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2147. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2148. end
  2149. rng:Destroy()
  2150. end))
  2151. end
  2152.  
  2153. function SoulSteal(dude)
  2154. if dude.Name ~= char then
  2155. local bgf = IT("BodyGyro", dude.Head)
  2156. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2157. local val = IT("BoolValue", dude)
  2158. val.Name = "IsHit"
  2159. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  2160. local soulst = coroutine.wrap(function()
  2161. local soul = Instance.new("Part",dude)
  2162. soul.Size = Vector3.new(1,1,1)
  2163. soul.CanCollide = false
  2164. soul.Anchored = false
  2165. soul.Position = torso.Position
  2166. soul.Transparency = 1
  2167. local PartEmmit1 = IT("ParticleEmitter", soul)
  2168. PartEmmit1.LightEmission = 1
  2169. PartEmmit1.Texture = "rbxassetid://569507414"
  2170. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2171. PartEmmit1.Rate = 250
  2172. PartEmmit1.Lifetime = NumberRange.new(1.6)
  2173. PartEmmit1.Size = NumberSequence.new({
  2174. NumberSequenceKeypoint.new(0, 1, 0),
  2175. NumberSequenceKeypoint.new(1, 0, 0)
  2176. })
  2177. PartEmmit1.Transparency = NumberSequence.new({
  2178. NumberSequenceKeypoint.new(0, 0, 0),
  2179. NumberSequenceKeypoint.new(1, 1, 0)
  2180. })
  2181. PartEmmit1.Speed = NumberRange.new(0, 0)
  2182. PartEmmit1.VelocitySpread = 30000
  2183. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  2184. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  2185. local BodPoss = IT("BodyPosition", soul)
  2186. BodPoss.P = 3000
  2187. BodPoss.D = 1000
  2188. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2189. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2190. wait(1.6)
  2191. soul.Touched:connect(function(hit)
  2192. if hit.Parent == char then
  2193. soul:Destroy()
  2194. end
  2195. end)
  2196. wait(1.2)
  2197. while soul do
  2198. swait()
  2199. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2200. BodPoss.Position = tors.Position
  2201. end
  2202. end)
  2203. soulst()
  2204. end
  2205. end
  2206. function FaceMouse()
  2207. local Cam = workspace.CurrentCamera
  2208. return {
  2209. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2210. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2211. }
  2212. end
  2213. -------------------------------------------------------
  2214. --End Effect Function--
  2215. -------------------------------------------------------
  2216. function Cso(ID, PARENT, VOLUME, PITCH)
  2217. local NSound = nil
  2218. coroutine.resume(coroutine.create(function()
  2219. NSound = IT("Sound", PARENT)
  2220. NSound.Volume = VOLUME
  2221. NSound.Pitch = PITCH
  2222. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  2223. swait()
  2224. NSound:play()
  2225. game:GetService("Debris"):AddItem(NSound, 10)
  2226. end))
  2227. return NSound
  2228. end
  2229. function CameraEnshaking(Length, Intensity)
  2230. coroutine.resume(coroutine.create(function()
  2231. local intensity = 1 * Intensity
  2232. local rotM = 0.01 * Intensity
  2233. for i = 0, Length, 0.1 do
  2234. swait()
  2235. intensity = intensity - 0.05 * Intensity / Length
  2236. rotM = rotM - 5.0E-4 * Intensity / Length
  2237. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  2238. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  2239. end
  2240. hum.CameraOffset = Vector3.new(0, 0, 0)
  2241. end))
  2242. end
  2243. function chatfunc(text, color)
  2244. local chat = coroutine.wrap(function()
  2245. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  2246. char:FindFirstChild("TalkingBillBoard"):destroy()
  2247. end
  2248. local naeeym2 = Instance.new("BillboardGui", char)
  2249. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  2250. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  2251. naeeym2.Adornee = hed
  2252. naeeym2.Name = "TalkingBillBoard"
  2253. local tecks2 = Instance.new("TextLabel", naeeym2)
  2254. tecks2.BackgroundTransparency = 1
  2255. tecks2.BorderSizePixel = 0
  2256. tecks2.Text = ""
  2257. tecks2.Font = "SciFi"
  2258. tecks2.TextSize = 30
  2259. tecks2.TextStrokeTransparency = 0
  2260. tecks2.TextColor3 = color
  2261. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  2262. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  2263. coroutine.resume(coroutine.create(function()
  2264. while true do
  2265. swait(1)
  2266. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  2267. tecks2.Rotation = math.random(-5, 5)
  2268. end
  2269. end))
  2270. for i = 1, string.len(text) do
  2271. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  2272. tecks2.Text = string.sub(text, 1, i)
  2273. swait(1)
  2274. end
  2275. wait(1)
  2276. naeeym2:Destroy()
  2277. end)
  2278. chat()
  2279. end
  2280. -------------------------------------------------------
  2281. --End Important Functions--
  2282. -------------------------------------------------------
  2283.  
  2284.  
  2285. -------------------------------------------------------
  2286. --Start Customization--
  2287. -------------------------------------------------------
  2288. local Player_Size = 1
  2289. if Player_Size ~= 1 then
  2290. root.Size = root.Size * Player_Size
  2291. tors.Size = tors.Size * Player_Size
  2292. hed.Size = hed.Size * Player_Size
  2293. ra.Size = ra.Size * Player_Size
  2294. la.Size = la.Size * Player_Size
  2295. rl.Size = rl.Size * Player_Size
  2296. ll.Size = ll.Size * Player_Size
  2297. ----------------------------------------------------------------------------------
  2298. rootj.Parent = root
  2299. neck.Parent = tors
  2300. RW.Parent = tors
  2301. LW.Parent = tors
  2302. RH.Parent = tors
  2303. LH.Parent = tors
  2304. ----------------------------------------------------------------------------------
  2305. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2306. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2307. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2308. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2309. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2310. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2311. ----------------------------------------------------------------------------------
  2312. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2313. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2314. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2315. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2316. --hat.Parent = Character
  2317. end
  2318. ----------------------------------------------------------------------------------
  2319. local SONG = 703597239
  2320. local SONG2 = 853707984
  2321. local Music = Instance.new("Sound",tors)
  2322. Music.Volume = 2.5
  2323. Music.Looped = true
  2324. Music.Pitch = 1 --Pitcher
  2325. ----------------------------------------------------------------------------------
  2326. local equipped = false
  2327. local idle = 0
  2328. local change = 1
  2329. local val = 0
  2330. local toim = 0
  2331. local idleanim = 0.4
  2332. local sine = 0
  2333. local Sit = 1
  2334. ----------------------------------------------------------------------------------
  2335. hum.WalkSpeed = 16
  2336. hum.JumpPower = 57
  2337. hum.Animator.Parent = nil
  2338. ----------------------------------------------------------------------------------
  2339. local Blobby = Instance.new("Part", char)
  2340. Blobby.Name = "Blob"
  2341. Blobby.CanCollide = false
  2342. Blobby.BrickColor = BrickColor.new("Really black")
  2343. Blobby.Transparency = 0
  2344. Blobby.Material = "Plastic"
  2345. Blobby.Size = Vector3.new(1, 1, 2)
  2346. Blobby.TopSurface = Enum.SurfaceType.Smooth
  2347. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  2348.  
  2349. local Weld = Instance.new("Weld", Blobby)
  2350. Weld.Part0 = ra
  2351. Weld.Part1 = Blobby
  2352. Weld.C1 = CFrame.new(0, -2, 1.1)
  2353. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  2354.  
  2355. local M2 = Instance.new("SpecialMesh")
  2356. M2.Parent = Blobby
  2357. M2.MeshId = "http://www.roblox.com/asset/?id=10604848"
  2358. M2.TextureId = "http://www.roblox.com/asset/?id=10605252"
  2359. M2.Scale = Vector3.new(1, 1, 1)
  2360.  
  2361. --[[local naeeym2 = Instance.new("BillboardGui",char)
  2362. naeeym2.AlwaysOnTop = true
  2363. naeeym2.Size = UDim2.new(5,35,2,15)
  2364. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  2365. naeeym2.Adornee = hed
  2366. naeeym2.Name = "Name"
  2367. --naeeym2.PlayerToHideFrom = Player
  2368. local tecks2 = Instance.new("TextLabel",naeeym2)
  2369. tecks2.BackgroundTransparency = 1
  2370. tecks2.TextScaled = true
  2371. tecks2.BorderSizePixel = 0
  2372. tecks2.Text = "Fight Me"
  2373. tecks2.Font = Enum.Font.Bodoni
  2374. tecks2.TextSize = 30
  2375. tecks2.TextStrokeTransparency = 0
  2376. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2377. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  2378. tecks2.Size = UDim2.new(1,0,0.5,0)
  2379. tecks2.Parent = naeeym2]]
  2380. -------------------------------------------------------
  2381. --End Customization--
  2382. -------------------------------------------------------
  2383.  
  2384.  
  2385. -------------------------------------------------------
  2386. --Start Attacks N Stuff--
  2387. -------------------------------------------------------
  2388. function Ban()
  2389. attack = true
  2390. for i = 0, 2.6, 0.1 do
  2391. swait()
  2392. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  2393. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  2394. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  2395. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2)
  2396. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  2397. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2)
  2398. end
  2399. Cso("147722910", tors, 10, 1)
  2400. CameraEnshaking(2, 15)
  2401. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2402. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2403. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2404. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
  2405. if v:FindFirstChild("Head") then
  2406. Eviscerate(v)
  2407. end
  2408. end
  2409. for i = 0, 3, 0.1 do
  2410. swait()
  2411. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  2412. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  2413. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  2414. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  2415. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  2416. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  2417. end
  2418. attack = false
  2419. end
  2420. function BigBan()
  2421. attack = true
  2422. Weld.C0 = CFrame.Angles(Rad(-90), Rad(-25), Rad(0))
  2423. for i = 0, 3.6, 0.1 do
  2424. swait()
  2425. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.2)
  2426. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  2427. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  2428. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  2429. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-.6), Rad(-45)), 0.2)
  2430. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-6), Rad(45)), 0.2)
  2431. end
  2432. Cso("147722910", tors, 10, 1)
  2433. CameraEnshaking(2, 15)
  2434. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2435. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2436. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2437. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 14.5)) do
  2438. if v:FindFirstChild("Head") then
  2439. Eviscerate(v)
  2440. end
  2441. end
  2442. for i = 0, 2.6, 0.1 do
  2443. swait()
  2444. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2)
  2445. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  2446. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  2447. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  2448. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2)
  2449. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2)
  2450. end
  2451. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  2452. attack = false
  2453. end
  2454. function BANN()
  2455. attack = true
  2456. M2.Scale = Vector3.new(2, 2, 2)
  2457. for i = 0, 4.6, 0.1 do
  2458. swait()
  2459. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  2460. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  2461. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2)
  2462. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2)
  2463. RW.C0 = clerp(RW.C0, CF(.6* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  2464. LW.C0 = clerp(LW.C0, CF(-.8* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(156), Rad(-.6), Rad(45)), 0.2)
  2465. end
  2466. Cso("147722910", char, 10, 1)
  2467. CameraEnshaking(2, 35)
  2468. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2469. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2470. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2471. Effects.Ring.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
  2472. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  2473. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  2474. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  2475. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 19.5)) do
  2476. if v:FindFirstChild("Head") then
  2477. Eviscerate(v)
  2478. end
  2479. end
  2480. for i = 0, 3, 0.1 do
  2481. swait()
  2482. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  2483. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  2484. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  2485. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  2486. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  2487. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  2488. end
  2489. M2.Scale = Vector3.new(1, 1, 1)
  2490. attack = false
  2491. end
  2492. -------------------------------------------------------
  2493. --End Attacks N Stuff--
  2494. -------------------------------------------------------
  2495. mouse.KeyDown:connect(function(key)
  2496. if string.byte(key) == 48 then
  2497. Swing = 2
  2498. hum.WalkSpeed = 38.82
  2499. end
  2500. end)
  2501. mouse.KeyUp:connect(function(key)
  2502. if string.byte(key) == 48 then
  2503. Swing = 1
  2504. hum.WalkSpeed = 16
  2505. end
  2506. end)
  2507. mouse.KeyDown:connect(function(key)
  2508. if attack == false then
  2509. if key == 'e' then
  2510. BigBan()
  2511. elseif key == 'r' then
  2512. BANN()
  2513. elseif key == 't' then
  2514. Cso("1450018171", hed, 10, 1)
  2515. end
  2516. end
  2517. end)
  2518. mouse.Button1Down:connect(function(key)
  2519. if attack == false then
  2520. Ban()
  2521. end
  2522. end)
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530. -------------------------------------------------------
  2531. --Start Animations--
  2532. -------------------------------------------------------
  2533. while true do
  2534. swait()
  2535. sine = sine + change
  2536. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2537. local velderp = root.Velocity.y
  2538. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2539. if equipped == true or equipped == false then
  2540. if attack == false then
  2541. idle = idle + 1
  2542. else
  2543. idle = 0
  2544. end
  2545. --Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere")
  2546. if 1 < root.Velocity.y and hitfloor == nil then
  2547. Anim = "Jump"
  2548. if attack == false then
  2549. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  2550. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2551. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2552. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2553. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  2554. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  2555. end
  2556. elseif -1 > root.Velocity.y and hitfloor == nil then
  2557. Anim = "Fall"
  2558. if attack == false then
  2559. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  2560. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2561. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2562. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2563. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2564. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2565. end
  2566. elseif torvel < 1 and hitfloor ~= nil then
  2567. Anim = "Idle"
  2568. change = 1
  2569. if attack == false then
  2570. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2571. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2572. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2573. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2574. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(190), Rad(-.6), Rad(13)), 0.1)
  2575. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  2576. end
  2577. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2578. Anim = "Walk"
  2579. change = 1
  2580. if attack == false then
  2581. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  2582. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 6.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2583. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8* Player_Size - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2584. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8* Player_Size + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2585. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(190) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.1)
  2586. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  2587. end
  2588. elseif torvel >= 25 and hitfloor ~= nil then
  2589. Anim = "Sprint"
  2590. change = 1.35
  2591. if attack == false then
  2592. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  2593. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2594. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925* Player_Size - 0.5* Player_Size * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2595. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925* Player_Size + 0.5* Player_Size * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2596. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(215) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2597. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-75) , Rad(8 * Cos(sine / 7)) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  2598. end
  2599. end
  2600. end
  2601. Music.SoundId = "rbxassetid://"..SONG
  2602. Music.Looped = true
  2603. Music.Pitch = 1
  2604. Music.Volume = 1.5
  2605. Music.Parent = tors
  2606. Music:Resume()
  2607. if 0 < #Effects then
  2608. for e = 1, #Effects do
  2609. if Effects[e] ~= nil then
  2610. local Thing = Effects[e]
  2611. if Thing ~= nil then
  2612. local Part = Thing[1]
  2613. local Mode = Thing[2]
  2614. local Delay = Thing[3]
  2615. local IncX = Thing[4]
  2616. local IncY = Thing[5]
  2617. local IncZ = Thing[6]
  2618. if 1 >= Thing[1].Transparency then
  2619. if Thing[2] == "Block1" then
  2620. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2621. local Mesh = Thing[1].Mesh
  2622. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2623. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2624. elseif Thing[2] == "Block2" then
  2625. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2626. local Mesh = Thing[7]
  2627. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2628. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2629. elseif Thing[2] == "Block3" then
  2630. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2631. local Mesh = Thing[7]
  2632. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2633. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2634. elseif Thing[2] == "Cylinder" then
  2635. local Mesh = Thing[1].Mesh
  2636. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2637. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2638. elseif Thing[2] == "Blood" then
  2639. local Mesh = Thing[7]
  2640. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2641. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2642. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2643. elseif Thing[2] == "Elec" then
  2644. local Mesh = Thing[1].Mesh
  2645. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2646. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2647. elseif Thing[2] == "Disappear" then
  2648. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2649. elseif Thing[2] == "Shatter" then
  2650. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2651. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2652. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2653. Thing[6] = Thing[6] + Thing[5]
  2654. end
  2655. else
  2656. Part.Parent = nil
  2657. table.remove(Effects, e)
  2658. end
  2659. end
  2660. end
  2661. end
  2662. end
  2663. end
  2664. -------------------------------------------------------
  2665. --End Animations And Script--
  2666. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement