Advertisement
NikaForever

Test7

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