aaaay63746

Cyberbully

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