Advertisement
Im_Meme

Soul Axe

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