Advertisement
yabagaba

Untitled

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