Advertisement
Christoffer07700Extr

???

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