Advertisement
Guest User

boi2

a guest
Jun 23rd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.09 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. local LeftArm = Character["Left Arm"]
  26. local RightArm = Character["Right Arm"]
  27. local LeftLeg = Character["Left Leg"]
  28. local RightLeg = Character["Right Leg"]
  29. local Head = Character.Head
  30. local Torso = Character.Torso
  31. RootJoint = RootPart["RootJoint"]
  32. Neck = Torso["Neck"]
  33. RightShoulder = Torso["Right Shoulder"]
  34. LeftShoulder = Torso["Left Shoulder"]
  35. RightHip = Torso["Right Hip"]
  36. LeftHip = Torso["Left Hip"]
  37. local sick = Instance.new("Sound",Torso)
  38. sick.SoundId = "rbxassetid://481104377"
  39. sick.Looped = true
  40. sick.Pitch = 0.9
  41. sick.Volume = 3
  42. sick:Play()
  43. Humanoid.DisplayDistanceType = "None"
  44.  
  45.  
  46. IT = Instance.new
  47. CF = CFrame.new
  48. VT = Vector3.new
  49. RAD = math.rad
  50. C3 = Color3.new
  51. UD2 = UDim2.new
  52. BRICKC = BrickColor.new
  53. ANGLES = CFrame.Angles
  54. EULER = CFrame.fromEulerAnglesXYZ
  55. COS = math.cos
  56. ACOS = math.acos
  57. SIN = math.sin
  58. ASIN = math.asin
  59. ABS = math.abs
  60. MRANDOM = math.random
  61. FLOOR = math.floor
  62.  
  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 = 3
  108. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  109.  
  110. local Speed = 16
  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", "145815658", "1428489484", VT(1,1,1), VT(0, 0, 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=453471123"
  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] Swing", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 1")
  448. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Enrage", 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 = false
  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("265531551", TORS2, 10, (math.random(8,12)/10))
  778. CreateSound("155202884", 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 + 100
  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. local laughing = Instance.new("Sound",Torso)
  848. laughing.SoundId = "rbxassetid://1488801944"
  849. laughing.Pitch = 1
  850. laughing.Volume = 10
  851. laughing:Play()
  852.  
  853. for i=0, 3.5, 0.1 / Animation_Speed do
  854. Swait()
  855. 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)
  856. 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)
  857. 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)
  858. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  859. 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)
  860. 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)
  861. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  862. end
  863. ATTACK = false
  864. Rooted = false
  865. end
  866.  
  867. --//=================================\\
  868. --|| ASSIGN THINGS TO KEYS
  869. --\\=================================//
  870.  
  871. function MouseDown(Mouse)
  872. if ATTACK == false then
  873. Swing()
  874. end
  875. end
  876.  
  877. function MouseUp(Mouse)
  878. HOLD = false
  879. end
  880.  
  881. function KeyDown(Key)
  882. KEYHOLD = true
  883. if Key == "b" and ATTACK == false then
  884. if Speed == 10 then
  885. Speed = 25
  886. elseif Speed == 25 then
  887. Speed = 10
  888. end
  889. end
  890.  
  891. if Key == "t" and ATTACK == false then
  892. Laugh()
  893. end
  894. end
  895.  
  896. function KeyUp(Key)
  897. KEYHOLD = false
  898. end
  899.  
  900. Mouse.Button1Down:connect(function(NEWKEY)
  901. MouseDown(NEWKEY)
  902. end)
  903. Mouse.Button1Up:connect(function(NEWKEY)
  904. MouseUp(NEWKEY)
  905. end)
  906. Mouse.KeyDown:connect(function(NEWKEY)
  907. KeyDown(NEWKEY)
  908. end)
  909. Mouse.KeyUp:connect(function(NEWKEY)
  910. KeyUp(NEWKEY)
  911. end)
  912.  
  913. --//=================================\\
  914. --\\=================================//
  915.  
  916.  
  917. function unanchor()
  918. if UNANCHOR == true then
  919. g = Character:GetChildren()
  920. for i = 1, #g do
  921. if g[i].ClassName == "Part" then
  922. g[i].Anchored = false
  923. end
  924. end
  925. end
  926. end
  927.  
  928.  
  929. --//=================================\\
  930. --|| WRAP THE WHOLE SCRIPT UP
  931. --\\=================================//
  932.  
  933. Humanoid.Changed:connect(function(Jump)
  934. if Jump == "Jump" and (Disable_Jump == true) then
  935. Humanoid.Jump = false
  936. end
  937. end)
  938.  
  939. Speed = 10
  940.  
  941. local naeeym2 = Instance.new("BillboardGui",Character)
  942. naeeym2.AlwaysOnTop = true
  943. naeeym2.Size = UDim2.new(5,35,2,35)
  944. naeeym2.StudsOffset = Vector3.new(0,1,0)
  945. naeeym2.Adornee = Character.Head
  946. naeeym2.Name = "Name"
  947. local tecks2 = Instance.new("TextLabel",naeeym2)
  948. tecks2.BackgroundTransparency = 1
  949. tecks2.TextScaled = true
  950. tecks2.BorderSizePixel = 0
  951. tecks2.Text = "ERROR"
  952. tecks2.Font = "Antique"
  953. tecks2.TextSize = 30
  954. tecks2.TextStrokeTransparency = 0
  955. tecks2.TextColor3 = Color3.new(0,0.3,0)
  956. tecks2.TextStrokeColor3 = Color3.new(0,0.8,0)
  957. tecks2.Size = UDim2.new(1,0,0.5,0)
  958. tecks2.Parent = naeeym2
  959.  
  960. for i,v in pairs(Character:children()) do
  961. if v:IsA("Shirt") then
  962. v:Destroy()
  963. end
  964. end
  965. for i,v in pairs(Character:children()) do
  966. if v:IsA("Pants") then
  967. v:Destroy()
  968. end
  969. end
  970. for i,v in pairs(Character:children()) do
  971. if v:IsA("Accessory") then
  972. v:Destroy()
  973. end
  974. end
  975.  
  976.  
  977. shirt = Instance.new("Shirt", Character)--Cloths--
  978. shirt.Name = "Shirt"
  979. pants = Instance.new("Pants", Character)
  980. pants.Name = "Pants"
  981. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=691135228"
  982. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=691102036"
  983. local BC = Character["Body Colors"]
  984. BC.HeadColor = BrickColor.new("Lime green")
  985. BC.LeftArmColor = BrickColor.new("Lime green")
  986. BC.LeftLegColor = BrickColor.new("Really black")
  987. BC.RightArmColor = BrickColor.new("Really black")
  988. BC.RightLegColor = BrickColor.new("Lime green")
  989. BC.TorsoColor = BrickColor.new("Really black")
  990.  
  991.  
  992. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  993. particleemitter.VelocitySpread = 350
  994. particleemitter.Lifetime = NumberRange.new(1)
  995. particleemitter.Speed = NumberRange.new(0)
  996. cringememe= {}
  997. for i=0, 19 do
  998. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(0.5, 0.9))
  999. end
  1000. particleemitter.Size = NumberSequence.new(cringememe)
  1001. particleemitter.Rate = 20
  1002. particleemitter.LockedToPart = true
  1003. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1004. particleemitter.LightEmission = 1
  1005. particleemitter.Texture = "rbxassetid://241685484"
  1006. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  1007.  
  1008. local particleemitter = Instance.new('ParticleEmitter', Torso)
  1009. particleemitter.VelocitySpread = 250
  1010. particleemitter.Lifetime = NumberRange.new(3)
  1011. particleemitter.Speed = NumberRange.new(1.5)
  1012. youAreATHOT = {}
  1013. for i=0, 19 do
  1014. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(0.5, 0.9))
  1015. end
  1016. particleemitter.Size = NumberSequence.new(youAreATHOT)
  1017. particleemitter.Rate = 10
  1018. particleemitter.LockedToPart = false
  1019. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1020. particleemitter.LightEmission = 1
  1021. particleemitter.Texture = "rbxassetid://241685484"
  1022. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  1023.  
  1024. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  1025. particleemitter.VelocitySpread = 350
  1026. particleemitter.Lifetime = NumberRange.new(1)
  1027. particleemitter.Speed = NumberRange.new(0)
  1028. cringememe2= {}
  1029. for i=0, 19 do
  1030. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(0.5, 0.9))
  1031. end
  1032. particleemitter.Size = NumberSequence.new(cringememe2)
  1033. particleemitter.Rate = 20
  1034. particleemitter.LockedToPart = true
  1035. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1036. particleemitter.LightEmission = 1
  1037. particleemitter.Texture = "rbxassetid://241685484"
  1038. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  1039.  
  1040. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  1041. particleemitter.VelocitySpread = 350
  1042. particleemitter.Lifetime = NumberRange.new(1)
  1043. particleemitter.Speed = NumberRange.new(0)
  1044. cringememe3= {}
  1045. for i=0, 19 do
  1046. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(0.5, 0.9))
  1047. end
  1048. particleemitter.Size = NumberSequence.new(cringememe3)
  1049. particleemitter.Rate = 30
  1050. particleemitter.LockedToPart = true
  1051. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1052. particleemitter.LightEmission = 1
  1053. particleemitter.Texture = "rbxassetid://241685484"
  1054. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  1055.  
  1056. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  1057. particleemitter.VelocitySpread = 350
  1058. particleemitter.Lifetime = NumberRange.new(1)
  1059. particleemitter.Speed = NumberRange.new(0)
  1060. cringememe4= {}
  1061. for i=0, 19 do
  1062. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(0.5, 0.9))
  1063. end
  1064. particleemitter.Size = NumberSequence.new(cringememe4)
  1065. particleemitter.Rate = 30
  1066. particleemitter.LockedToPart = true
  1067. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1068. particleemitter.LightEmission = 1
  1069. particleemitter.Texture = "rbxassetid://241685484"
  1070. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  1071.  
  1072. while true do
  1073. ANIMATE.Parent = nil
  1074. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1075. IDLEANIMATION:Play()
  1076. SINE = SINE + CHANGE
  1077. TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1078. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1079. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1080. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1081. local WALKSPEEDVALUE = 20 / (Humanoid.WalkSpeed / 16)
  1082. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1083. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1084. 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)
  1085. 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)
  1086. 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)
  1087. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1088. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1089. 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)
  1090. 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)
  1091. 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)
  1092. end
  1093. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1094. ANIM = "Jump"
  1095. if ATTACK == false then
  1096. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1097. 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)
  1098. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1099. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1100. 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)
  1101. 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)
  1102. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-165), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1103. end
  1104. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1105. ANIM = "Fall"
  1106. if ATTACK == false then
  1107. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1108. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1109. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1110. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1111. 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)
  1112. 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)
  1113. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-85), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1114. end
  1115. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1116. ANIM = "Idle"
  1117. if ATTACK == false then
  1118. 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)
  1119. if VALUE1 == false then
  1120. 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)
  1121. end
  1122. 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)
  1123. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1124. 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)
  1125. 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)
  1126. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1127. if VALUE1 == false and MRANDOM(1,200) == 1 then
  1128. coroutine.resume(coroutine.create(function()
  1129. VALUE1 = true
  1130. for i = 1, 25 do
  1131. Swait()
  1132. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD((15+MRANDOM(-15,15)/15)), RAD(0)), 3 / Animation_Speed)
  1133. end
  1134. VALUE1 = false
  1135. end))
  1136. end
  1137. end
  1138. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1139. ANIM = "Walk"
  1140. WALK = WALK + 1 / Animation_Speed
  1141. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1142. WALK = 0
  1143. if WALKINGANIM == true then
  1144. WALKINGANIM = false
  1145. elseif WALKINGANIM == false then
  1146. WALKINGANIM = true
  1147. end
  1148. end
  1149. --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)
  1150. --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)
  1151. if ATTACK == false then
  1152. 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)
  1153. 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)
  1154. 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)
  1155. 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)
  1156. 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)
  1157. 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)
  1158. 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)
  1159. end
  1160. end
  1161. unanchor()
  1162. Humanoid.MaxHealth = "inf"
  1163. Humanoid.Health = "inf"
  1164. if Rooted == false then
  1165. Disable_Jump = false
  1166. Humanoid.WalkSpeed = Speed
  1167. elseif Rooted == true then
  1168. Disable_Jump = true
  1169. Humanoid.WalkSpeed = 0
  1170. end
  1171. if KILLINSTINCT > 0 then
  1172. PuddleOfBlood(HandlePart.CFrame*CF(0,1,0).p,3,HandlePart,2)
  1173. KILLINSTINCT = KILLINSTINCT - 0.1
  1174. end
  1175. if Head:FindFirstChild("face") then
  1176. Head.face.Texture = "http://www.roblox.com/asset/?id=596786919"
  1177. end
  1178. Trail.Color = ColorSequence.new(C3(1,1-KILLINSTINCT/70,1-KILLINSTINCT/70))
  1179. local MATHS = {"0","1"}
  1180. 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)]
  1181. Humanoid.PlatformStand = false
  1182. script.Name = Humanoid.Name
  1183. if math.random(1,70-Speed) == 1 then
  1184. tecks2.Text = "FAILURE"
  1185. elseif math.random(1,70-Speed) == 2 then
  1186. tecks2.Text = "VIRUS"
  1187. elseif math.random(1,70-Speed) == 3 then
  1188. tecks2.Text = "INFECTED"
  1189. else
  1190. if KILLINSTINCT > 0 then
  1191. if KILLINSTINCT < 100 then
  1192. if MRANDOM(1,math.ceil(100-KILLINSTINCT)) == 1 then
  1193. tecks2.Text = "404 Character not found"
  1194. else
  1195. tecks2.Text = "ERROR"
  1196. end
  1197. elseif KILLINSTINCT >= 100 then
  1198. if MRANDOM(1,5) == 1 then
  1199. tecks2.Text = "404 Character not found"
  1200. end
  1201. else
  1202. tecks2.Text = "ERROR"
  1203. end
  1204. else
  1205. tecks2.Text = "ERROR"
  1206. end
  1207. end
  1208. DECAL.Transparency = 1-(KILLINSTINCT/25)
  1209. Swait()
  1210. if Head:FindFirstChildOfClass("Sound") then
  1211. Head:FindFirstChildOfClass("Sound"):remove()
  1212. end
  1213. if KILLINSTINCT > 100 then
  1214. KILLINSTINCT = 100
  1215. end
  1216. sick.Parent = Torso
  1217. script.Parent = PlayerGui
  1218. end
  1219.  
  1220. --//=================================\\
  1221. --\\=================================//
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227. --//====================================================\\--
  1228. --|| END OF SCRIPT
  1229. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement