Advertisement
joe201501

Ban Rumia

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