Advertisement
Cute_Sylveon

Untitled

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