buildermanwannabe

ban edit

Jun 28th, 2018
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.57 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://996980700"
  33. sick.Looped = true
  34. sick.Pitch = 1
  35. sick.Volume = 5
  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. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  56. local NEWMESH = IT(MESH)
  57. if MESH == "SpecialMesh" then
  58. NEWMESH.MeshType = MESHTYPE
  59. if MESHID ~= "nil" and MESHID ~= "" then
  60. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  61. end
  62. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  63. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  64. end
  65. end
  66. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  67. NEWMESH.Scale = SCALE
  68. NEWMESH.Parent = PARENT
  69. return NEWMESH
  70. end
  71.  
  72. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  73. local NEWPART = IT("Part")
  74. NEWPART.formFactor = FORMFACTOR
  75. NEWPART.Reflectance = REFLECTANCE
  76. NEWPART.Transparency = TRANSPARENCY
  77. NEWPART.CanCollide = false
  78. NEWPART.Locked = true
  79. NEWPART.Anchored = true
  80. if ANCHOR == false then
  81. NEWPART.Anchored = false
  82. end
  83. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  84. NEWPART.Name = NAME
  85. NEWPART.Size = SIZE
  86. NEWPART.Position = Torso.Position
  87. NEWPART.Material = MATERIAL
  88. NEWPART:BreakJoints()
  89. NEWPART.Parent = PARENT
  90. return NEWPART
  91. end
  92.  
  93. --//=================================\\
  94. --|| CUSTOMIZATION
  95. --\\=================================//
  96.  
  97. Player_Size = 1 --Size of the player.
  98. Animation_Speed = 3
  99. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  100.  
  101. local Speed = 16
  102. local Effects2 = {}
  103.  
  104. --//=================================\\
  105. --|| END OF CUSTOMIZATION
  106. --\\=================================//
  107.  
  108. local function weldBetween(a, b)
  109. local weldd = Instance.new("ManualWeld")
  110. weldd.Part0 = a
  111. weldd.Part1 = b
  112. weldd.C0 = CFrame.new()
  113. weldd.C1 = b.CFrame:inverse() * a.CFrame
  114. weldd.Parent = a
  115. return weldd
  116. end
  117.  
  118. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  119. local acs = Instance.new("Part")
  120. acs.CanCollide = false
  121. acs.Anchored = false
  122. acs.Size = Vector3.new(0,0,0)
  123. acs.CFrame = attachmentpart.CFrame
  124. acs.Parent = Character
  125. acs.BrickColor = color
  126. local meshs = Instance.new("SpecialMesh")
  127. meshs.MeshId = mesh
  128. meshs.TextureId = texture
  129. meshs.Parent = acs
  130. meshs.Scale = scale
  131. meshs.Offset = offset
  132. weldBetween(attachmentpart,acs)
  133. end
  134.  
  135. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  136. if TYPE == "Gem" then
  137. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  138. acs.Anchored = false
  139. acs.CanCollide = false
  140. acs.CFrame = PART.CFrame
  141. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  142. weldBetween(PART,acs)
  143. elseif TYPE == "Skull" then
  144. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  145. acs.Anchored = false
  146. acs.CanCollide = false
  147. acs.CFrame = PART.CFrame
  148. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  149. weldBetween(PART,acs)
  150. elseif TYPE == "Eye" then
  151. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  152. acs.Anchored = false
  153. acs.CanCollide = false
  154. acs.CFrame = PART.CFrame
  155. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  156. weldBetween(PART,acs)
  157. end
  158. end
  159.  
  160. --//=================================\\
  161. --|| USEFUL VALUES
  162. --\\=================================//
  163.  
  164. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  165. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  166. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  167. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  168. local CHANGEDEFENSE = 0
  169. local CHANGEDAMAGE = 0
  170. local CHANGEMOVEMENT = 0
  171. local ANIM = "Idle"
  172. local ATTACK = false
  173. local EQUIPPED = false
  174. local HOLD = false
  175. local COMBO = 1
  176. local Rooted = false
  177. local SINE = 0
  178. local KEYHOLD = false
  179. local CHANGE = 2 / Animation_Speed
  180. local WALKINGANIM = false
  181. local WALK = 0
  182. local VALUE1 = false
  183. local HITFLOOR = nil
  184. local VALUE2 = false
  185. local ROBLOXIDLEANIMATION = IT("Animation")
  186. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  187. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  188. --ROBLOXIDLEANIMATION.Parent = Humanoid
  189. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  190. WEAPONGUI.Name = "Weapon GUI"
  191. local Weapon = IT("Model")
  192. Weapon.Name = "Adds"
  193. local Delete = IT("Model",Character)
  194. Delete.Name = "Banlist"
  195. local Effects = IT("Folder", Weapon)
  196. Effects.Name = "Effects"
  197. local ANIMATOR = Humanoid.Animator
  198. local ANIMATE = Character.Animate
  199. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  200. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  201. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  202. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  203. local UNANCHOR = true
  204.  
  205. local SKILLTEXTCOLOR = C3(4,0,6)
  206.  
  207. --//=================================\\
  208. --\\=================================//
  209.  
  210.  
  211. --//=================================\\
  212. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  213. --\\=================================//
  214.  
  215. ArtificialHB = Instance.new("BindableEvent", script)
  216. ArtificialHB.Name = "ArtificialHB"
  217.  
  218. script:WaitForChild("ArtificialHB")
  219.  
  220. frame = Frame_Speed
  221. tf = 0
  222. allowframeloss = false
  223. tossremainder = false
  224. lastframe = tick()
  225. script.ArtificialHB:Fire()
  226.  
  227. game:GetService("RunService").Heartbeat:connect(function(s, p)
  228. tf = tf + s
  229. if tf >= frame then
  230. if allowframeloss then
  231. script.ArtificialHB:Fire()
  232. lastframe = tick()
  233. else
  234. for i = 1, math.floor(tf / frame) do
  235. script.ArtificialHB:Fire()
  236. end
  237. lastframe = tick()
  238. end
  239. if tossremainder then
  240. tf = 0
  241. else
  242. tf = tf - frame * math.floor(tf / frame)
  243. end
  244. end
  245. end)
  246.  
  247. --//=================================\\
  248. --\\=================================//
  249.  
  250.  
  251.  
  252.  
  253.  
  254. --//=================================\\
  255. --|| SOME FUNCTIONS
  256. --\\=================================//
  257.  
  258. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  259. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  260. end
  261.  
  262. function PositiveAngle(NUMBER)
  263. if NUMBER >= 0 then
  264. NUMBER = 0
  265. end
  266. return NUMBER
  267. end
  268.  
  269. function NegativeAngle(NUMBER)
  270. if NUMBER <= 0 then
  271. NUMBER = 0
  272. end
  273. return NUMBER
  274. end
  275.  
  276. function Swait(NUMBER)
  277. if NUMBER == 0 or NUMBER == nil then
  278. ArtificialHB.Event:wait()
  279. else
  280. for i = 1, NUMBER do
  281. ArtificialHB.Event:wait()
  282. end
  283. end
  284. end
  285.  
  286. function QuaternionFromCFrame(cf)
  287. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  288. local trace = m00 + m11 + m22
  289. if trace > 0 then
  290. local s = math.sqrt(1 + trace)
  291. local recip = 0.5 / s
  292. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  293. else
  294. local i = 0
  295. if m11 > m00 then
  296. i = 1
  297. end
  298. if m22 > (i == 0 and m00 or m11) then
  299. i = 2
  300. end
  301. if i == 0 then
  302. local s = math.sqrt(m00 - m11 - m22 + 1)
  303. local recip = 0.5 / s
  304. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  305. elseif i == 1 then
  306. local s = math.sqrt(m11 - m22 - m00 + 1)
  307. local recip = 0.5 / s
  308. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  309. elseif i == 2 then
  310. local s = math.sqrt(m22 - m00 - m11 + 1)
  311. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  312. end
  313. end
  314. end
  315.  
  316. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  317. local xs, ys, zs = x + x, y + y, z + z
  318. local wx, wy, wz = w * xs, w * ys, w * zs
  319. local xx = x * xs
  320. local xy = x * ys
  321. local xz = x * zs
  322. local yy = y * ys
  323. local yz = y * zs
  324. local zz = z * zs
  325. 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))
  326. end
  327.  
  328. function QuaternionSlerp(a, b, t)
  329. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  330. local startInterp, finishInterp;
  331. if cosTheta >= 0.0001 then
  332. if (1 - cosTheta) > 0.0001 then
  333. local theta = ACOS(cosTheta)
  334. local invSinTheta = 1 / SIN(theta)
  335. startInterp = SIN((1 - t) * theta) * invSinTheta
  336. finishInterp = SIN(t * theta) * invSinTheta
  337. else
  338. startInterp = 1 - t
  339. finishInterp = t
  340. end
  341. else
  342. if (1 + cosTheta) > 0.0001 then
  343. local theta = ACOS(-cosTheta)
  344. local invSinTheta = 1 / SIN(theta)
  345. startInterp = SIN((t - 1) * theta) * invSinTheta
  346. finishInterp = SIN(t * theta) * invSinTheta
  347. else
  348. startInterp = t - 1
  349. finishInterp = t
  350. end
  351. end
  352. 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
  353. end
  354.  
  355. function Clerp(a, b, t)
  356. local qa = {QuaternionFromCFrame(a)}
  357. local qb = {QuaternionFromCFrame(b)}
  358. local ax, ay, az = a.x, a.y, a.z
  359. local bx, by, bz = b.x, b.y, b.z
  360. local _t = 1 - t
  361. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  362. end
  363.  
  364. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  365. local frame = IT("Frame")
  366. frame.BackgroundTransparency = TRANSPARENCY
  367. frame.BorderSizePixel = BORDERSIZEPIXEL
  368. frame.Position = POSITION
  369. frame.Size = SIZE
  370. frame.BackgroundColor3 = COLOR
  371. frame.BorderColor3 = BORDERCOLOR
  372. frame.Name = NAME
  373. frame.Parent = PARENT
  374. return frame
  375. end
  376.  
  377. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  378. local label = IT("TextLabel")
  379. label.BackgroundTransparency = 1
  380. label.Size = UD2(1, 0, 1, 0)
  381. label.Position = UD2(0, 0, 0, 0)
  382. label.TextColor3 = TEXTCOLOR
  383. label.TextStrokeTransparency = STROKETRANSPARENCY
  384. label.TextTransparency = TRANSPARENCY
  385. label.FontSize = TEXTFONTSIZE
  386. label.Font = TEXTFONT
  387. label.BorderSizePixel = BORDERSIZEPIXEL
  388. label.TextScaled = false
  389. label.Text = TEXT
  390. label.Name = NAME
  391. label.Parent = PARENT
  392. return label
  393. end
  394.  
  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="
  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", "334649516", "334651272", 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] Smash", 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 = "DESTROYED"
  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=0, 0.2, 0.1 / 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=0, 0.08, 0.1 / 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=0, 0.08, 0.1 / 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("1947096553", 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 black",VT(0,3,0))
  703. CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,-2,"Really black",VT(0,3,0))
  704. for i=0, 0.1, 0.1 / 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=0, 0.08, 0.1 / 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=0, 1, 0.1 / 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=0, 5, 0.1 / 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("199978176", 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. --\\====================================================//--
Add Comment
Please, Sign In to add comment