Advertisement
jackichu

Untitled

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