Advertisement
Mz_TH_edit

Untitled

Jun 5th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.95 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --|| EDITED BY GUESTBILMEMKAC
  4. --\\====================================================//--
  5.  
  6.  
  7.  
  8. wait(0.2)
  9.  
  10.  
  11.  
  12. Player = game:GetService("Players").LocalPlayer
  13. PlayerGui = Player.PlayerGui
  14. Cam = workspace.CurrentCamera
  15. Backpack = Player.Backpack
  16. Character = Player.Character
  17. Humanoid = Character.Humanoid
  18. Mouse = Player:GetMouse()
  19. RootPart = Character["HumanoidRootPart"]
  20. Torso = Character["Torso"]
  21. Head = Character["Head"]
  22. RightArm = Character["Right Arm"]
  23. LeftArm = Character["Left Arm"]
  24. RightLeg = Character["Right Leg"]
  25. LeftLeg = Character["Left Leg"]
  26. RootJoint = RootPart["RootJoint"]
  27. Neck = Torso["Neck"]
  28. RightShoulder = Torso["Right Shoulder"]
  29. LeftShoulder = Torso["Left Shoulder"]
  30. RightHip = Torso["Right Hip"]
  31. LeftHip = Torso["Left Hip"]
  32. local sick = Instance.new("Sound",Character)
  33. sick.SoundId = "rbxassetid://247896174"
  34. sick.Looped = true
  35. sick.Pitch = 1
  36. sick.Volume = 5
  37. sick:Play()
  38. Humanoid.DisplayDistanceType = "None"
  39. game.Lighting.ClockTime = 22
  40.  
  41. IT = Instance.new
  42. CF = CFrame.new
  43. VT = Vector3.new
  44. RAD = math.rad
  45. C3 = Color3.new
  46. UD2 = UDim2.new
  47. BRICKC = BrickColor.new
  48. ANGLES = CFrame.Angles
  49. EULER = CFrame.fromEulerAnglesXYZ
  50. COS = math.cos
  51. ACOS = math.acos
  52. SIN = math.sin
  53. ASIN = math.asin
  54. ABS = math.abs
  55. MRANDOM = math.random
  56. FLOOR = math.floor
  57.  
  58. local Sky = IT("Sky")
  59. Sky.Parent = game.Lighting
  60. Sky.MoonAngularSize = 45
  61. Sky.MoonTextureId = "http://www.roblox.com/asset/?id=1055904136"
  62.  
  63. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  64. local NEWMESH = IT(MESH)
  65. if MESH == "SpecialMesh" then
  66. NEWMESH.MeshType = MESHTYPE
  67. if MESHID ~= "nil" and MESHID ~= "" then
  68. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  69. end
  70. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  71. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  72. end
  73. end
  74. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  75. NEWMESH.Scale = SCALE
  76. NEWMESH.Parent = PARENT
  77. return NEWMESH
  78. end
  79.  
  80. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  81. local NEWPART = IT("Part")
  82. NEWPART.formFactor = FORMFACTOR
  83. NEWPART.Reflectance = REFLECTANCE
  84. NEWPART.Transparency = TRANSPARENCY
  85. NEWPART.CanCollide = false
  86. NEWPART.Locked = true
  87. NEWPART.Anchored = true
  88. if ANCHOR == false then
  89. NEWPART.Anchored = false
  90. end
  91. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  92. NEWPART.Name = NAME
  93. NEWPART.Size = SIZE
  94. NEWPART.Position = Torso.Position
  95. NEWPART.Material = MATERIAL
  96. NEWPART:BreakJoints()
  97. NEWPART.Parent = PARENT
  98. return NEWPART
  99. end
  100.  
  101. --//=================================\\
  102. --|| CUSTOMIZATION
  103. --\\=================================//
  104.  
  105. Player_Size = 1 --Size of the player.
  106. Animation_Speed = 3
  107. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  108.  
  109. local Speed = 16
  110. local Effects2 = {}
  111.  
  112. --//=================================\\
  113. --|| END OF CUSTOMIZATION
  114. --\\=================================//
  115.  
  116. local function weldBetween(a, b)
  117. local weldd = Instance.new("ManualWeld")
  118. weldd.Part0 = a
  119. weldd.Part1 = b
  120. weldd.C0 = CFrame.new()
  121. weldd.C1 = b.CFrame:inverse() * a.CFrame
  122. weldd.Parent = a
  123. return weldd
  124. end
  125.  
  126. --//=================================\\
  127. --|| USEFUL VALUES
  128. --\\=================================//
  129.  
  130. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  131. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  132. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  133. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  134. local CHANGEDEFENSE = 0
  135. local CHANGEDAMAGE = 0
  136. local CHANGEMOVEMENT = 0
  137. local ANIM = "Idle"
  138. local ATTACK = false
  139. local EQUIPPED = false
  140. local HOLD = false
  141. local COMBO = 1
  142. local Rooted = false
  143. local SINE = 0
  144. local KEYHOLD = false
  145. local CHANGE = 2 / Animation_Speed
  146. local WALKINGANIM = false
  147. local WALK = 0
  148. local VALUE1 = false
  149. local VALUE2 = false
  150. local ROBLOXIDLEANIMATION = IT("Animation")
  151. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  152. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  153. --ROBLOXIDLEANIMATION.Parent = Humanoid
  154. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  155. WEAPONGUI.Name = "Weapon GUI"
  156. local Weapon = IT("Model")
  157. Weapon.Name = "Adds"
  158. local Effects = IT("Folder", Weapon)
  159. Effects.Name = "Effects"
  160. local ANIMATOR = Humanoid.Animator
  161. local ANIMATE = Character.Animate
  162. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  163. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  164. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  165. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  166. local UNANCHOR = true
  167. local KILLINSTINCT = 0
  168.  
  169. local SKILLTEXTCOLOR = C3(1,0,0)
  170.  
  171. --//=================================\\
  172. --\\=================================//
  173.  
  174.  
  175. --//=================================\\
  176. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  177. --\\=================================//
  178.  
  179. ArtificialHB = Instance.new("BindableEvent", script)
  180. ArtificialHB.Name = "ArtificialHB"
  181.  
  182. script:WaitForChild("ArtificialHB")
  183.  
  184. frame = Frame_Speed
  185. tf = 0
  186. allowframeloss = false
  187. tossremainder = false
  188. lastframe = tick()
  189. script.ArtificialHB:Fire()
  190.  
  191. game:GetService("RunService").Heartbeat:connect(function(s, p)
  192. tf = tf + s
  193. if tf >= frame then
  194. if allowframeloss then
  195. script.ArtificialHB:Fire()
  196. lastframe = tick()
  197. else
  198. for i = 1, math.floor(tf / frame) do
  199. script.ArtificialHB:Fire()
  200. end
  201. lastframe = tick()
  202. end
  203. if tossremainder then
  204. tf = 0
  205. else
  206. tf = tf - frame * math.floor(tf / frame)
  207. end
  208. end
  209. end)
  210.  
  211. --//=================================\\
  212. --\\=================================//
  213.  
  214.  
  215.  
  216.  
  217.  
  218. --//=================================\\
  219. --|| SOME FUNCTIONS
  220. --\\=================================//
  221.  
  222. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  223. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  224. end
  225.  
  226. function PositiveAngle(NUMBER)
  227. if NUMBER >= 0 then
  228. NUMBER = 0
  229. end
  230. return NUMBER
  231. end
  232.  
  233. function NegativeAngle(NUMBER)
  234. if NUMBER <= 0 then
  235. NUMBER = 0
  236. end
  237. return NUMBER
  238. end
  239.  
  240. function Swait(NUMBER)
  241. if NUMBER == 0 or NUMBER == nil then
  242. ArtificialHB.Event:wait()
  243. else
  244. for i = 1, NUMBER do
  245. ArtificialHB.Event:wait()
  246. end
  247. end
  248. end
  249.  
  250. function QuaternionFromCFrame(cf)
  251. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  252. local trace = m00 + m11 + m22
  253. if trace > 0 then
  254. local s = math.sqrt(1 + trace)
  255. local recip = 0.5 / s
  256. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  257. else
  258. local i = 0
  259. if m11 > m00 then
  260. i = 1
  261. end
  262. if m22 > (i == 0 and m00 or m11) then
  263. i = 2
  264. end
  265. if i == 0 then
  266. local s = math.sqrt(m00 - m11 - m22 + 1)
  267. local recip = 0.5 / s
  268. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  269. elseif i == 1 then
  270. local s = math.sqrt(m11 - m22 - m00 + 1)
  271. local recip = 0.5 / s
  272. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  273. elseif i == 2 then
  274. local s = math.sqrt(m22 - m00 - m11 + 1)
  275. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  276. end
  277. end
  278. end
  279.  
  280. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  281. local xs, ys, zs = x + x, y + y, z + z
  282. local wx, wy, wz = w * xs, w * ys, w * zs
  283. local xx = x * xs
  284. local xy = x * ys
  285. local xz = x * zs
  286. local yy = y * ys
  287. local yz = y * zs
  288. local zz = z * zs
  289. 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))
  290. end
  291.  
  292. function QuaternionSlerp(a, b, t)
  293. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  294. local startInterp, finishInterp;
  295. if cosTheta >= 0.0001 then
  296. if (1 - cosTheta) > 0.0001 then
  297. local theta = ACOS(cosTheta)
  298. local invSinTheta = 1 / SIN(theta)
  299. startInterp = SIN((1 - t) * theta) * invSinTheta
  300. finishInterp = SIN(t * theta) * invSinTheta
  301. else
  302. startInterp = 1 - t
  303. finishInterp = t
  304. end
  305. else
  306. if (1 + cosTheta) > 0.0001 then
  307. local theta = ACOS(-cosTheta)
  308. local invSinTheta = 1 / SIN(theta)
  309. startInterp = SIN((t - 1) * theta) * invSinTheta
  310. finishInterp = SIN(t * theta) * invSinTheta
  311. else
  312. startInterp = t - 1
  313. finishInterp = t
  314. end
  315. end
  316. 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
  317. end
  318.  
  319. function Clerp(a, b, t)
  320. local qa = {QuaternionFromCFrame(a)}
  321. local qb = {QuaternionFromCFrame(b)}
  322. local ax, ay, az = a.x, a.y, a.z
  323. local bx, by, bz = b.x, b.y, b.z
  324. local _t = 1 - t
  325. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  326. end
  327.  
  328. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  329. local frame = IT("Frame")
  330. frame.BackgroundTransparency = TRANSPARENCY
  331. frame.BorderSizePixel = BORDERSIZEPIXEL
  332. frame.Position = POSITION
  333. frame.Size = SIZE
  334. frame.BackgroundColor3 = COLOR
  335. frame.BorderColor3 = BORDERCOLOR
  336. frame.Name = NAME
  337. frame.Parent = PARENT
  338. return frame
  339. end
  340.  
  341. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  342. local label = IT("TextLabel")
  343. label.BackgroundTransparency = 1
  344. label.Size = UD2(1, 0, 1, 0)
  345. label.Position = UD2(0, 0, 0, 0)
  346. label.TextColor3 = TEXTCOLOR
  347. label.TextStrokeTransparency = STROKETRANSPARENCY
  348. label.TextTransparency = TRANSPARENCY
  349. label.FontSize = TEXTFONTSIZE
  350. label.Font = TEXTFONT
  351. label.BorderSizePixel = BORDERSIZEPIXEL
  352. label.TextScaled = false
  353. label.Text = TEXT
  354. label.Name = NAME
  355. label.Parent = PARENT
  356. return label
  357. end
  358.  
  359. function NoOutlines(PART)
  360. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  361. end
  362.  
  363.  
  364. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  365. local NEWWELD = IT(TYPE)
  366. NEWWELD.Part0 = PART0
  367. NEWWELD.Part1 = PART1
  368. NEWWELD.C0 = C0
  369. NEWWELD.C1 = C1
  370. NEWWELD.Parent = PARENT
  371. return NEWWELD
  372. end
  373.  
  374. function CreateSound(ID, PARENT, VOLUME, PITCH)
  375. local NEWSOUND = nil
  376. coroutine.resume(coroutine.create(function()
  377. NEWSOUND = IT("Sound", PARENT)
  378. NEWSOUND.Volume = VOLUME
  379. NEWSOUND.Pitch = PITCH
  380. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  381. Swait()
  382. NEWSOUND:play()
  383. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  384. end))
  385. return NEWSOUND
  386. end
  387.  
  388. function CFrameFromTopBack(at, top, back)
  389. local right = top:Cross(back)
  390. 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)
  391. end
  392.  
  393. function MakeForm(PART,TYPE)
  394. if TYPE == "Cyl" then
  395. local MSH = IT("CylinderMesh",PART)
  396. elseif TYPE == "Ball" then
  397. local MSH = IT("SpecialMesh",PART)
  398. MSH.MeshType = "Sphere"
  399. elseif TYPE == "Wedge" then
  400. local MSH = IT("SpecialMesh",PART)
  401. MSH.MeshType = "Wedge"
  402. end
  403. end
  404.  
  405. Debris = game:GetService("Debris")
  406. --//=================================\\
  407. --|| WEAPON CREATION
  408. --\\=================================//
  409.  
  410. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.2, 3.39, 1.61),false)
  411. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "121944778", "174670596", VT(1,1,1), VT(0, 0, 0))
  412. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  413.  
  414. local DECAL = IT("Decal",HandlePart)
  415. DECAL.Texture = "http://www.roblox.com/asset/?id=116830967"
  416.  
  417. for _, c in pairs(Weapon:GetChildren()) do
  418. if c.ClassName == "Part" then
  419. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  420. end
  421. end
  422.  
  423. local A = IT("Attachment",HandlePart)
  424. A.Position = VT(0, -1.5, 0)
  425. local B = IT("Attachment",HandlePart)
  426. B.Position = VT(0, 2.2, 0.2)
  427. local Trail = IT("Trail",HandlePart)
  428. Trail.Attachment0 = A
  429. Trail.Attachment1 = B
  430. Trail.Lifetime = 0.1
  431. Trail.Transparency = NumberSequence.new(0.8, 1)
  432. Trail.Enabled = false
  433.  
  434. Weapon.Parent = Character
  435.  
  436. Humanoid.Died:connect(function()
  437. ATTACK = true
  438. end)
  439.  
  440. 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")
  441. 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")
  442. --local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  443. --local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  444. --local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  445.  
  446. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK] Swing", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 1")
  447. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Enrage", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
  448. --local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 3")
  449. --local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 4")
  450. --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Ability 5", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 5")
  451.  
  452. --//=================================\\
  453. --|| DAMAGING
  454. --\\=================================//
  455.  
  456. local asd = Instance.new("ParticleEmitter")
  457. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.1, 0, 0))
  458. asd.LightEmission = .1
  459. asd.Size = NumberSequence.new(0.2)
  460. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  461. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  462. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  463. asd.Transparency = bbb
  464. asd.Size = aaa
  465. asd.ZOffset = .9
  466. asd.Acceleration = Vector3.new(0, -5, 0)
  467. asd.LockedToPart = false
  468. asd.EmissionDirection = "Back"
  469. asd.Lifetime = NumberRange.new(1, 2)
  470. asd.Rotation = NumberRange.new(-10, 10)
  471. asd.RotSpeed = NumberRange.new(-10, 10)
  472. asd.Speed = NumberRange.new(2)
  473. asd.Enabled = false
  474. asd.VelocitySpread = 10000
  475.  
  476. function getbloody(victim,amount)
  477. local prtcl = asd:Clone()
  478. prtcl.Parent = victim
  479. prtcl:Emit(amount)
  480. end
  481.  
  482. local TORSOVELOCITY = 0
  483.  
  484. function Ragdoll(Character2,CharTorso)
  485. local svch = Character2
  486. local hum = Character2:findFirstChild("Humanoid")
  487. local q = Character2:GetChildren()
  488. local CLONE = IT("Model",Effects)
  489. local DummyHead = nil
  490. for i = 1,#q do
  491. if q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Accessory" and q[i].ClassName ~= "Hat" and q[i].ClassName ~= "Gear" then
  492. q[i].Parent = CLONE
  493. if q[i].Name == "Head" then
  494. DummyHead = CLONE.Head:Clone()
  495. q[i]:ClearAllChildren()
  496. q[i].Transparency = 1
  497. end
  498. else
  499. if q[i].ClassName ~= "Humanoid" then
  500. q[i]:remove()
  501. end
  502. end
  503. end
  504. local chrclone = CLONE
  505.  
  506. for _, c in pairs(Character2:GetChildren()) do
  507. if c.ClassName == "Accessory" then
  508. c:remove()
  509. end
  510. end
  511.  
  512. local ch = chrclone:GetChildren()
  513. local i
  514. for i = 1,#ch do
  515. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  516. ch[i]:remove()
  517. end
  518. end
  519. local function Scan(ch)
  520. local e
  521. for e = 1,#ch do
  522. Scan(ch[e]:GetChildren())
  523. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  524. ch[e]:remove()
  525. end
  526. end
  527. end
  528. Scan(chrclone:GetChildren())
  529.  
  530. local ch = Character2:GetChildren()
  531. local i
  532. for i = 1,#ch do
  533. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  534. ch[i]:remove()
  535. end
  536. end
  537.  
  538. local ch = Character2:GetChildren()
  539. local i
  540. for i = 1,#ch do
  541. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  542. ch[i]:remove()
  543. end
  544. end
  545. Character2 = chrclone
  546. local Torso2 = Character2.Torso
  547. local movevector = Vector3.new()
  548.  
  549. if Torso2 then
  550. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  551. local Head = Character2:FindFirstChild("Head")
  552. if Head then
  553. local Neck = Instance.new("Weld")
  554. Neck.Name = "Neck"
  555. Neck.Part0 = Torso2
  556. Neck.Part1 = Head
  557. Neck.C0 = CFrame.new(0, 1.5, 0)
  558. Neck.C1 = CFrame.new()
  559. Neck.Parent = Torso2
  560. Head:ClearAllChildren()
  561. Head.Transparency = 1
  562.  
  563. end
  564. local Limb = Character2:FindFirstChild("Right Arm")
  565. if Limb then
  566.  
  567. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  568. local Joint = Instance.new("Glue")
  569. Joint.Name = "RightShoulder"
  570. Joint.Part0 = Torso2
  571. Joint.Part1 = Limb
  572. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  573. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  574. Joint.Parent = Torso2
  575.  
  576. local B = Instance.new("Part")
  577. B.TopSurface = 0
  578. B.BottomSurface = 0
  579. B.formFactor = "Symmetric"
  580. B.Size = Vector3.new(1, 1, 1)
  581. B.Transparency = 1
  582. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  583. B.Parent = Character2
  584. local W = Instance.new("Weld")
  585. W.Part0 = Limb
  586. W.Part1 = B
  587. W.C0 = CFrame.new(0, -0.5, 0)
  588. W.Parent = Limb
  589.  
  590. end
  591. local Limb = Character2:FindFirstChild("Left Arm")
  592. if Limb then
  593.  
  594. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  595. local Joint = Instance.new("Glue")
  596. Joint.Name = "LeftShoulder"
  597. Joint.Part0 = Torso2
  598. Joint.Part1 = Limb
  599. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  600. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  601. Joint.Parent = Torso2
  602.  
  603. local B = Instance.new("Part")
  604. B.TopSurface = 0
  605. B.BottomSurface = 0
  606. B.formFactor = "Symmetric"
  607. B.Size = Vector3.new(1, 1, 1)
  608. B.Transparency = 1
  609. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  610. B.Parent = Character2
  611. local W = Instance.new("Weld")
  612. W.Part0 = Limb
  613. W.Part1 = B
  614. W.C0 = CFrame.new(0, -0.5, 0)
  615. W.Parent = Limb
  616.  
  617. end
  618. local Limb = Character2:FindFirstChild("Right Leg")
  619. if Limb then
  620.  
  621. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  622. local Joint = Instance.new("Glue")
  623. Joint.Name = "RightHip"
  624. Joint.Part0 = Torso2
  625. Joint.Part1 = Limb
  626. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  627. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  628. Joint.Parent = Torso2
  629.  
  630. local B = Instance.new("Part")
  631. B.TopSurface = 0
  632. B.BottomSurface = 0
  633. B.formFactor = "Symmetric"
  634. B.Size = Vector3.new(1, 1, 1)
  635. B.Transparency = 1
  636. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  637. B.Parent = Character2
  638. local W = Instance.new("Weld")
  639. W.Part0 = Limb
  640. W.Part1 = B
  641. W.C0 = CFrame.new(0, -0.5, 0)
  642. W.Parent = Limb
  643.  
  644. end
  645. local Limb = Character2:FindFirstChild("Left Leg")
  646. if Limb then
  647.  
  648. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  649. local Joint = Instance.new("Glue")
  650. Joint.Name = "LeftHip"
  651. Joint.Part0 = Torso2
  652. Joint.Part1 = Limb
  653. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  654. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  655. Joint.Parent = Torso2
  656.  
  657. local B = Instance.new("Part")
  658. B.TopSurface = 0
  659. B.BottomSurface = 0
  660. B.formFactor = "Symmetric"
  661. B.Size = Vector3.new(1, 1, 1)
  662. B.Transparency = 1
  663. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  664. B.Parent = Character2
  665. local W = Instance.new("Weld")
  666. W.Part0 = Limb
  667. W.Part1 = B
  668. W.C0 = CFrame.new(0, -0.5, 0)
  669. W.Parent = Limb
  670.  
  671. end
  672. --[
  673. local Bar = Instance.new("Part")
  674. Bar.TopSurface = 0
  675. Bar.BottomSurface = 0
  676. Bar.formFactor = "Symmetric"
  677. Bar.Size = Vector3.new(1, 1, 1)
  678. Bar.Transparency = 1
  679. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  680. Bar.Parent = Character2
  681. local Weld = Instance.new("Weld")
  682. Weld.Part0 = Torso2
  683. Weld.Part1 = Bar
  684. Weld.C0 = CFrame.new(0, 0.5, 0)
  685. Weld.Parent = Torso2
  686. --]]
  687. end
  688. Character2.Parent = Weapon
  689. if movevector ~= Vector3.new() then
  690. for i = 1,10 do
  691. Torso2.Velocity = movevector * 30
  692. end
  693. end
  694. DummyHead.Name = "FakeHead"
  695. DummyHead.Parent = CLONE
  696. local BLOOD = CreatePart(3, DummyHead, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.25,0.65),false)
  697. BLOOD.CFrame = DummyHead.CFrame*CF(0,-DummyHead.Size.Y/2,0)
  698. MakeForm(BLOOD,"Cyl")
  699. weldBetween(DummyHead,BLOOD)
  700. local BLOOD = CreatePart(3, Torso2, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.2,0.65),false)
  701. BLOOD.CFrame = Torso2.CFrame*CF(0,Torso2.Size.Y/2,0)
  702. MakeForm(BLOOD,"Cyl")
  703. weldBetween(Torso2,BLOOD)
  704. Character2.Name = "Corpse"
  705. local hum2 = svch:findFirstChild("Humanoid")
  706.  
  707. return Character2,Torso2,DummyHead
  708. end
  709.  
  710. function PuddleOfBlood(Position,MaxDrop,Model,MaxSize)
  711. local HITFLOOR, HITPOS = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model)
  712. if HITFLOOR ~= nil then
  713. if HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  714. if HITFLOOR.Name == "BloodPuddle" then
  715. local DIST = (Position - HITFLOOR.Position).Magnitude
  716. if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then
  717. HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1)
  718. end
  719. else
  720. if HITFLOOR.Anchored == true then
  721. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1,0,1))
  722. BLOOD.CFrame = CF(HITPOS)
  723. MakeForm(BLOOD,"Cyl")
  724. coroutine.resume(coroutine.create(function()
  725. Swait(75)
  726. while true do
  727. Swait()
  728. BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02)
  729. if BLOOD.Size.Z < 0.051 then
  730. BLOOD:remove()
  731. break
  732. end
  733. end
  734. end))
  735. end
  736. end
  737. end
  738. end
  739. end
  740.  
  741. function SprayBlood(POSITION,DIRECTION,BloodSize)
  742. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(0.5,0.5,0.5),false)
  743. BLOOD.CFrame = CF(POSITION)
  744. MakeForm(BLOOD,"Ball")
  745. local bv = Instance.new("BodyVelocity",BLOOD)
  746. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  747. bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3)/30,MRANDOM(-3,3)/30,MRANDOM(-3,3)/30)).lookVector*15
  748. bv.Name = "MOVE"
  749. Debris:AddItem(bv,0.05)
  750. coroutine.resume(coroutine.create(function()
  751. local HASTOUCHEDGROUND = false
  752. local HIT = BLOOD.Touched:Connect(function(hit)
  753. if hit.Anchored == true then
  754. HASTOUCHEDGROUND = true
  755. PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize)
  756. end
  757. end)
  758. for i = 1, 50 do
  759. Swait()
  760. if HASTOUCHEDGROUND == true then
  761. break
  762. end
  763. BLOOD.Size = BLOOD.Size * 0.9
  764. end
  765. BLOOD:remove()
  766. end))
  767. end
  768.  
  769. function Kill(Target)
  770. if Target.Parent ~= Weapon and Target:FindFirstChildOfClass("Humanoid") then
  771. Target:BreakJoints()
  772. local CFRAME = Target:FindFirstChild("Torso").CFrame or Target:FindFirstChild("UpperTorso")
  773. local CLONE,TORS2,DummyHead = Ragdoll(Target,Torso)
  774. getbloody(DummyHead,45)
  775. if TORS2 ~= nil then
  776. CreateSound("185688060", TORS2, 10, (math.random(8,12)/10))
  777. CreateSound("337800380", DummyHead, 5, (math.random(8,18)/10))
  778. local HUM = IT("Humanoid")
  779. HUM.MaxHealth = 0
  780. HUM.Health = 0
  781. HUM.Name = "CorpseHumanoid"
  782. HUM.PlatformStand = true
  783. HUM.Parent = CLONE
  784. KILLINSTINCT = KILLINSTINCT + 20
  785. TORS2.CFrame = CFRAME
  786. coroutine.resume(coroutine.create(function()
  787. for i = 1, 450 do
  788. wait()
  789. SprayBlood(DummyHead.CFrame*CF(0,-0.25,0).p,DummyHead.CFrame*CF(0,-0.7,0).p,5)
  790. SprayBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,TORS2.CFrame*CF(0,TORS2.Size.Y,0).p,10)
  791. --PuddleOfBlood(DummyHead.CFrame*CF(0,-0.25,0).p,4,CLONE,3)
  792. --PuddleOfBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,8,CLONE,6)
  793. end
  794. CLONE:Remove()
  795. end))
  796. end
  797. end
  798. end
  799.  
  800. --//=================================\\
  801. --|| ATTACK FUNCTIONS AND STUFF
  802. --\\=================================//
  803.  
  804. function Swing()
  805. ATTACK = true
  806. Rooted = false
  807. for i=0, 1, 0.1 / Animation_Speed do
  808. Swait()
  809. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.7 / Animation_Speed)
  810. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.7 / Animation_Speed)
  811. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  812. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  813. 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)
  814. 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)
  815. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(180)), 0.5 / Animation_Speed)
  816. end
  817. Trail.Enabled = true
  818. HandlePart.CanCollide = true
  819. CreateSound("185687991", HandlePart, 1, (math.random(8,12)/10))
  820. local HIT = HandlePart.Touched:Connect(function(hit)
  821. Kill(hit.Parent)
  822. end)
  823. for i=0, 0.8, 0.1 / Animation_Speed do
  824. Swait()
  825. if Speed == 25 and TORSOVELOCITY > 0.3 then
  826. RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
  827. end
  828. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.7 / Animation_Speed)
  829. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.7 / Animation_Speed)
  830. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.7) * ANGLES(RAD(15), RAD(0), RAD(90)) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  831. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  832. 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)
  833. 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)
  834. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(25), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  835. end
  836. Trail.Enabled = false
  837. HandlePart.CanCollide = false
  838. HIT:disconnect()
  839. ATTACK = false
  840. Rooted = false
  841. end
  842.  
  843. function Laugh()
  844. ATTACK = true
  845. Rooted = true
  846. CreateSound("649634100", Torso, 6, .7)
  847. for i=0, 3.5, 0.1 / Animation_Speed do
  848. Swait()
  849. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  850. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  851. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.35 * COS(SINE / 2), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  852. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  853. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  854. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  855. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  856. end
  857. ATTACK = false
  858. Rooted = false
  859. end
  860.  
  861. --//=================================\\
  862. --|| ASSIGN THINGS TO KEYS
  863. --\\=================================//
  864.  
  865. function MouseDown(Mouse)
  866. if ATTACK == false then
  867. Swing()
  868. end
  869. end
  870.  
  871. function MouseUp(Mouse)
  872. HOLD = false
  873. end
  874.  
  875. function KeyDown(Key)
  876. KEYHOLD = true
  877. if Key == "b" and ATTACK == false then
  878. if Speed == 10 then
  879. Speed = 25
  880. elseif Speed == 25 then
  881. Speed = 10
  882. end
  883. end
  884.  
  885. if Key == "t" and ATTACK == false then
  886. Laugh()
  887. end
  888. end
  889.  
  890. function KeyUp(Key)
  891. KEYHOLD = false
  892. end
  893.  
  894. Mouse.Button1Down:connect(function(NEWKEY)
  895. MouseDown(NEWKEY)
  896. end)
  897. Mouse.Button1Up:connect(function(NEWKEY)
  898. MouseUp(NEWKEY)
  899. end)
  900. Mouse.KeyDown:connect(function(NEWKEY)
  901. KeyDown(NEWKEY)
  902. end)
  903. Mouse.KeyUp:connect(function(NEWKEY)
  904. KeyUp(NEWKEY)
  905. end)
  906.  
  907. --//=================================\\
  908. --\\=================================//
  909.  
  910.  
  911. function unanchor()
  912. if UNANCHOR == true then
  913. g = Character:GetChildren()
  914. for i = 1, #g do
  915. if g[i].ClassName == "Part" then
  916. g[i].Anchored = false
  917. end
  918. end
  919. end
  920. end
  921.  
  922.  
  923. --//=================================\\
  924. --|| WRAP THE WHOLE SCRIPT UP
  925. --\\=================================//
  926.  
  927. Humanoid.Changed:connect(function(Jump)
  928. if Jump == "Jump" and (Disable_Jump == true) then
  929. Humanoid.Jump = false
  930. end
  931. end)
  932.  
  933. Speed = 10
  934.  
  935. local naeeym2 = Instance.new("BillboardGui",Character)
  936. naeeym2.AlwaysOnTop = true
  937. naeeym2.Size = UDim2.new(5,35,2,35)
  938. naeeym2.StudsOffset = Vector3.new(0,1,0)
  939. naeeym2.Adornee = Character.Head
  940. naeeym2.Name = "Name"
  941. naeeym2.PlayerToHideFrom = Nobody
  942. local tecks2 = Instance.new("TextLabel",naeeym2)
  943. tecks2.BackgroundTransparency = 1
  944. tecks2.TextScaled = true
  945. tecks2.BorderSizePixel = 0
  946. tecks2.Text = "5MZAZATV.EXE"
  947. tecks2.Font = "Antique"
  948. tecks2.TextSize = 30
  949. tecks2.TextStrokeTransparency = 0
  950. tecks2.TextColor3 = Color3.new(0.8,0,0)
  951. tecks2.TextStrokeColor3 = Color3.new(0.8,0,0)
  952. tecks2.Size = UDim2.new(1,0,0.5,0)
  953. tecks2.Parent = naeeym2
  954.  
  955. while true do
  956. ANIMATE.Parent = nil
  957. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  958. IDLEANIMATION:Play()
  959. SINE = SINE + CHANGE
  960. TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  961. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  962. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  963. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  964. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  965. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  966. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  967. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  968. 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)
  969. 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)
  970. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  971. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  972. 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)
  973. 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)
  974. 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)
  975. end
  976. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  977. ANIM = "Jump"
  978. if ATTACK == false then
  979. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  980. 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)
  981. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  982. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  983. 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)
  984. 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)
  985. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-165), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  986. end
  987. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  988. ANIM = "Fall"
  989. if ATTACK == false then
  990. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  991. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  992. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  993. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  994. 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)
  995. 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)
  996. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-85), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  997. end
  998. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  999. ANIM = "Idle"
  1000. if ATTACK == false then
  1001. 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)
  1002. if VALUE1 == false then
  1003. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1004. end
  1005. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1006. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1007. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1008. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1009. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1010. if VALUE1 == false and MRANDOM(1,200) == 1 then
  1011. coroutine.resume(coroutine.create(function()
  1012. VALUE1 = true
  1013. for i = 1, 25 do
  1014. Swait()
  1015. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD((15+MRANDOM(-15,15)/15)), RAD(0)), 3 / Animation_Speed)
  1016. end
  1017. VALUE1 = false
  1018. end))
  1019. end
  1020. end
  1021. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1022. ANIM = "Walk"
  1023. WALK = WALK + 1 / Animation_Speed
  1024. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1025. WALK = 0
  1026. if WALKINGANIM == true then
  1027. WALKINGANIM = false
  1028. elseif WALKINGANIM == false then
  1029. WALKINGANIM = true
  1030. end
  1031. end
  1032. --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)
  1033. --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)
  1034. if ATTACK == false then
  1035. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1036. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(25), RAD(0)), 0.15 / Animation_Speed)
  1037. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 - 0.15 * COS(SINE / (WALKSPEEDVALUE / 2)), 0) * ANGLES(RAD(-20), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1038. 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)
  1039. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1040. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1041. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.75 + 0.3 * COS(SINE / (WALKSPEEDVALUE/2)), 0) * ANGLES(RAD(-145), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1042. end
  1043. end
  1044. unanchor()
  1045. Humanoid.MaxHealth = "inf"
  1046. Humanoid.Health = "inf"
  1047. if Rooted == false then
  1048. Disable_Jump = false
  1049. Humanoid.WalkSpeed = Speed
  1050. elseif Rooted == true then
  1051. Disable_Jump = true
  1052. Humanoid.WalkSpeed = 0
  1053. end
  1054. if KILLINSTINCT > 0 then
  1055. PuddleOfBlood(HandlePart.CFrame*CF(0,1,0).p,3,HandlePart,2)
  1056. KILLINSTINCT = KILLINSTINCT - 0.1
  1057. end
  1058. if Head:FindFirstChild("face") then
  1059. Head.face.Texture = "http://www.roblox.com/asset/?id=900134257"
  1060. end
  1061. Trail.Color = ColorSequence.new(C3(1,1-KILLINSTINCT/70,1-KILLINSTINCT/70))
  1062. local MATHS = {"0","1"}
  1063. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)].."P"..MATHS[MRANDOM(1,#MATHS)].."S"..MATHS[MRANDOM(1,#MATHS)].."Y"..MATHS[MRANDOM(1,#MATHS)].."C"..MATHS[MRANDOM(1,#MATHS)].."H"..MATHS[MRANDOM(1,#MATHS)].."O"..MATHS[MRANDOM(1,#MATHS)]
  1064. Humanoid.PlatformStand = false
  1065. script.Name = Humanoid.Name
  1066. if math.random(1,70-Speed) == 1 then
  1067. tecks2.Text = "FAILURE"
  1068. elseif math.random(1,70-Speed) == 2 then
  1069. tecks2.Text = "WHY BOTHER"
  1070. elseif math.random(1,70-Speed) == 3 then
  1071. tecks2.Text = "WORTHLESS"
  1072. else
  1073. if KILLINSTINCT > 0 then
  1074. if KILLINSTINCT < 100 then
  1075. if MRANDOM(1,math.ceil(100-KILLINSTINCT)) == 1 then
  1076. tecks2.Text = "DIEEEEEEEEEEEE"
  1077. else
  1078. tecks2.Text = "PSYCHO"
  1079. end
  1080. elseif KILLINSTINCT >= 100 then
  1081. if MRANDOM(1,5) == 1 then
  1082. tecks2.Text = "DIEEEEEEEEEEEE"
  1083. end
  1084. else
  1085. tecks2.Text = "5MZAZATV.EXE"
  1086. end
  1087. else
  1088. tecks2.Text = "5MZAZATV.EXE"
  1089. end
  1090. end
  1091. DECAL.Transparency = 1-(KILLINSTINCT/25)
  1092. Swait()
  1093. if Head:FindFirstChildOfClass("Sound") then
  1094. Head:FindFirstChildOfClass("Sound"):remove()
  1095. end
  1096. if KILLINSTINCT > 100 then
  1097. KILLINSTINCT = 100
  1098. end
  1099. sick.Parent = Character
  1100. Sky.Parent = game.Lighting
  1101. game.Lighting.ClockTime = 22
  1102. script.Parent = PlayerGui
  1103. end
  1104.  
  1105. --//=================================\\
  1106. --\\=================================//
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112. --//====================================================\\--
  1113. --|| END OF SCRIPT
  1114. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement