Advertisement
Liampdoherty

Psycho axe :D

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