Tetezaza1542

กหฟกฟ

Oct 9th, 2018
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.60 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Torso)
  28. sick.SoundId = "rbxassetid://1255569288"
  29. sick.Looped = true
  30. sick.Pitch = 1
  31. sick.Volume = 1
  32. sick:Play()
  33.  
  34. IT = Instance.new
  35. CF = CFrame.new
  36. VT = Vector3.new
  37. RAD = math.rad
  38. C3 = Color3.new
  39. UD2 = UDim2.new
  40. BRICKC = BrickColor.new
  41. ANGLES = CFrame.Angles
  42. EULER = CFrame.fromEulerAnglesXYZ
  43. COS = math.cos
  44. ACOS = math.acos
  45. SIN = math.sin
  46. ASIN = math.asin
  47. ABS = math.abs
  48. MRANDOM = math.random
  49. FLOOR = math.floor
  50.  
  51. --//=================================\\
  52. --|| USEFUL VALUES
  53. --\\=================================//
  54.  
  55. Animation_Speed = 3
  56. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  57. local Speed = 12
  58. local SIZE = 1
  59. Player_Size = 1
  60. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  61. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  62. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  63. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  64. local DAMAGEMULTIPLIER = 1
  65. local ANIM = "Idle"
  66. local ATTACK = false
  67. local EQUIPPED = false
  68. local HOLD = false
  69. local COMBO = 1
  70. local Rooted = false
  71. local SINE = 0
  72. local KEYHOLD = false
  73. local CHANGE = 2 / Animation_Speed
  74. local WALKINGANIM = false
  75. local VALUE1 = false
  76. local VALUE2 = false
  77. local ROBLOXIDLEANIMATION = IT("Animation")
  78. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  79. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  80. --ROBLOXIDLEANIMATION.Parent = Humanoid
  81. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  82. WEAPONGUI.Name = "Weapon GUI"
  83. local Effects = IT("Folder", Character)
  84. Effects.Name = "Effects"
  85. local ANIMATOR = Humanoid.Animator
  86. local ANIMATE = Character.Animate
  87. local UNANCHOR = true
  88. local TAUNT = false
  89. local OFFSET = 0
  90. local FULL = false
  91.  
  92. --//=================================\\
  93. --\\=================================//
  94.  
  95. local top = Instance.new("Shirt")
  96. top.ShirtTemplate = "rbxassetid://206323024"
  97. top.Parent = Character
  98. top.Name = "Cloth"
  99. local bottom = Instance.new("Pants")
  100. bottom.PantsTemplate = "rbxassetid://342857568"
  101. bottom.Parent = Character
  102. bottom.Name = "Cloth"
  103.  
  104. --//=================================\\
  105. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  106. --\\=================================//
  107.  
  108. ArtificialHB = Instance.new("BindableEvent", script)
  109. ArtificialHB.Name = "ArtificialHB"
  110.  
  111. script:WaitForChild("ArtificialHB")
  112.  
  113. frame = Frame_Speed
  114. tf = 0
  115. allowframeloss = false
  116. tossremainder = false
  117. lastframe = tick()
  118. script.ArtificialHB:Fire()
  119.  
  120. game:GetService("RunService").Heartbeat:connect(function(s, p)
  121. tf = tf + s
  122. if tf >= frame then
  123. if allowframeloss then
  124. script.ArtificialHB:Fire()
  125. lastframe = tick()
  126. else
  127. for i = 1, math.floor(tf / frame) do
  128. script.ArtificialHB:Fire()
  129. end
  130. lastframe = tick()
  131. end
  132. if tossremainder then
  133. tf = 0
  134. else
  135. tf = tf - frame * math.floor(tf / frame)
  136. end
  137. end
  138. end)
  139.  
  140. --//=================================\\
  141. --\\=================================//
  142.  
  143. --//=================================\\
  144. --|| SOME FUNCTIONS
  145. --\\=================================//
  146.  
  147. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  148. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  149. end
  150.  
  151. function PositiveAngle(NUMBER)
  152. if NUMBER >= 0 then
  153. NUMBER = 0
  154. end
  155. return NUMBER
  156. end
  157.  
  158. function NegativeAngle(NUMBER)
  159. if NUMBER <= 0 then
  160. NUMBER = 0
  161. end
  162. return NUMBER
  163. end
  164.  
  165. function Swait(NUMBER)
  166. if NUMBER == 0 or NUMBER == nil then
  167. ArtificialHB.Event:wait()
  168. else
  169. for i = 1, NUMBER do
  170. ArtificialHB.Event:wait()
  171. end
  172. end
  173. end
  174.  
  175. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  176. local NEWMESH = IT(MESH)
  177. if MESH == "SpecialMesh" then
  178. NEWMESH.MeshType = MESHTYPE
  179. if MESHID ~= "nil" and MESHID ~= "" then
  180. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  181. end
  182. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  183. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  184. end
  185. end
  186. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  187. NEWMESH.Scale = SCALE
  188. NEWMESH.Parent = PARENT
  189. return NEWMESH
  190. end
  191.  
  192. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  193. local NEWPART = IT("Part")
  194. NEWPART.formFactor = FORMFACTOR
  195. NEWPART.Reflectance = REFLECTANCE
  196. NEWPART.Transparency = TRANSPARENCY
  197. NEWPART.CanCollide = false
  198. NEWPART.Locked = true
  199. NEWPART.Anchored = true
  200. if ANCHOR == false then
  201. NEWPART.Anchored = false
  202. end
  203. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  204. NEWPART.Name = NAME
  205. NEWPART.Size = SIZE
  206. NEWPART.Position = Torso.Position
  207. NEWPART.Material = MATERIAL
  208. NEWPART:BreakJoints()
  209. NEWPART.Parent = PARENT
  210. return NEWPART
  211. end
  212.  
  213. local function weldBetween(a, b)
  214. local weldd = Instance.new("ManualWeld")
  215. weldd.Part0 = a
  216. weldd.Part1 = b
  217. weldd.C0 = CFrame.new()
  218. weldd.C1 = b.CFrame:inverse() * a.CFrame
  219. weldd.Parent = a
  220. return weldd
  221. end
  222.  
  223.  
  224. function QuaternionFromCFrame(cf)
  225. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  226. local trace = m00 + m11 + m22
  227. if trace > 0 then
  228. local s = math.sqrt(1 + trace)
  229. local recip = 0.5 / s
  230. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  231. else
  232. local i = 0
  233. if m11 > m00 then
  234. i = 1
  235. end
  236. if m22 > (i == 0 and m00 or m11) then
  237. i = 2
  238. end
  239. if i == 0 then
  240. local s = math.sqrt(m00 - m11 - m22 + 1)
  241. local recip = 0.5 / s
  242. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  243. elseif i == 1 then
  244. local s = math.sqrt(m11 - m22 - m00 + 1)
  245. local recip = 0.5 / s
  246. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  247. elseif i == 2 then
  248. local s = math.sqrt(m22 - m00 - m11 + 1)
  249. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  250. end
  251. end
  252. end
  253.  
  254. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  255. local xs, ys, zs = x + x, y + y, z + z
  256. local wx, wy, wz = w * xs, w * ys, w * zs
  257. local xx = x * xs
  258. local xy = x * ys
  259. local xz = x * zs
  260. local yy = y * ys
  261. local yz = y * zs
  262. local zz = z * zs
  263. 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))
  264. end
  265.  
  266. function QuaternionSlerp(a, b, t)
  267. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  268. local startInterp, finishInterp;
  269. if cosTheta >= 0.0001 then
  270. if (1 - cosTheta) > 0.0001 then
  271. local theta = ACOS(cosTheta)
  272. local invSinTheta = 1 / SIN(theta)
  273. startInterp = SIN((1 - t) * theta) * invSinTheta
  274. finishInterp = SIN(t * theta) * invSinTheta
  275. else
  276. startInterp = 1 - t
  277. finishInterp = t
  278. end
  279. else
  280. if (1 + cosTheta) > 0.0001 then
  281. local theta = ACOS(-cosTheta)
  282. local invSinTheta = 1 / SIN(theta)
  283. startInterp = SIN((t - 1) * theta) * invSinTheta
  284. finishInterp = SIN(t * theta) * invSinTheta
  285. else
  286. startInterp = t - 1
  287. finishInterp = t
  288. end
  289. end
  290. 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
  291. end
  292.  
  293. function Clerp(a, b, t)
  294. local qa = {QuaternionFromCFrame(a)}
  295. local qb = {QuaternionFromCFrame(b)}
  296. local ax, ay, az = a.x, a.y, a.z
  297. local bx, by, bz = b.x, b.y, b.z
  298. local _t = 1 - t
  299. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  300. end
  301.  
  302. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  303. local frame = IT("Frame")
  304. frame.BackgroundTransparency = TRANSPARENCY
  305. frame.BorderSizePixel = BORDERSIZEPIXEL
  306. frame.Position = POSITION
  307. frame.Size = SIZE
  308. frame.BackgroundColor3 = COLOR
  309. frame.BorderColor3 = BORDERCOLOR
  310. frame.Name = NAME
  311. frame.Parent = PARENT
  312. return frame
  313. end
  314.  
  315. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  316. local label = IT("TextLabel")
  317. label.BackgroundTransparency = 1
  318. label.Size = UD2(1, 0, 1, 0)
  319. label.Position = UD2(0, 0, 0, 0)
  320. label.TextColor3 = TEXTCOLOR
  321. label.TextStrokeTransparency = STROKETRANSPARENCY
  322. label.TextTransparency = TRANSPARENCY
  323. label.FontSize = TEXTFONTSIZE
  324. label.Font = TEXTFONT
  325. label.BorderSizePixel = BORDERSIZEPIXEL
  326. label.TextScaled = false
  327. label.Text = TEXT
  328. label.Name = NAME
  329. label.Parent = PARENT
  330. return label
  331. end
  332.  
  333. function NoOutlines(PART)
  334. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  335. end
  336.  
  337. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  338. local NEWWELD = IT(TYPE)
  339. NEWWELD.Part0 = PART0
  340. NEWWELD.Part1 = PART1
  341. NEWWELD.C0 = C0
  342. NEWWELD.C1 = C1
  343. NEWWELD.Parent = PARENT
  344. return NEWWELD
  345. end
  346.  
  347. local S = IT("Sound")
  348. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  349. local NEWSOUND = nil
  350. coroutine.resume(coroutine.create(function()
  351. NEWSOUND = S:Clone()
  352. NEWSOUND.Parent = PARENT
  353. NEWSOUND.Volume = VOLUME
  354. NEWSOUND.Pitch = PITCH
  355. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  356. NEWSOUND:play()
  357. if DOESLOOP == true then
  358. NEWSOUND.Looped = true
  359. else
  360. repeat wait(1) until NEWSOUND.Playing == false
  361. NEWSOUND:remove()
  362. end
  363. end))
  364. return NEWSOUND
  365. end
  366.  
  367. function CFrameFromTopBack(at, top, back)
  368. local right = top:Cross(back)
  369. 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)
  370. end
  371.  
  372. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  373. function WACKYEFFECT(Table)
  374. local TYPE = (Table.EffectType or "Sphere")
  375. local SIZE = (Table.Size or VT(1,1,1))
  376. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  377. local TRANSPARENCY = (Table.Transparency or 0)
  378. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  379. local CFRAME = (Table.CFrame or Torso.CFrame)
  380. local MOVEDIRECTION = (Table.MoveToPos or nil)
  381. local ROTATION1 = (Table.RotationX or 0)
  382. local ROTATION2 = (Table.RotationY or 0)
  383. local ROTATION3 = (Table.RotationZ or 0)
  384. local MATERIAL = (Table.Material or "Neon")
  385. local COLOR = (Table.Color or C3(1,1,1))
  386. local TIME = (Table.Time or 45)
  387. local SOUNDID = (Table.SoundID or nil)
  388. local SOUNDPITCH = (Table.SoundPitch or nil)
  389. local SOUNDVOLUME = (Table.SoundVolume or nil)
  390. coroutine.resume(coroutine.create(function()
  391. local PLAYSSOUND = false
  392. local SOUND = nil
  393. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  394. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  395. PLAYSSOUND = true
  396. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  397. end
  398. EFFECT.Color = COLOR
  399. local MSH = nil
  400. if TYPE == "Sphere" then
  401. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  402. elseif TYPE == "Block" then
  403. MSH = IT("BlockMesh",EFFECT)
  404. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  405. elseif TYPE == "Wave" then
  406. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  407. elseif TYPE == "Ring" then
  408. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  409. elseif TYPE == "Slash" then
  410. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  411. elseif TYPE == "Round Slash" then
  412. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  413. elseif TYPE == "Swirl" then
  414. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  415. elseif TYPE == "Skull" then
  416. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  417. elseif TYPE == "Crystal" then
  418. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  419. end
  420. if MSH ~= nil then
  421. local MOVESPEED = nil
  422. if MOVEDIRECTION ~= nil then
  423. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  424. end
  425. local GROWTH = SIZE - ENDSIZE
  426. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  427. if TYPE == "Block" then
  428. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  429. else
  430. EFFECT.CFrame = CFRAME
  431. end
  432. for LOOP = 1, TIME+1 do
  433. Swait()
  434. MSH.Scale = MSH.Scale - GROWTH/TIME
  435. if TYPE == "Wave" then
  436. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  437. end
  438. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  439. if TYPE == "Block" then
  440. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  441. else
  442. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  443. end
  444. if MOVEDIRECTION ~= nil then
  445. local ORI = EFFECT.Orientation
  446. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  447. EFFECT.Orientation = ORI
  448. end
  449. end
  450. if PLAYSSOUND == false then
  451. EFFECT:remove()
  452. else
  453. SOUND.Stopped:Connect(function()
  454. EFFECT:remove()
  455. end)
  456. end
  457. else
  458. if PLAYSSOUND == false then
  459. EFFECT:remove()
  460. else
  461. repeat Swait() until SOUND.Playing == false
  462. EFFECT:remove()
  463. end
  464. end
  465. end))
  466. end
  467.  
  468. function MakeForm(PART,TYPE)
  469. if TYPE == "Cyl" then
  470. local MSH = IT("CylinderMesh",PART)
  471. elseif TYPE == "Ball" then
  472. local MSH = IT("SpecialMesh",PART)
  473. MSH.MeshType = "Sphere"
  474. elseif TYPE == "Wedge" then
  475. local MSH = IT("SpecialMesh",PART)
  476. MSH.MeshType = "Wedge"
  477. end
  478. end
  479.  
  480. Debris = game:GetService("Debris")
  481.  
  482. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  483. local DIRECTION = CF(StartPos,EndPos).lookVector
  484. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  485. end
  486.  
  487. local EyeSizes={
  488. NumberSequenceKeypoint.new(0,1,0),
  489. NumberSequenceKeypoint.new(1,0,0)
  490. }
  491. local EyeTrans={
  492. NumberSequenceKeypoint.new(0,0.8,0),
  493. NumberSequenceKeypoint.new(1,1,0)
  494. }
  495. local PE=Instance.new("ParticleEmitter",nil)
  496. PE.LightEmission=.8
  497. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  498. PE.Size=NumberSequence.new(EyeSizes)
  499. PE.Transparency=NumberSequence.new(EyeTrans)
  500. PE.Lifetime=NumberRange.new(0.35,1.5)
  501. PE.Rotation=NumberRange.new(0,360)
  502. PE.Rate=999
  503. PE.VelocitySpread = 10000
  504. PE.Acceleration = Vector3.new(0,0,0)
  505. PE.Drag = 5
  506. PE.Speed = NumberRange.new(0,0,0)
  507. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  508. PE.ZOffset = -0
  509. PE.Name = "PE"
  510. PE.Enabled = false
  511.  
  512. function particles(art)
  513. local PARTICLES = PE:Clone()
  514. PARTICLES.Parent = art
  515. end
  516.  
  517. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  518. if FLOOR ~= nil then
  519. coroutine.resume(coroutine.create(function()
  520. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  521. PART.CFrame = CF(POSITION)
  522. for i = 1, 45 do
  523. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  524. RingPiece.Material = FLOOR.Material
  525. RingPiece.Color = FLOOR.Color
  526. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  527. Debris:AddItem(RingPiece,SWAIT)
  528. end
  529. PART:remove()
  530. end))
  531. end
  532. end
  533.  
  534. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  535. if FLOOR ~= nil then
  536. for i = 1, AMOUNT do
  537. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  538. DEBREE.Material = FLOOR.Material
  539. DEBREE.Color = FLOOR.Color
  540. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  541. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  542. coroutine.resume(coroutine.create(function()
  543. Swait(15)
  544. DEBREE.Parent = workspace
  545. DEBREE.CanCollide = true
  546. Debris:AddItem(DEBREE,SWAIT)
  547. end))
  548. end
  549. end
  550. end
  551.  
  552. --//=================================\\
  553. --|| DAMAGE FUNCTIONS
  554. --\\=================================//
  555.  
  556. function StatLabel(CFRAME, TEXT, COLOR)
  557. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  558. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  559. local BODYGYRO = IT("BodyGyro", STATPART)
  560. game:GetService("Debris"):AddItem(STATPART ,5)
  561. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  562. BILLBOARDGUI.Adornee = STATPART
  563. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  564. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  565. BILLBOARDGUI.AlwaysOnTop = false
  566. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  567. TEXTLABEL.BackgroundTransparency = 1
  568. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  569. TEXTLABEL.Text = TEXT
  570. TEXTLABEL.Font = SKILLFONT
  571. TEXTLABEL.FontSize="Size42"
  572. TEXTLABEL.TextColor3 = COLOR
  573. TEXTLABEL.TextStrokeTransparency = 0
  574. TEXTLABEL.TextScaled = true
  575. TEXTLABEL.TextWrapped = true
  576. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  577. for i = 1, 50 do
  578. Swait()
  579. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  580. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  581. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  582. end
  583. THEPART.Parent = nil
  584. end),STATPART, TEXTLABEL)
  585. end
  586.  
  587. --//=================================\\
  588. --|| DAMAGING
  589. --\\=================================//
  590.  
  591. function KillChildren(v)
  592. v:BreakJoints()
  593. for _, c in pairs(v:GetChildren()) do
  594. if c:IsA("BasePart") then
  595. if c.Transparency < 1 then
  596. if c:FindFirstChildOfClass("Decal") then
  597. c:FindFirstChildOfClass("Decal"):remove()
  598. end
  599. particles(c)
  600. c.PE.Enabled = true
  601. c.Parent = Effects
  602. c.CanCollide = false
  603. c.Material = "Neon"
  604. c.Color = C3(1,0,0)
  605. c.Transparency = 1
  606. local grav = Instance.new("BodyPosition",c)
  607. grav.P = 20000
  608. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  609. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  610. grav.Name = "GravityForce"
  611. coroutine.resume(coroutine.create(function()
  612. for i = 1, 20 do
  613. Swait()
  614. c.Transparency = c.Transparency + 1/20
  615. end
  616. c.PE.Enabled = false
  617. Debris:AddItem(c,2)
  618. end))
  619. end
  620. end
  621. end
  622. end
  623.  
  624. --//=================================\\
  625. --|| ATTACK FUNCTIONS AND STUFF
  626. --\\=================================//
  627.  
  628. function Click()
  629. ATTACK = true
  630. Rooted = false
  631. local HIT = nil
  632. OFFSET = -45
  633. for i=0, 1, 0.1 / Animation_Speed do
  634. Swait()
  635. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  636. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  637. end
  638. OFFSET = 45
  639. local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false)
  640. PUNCH.CanCollide = true
  641. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
  642. TAUNT = true
  643. local TOUCH = PUNCH.Touched:Connect(function(hit)
  644. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  645. HIT = hit.Parent
  646. end
  647. end)
  648. for i=0, 0.3, 0.1 / Animation_Speed do
  649. Swait()
  650. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3)
  651. if HIT ~= nil then
  652. break
  653. end
  654. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  655. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  656. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  657. end
  658. PUNCH:remove()
  659. TOUCH:disconnect()
  660. if HIT ~= nil then
  661. for _, c in pairs(HIT:GetChildren()) do
  662. if c:IsA("BasePart") then
  663. c.Anchored = true
  664. end
  665. end
  666. Rooted = true
  667. CreateSound(649634100, Torso, 10, 0.8)
  668. CreateSound(1368573150, RightArm, 3, 1.5)
  669. for i=0, 0.6, 0.1 / Animation_Speed do
  670. Swait()
  671. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  672. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed)
  673. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  674. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  675. end
  676. for _, c in pairs(HIT:GetChildren()) do
  677. if c:IsA("BasePart") then
  678. c.Anchored = false
  679. end
  680. end
  681. KillChildren(HIT)
  682. end
  683. OFFSET = 0
  684. ATTACK = false
  685. Rooted = false
  686. TAUNT = false
  687. end
  688. function Taunt()
  689. ATTACK = true
  690. local LAUGH = nil
  691. coroutine.resume(coroutine.create(function()
  692. repeat
  693. Swait()
  694. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  695. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  696. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  697. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  698. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  699. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  700. until LAUGH ~= nil
  701. repeat
  702. Swait()
  703. LAUGH.Parent = Head
  704. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  705. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  706. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  707. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  708. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  709. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  710. until LAUGH.Playing == false
  711. ATTACK = false
  712. end))
  713. wait(0.1)
  714. sick:Pause()
  715. LAUGH = CreateSound(1091083826, Head, 10, 1, false)
  716. wait(1)
  717. sick:Resume()
  718. end
  719.  
  720. --//=================================\\
  721. --\\=================================//
  722.  
  723.  
  724. function unanchor()
  725. if UNANCHOR == true then
  726. g = Character:GetChildren()
  727. for i = 1, #g do
  728. if g[i].ClassName == "Part" then
  729. g[i].Anchored = false
  730. end
  731. end
  732. end
  733. end
  734.  
  735.  
  736. --//=================================\\
  737. --|| WRAP THE WHOLE SCRIPT UP
  738. --\\=================================//
  739.  
  740. Humanoid.Changed:connect(function(Jump)
  741. if Jump == "Jump" and (Disable_Jump == true) then
  742. Humanoid.Jump = false
  743. end
  744. end)
  745.  
  746. local BLINKLOOP = 0
  747. script.Parent = WEAPONGUI
  748. ANIMATE.Parent = nil
  749.  
  750. while true do
  751. Swait()
  752. if Humanoid then
  753. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  754. IDLEANIMATION:Play()
  755. end
  756. SINE = SINE + CHANGE*2
  757. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  758. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  759. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  760. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  761. if ANIM == "Walk" and TORSOVELOCITY > 1 and FULL == false then
  762. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  763. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
  764. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.1 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  765. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.1 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  766. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or FULL == true then
  767. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  768. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  769. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  770. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  771. end
  772. if FULL == false then
  773. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  774. ANIM = "Jump"
  775. if ATTACK == false then
  776. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  777. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-15), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  778. end
  779. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  780. if TAUNT == false then
  781. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  782. end
  783. 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)
  784. 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)
  785. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  786. ANIM = "Fall"
  787. if ATTACK == false then
  788. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  789. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  790. end
  791. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(OFFSET)), 0.2 / Animation_Speed)
  792. if TAUNT == false then
  793. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  794. end
  795. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  796. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  797. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  798. ANIM = "Idle"
  799. if ATTACK == false then
  800. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  801. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  802. end
  803. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed)
  804. if TAUNT == false then
  805. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  806. end
  807. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  808. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  809. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  810. ANIM = "Walk"
  811. if ATTACK == false then
  812. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(5), RAD(0)), 0.15 / Animation_Speed)
  813. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  814. end
  815. if TAUNT == false then
  816. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  817. end
  818. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed)
  819. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  820. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  821. end
  822. end
  823. unanchor()
  824. Humanoid.MaxHealth = "inf"
  825. Humanoid.Health = "inf"
  826. if Rooted == false then
  827. Disable_Jump = false
  828. Humanoid.WalkSpeed = Speed
  829. elseif Rooted == true then
  830. Disable_Jump = true
  831. Humanoid.WalkSpeed = 0
  832. end
  833. sick.Volume = 2
  834. sick.Pitch = 1
  835. sick.Playing = true
  836. sick.Parent = Torso
  837. Humanoid.Name = MRANDOM(100000000,999999999)
  838. Humanoid.PlatformStand = false
  839. for _, c in pairs(Cam:GetChildren()) do
  840. if game.Players:FindFirstChild(c.Name) == nil and c.ClassName == "BillboardGui" then
  841. c:remove()
  842. end
  843. end
  844. if Character:FindFirstChildOfClass("Accessory") then
  845. Character:FindFirstChildOfClass("Accessory"):remove()
  846. elseif Character:FindFirstChildOfClass("Hat") then
  847. Character:FindFirstChildOfClass("Hat"):remove()
  848. end
  849. if Head:FindFirstChild("face") then
  850. Head.face.Texture = "rbxassetid://22557246"
  851. end
  852. Humanoid.DisplayDistanceType = "None"
  853. Humanoid.PlatformStand = false
  854. for _, c in pairs(Torso:GetChildren()) do
  855. if c:IsA("JointInstance") or c.ClassName == "Sound" then
  856. else
  857. c:remove()
  858. end
  859. end
  860. end
  861.  
  862. --//=================================\\
  863. --\\=================================//
  864.  
  865.  
  866. --//====================================================\\--
  867. --|| END OF SCRIPT
  868. --\\====================================================//--
Add Comment
Please, Sign In to add comment