Advertisement
AgentVK

OK THEN 4

Dec 16th, 2017
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 200.73 KB | None | 0 0
  1. -- Retributor, without all the fun stuff. Just the coat.
  2.  
  3. -- Written by yeox769.
  4.  
  5. wait(0.5)
  6. Player=game:GetService("Players").LocalPlayer
  7. Character=Player.Character
  8. PlayerGui=Player.PlayerGui
  9. Backpack=Player.Backpack
  10. Torso=Character.Torso
  11. Head=Character.Head
  12. Humanoid=Character.Humanoid
  13. m=Instance.new('Model',Character)
  14. LeftArm=Character["Left Arm"]
  15. LeftLeg=Character["Left Leg"]
  16. RightArm=Character["Right Arm"]
  17. RightLeg=Character["Right Leg"]
  18. LS=Torso["Left Shoulder"]
  19. LH=Torso["Left Hip"]
  20. RS=Torso["Right Shoulder"]
  21. RH=Torso["Right Hip"]
  22. Face = Head.face
  23. Neck=Torso.Neck
  24. it=Instance.new
  25. attacktype=1
  26. vt=Vector3.new
  27. cf=CFrame.new
  28. euler=CFrame.fromEulerAnglesXYZ
  29. angles=CFrame.Angles
  30. cloaked=false
  31. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  33. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  34. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  35. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  37. RootPart=Character.HumanoidRootPart
  38. RootJoint=RootPart.RootJoint
  39. RootCF=euler(-1.57,0,3.14)
  40. attack = false
  41. attackdebounce = false
  42. deb=false
  43. equipped=true
  44. hand=false
  45. MMouse=nil
  46. combo=0
  47. trispeed=.2
  48. attackmode='none'
  49. local idle=0
  50. local Anim="Idle"
  51.  
  52. it = Instance.new
  53.  
  54. local part = function(name,parent,brkclr,mtrl,rfl,trns,sz)
  55. local prt = it("Part",parent)
  56. prt.Name = name
  57. prt.CanCollide = false
  58. prt.BrickColor = BrickColor.new(brkclr)
  59. if brkclr == "Really black" and mtrl == "Neon" then prt.Color = Color3.new(0,0,0) end
  60. prt.Material = mtrl
  61. prt.Reflectance = rfl
  62. prt.Transparency = trns
  63. prt.Size = sz
  64. prt.Anchored = true
  65. return prt
  66. end
  67. local mesh = function(meshtype,parent,meshid,textureid,scale)
  68. local msh = it("SpecialMesh",parent)
  69. if meshtype == "FileMesh" then
  70. msh.MeshId = meshid
  71. msh.TextureId = textureid
  72. end
  73. msh.MeshType = meshtype
  74. msh.Scale = scale
  75. return(msh)
  76. end
  77. local weld = function(part1,part2,x1,y1,z1,x2,y2,z2)
  78. local w = it("Weld",part1)
  79. w.Part0 = part1
  80. w.Part1 = part2
  81. if part1.Anchored or part2.Anchored then
  82. part1.Anchored = false
  83. part2.Anchored = false
  84. end
  85. w.C0 = (CFrame.new(x1,y1,z1)*CFrame.Angles(math.rad(z2),math.rad(y2),math.rad(x2)))
  86. return(w)
  87. end
  88. local emit = function(parent,tex,startcolor, endcolor, startsize,endsize,lightem,emdir,lif,rate,speed,rotspeed,sprdang)
  89. local emm = it("ParticleEmitter",parent)
  90. emm.Texture = tex
  91. emm.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,startcolor),ColorSequenceKeypoint.new(1,endcolor)})
  92. emm.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,startsize),NumberSequenceKeypoint.new(1,endsize)})
  93. emm.LightEmission = lightem
  94. emm.EmissionDirection = emdir
  95. emm.Lifetime = NumberRange.new(lif)
  96. emm.Rate = rate
  97. emm.Speed = NumberRange.new(speed)
  98. emm.RotSpeed = NumberRange.new(rotspeed)
  99. emm.SpreadAngle = Vector2.new(sprdang,sprdang)
  100. return(emm)
  101. end
  102.  
  103. for _,v in pairs(Character:GetChildren()) do
  104. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Accessory") then
  105. v:Destroy()
  106. end
  107. end
  108.  
  109. eye = part("Eye",m,"Really red","Neon",0,0,Vector3.new(0.08,0.175,0.05))
  110. mesh("Sphere",eye,"","",Vector3.new(1,1,1))
  111. weld(Head,eye,-0.11,0.2625,-0.59,0,0,0)
  112.  
  113. p = part("Collar1",m,"Black","Sand",0,0,Vector3.new(1,1,1))
  114. weld(Torso,p,0,1.15,0,0,22.5,190)
  115. mesh("FileMesh",p,"http://www.roblox.com/asset/?id=20637493","",Vector3.new(1,1,1))
  116. p = part("Collar2",m,"Black","Sand",0,0,Vector3.new(1,1,1))
  117. weld(Torso,p,0,1.15,0,0,-22.5,190)
  118. mesh("FileMesh",p,"http://www.roblox.com/asset/?id=20637493","",Vector3.new(1,1,1))
  119. p = part("Collar3",m,"Black","Sand",0,0,Vector3.new(1,1,1))
  120. weld(Torso,p,0,0.9,0.1,0,0,-15)
  121. mesh("FileMesh",p,"http://www.roblox.com/asset/?id=20637493","",Vector3.new(1,1,1))
  122.  
  123.  
  124. p = part("Coat1",m,"Black","Sand",0,0,Vector3.new(2.05,1.55,1.05))
  125. weld(Torso,p,0,0.25,0,0,0,0)
  126. p = part("Coat2",m,"Black","Sand",0,0,Vector3.new(0.55,2.05,1.04))
  127. weld(Torso,p,1,-1.25,0,22,0,0)
  128. p = part("Coat3",m,"Black","Sand",0,0,Vector3.new(0.55,2.05,1.04))
  129. weld(Torso,p,-1,-1.25,0,-22,0,0)
  130. p = part("Coat4",m,"Black","Sand",0,0,Vector3.new(2.1,1.05,0.54))
  131. weld(Torso,p,0,-1,0.24,0,0,0)
  132. p = part("Coat5",m,"Black","Sand",0,0,Vector3.new(0.925,0.75,0.54))
  133. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  134. weld(Torso,p,0.3,-0.75,-0.05,90,0,-90)
  135. p = part("Coat6",m,"Black","Sand",0,0,Vector3.new(0.925,0.75,0.54))
  136. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  137. weld(Torso,p,-0.3,-0.75,-0.05,-90,0,-90)
  138. p = part("Coat7",m,"Black","Sand",0,0,Vector3.new(0.975,0.5,0.75))
  139. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  140. weld(Torso,p,-1.4,-2.45,0,90,0,-90)
  141. p = part("Coat8",m,"Black","Sand",0,0,Vector3.new(0.975,0.5,0.75))
  142. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  143. weld(Torso,p,1.4,-2.45,0,-90,0,-90)
  144. p = part("Coat9",m,"Black","Sand",0,0,Vector3.new(1.05,0.5,0.525))
  145. weld(RightLeg,p,0,0.75,0.25,0,0,0)
  146. p = part("Coat10",m,"Black","Sand",0,0,Vector3.new(1.05,0.5,0.525))
  147. weld(LeftLeg,p,0,0.75,0.25,0,0,0)
  148.  
  149. p = part("Sleeves1",m,"Black","Granite",0,0,Vector3.new(1.1,0.5,1.1))
  150. weld(LeftArm,p,0,0.875,0,0,0,0)
  151. p = part("Sleeves2",m,"Black","Sand",0,0,Vector3.new(1.05,1.5,1.05))
  152. weld(LeftArm,p,0,0.25,0,0,0,0)
  153. p = part("Sleeves3",m,"Really red","Neon",0,0,Vector3.new(0.25,0.5,0.5))
  154. mesh("Cylinder",p,"","",Vector3.new(1,1,1))
  155. weld(LeftArm,p,-0.41,0.15,0,0,0,0)
  156. p = part("Sleeves4",m,"Really red","Neon",0,0,Vector3.new(0.25,0.075,0.075))
  157. mesh("Cylinder",p,"","",Vector3.new(1,1,1))
  158. weld(LeftArm,p,-0.44,0.15,0,0,0,0)
  159. p = part("Sleeves5",m,"Black","Sand",0,0,Vector3.new(0.25,0.375,0.375))
  160. mesh("Cylinder",p,"","",Vector3.new(1,1,1))
  161. weld(LeftArm,p,-0.43,0.15,0,0,0,0)
  162. p = part("Sleeves6",m,"Black","Sand",0,0,Vector3.new(0.25,0.75,0.075))
  163. weld(LeftArm,p,-0.42,0.2,0.0375,0,0,-45)
  164. p = part("Sleeves7",m,"Black","Sand",0,0,Vector3.new(0.25,0.75,0.075))
  165. weld(LeftArm,p,-0.42,0.1,-0.0375,0,0,-45)
  166. p = part("Sleeves8",m,"Black","Granite",0,0,Vector3.new(1.1,0.25,1.1))
  167. weld(LeftArm,p,0,-0.4,0,0,0,0)
  168. p = part("Sleeves9",m,"Black","Granite",0,0,Vector3.new(1.1,0.5,1.1))
  169. weld(RightArm,p,0,0.875,0,0,0,0)
  170.  
  171. function weld(p0,p1,c0,c1,par)
  172. local w = Instance.new("Weld",p0 or par)
  173. w.Part0 = p0
  174. w.Part1 = p1
  175. w.C0 = c0 or CFrame.new()
  176. w.C1 = c1 or CFrame.new()
  177. return w
  178. end
  179. local motors = {}
  180. function motor(p0,p1,c0,c1,des,vel,par)
  181. local w = Instance.new("Motor6D",p0 or par)
  182. w.Part0 = p0
  183. w.Part1 = p1
  184. w.C0 = c0 or CFrame.new()
  185. w.C1 = c1 or CFrame.new()
  186. w.MaxVelocity = tonumber(vel) or .05
  187. w.DesiredAngle = tonumber(des) or 0
  188. return w
  189. end
  190.  
  191. function lerp(a,b,c)
  192. return a+(b-a)*c
  193. end
  194.  
  195. function ctlerp(c1,c2,al)
  196. local com1 = {c1:components()}
  197. local com2 = {c2:components()}
  198. for i,v in pairs(com1) do
  199. com1[i] = lerp(v,com2[i],al)
  200. end
  201. return CFrame.new(unpack(com1))
  202. end
  203.  
  204. do
  205. local function QuaternionFromCFrame(cf)
  206. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  207. local trace = m00 + m11 + m22
  208. if trace > 0 then
  209. local s = math.sqrt(1 + trace)
  210. local recip = 0.5/s
  211. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  212. else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00-m11-m22+1) local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip elseif i == 1 then local s = math.sqrt(m11-m22-m00+1) local recip = 0.5/s return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip elseif i == 2 then local s = math.sqrt(m22-m00-m11+1) local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip end end end local function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w*xs, w*ys, w*zs local xx = x*xs local xy = x*ys local xz = x*zs local yy = y*ys local yz = y*zs local zz = z*zs 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)) end local function QuaternionSlerp(a, b, t) local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = math.acos(cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((1-t)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = 1-t finishInterp = t end else if (1+cosTheta) > 0.0001 then local theta = math.acos(-cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((t-1)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = t-1 finishInterp = t end end 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 end function clerp(a,b,t) local qa = {QuaternionFromCFrame(a)} local qb = {QuaternionFromCFrame(b)} local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1-t return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) end end
  213. function tickwave(time,length,offset) return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length end function invcol(c) c = c.Color return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r)) end local oc = oc or function(...) return ... end local plr = game.Players.LocalPlayer local char = plr.Character local tor = char.Torso local hum = char.Humanoid local vel = Vector3.new() local cf = CFrame.new() local flspd = 0 local keysdown = {} local keypressed = {} local ktime = {} local descendtimer = 0 local possiblefly = 0 local cam = workspace.CurrentCamera local flying = false local moving = false hum.PlatformStand = false local winghats = {"Wings","Angel","EmpyreanreignmentII"} for _,o in pairs(char:GetChildren()) do for i,v in pairs(winghats) do if o.Name:lower() == v:lower() then o:Destroy() end end end local mod = Instance.new("Model",char) mod.Name = "Wings" local topcolor = BrickColor.new("Really black") local feacolor = topcolor local ptrans = 0 local pref = 0 local fire = false local fmcol = Color3.new() local fscol = Color3.new() local part = Instance.new("Part") part.Locked = true part.FormFactor = "Custom" part.Size = Vector3.new(.2,.2,.2) part.TopSurface,part.BottomSurface = 0,0 part.CanCollide = false part.BrickColor = topcolor part.Transparency = ptrans part.Reflectance = pref local ef = Instance.new("Fire",fire and part or nil) ef.Size = .15 ef.Color = fmcol or Color3.new() ef.SecondaryColor = fscol or Color3.new() part:BreakJoints() function newpart() local clone = part:Clone() clone.Parent = mod clone:BreakJoints() return clone end local feath = newpart() feath.BrickColor = feacolor Instance.new("SpecialMesh",feath).MeshType = "Sphere" function newfeather() local clone = feath:Clone() clone.Parent = mod clone:BreakJoints() return clone end local r1 = newpart() r1.Size = Vector3.new(.3,1.5,.3)*1.2 local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1)
  214. local r2 = newpart() r2.Size = Vector3.new(.4,1.8,.4)*1.2 local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1) local r3 = newpart() r3.Size = Vector3.new(.3,2.2,.3)*1.2 local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1) local r4 = newpart() r4.Size = Vector3.new(.25,1.2,.25)*1.2 local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1) local feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.4,3,.3) weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0)) feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.4,2.3,.3) weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0)) feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.35,2.2,.25) weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0)) local rf3 = {} for i=0,7 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.45,2.2,.35) table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0))) end local rf2 = {} for i=0,7 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.45,2.2-i*.08,.3) table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0))) end local rf1 = {} for i=0,6 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  215. table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0))) end local l1 = newpart() l1.Size = Vector3.new(.3,1.5,.3)*1.2 local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1) local l2 = newpart() l2.Size = Vector3.new(.4,1.8,.4)*1.2 local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1) local l3 = newpart() l3.Size = Vector3.new(.3,2.2,.3)*1.2 local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1) local l4 = newpart() l4.Size = Vector3.new(.25,1.2,.25)*1.2 local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1) local feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.4,3,.3) weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0)) feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.4,2.3,.3) weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0)) feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.35,2.2,.25) weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0)) local lf3 = {} for i=0,7 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.45,2.2,.35) table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0))) end local lf2 = {} for i=0,7 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  216. table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0))) end local lf1 = {} for i=0,6 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.37,1.65-i*.06,.25) table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0))) end local rwing = {rm1,rm2,rm3,rm4} local lwing = {lm1,lm2,lm3,lm4} local oc0 = {} for i,v in pairs(rwing) do oc0[v] = v.C0 end for i,v in pairs(lwing) do oc0[v] = v.C0 end function gotResized() if lastsize then if tor.Size == lastsize then return end local scaleVec = tor.Size/lastsize for i,v in pairs(oc0) do oc0[i] = v-v.p+scaleVec*v.p end lastsize = tor.Size end lastsize = tor.Size end tor.Changed:connect(function(p) if p == "Size" then gotResized() end end) gotResized() local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;} local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0} local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0} local outnormal = {0,-.2,1.8,0; .05,.05,.1,.05; -.3,0,0,0} local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0} local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; -.2,-.6,0,0} local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0} function setwings(tab,time) time = time or 10 for i=1,4 do rwing[i].DesiredAngle = tab[i] lwing[i].DesiredAngle = tab[i] rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new()) local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new()) end for i,v in pairs(rf1) do v.DesiredAngle = tab[9] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(lf1) do v.DesiredAngle = tab[9] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(rf2) do v.DesiredAngle = tab[10] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(lf2) do v.DesiredAngle = tab[10]
  217. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(rf3) do v.DesiredAngle = tab[11] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(lf3) do v.DesiredAngle = tab[11] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end end setwings(outhigh,1) for i,v in pairs(tor:GetChildren()) do if v.ClassName:lower():match("body") then v:Destroy() end end local ctor = tor:Clone() ctor:ClearAllChildren() ctor.Name = "cTorso" ctor.Transparency = 1 ctor.CanCollide = false ctor.FormFactor = "Custom" ctor.Size = Vector3.new(.2,.2,.2) ctor.Parent = mod weld(tor,ctor) local bg = Instance.new("BodyGyro",ctor) bg.maxTorque = Vector3.new() bg.P = 15000 bg.D = 1000 local bv = Instance.new("BodyVelocity",ctor) bv.maxForce = Vector3.new() bv.P = 15000 kd = plr:GetMouse().KeyDown:connect(oc(function(key) keysdown[key] = true keypressed[key] = true if key == "2" then descendtimer = tick() elseif key == " " and tick()-(ktime[key] or 0) < .5 then possiblefly = tick() elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then reqrotx = key == "a" and math.pi*2 or -math.pi*2 end ktime[key] = tick() end)) ku = plr:GetMouse().KeyUp:connect(function(key) keysdown[key] = false if key == " " then descendtimer = tick() end end) function mid(a,b,c) return math.max(a,math.min(b,c or -a)) end function bn(a) return a and 1 or 0 end function gm(tar) local m = 0 for i,v in pairs(tar:GetChildren()) do if v:IsA("BasePart") then m = m + v:GetMass() end m = m + gm(v) end return m end reqrotx = 0 local grav = 196.2 local flyspeed = 80 local maxspeed = 150 local con con = game:GetService("RunService").Stepped:connect(oc(function() if not mod:IsDescendantOf(workspace) then pcall(function() kd:disconnect() end) pcall(function() ku:disconnect() end) bg:Destroy() bv:Destroy() con:disconnect() hum.PlatformStand = false return end
  218. local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity) local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z if flying then local lfldir = fldir fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit local lmoving = moving moving = fldir.magnitude > .1 if lmoving and not moving then idledir = lfldir*Vector3.new(1,0,1) descendtimer = tick() end local dbomb = fldir.Y < -.6 or (moving and keysdown["0"]) if moving and keysdown["0"] and lmoving then fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit end local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0)) local descending = (not moving and keysdown["2"] and not keysdown[" "]) cf = ctlerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07) local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05 hum.PlatformStand = true bg.maxTorque = Vector3.new(1,1,1)*9e5 local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0) reqrotx = reqrotx - reqrotx/10 bv.maxForce = Vector3.new(1,1,1)*9e4*.5 local anioff =(bn(keysdown[" "])-bn(keysdown["2"]))/2 local ani = tickwave(1.5-anioff,1) bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["2"]))*15,0)+vel,.6) vel = moving and cf.lookVector*flspd or Vector3.new() acceleration = moving and (fldir.Y < 0 and (acceleration or 0) + -fldir.Y*grav/60) or lerp((acceleration or 0),0,.02) or 0 flspd = lerp(flspd,moving and math.min(maxspeed,flyspeed + acceleration) or 0,.1) setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15) for i=1,4 do
  219. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2) lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2) end if down.Y < -.85 then local ignlist = {char} local hit,ray repeat hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),ignlist) if hit then if hit.CanCollide then break else table.insert(ignlist,hit) end else break end until false if hit then flying = false hum.PlatformStand = false tor.Velocity = Vector3.new() end end else bg.maxTorque = Vector3.new() bv.maxForce = Vector3.new() local ani = tickwave(walking and .8 or 4.5,1) setwings(keysdown["2"] and outnormal or idle,15) local x,y,z = fspd/160,uspd/700,sspd/900 for i=1,4 do rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)) * CFrame.Angles(0,bn(i==2)*-.1,0),.2) lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)) * CFrame.Angles(0,bn(i==2)*-.1,0),.2) end if keypressed[" "] and not flying and (tick()-possiblefly < .5) then vel = Vector3.new(0,50,0) bv.velocity = vel idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1) cf = tor.CFrame * CFrame.Angles(-.01,0,0) tor.CFrame = cf bg.cframe = cf flystart = tick() flying = true end end keypressed = {} end))
  220.  
  221. math.randomseed(tick())
  222. local player = game.Players.LocalPlayer
  223. local rekt = {}
  224. local paralyzed = false
  225. local curpoint = nil
  226. local curpart = nil
  227. local finishnum = 1
  228. local zombiemode = false
  229. local zombies = {}
  230. local lastgui = nil
  231. local mouse = player:GetMouse()
  232.  
  233. function getplr(char)
  234. local plr = nil
  235. for i,v in pairs(game.Players:GetChildren()) do
  236. if v.Character == char then
  237. plr = v
  238. end
  239. end
  240. return plr
  241. end
  242.  
  243. function bleed(frick)
  244. while frick.Parent ~= nil do
  245. local reeee = coroutine.wrap(function()
  246. local thing = Instance.new('Part',game.Workspace)
  247. thing.Size = Vector3.new(0.2,0.2,0.2)
  248. thing.CFrame = frick.CFrame
  249. thing.Shape = Enum.PartType.Ball
  250. thing.CFrame = frick.CFrame
  251. thing.Transparency = 1
  252. thing.BrickColor = BrickColor.new('Maroon')
  253. thing.Material = Enum.Material.SmoothPlastic
  254. thing.Name = "Blood"
  255. thing.CanCollide =false
  256. local rawrxd = Instance.new('BodyForce',thing)
  257. rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
  258. local coru = coroutine.wrap(function()
  259. wait(0.01)
  260. rawrxd:Destroy()
  261. end)
  262. coru()
  263. local ree = Instance.new('ParticleEmitter',thing)
  264. ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(100,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(100,0,0))})
  265. ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
  266. ree.Texture = 'rbxassetid://867743272'
  267. ree.Lifetime = NumberRange.new(0.4)
  268. ree.Rate = 50
  269. ree.LockedToPart = true
  270. ree.Speed = NumberRange.new(0, 2)
  271.  
  272. thing.Touched:connect(function(tou)
  273. if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" then
  274. local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
  275. thing:Destroy()
  276. if tou.Name == "BloodPuddle" then
  277. local reee = tou.CFrame
  278. if tou.Transparency > -0.2 then
  279. tou.Transparency = tou.Transparency -0.1
  280. end
  281. if tou.Size.X < 10 then
  282. tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
  283. tou.CFrame = reee
  284. end
  285. else
  286. local bloodlol = Instance.new('Part',workspace)
  287. bloodlol.Size=Vector3.new(1,0.2,1)
  288. bloodlol.Name = "BloodPuddle"
  289. bloodlol.Anchored = true
  290. bloodlol.CanCollide = false
  291. bloodlol.Material = Enum.Material.SmoothPlastic
  292. bloodlol.BrickColor = BrickColor.new('Maroon')
  293. local cyl = Instance.new('CylinderMesh',bloodlol)
  294. cyl.Scale = Vector3.new(1,0.1,1)
  295. bloodlol.CFrame = CFrame.new(pos)
  296. local coru=coroutine.wrap(function()
  297. while bloodlol.Parent ~= nil do
  298. if bloodlol.Transparency < 1 then
  299. bloodlol.Transparency = bloodlol.Transparency+0.05
  300. else
  301. bloodlol:Destroy()
  302. end
  303. wait(0.1)
  304. end
  305. end)
  306. coru()
  307. end
  308. end
  309. end)
  310. local coru = coroutine.wrap(function()
  311. wait(1)
  312. thing:Destroy()
  313. end)
  314. coru()
  315. end)
  316. reeee()
  317. wait()
  318. end
  319. end
  320.  
  321. function killz(playa,hitz,kneef,explode,pool,head,charred,override)
  322. local soundy = false
  323. local heyy = hitz
  324. if hitz == "Right Arm" then
  325. local Limb = playa:FindFirstChild("Right Arm")
  326. local ters = playa:FindFirstChild('Torso')
  327. if Limb and ters then
  328. if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end
  329. for i,v in pairs(Limb:GetChildren()) do
  330. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
  331. v:Destroy()
  332. end
  333. end
  334. Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0)
  335. local Joint = Instance.new("Rotate")
  336. Joint.Name = "RightShoulder"
  337. Joint.Part0 = ters
  338. Joint.Part1 = Limb
  339. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  340. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  341. Joint.Parent = ters
  342. if charred and zombiemode == false then
  343. Limb.BrickColor = BrickColor.new('Black')
  344. local fire = Instance.new('Fire',Limb)
  345. fire.Heat = 5
  346. fire.Size = 5
  347. game:GetService('Debris'):AddItem(fire,2)
  348. local coru=coroutine.wrap(function()
  349. wait(2)
  350. for i,v in pairs(Limb:GetChildren()) do
  351. if v:IsA('ParticleEmitter') then
  352. v:Destroy()
  353. end
  354. end
  355. end)
  356. coru()
  357. end
  358. local B = Instance.new("Part")
  359. B.TopSurface = 0
  360. B.BottomSurface = 0
  361. B.formFactor = "Symmetric"
  362. B.Size = Vector3.new(1, 1, 1)
  363. B.Transparency = 1
  364. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  365. B.Parent = playa
  366. local W = Instance.new("Weld")
  367. W.Part0 = Limb
  368. W.Part1 = B
  369. W.C0 = CFrame.new(0, -0.5, 0)
  370. W.Parent = Limb
  371. if kneef then
  372. local coru = coroutine.wrap(function()
  373. local uno = Instance.new('Part',workspace)
  374. local dos = Instance.new('Part',workspace)
  375. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  376. dos.CFrame = kneef["big ass knife"].CFrame
  377. local weld = Instance.new('Weld',kneef["big ass knife"])
  378. weld.Part0 = playa:FindFirstChild(hitz)
  379. weld.Part1 = kneef["big ass knife"]
  380. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  381. uno:Destroy()
  382. dos:Destroy()
  383. playa:FindFirstChild(hitz).Anchored = false
  384. for i, v in pairs(kneef:GetChildren()) do
  385. if v:IsA('BasePart') then
  386. v.Anchored = false
  387. end
  388. end
  389. if zombiemode == false or override then
  390. wait()
  391. end
  392. if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
  393. kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
  394. end
  395. local bleedpart = Instance.new("Part", kneef)
  396. bleedpart.CanCollide = false
  397. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  398. bleedpart.CFrame = kneef["big ass knife"].CFrame
  399. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  400. bleedpart.Transparency = 1
  401.  
  402. local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
  403. bleedpartweld.Part0 = kneef["big ass knife"]
  404. bleedpartweld.Part1 = bleedpart
  405. bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
  406. local coru = coroutine.wrap(function()
  407. bleed(bleedpart)
  408. end)
  409. coru()
  410. game:GetService('Debris'):AddItem(bleedpart,2)
  411. end)
  412. coru()
  413. end
  414. end
  415. elseif hitz == "Left Arm" then
  416. local Limb = playa:FindFirstChild("Left Arm")
  417. local ters = playa:FindFirstChild('Torso')
  418. if Limb and ters then
  419. if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end
  420. for i,v in pairs(Limb:GetChildren()) do
  421. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
  422. v:Destroy()
  423. end
  424. end
  425. Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0)
  426. local Joint = Instance.new("Rotate")
  427. Joint.Name = "LeftShoulder"
  428. Joint.Part0 = ters
  429. Joint.Part1 = Limb
  430. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  431. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  432. Joint.Parent = ters
  433. if charred and zombiemode == false then
  434. Limb.BrickColor = BrickColor.new('Black')
  435. local fire = Instance.new('Fire',Limb)
  436. fire.Heat = 5
  437. fire.Size = 5
  438. game:GetService('Debris'):AddItem(fire,2)
  439. local coru=coroutine.wrap(function()
  440. wait(2)
  441. for i,v in pairs(Limb:GetChildren()) do
  442. if v:IsA('ParticleEmitter') then
  443. v:Destroy()
  444. end
  445. end
  446. end)
  447. coru()
  448. end
  449.  
  450. local B = Instance.new("Part")
  451. B.TopSurface = 0
  452. B.BottomSurface = 0
  453. B.formFactor = "Symmetric"
  454. B.Size = Vector3.new(1, 1, 1)
  455. B.CanCollide = true
  456. B.Transparency = 1
  457. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  458. B.Parent = playa
  459. local W = Instance.new("Weld")
  460. W.Part0 = ters
  461. W.Part1 = B
  462. W.C0 = CFrame.new(0, -0.5, 0)
  463. W.Parent = Limb
  464. if kneef then
  465. local coru = coroutine.wrap(function()
  466. local uno = Instance.new('Part',workspace)
  467. local dos = Instance.new('Part',workspace)
  468. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  469. dos.CFrame = kneef["big ass knife"].CFrame
  470. local weld = Instance.new('Weld',kneef["big ass knife"])
  471. weld.Part0 = playa:FindFirstChild(hitz)
  472. weld.Part1 = kneef["big ass knife"]
  473. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  474. uno:Destroy()
  475. dos:Destroy()
  476. playa:FindFirstChild(hitz).Anchored = false
  477. for i, v in pairs(kneef:GetChildren()) do
  478. if v:IsA('BasePart') then
  479. v.Anchored = false
  480. end
  481. end
  482. if zombiemode == false or override then
  483. wait()
  484. end
  485. if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
  486. kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
  487. end
  488. local bleedpart = Instance.new("Part", kneef)
  489. bleedpart.CanCollide = false
  490. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  491. bleedpart.CFrame = kneef["big ass knife"].CFrame
  492. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  493. bleedpart.Transparency = 1
  494.  
  495. local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
  496. bleedpartweld.Part0 = kneef["big ass knife"]
  497. bleedpartweld.Part1 = bleedpart
  498. bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
  499. local coru = coroutine.wrap(function()
  500. bleed(bleedpart)
  501. end)
  502. coru()
  503. game:GetService('Debris'):AddItem(bleedpart,2)
  504. end)
  505. coru()
  506. end
  507. end
  508. elseif hitz == "Right Leg" then
  509. local Limb = playa:FindFirstChild("Right Leg")
  510. local ters = playa:FindFirstChild('Torso')
  511. if Limb and ters then
  512. if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end
  513. for i,v in pairs(Limb:GetChildren()) do
  514. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
  515. v:Destroy()
  516. end
  517. end
  518. Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
  519. local Joint = Instance.new("Rotate")
  520. Joint.Name = "Right Hip"
  521. Joint.Part0 = ters
  522. Joint.Part1 = Limb
  523. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  524. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  525. Joint.Parent = ters
  526. if charred and zombiemode == false then
  527. Limb.BrickColor = BrickColor.new('Black')
  528. local fire = Instance.new('Fire',Limb)
  529. fire.Heat = 5
  530. fire.Size = 5
  531. game:GetService('Debris'):AddItem(fire,2)
  532. local coru=coroutine.wrap(function()
  533. wait(2)
  534. for i,v in pairs(Limb:GetChildren()) do
  535. if v:IsA('ParticleEmitter') then
  536. v:Destroy()
  537. end
  538. end
  539. end)
  540. coru()
  541. end
  542. local B = Instance.new("Part")
  543. B.TopSurface = 0
  544. B.BottomSurface = 0
  545. B.formFactor = "Symmetric"
  546. B.Size = Vector3.new(1, 1, 1)
  547. B.Transparency = 1
  548. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  549. B.Parent = playa
  550. local W = Instance.new("Weld")
  551. W.Part0 = Limb
  552. W.Part1 = B
  553. W.C0 = CFrame.new(0, -0.5, 0)
  554. W.Parent = Limb
  555. if kneef then
  556. local coru = coroutine.wrap(function()
  557. local uno = Instance.new('Part',workspace)
  558. local dos = Instance.new('Part',workspace)
  559. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  560. dos.CFrame = kneef["big ass knife"].CFrame
  561. local weld = Instance.new('Weld',kneef["big ass knife"])
  562. weld.Part0 = playa:FindFirstChild(hitz)
  563. weld.Part1 = kneef["big ass knife"]
  564. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  565. uno:Destroy()
  566. dos:Destroy()
  567. playa:FindFirstChild(hitz).Anchored = false
  568. for i, v in pairs(kneef:GetChildren()) do
  569. if v:IsA('BasePart') then
  570. v.Anchored = false
  571. end
  572. end
  573. if zombiemode == false or override then
  574. wait()
  575. end
  576. if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
  577. kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
  578. end
  579. local bleedpart = Instance.new("Part", kneef)
  580. bleedpart.CanCollide = false
  581. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  582. bleedpart.CFrame = kneef["big ass knife"].CFrame
  583. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  584. bleedpart.Transparency = 1
  585.  
  586. local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
  587. bleedpartweld.Part0 = kneef["big ass knife"]
  588. bleedpartweld.Part1 = bleedpart
  589. bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
  590. local coru = coroutine.wrap(function()
  591. bleed(bleedpart)
  592. end)
  593. coru()
  594. game:GetService('Debris'):AddItem(bleedpart,2)
  595. end)
  596. coru()
  597. end
  598. if playa then
  599. table.insert(rekt,playa)
  600. end
  601. end
  602. elseif hitz == "Left Leg" then
  603. local Limb = playa:FindFirstChild("Left Leg")
  604. local ters = playa:FindFirstChild('Torso')
  605. if Limb and ters then
  606. if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end
  607. for i,v in pairs(Limb:GetChildren()) do
  608. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
  609. v:Destroy()
  610. end
  611. end
  612. Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
  613. Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0)
  614. local Joint = Instance.new("Rotate")
  615. Joint.Name = "LeftHip"
  616. Joint.Part0 = ters
  617. Joint.Part1 = Limb
  618. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  619. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  620. Joint.Parent = ters
  621. if charred and zombiemode == false then
  622. Limb.BrickColor = BrickColor.new('Black')
  623. local fire = Instance.new('Fire',Limb)
  624. fire.Heat = 5
  625. fire.Size = 5
  626. game:GetService('Debris'):AddItem(fire,2)
  627. local coru=coroutine.wrap(function()
  628. wait(2)
  629. for i,v in pairs(Limb:GetChildren()) do
  630. if v:IsA('ParticleEmitter') then
  631. v:Destroy()
  632. end
  633. end
  634. end)
  635. coru()
  636. end
  637.  
  638. local B = Instance.new("Part")
  639. B.TopSurface = 0
  640. B.BottomSurface = 0
  641. B.formFactor = "Symmetric"
  642. B.Size = Vector3.new(1, 1, 1)
  643. B.Transparency = 1
  644. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  645. B.Parent = playa
  646. local W = Instance.new("Weld")
  647. W.Part0 = Limb
  648. W.Part1 = B
  649. W.C0 = CFrame.new(0, -0.5, 0)
  650. W.Parent = Limb
  651. Limb.CanCollide = false
  652. if kneef then
  653. local coru = coroutine.wrap(function()
  654. local uno = Instance.new('Part',workspace)
  655. local dos = Instance.new('Part',workspace)
  656. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  657. dos.CFrame = kneef["big ass knife"].CFrame
  658. local weld = Instance.new('Weld',kneef["big ass knife"])
  659. weld.Part0 = playa:FindFirstChild(hitz)
  660. weld.Part1 = kneef["big ass knife"]
  661. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  662. uno:Destroy()
  663. dos:Destroy()
  664. playa:FindFirstChild(hitz).Anchored = false
  665. for i, v in pairs(kneef:GetChildren()) do
  666. if v:IsA('BasePart') then
  667. v.Anchored = false
  668. end
  669. end
  670. if zombiemode == false or override then
  671. wait()
  672. end
  673. if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
  674. kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
  675. end
  676. local bleedpart = Instance.new("Part", kneef)
  677. bleedpart.CanCollide = false
  678. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  679. bleedpart.CFrame = kneef["big ass knife"].CFrame
  680. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  681. bleedpart.Transparency = 1
  682.  
  683. local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
  684. bleedpartweld.Part0 = kneef["big ass knife"]
  685. bleedpartweld.Part1 = bleedpart
  686. bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
  687. local coru = coroutine.wrap(function()
  688. bleed(bleedpart)
  689. end)
  690. coru()
  691. game:GetService('Debris'):AddItem(bleedpart,2)
  692. end)
  693. coru()
  694. end
  695. if playa then
  696. table.insert(rekt,playa)
  697. end
  698. end
  699. elseif playa then
  700. if finishnum ~= 1 then
  701. local coru=coroutine.wrap(function()
  702. player.Character.Head.Psycho.Playing = true
  703. wait(3)
  704. player.Character.Head.Psycho.Playing = false
  705. end)
  706. coru()
  707. end
  708. local playa2 = playa
  709. playa.Archivable = true
  710. local playa = playa:Clone()
  711. playa.Archivable = false
  712. playa2:Destroy()
  713. playa.Parent = workspace
  714. local Gibs = game.Workspace
  715. local Torso = playa.Torso
  716. local Head = playa:FindFirstChild("Head")
  717. local function Scan(ch)
  718. local e
  719. for e = 1,#ch do
  720. Scan(ch[e]:GetChildren())
  721. if (ch[e].ClassName == "Weld" and ch[e]:FindFirstChild('Part1') and ch[e].Part1.Name ~= 'Projectile') or ch[e].ClassName == "Motor6D" or ch[e].ClassName == "Rotate" or (ch[e]:IsA('BasePart') and ch[e].Size == Vector3.new(1, 1, 1)) then
  722. ch[e]:remove()
  723. end
  724. end
  725. end
  726. Scan(playa:GetChildren())
  727. if playa:FindFirstChild('HumanoidRootPart') and (zombiemode == false or override) then
  728. playa:FindFirstChild('HumanoidRootPart'):Destroy()
  729. end
  730. local hum2 = playa:FindFirstChildOfClass("Humanoid")
  731. if zombiemode == true and override == false then
  732. soundy = true
  733. end
  734. if string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie" then
  735. override = true
  736. end
  737. if hum2 ~= nil then
  738. hum2.Name = "Humanoid2"
  739. hum2.Health = 0
  740. if zombiemode == false or override == true then
  741. table.insert(rekt,hum2.Parent)
  742. else
  743. local gyro = Instance.new('BodyGyro',Torso)
  744. hum2.PlatformStand = false
  745. for i,v in pairs(hum2.Parent.Torso:GetChildren()) do
  746. if v:IsA('BodyGyro') then v:Destroy() end
  747. end
  748. if playa:FindFirstChild('HumanoidRootPart') then
  749. hum2.Parent.HumanoidRootPart.CFrame = hum2.Parent.Torso.CFrame
  750. local weldcrucial = Instance.new('Weld',hum2.Parent.HumanoidRootPart)
  751. weldcrucial.Part0 = hum2.Parent.HumanoidRootPart
  752. weldcrucial.Part1 = hum2.Parent.Torso
  753. end
  754. end
  755. end
  756. local ch = playa:GetChildren()
  757. local i
  758. for i = 1,#ch do
  759. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  760. ch[i]:remove()
  761. end
  762. end
  763.  
  764. if Head then
  765. local Neck = Instance.new("Weld")
  766. Neck.Name = "Neck"
  767. Neck.Part0 = Torso
  768. Neck.Part1 = Head
  769. if pool then
  770. local part = Instance.new('Part',Torso)
  771. part.Position = Vector3.new(0,10,0)
  772. part.Size = Vector3.new(0.2,0.2,0.2)
  773. part.Transparency = 1
  774. part.CanCollide = false
  775. local we = Instance.new('Weld',Torso)
  776. we.Part0 = Torso
  777. we.Part1 = part
  778. we.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
  779. local coru=coroutine.wrap(function()
  780. bleed(part)
  781. end)
  782. coru()
  783. end
  784. if head == false or head == nil then
  785. Neck.C0 = CFrame.new(0, 1.5, 0)
  786. else
  787. Neck.C0 = CFrame.new(0, 1.5, 0.2)*CFrame.Angles(0.5, 0.25, 0.25)
  788. local bleedpart = Instance.new("Part", Torso)
  789. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  790. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  791. bleedpart.CanCollide = false
  792. bleedpart.Position = Head.Position + Vector3.new(0, 1, 0)
  793. bleedpart.Transparency = 1
  794.  
  795. local bleedpartweld = Instance.new("Weld", Torso)
  796. bleedpartweld.Part0 = Torso
  797. bleedpartweld.Part1 = bleedpart
  798. bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
  799. local coru = coroutine.wrap(function()
  800. bleed(bleedpart)
  801. end)
  802. coru()
  803. end
  804. Neck.C1 = CFrame.new()
  805. Neck.Parent = Torso
  806. end
  807. local Limb = playa:FindFirstChild("Right Arm")
  808. if Limb then
  809.  
  810. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  811. local Joint = Instance.new("Rotate")
  812. Joint.Name = "RightShoulder"
  813. Joint.Part0 = Torso
  814. Joint.Part1 = Limb
  815. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  816. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  817. Joint.Parent = Torso
  818.  
  819. local B = Instance.new("Part")
  820. B.TopSurface = 0
  821. B.BottomSurface = 0
  822. B.formFactor = "Symmetric"
  823. B.Size = Vector3.new(1, 1, 1)
  824. B.Transparency = 1
  825. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  826. B.Parent = playa
  827. local W = Instance.new("Weld")
  828. W.Part0 = Limb
  829. W.Part1 = B
  830. W.C0 = CFrame.new(0, -0.5, 0)
  831. W.Parent = Limb
  832. end
  833. local Limb = playa:FindFirstChild("Left Arm")
  834. if Limb then
  835.  
  836. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  837. local Joint = Instance.new("Rotate")
  838. Joint.Name = "LeftShoulder"
  839. Joint.Part0 = Torso
  840. Joint.Part1 = Limb
  841. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  842. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  843. Joint.Parent = Torso
  844.  
  845. local B = Instance.new("Part")
  846. B.TopSurface = 0
  847. B.BottomSurface = 0
  848. B.formFactor = "Symmetric"
  849. B.Size = Vector3.new(1, 1, 1)
  850. B.Transparency = 1
  851. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  852. B.Parent = playa
  853. local W = Instance.new("Weld")
  854. W.Part0 = Limb
  855. W.Part1 = B
  856. W.C0 = CFrame.new(0, -0.5, 0)
  857. W.Parent = Limb
  858. end
  859. local Limb = playa:FindFirstChild("Right Leg")
  860. if Limb then
  861. Limb.CanCollide = false
  862. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  863. local Joint = Instance.new("Rotate")
  864. Joint.Name = "RightHip"
  865. Joint.Part0 = Torso
  866. Joint.Part1 = Limb
  867. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  868. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  869. Joint.Parent = Torso
  870.  
  871. local B = Instance.new("Part")
  872. B.TopSurface = 0
  873. B.BottomSurface = 0
  874. B.formFactor = "Symmetric"
  875. B.Size = Vector3.new(1, 1, 1)
  876. B.Transparency = 1
  877. B.CanCollide = true
  878. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  879. B.Parent = playa
  880. local W = Instance.new("Weld")
  881. W.Part0 = Limb
  882. W.Part1 = B
  883. W.C0 = CFrame.new(0, -0.5, 0)
  884. W.Parent = Limb
  885. end
  886. local Limb = playa:FindFirstChild("Left Leg")
  887. if Limb then
  888. Limb.CanCollide = false
  889. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  890. local Joint = Instance.new("Rotate")
  891. Joint.Name = "LeftHip"
  892. Joint.Part0 = Torso
  893. Joint.Part1 = Limb
  894. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  895. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  896. Joint.Parent = Torso
  897.  
  898. local B = Instance.new("Part")
  899. B.TopSurface = 0
  900. B.BottomSurface = 0
  901. if zombiemode == false or override then
  902. B.CanCollide = true
  903. end
  904. B.formFactor = "Symmetric"
  905. B.Size = Vector3.new(1, 1, 1)
  906. B.Transparency = 1
  907. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  908. B.Parent = playa
  909. local W = Instance.new("Weld")
  910. W.Part0 = Limb
  911. W.Part1 = B
  912. W.C0 = CFrame.new(0, -0.5, 0)
  913. W.Parent = Limb
  914. end
  915. --[[
  916. local Bar = Instance.new("Part")
  917. Bar.TopSurface = 0
  918. Bar.BottomSurface = 0
  919. Bar.formFactor = "Symmetric"
  920. Bar.Size = Vector3.new(1, 1, 1)
  921. Bar.Transparency = 1
  922. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  923. Bar.Parent = playa
  924. local Weld = Instance.new("Weld")
  925. Weld.Part0 = Torso
  926. Weld.Part1 = Bar
  927. Weld.C0 = CFrame.new(0, 0.5, 0)
  928. Weld.Parent = Torso
  929. --]]
  930. playa.Parent = Gibs
  931. if kneef and explode == nil then
  932. local coru = coroutine.wrap(function()
  933. if playa:FindFirstChild(hitz) then
  934. local uno = Instance.new('Part',workspace)
  935. local dos = Instance.new('Part',workspace)
  936. uno.CFrame = playa:FindFirstChild(hitz).CFrame
  937. dos.CFrame = kneef["big ass knife"].CFrame
  938. local weld = Instance.new('Weld',kneef["big ass knife"])
  939. weld.Part0 = playa:FindFirstChild(hitz)
  940. weld.Part1 = kneef["big ass knife"]
  941. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  942. uno:Destroy()
  943. dos:Destroy()
  944. playa:FindFirstChild(hitz).Anchored = false
  945. for i, v in pairs(kneef:GetChildren()) do
  946. if v:IsA('BasePart') then
  947. v.Anchored = false
  948. end
  949. end
  950. if explode == nil or explode == false then
  951. local bleedpart = Instance.new("Part", kneef)
  952. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  953. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  954. bleedpart.CanCollide = false
  955. bleedpart.Position = Head.Position + Vector3.new(0, 1, 0)
  956. bleedpart.Transparency = 1
  957.  
  958. local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
  959. bleedpartweld.Part0 = kneef["big ass knife"]
  960. bleedpartweld.Part1 = bleedpart
  961. bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
  962. local coru = coroutine.wrap(function()
  963. bleed(bleedpart)
  964. end)
  965. coru()
  966. end
  967. end
  968. if zombiemode == false or override then
  969. wait()
  970. end
  971. if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
  972. kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
  973. end
  974. end)
  975. coru()
  976. end
  977. if explode then
  978. local movevector = CFrame.new(explode.Position,Torso.Position).lookVector
  979. local repulse = Instance.new('BodyForce',Torso)
  980. repulse.Force = movevector*10000 + Vector3.new(0,5000,0)
  981. game.Debris:AddItem(repulse,0.05)
  982. end
  983. if charred and zombiemode == false then
  984. for i,v in pairs(playa:GetChildren()) do
  985. if v:IsA('BasePart') then
  986. v.BrickColor = BrickColor.Black()
  987. local fire = Instance.new('Fire',v)
  988. fire.Size = 5
  989. fire.Heat = 5
  990. elseif v:IsA('Accessory') then
  991. for a,c in pairs(v:GetChildren()) do
  992. if c:IsA('BasePart') then
  993. c.BrickColor = BrickColor.Black()
  994. local fire = Instance.new('Fire',v)
  995. fire.Size = 5
  996. fire.Heat = 5
  997. for o,p in pairs(c:GetChildren()) do
  998. if p:IsA("SpecialMesh") then
  999. p.TextureId = ""
  1000. end
  1001. end
  1002. end
  1003. end
  1004. end
  1005. end
  1006. end
  1007. if soundy then
  1008. local sound = Instance.new('Sound',Head)
  1009. sound.SoundId = 'rbxassetid://903640857'
  1010. sound.Volume = 1
  1011. sound:Play()
  1012. sound.Ended:connect(function()
  1013. sound:Destroy()
  1014. local ambient = Instance.new('Sound',Head)
  1015. ambient.Volume = 0.25
  1016. ambient.Looped = true
  1017. ambient.SoundId = 'rbxassetid://903641031'
  1018. ambient:Play()
  1019. end)
  1020. end
  1021. if override then
  1022. if (string.len(hum2.Parent.Name) < 9 or string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie") and zombiemode == true and #zombies < 10 then
  1023. local coru = coroutine.wrap(function()
  1024. wait(4.5)
  1025. hum2.Parent.Name = hum2.Parent.Name.."'s Zombie"
  1026. hum2.HipHeight = 0.2
  1027. wait(0.5)
  1028. killz(hum2.Parent,"Head",nil,nil,false,false,false,false)
  1029. end)
  1030. coru()
  1031. else
  1032. game:GetService('Debris'):AddItem(playa, 12)
  1033. end
  1034. else
  1035. hum2.Health = 0
  1036. table.insert(zombies,playa)
  1037. local attack = Instance.new('Sound',Head)
  1038. attack.SoundId = 'rbxassetid://903641424'
  1039. attack.Volume = 2
  1040. for i,v in pairs(playa:GetChildren()) do
  1041. if v:IsA('BasePart') and v:FindFirstChildOfClass('TouchTransmitter') == nil then
  1042. v.Touched:connect(function(hit)
  1043. if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') then
  1044. local found = false
  1045. if hit.Parent == player.Character then
  1046. found = true
  1047. end
  1048. for a,c in pairs(zombies) do
  1049. if c == hit.Parent then
  1050. found = true
  1051. end
  1052. end
  1053. if found == false and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
  1054. attack:Play()
  1055. if hit.Parent:FindFirstChildOfClass('Humanoid').Health - 2 <= 0 then
  1056. hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
  1057. wait()
  1058. killz(hit.Parent,"Head")
  1059. else
  1060. hit.Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(2)
  1061. end
  1062. end
  1063. end
  1064. end)
  1065. end
  1066. end
  1067. local coru = coroutine.wrap(function()
  1068. wait(2)
  1069. for i,v in pairs(playa:GetChildren()) do
  1070. if v:IsA('BasePart') then
  1071. for a,c in pairs(v:GetChildren()) do
  1072. if c:IsA('Fire') or c:IsA('ParticleEmitter') then
  1073. c:Destroy()
  1074. end
  1075. end
  1076. elseif v:IsA('Accessory') then
  1077. for a,c in pairs(v:GetChildren()) do
  1078. if c:IsA('BasePart') then
  1079. for b,d in pairs(c:GetChildren()) do
  1080. if d:IsA('Fire') or d:IsA('ParticleEmitter') then
  1081. d:Destroy()
  1082. end
  1083. end
  1084. end
  1085. end
  1086. end
  1087. end
  1088. end)
  1089. coru()
  1090. end
  1091. end
  1092. end
  1093.  
  1094. mouse.KeyDown:connect(function(key)
  1095. if key == "t" and mouse.Target then
  1096. local hum = mouse.Target.Parent:FindFirstChildOfClass('Humanoid')
  1097. if hum == nil then hum = mouse.Target.Parent.Parent:FindFirstChildOfClass('Humanoid') end
  1098. if curpoint == nil then
  1099. if hum and hum.Parent:FindFirstChild('Head') then
  1100. curpart = hum.Parent.Head
  1101. else
  1102. curpart = nil
  1103. curpoint = mouse.Hit.p
  1104. end
  1105. if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
  1106. notify("ZOMBIE TARGET SET",false)
  1107. else
  1108. curpart = nil
  1109. curpoint = nil
  1110. if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
  1111. notify("ZOMBIE TARGET REMOVED",false)
  1112. end
  1113. elseif key == "y" then
  1114. for o,p in pairs(zombies) do
  1115. local coru = coroutine.wrap(function()
  1116. if p:FindFirstChild('Torso') then
  1117. killz(p,"Head",nil,nil,false,false,false,true)
  1118. else
  1119. table.remove(zombies,o)
  1120. end
  1121. end)
  1122. coru()
  1123. wait()
  1124. end
  1125. for i,v in pairs(zombies) do
  1126. table.remove(zombies,i)
  1127. end
  1128. if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
  1129. notify("ZOMBIES TERMINATED",false)
  1130. end
  1131. end)
  1132.  
  1133. function nub()
  1134. repeat wait() until player.Character and player.Character:FindFirstChild('Torso')
  1135. local me = player.Character
  1136. local point = me.HumanoidRootPart
  1137. local playergui = player.PlayerGui
  1138. local rightshoulderz = me.Torso["Right Shoulder"]:Clone()
  1139. local leftshoulderz = me.Torso["Left Shoulder"]:Clone()
  1140. local torsojoint = me.HumanoidRootPart["RootJoint"]:Clone()
  1141. local lefthipz = me.Torso["Left Hip"]:Clone()
  1142. local righthipz = me.Torso["Right Hip"]:Clone()
  1143. local mode = "kill"
  1144. local lerpz = false
  1145. local active = false
  1146. local acting = false
  1147. local hit = false
  1148. local canClick = true
  1149. local stabbing = false
  1150. local grabbing = false
  1151. local finishing = false
  1152. local kyssing = false
  1153. local canbackgroundmusic = true
  1154. local cancolorfilter = true
  1155. local spinboolean = false
  1156. local grabbed = nil
  1157. local doing = false
  1158. local rightshoulder = nil
  1159. local leftshoulder = nil
  1160. local headweld = nil
  1161. local knifeparts = {}
  1162. local usable = true
  1163. finishnum = 1
  1164.  
  1165. function notify(msg,forever)
  1166. local doit = coroutine.wrap(function()
  1167. local gui = Instance.new('ScreenGui',playergui)
  1168. gui.Name = "Notification"
  1169. local frame = Instance.new('Frame',gui)
  1170. frame.Position = UDim2.new(0,0,0,0)
  1171. frame.Size = UDim2.new(1,0,0.2,0)
  1172. frame.BackgroundTransparency = 1
  1173. local txt = Instance.new('TextLabel',frame)
  1174. txt.TextColor3 = Color3.new(255,255,255)
  1175. txt.TextStrokeColor3 = Color3.new(0, 0, 0)
  1176. txt.TextStrokeTransparency = 0
  1177. txt.BackgroundTransparency = 1
  1178. txt.Text = ""
  1179. txt.Size = UDim2.new(1,0,0.3,0)
  1180. txt.Position = UDim2.new(0,0,0.4,0)
  1181. txt.TextScaled = true
  1182. txt.Font = "Code"
  1183. txt.TextXAlignment = "Center"
  1184. local tap = Instance.new("Sound")
  1185. tap.Parent = gui
  1186. tap.SoundId = "rbxassetid://147982968"
  1187. tap.TimePosition = 0.1
  1188. local str = msg
  1189. local len = string.len(str)
  1190. for i=1,len do
  1191. txt.Text = string.sub(str,1,i)
  1192. pitche = math.random(20, 40)/10
  1193. tap.PlaybackSpeed = pitche
  1194. tap:Play()
  1195. wait(0.01)
  1196. end
  1197. if forever == false then
  1198. wait(1)
  1199. while txt.TextTransparency < 1 do
  1200. txt.TextTransparency = txt.TextTransparency + 0.1
  1201. txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1
  1202. wait(0.001)
  1203. end
  1204. gui:Destroy()
  1205. end
  1206. end)
  1207. doit()
  1208. end
  1209.  
  1210. wait(0.5)
  1211. notify("PRESS [Z] TO EQUIP KNIFE || Created by mustardfoot and Tollonis",true)
  1212. local laugh = Instance.new('Sound',me.Head)
  1213. laugh.SoundId = 'rbxassetid://378827985'
  1214. laugh.Name = "Psycho"
  1215. laugh.Volume = 5
  1216. -- 1 - bitch ass knife
  1217. local obj1 = Instance.new("Model")
  1218. obj1.Name = "bitch ass knife"
  1219. obj1.Parent = game.Workspace
  1220.  
  1221. -- 2 - Grab
  1222. local obj2 = Instance.new("Part")
  1223. obj2.CFrame = CFrame.new(Vector3.new(20.4525032, 6.14501333, -134.399979)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
  1224. obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1225. obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1226. obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1227. obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1228. obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1229. obj2.Material = Enum.Material.Concrete
  1230. obj2.Size = Vector3.new(1, 0.25, 0.25)
  1231. obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1232. obj2.Anchored = true
  1233. obj2.BrickColor = BrickColor.new("Black")
  1234. obj2.Friction = 0.30000001192093
  1235. obj2.Shape = Enum.PartType.Cylinder
  1236. obj2.Name = "Grab"
  1237. obj2.Parent = obj1
  1238.  
  1239. -- 3 - handletopcap
  1240. local obj3 = Instance.new("Part")
  1241. obj3.CFrame = CFrame.new(Vector3.new(19.9725456, 6.14502859, -134.399933)) * CFrame.Angles(0, 1.5707963705063, 0)
  1242. obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1243. obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1244. obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1245. obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1246. obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1247. obj3.Material = Enum.Material.Concrete
  1248. obj3.Size = Vector3.new(0.349999994, 0.349999994, 0.349999994)
  1249. obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1250. obj3.Anchored = true
  1251. obj3.BrickColor = BrickColor.new("Black")
  1252. obj3.Friction = 0.30000001192093
  1253. obj3.Shape = Enum.PartType.Ball
  1254. obj3.Name = "handletopcap"
  1255. obj3.Parent = obj1
  1256.  
  1257. -- 4 - handlebottomcap
  1258. local obj4 = Instance.new("Part")
  1259. obj4.CFrame = CFrame.new(Vector3.new(20.9725285, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0)
  1260. obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1261. obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1262. obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1263. obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1264. obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1265. obj4.Material = Enum.Material.Concrete
  1266. obj4.Size = Vector3.new(0.25, 0.25, 0.25)
  1267. obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1268. obj4.Anchored = true
  1269. obj4.BrickColor = BrickColor.new("Black")
  1270. obj4.Friction = 0.30000001192093
  1271. obj4.Shape = Enum.PartType.Ball
  1272. obj4.Name = "handlebottomcap"
  1273. obj4.Parent = obj1
  1274.  
  1275. -- 5 - handleguardmid
  1276. local obj5 = Instance.new("Part")
  1277. obj5.CFrame = CFrame.new(Vector3.new(19.9474983, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0)
  1278. obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1279. obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1280. obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1281. obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1282. obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1283. obj5.Material = Enum.Material.Concrete
  1284. obj5.Size = Vector3.new(0.349999994, 0.349999994, 0.100000001)
  1285. obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1286. obj5.Anchored = true
  1287. obj5.BrickColor = BrickColor.new("Black")
  1288. obj5.Friction = 0.30000001192093
  1289. obj5.Shape = Enum.PartType.Block
  1290. obj5.Name = "handleguardmid"
  1291. obj5.Parent = obj1
  1292.  
  1293. -- 6 - handleguardcap1
  1294. local obj6 = Instance.new("Part")
  1295. obj6.CFrame = CFrame.new(Vector3.new(19.9474983, 6.32502794, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
  1296. obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1297. obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1298. obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1299. obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1300. obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1301. obj6.Material = Enum.Material.Concrete
  1302. obj6.Size = Vector3.new(0.100000001, 0.349999994, 0.349999994)
  1303. obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1304. obj6.Anchored = true
  1305. obj6.BrickColor = BrickColor.new("Black")
  1306. obj6.Friction = 0.30000001192093
  1307. obj6.Shape = Enum.PartType.Cylinder
  1308. obj6.Name = "handleguardcap1"
  1309. obj6.Parent = obj1
  1310.  
  1311. -- 7 - handleguardcap2
  1312. local obj7 = Instance.new("Part")
  1313. obj7.CFrame = CFrame.new(Vector3.new(19.9474983, 5.97502899, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
  1314. obj7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1315. obj7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1316. obj7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1317. obj7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1318. obj7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1319. obj7.Material = Enum.Material.Concrete
  1320. obj7.Size = Vector3.new(0.100000009, 0.349999994, 0.349999994)
  1321. obj7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1322. obj7.Anchored = true
  1323. obj7.BrickColor = BrickColor.new("Black")
  1324. obj7.Friction = 0.30000001192093
  1325. obj7.Shape = Enum.PartType.Cylinder
  1326. obj7.Name = "handleguardcap2"
  1327. obj7.Parent = obj1
  1328.  
  1329. -- 8 - big ass knife
  1330. local obj8 = Instance.new("Part")
  1331. obj8.CFrame = CFrame.new(Vector3.new(18.4375095, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0)
  1332. obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1333. obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1334. obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1335. obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1336. obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1337. obj8.Material = Enum.Material.Metal
  1338. obj8.Size = Vector3.new(0.0500000007, 0.280000001, 0.839999795)
  1339. obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1340. obj8.Anchored = true
  1341. obj8.BrickColor = BrickColor.new("Lily white")
  1342. obj8.Friction = 0.30000001192093
  1343. obj8.Shape = Enum.PartType.Block
  1344. obj8.Name = "big ass knife"
  1345. obj8.Parent = obj1
  1346.  
  1347. -- 9 - Mesh
  1348. local obj9 = Instance.new("BlockMesh")
  1349. obj9.Scale = Vector3.new(0.5, 1, 1)
  1350. obj9.Parent = obj8
  1351.  
  1352. -- 10 - big ass knife
  1353. local obj10 = Instance.new("Part")
  1354. obj10.CFrame = CFrame.new(Vector3.new(19.7425137, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0)
  1355. obj10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1356. obj10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1357. obj10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1358. obj10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1359. obj10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1360. obj10.Material = Enum.Material.Metal
  1361. obj10.Size = Vector3.new(0.0500000007, 0.280000001, 0.289999962)
  1362. obj10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1363. obj10.Anchored = true
  1364. obj10.BrickColor = BrickColor.new("Lily white")
  1365. obj10.Friction = 0.30000001192093
  1366. obj10.Shape = Enum.PartType.Block
  1367. obj10.Name = "big ass knife"
  1368. obj10.Parent = obj1
  1369. local knife = obj10
  1370.  
  1371. -- 11 - Mesh
  1372. local obj11 = Instance.new("BlockMesh")
  1373. obj11.Scale = Vector3.new(0.5, 1, 1)
  1374. obj11.Parent = obj10
  1375.  
  1376. -- 12 - big ass knife
  1377. local obj12 = Instance.new("Part")
  1378. obj12.CFrame = CFrame.new(Vector3.new(19.1075306, 6.08502865, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0)
  1379. obj12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1380. obj12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1381. obj12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1382. obj12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1383. obj12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1384. obj12.Material = Enum.Material.Metal
  1385. obj12.Size = Vector3.new(0.0500000007, 0.159999996, 0.979999959)
  1386. obj12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1387. obj12.Anchored = true
  1388. obj12.BrickColor = BrickColor.new("Lily white")
  1389. obj12.Friction = 0.30000001192093
  1390. obj12.Shape = Enum.PartType.Block
  1391. obj12.Name = "big ass knife"
  1392. obj12.Parent = obj1
  1393.  
  1394. -- 13 - Mesh
  1395. local obj13 = Instance.new("BlockMesh")
  1396. obj13.Scale = Vector3.new(0.5, 1, 1)
  1397. obj13.Parent = obj12
  1398.  
  1399. -- 14 - serration
  1400. local obj14 = Instance.new("WedgePart")
  1401. obj14.CFrame = CFrame.new(Vector3.new(19.4963322, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  1402. obj14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1403. obj14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1404. obj14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1405. obj14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1406. obj14.Material = Enum.Material.Metal
  1407. obj14.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  1408. obj14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1409. obj14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1410. obj14.Anchored = true
  1411. obj14.BrickColor = BrickColor.new("Lily white")
  1412. obj14.Friction = 0.30000001192093
  1413. obj14.Name = "serration"
  1414. obj14.Parent = obj1
  1415.  
  1416. -- 15 - Mesh
  1417. local obj15 = Instance.new("BlockMesh")
  1418. obj15.Scale = Vector3.new(0.5, 1, 1)
  1419. obj15.Parent = obj14
  1420.  
  1421. -- 16 - serration
  1422. local obj16 = Instance.new("WedgePart")
  1423. obj16.CFrame = CFrame.new(Vector3.new(19.2763138, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  1424. obj16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1425. obj16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1426. obj16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1427. obj16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1428. obj16.Material = Enum.Material.Metal
  1429. obj16.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  1430. obj16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1431. obj16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1432. obj16.Anchored = true
  1433. obj16.BrickColor = BrickColor.new("Lily white")
  1434. obj16.Friction = 0.30000001192093
  1435. obj16.Name = "serration"
  1436. obj16.Parent = obj1
  1437.  
  1438. -- 17 - Mesh
  1439. local obj17 = Instance.new("BlockMesh")
  1440. obj17.Scale = Vector3.new(0.5, 1, 1)
  1441. obj17.Parent = obj16
  1442.  
  1443. -- 18 - serration
  1444. local obj18 = Instance.new("WedgePart")
  1445. obj18.CFrame = CFrame.new(Vector3.new(19.3863068, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  1446. obj18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1447. obj18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1448. obj18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1449. obj18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1450. obj18.Material = Enum.Material.Metal
  1451. obj18.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  1452. obj18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1453. obj18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1454. obj18.Anchored = true
  1455. obj18.BrickColor = BrickColor.new("Lily white")
  1456. obj18.Friction = 0.30000001192093
  1457. obj18.Name = "serration"
  1458. obj18.Parent = obj1
  1459.  
  1460. -- 19 - Mesh
  1461. local obj19 = Instance.new("BlockMesh")
  1462. obj19.Scale = Vector3.new(0.5, 1, 1)
  1463. obj19.Parent = obj18
  1464.  
  1465. -- 20 - serration
  1466. local obj20 = Instance.new("WedgePart")
  1467. obj20.CFrame = CFrame.new(Vector3.new(19.5963173, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  1468. obj20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1469. obj20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1470. obj20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1471. obj20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1472. obj20.Material = Enum.Material.Metal
  1473. obj20.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  1474. obj20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1475. obj20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1476. obj20.Anchored = true
  1477. obj20.BrickColor = BrickColor.new("Lily white")
  1478. obj20.Friction = 0.30000001192093
  1479. obj20.Name = "serration"
  1480. obj20.Parent = obj1
  1481.  
  1482. -- 21 - Mesh
  1483. local obj21 = Instance.new("BlockMesh")
  1484. obj21.Scale = Vector3.new(0.5, 1, 1)
  1485. obj21.Parent = obj20
  1486.  
  1487. -- 22 - serration
  1488. local obj22 = Instance.new("WedgePart")
  1489. obj22.CFrame = CFrame.new(Vector3.new(19.1663074, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  1490. obj22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1491. obj22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1492. obj22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1493. obj22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1494. obj22.Material = Enum.Material.Metal
  1495. obj22.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  1496. obj22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1497. obj22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1498. obj22.Anchored = true
  1499. obj22.BrickColor = BrickColor.new("Lily white")
  1500. obj22.Friction = 0.30000001192093
  1501. obj22.Name = "serration"
  1502. obj22.Parent = obj1
  1503.  
  1504. -- 23 - Mesh
  1505. local obj23 = Instance.new("BlockMesh")
  1506. obj23.Scale = Vector3.new(0.5, 1, 1)
  1507. obj23.Parent = obj22
  1508.  
  1509. -- 24 - serration
  1510. local obj24 = Instance.new("WedgePart")
  1511. obj24.CFrame = CFrame.new(Vector3.new(18.9663048, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  1512. obj24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1513. obj24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1514. obj24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1515. obj24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1516. obj24.Material = Enum.Material.Metal
  1517. obj24.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  1518. obj24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1519. obj24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1520. obj24.Anchored = true
  1521. obj24.BrickColor = BrickColor.new("Lily white")
  1522. obj24.Friction = 0.30000001192093
  1523. obj24.Name = "serration"
  1524. obj24.Parent = obj1
  1525.  
  1526. -- 25 - Mesh
  1527. local obj25 = Instance.new("BlockMesh")
  1528. obj25.Scale = Vector3.new(0.5, 1, 1)
  1529. obj25.Parent = obj24
  1530.  
  1531. -- 26 - serration
  1532. local obj26 = Instance.new("WedgePart")
  1533. obj26.CFrame = CFrame.new(Vector3.new(18.8562984, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  1534. obj26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1535. obj26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1536. obj26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1537. obj26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1538. obj26.Material = Enum.Material.Metal
  1539. obj26.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  1540. obj26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1541. obj26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1542. obj26.Anchored = true
  1543. obj26.BrickColor = BrickColor.new("Lily white")
  1544. obj26.Friction = 0.30000001192093
  1545. obj26.Name = "serration"
  1546. obj26.Parent = obj1
  1547.  
  1548. -- 27 - Mesh
  1549. local obj27 = Instance.new("BlockMesh")
  1550. obj27.Scale = Vector3.new(0.5, 1, 1)
  1551. obj27.Parent = obj26
  1552.  
  1553. -- 28 - serration
  1554. local obj28 = Instance.new("WedgePart")
  1555. obj28.CFrame = CFrame.new(Vector3.new(19.0663071, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  1556. obj28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1557. obj28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1558. obj28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1559. obj28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1560. obj28.Material = Enum.Material.Metal
  1561. obj28.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  1562. obj28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1563. obj28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1564. obj28.Anchored = true
  1565. obj28.BrickColor = BrickColor.new("Lily white")
  1566. obj28.Friction = 0.30000001192093
  1567. obj28.Name = "serration"
  1568. obj28.Parent = obj1
  1569.  
  1570. -- 29 - Mesh
  1571. local obj29 = Instance.new("BlockMesh")
  1572. obj29.Scale = Vector3.new(0.5, 1, 1)
  1573. obj29.Parent = obj28
  1574.  
  1575. -- 30 - knifetip1
  1576. local obj30 = Instance.new("WedgePart")
  1577. obj30.CFrame = CFrame.new(Vector3.new(18.0163059, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  1578. obj30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1579. obj30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1580. obj30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1581. obj30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1582. obj30.Material = Enum.Material.Metal
  1583. obj30.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003)
  1584. obj30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1585. obj30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1586. obj30.Anchored = true
  1587. obj30.BrickColor = BrickColor.new("Lily white")
  1588. obj30.Friction = 0.30000001192093
  1589. obj30.Name = "knifetip1"
  1590. obj30.Parent = obj1
  1591.  
  1592. -- 31 - Mesh
  1593. local obj31 = Instance.new("BlockMesh")
  1594. obj31.Scale = Vector3.new(0.5, 1, 1)
  1595. obj31.Parent = obj30
  1596.  
  1597. -- 32 - redstuff
  1598. local obj32 = Instance.new("Part")
  1599. obj32.CFrame = CFrame.new(Vector3.new(19.9470005, 5.9749999, -134.399994)) * CFrame.Angles(-0, 0, -0)
  1600. obj32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1601. obj32.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1602. obj32.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1603. obj32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1604. obj32.Material = Enum.Material.SmoothPlastic
  1605. obj32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1606. obj32.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014)
  1607. obj32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1608. obj32.BrickColor = BrickColor.new("Institutional white")
  1609. obj32.Friction = 0.30000001192093
  1610. obj32.Shape = Enum.PartType.Cylinder
  1611. obj32.Name = "redstuff"
  1612. obj32.Anchored = true
  1613. obj32.Parent = obj1
  1614.  
  1615.  
  1616. -- 33 - redstuff
  1617. local obj33 = Instance.new("Part")
  1618. obj33.CFrame = CFrame.new(Vector3.new(18.9800053, 6.1400156, -134.404984)) * CFrame.Angles(-0, 0, -0)
  1619. obj33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1620. obj33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1621. obj33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1622. obj33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1623. obj33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1624. obj33.Material = Enum.Material.SmoothPlastic
  1625. obj33.Size = Vector3.new(1.81999993, 0.100000001, 0.0500000007)
  1626. obj33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1627. obj33.BrickColor = BrickColor.new("Institutional white")
  1628. obj33.Friction = 0.30000001192093
  1629. obj33.Shape = Enum.PartType.Block
  1630. obj33.Name = "redstuff"
  1631. obj33.Anchored = true
  1632. obj33.Parent = obj1
  1633.  
  1634. -- 34 - redstuff
  1635. local obj34 = Instance.new("Part")
  1636. obj34.CFrame = CFrame.new(Vector3.new(19.9470005, 6.32499981, -134.399994)) * CFrame.Angles(-0, 0, -0)
  1637. obj34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1638. obj34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1639. obj34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1640. obj34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1641. obj34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1642. obj34.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014)
  1643. obj34.Material = Enum.Material.SmoothPlastic
  1644. obj34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1645. obj34.BrickColor = BrickColor.new("Institutional white")
  1646. obj34.Friction = 0.30000001192093
  1647. obj34.Shape = Enum.PartType.Cylinder
  1648. obj34.Name = "redstuff"
  1649. obj34.Anchored = true
  1650. obj34.Parent = obj1
  1651.  
  1652. -- 35 - redstuff
  1653. local obj35 = Instance.new("Part")
  1654. obj35.CFrame = CFrame.new(Vector3.new(19.8830166, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0)
  1655. obj35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1656. obj35.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1657. obj35.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1658. obj35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1659. obj35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1660. obj35.Size = Vector3.new(0.0500000007, 0.319999993, 0.319999993)
  1661. obj35.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1662. obj35.BrickColor = BrickColor.new("Institutional white")
  1663. obj35.Friction = 0.30000001192093
  1664. obj35.Shape = Enum.PartType.Cylinder
  1665. obj35.Material = Enum.Material.SmoothPlastic
  1666. obj35.Name = "redstuff"
  1667. obj35.Anchored = true
  1668. obj35.Parent = obj1
  1669.  
  1670. -- 36 - redstuff
  1671. local obj36 = Instance.new("Part")
  1672. obj36.CFrame = CFrame.new(Vector3.new(20.9430103, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0)
  1673. obj36.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1674. obj36.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1675. obj36.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1676. obj36.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1677. obj36.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1678. obj36.Material = Enum.Material.SmoothPlastic
  1679. obj36.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999)
  1680. obj36.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1681. obj36.BrickColor = BrickColor.new("Institutional white")
  1682. obj36.Friction = 0.30000001192093
  1683. obj36.Shape = Enum.PartType.Cylinder
  1684. obj36.Name = "redstuff"
  1685. obj36.Anchored = true
  1686. obj36.Parent = obj1
  1687.  
  1688. -- 37 - redstuff
  1689. local obj37 = Instance.new("WedgePart")
  1690. obj37.CFrame = CFrame.new(Vector3.new(18.066288, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063)
  1691. obj37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1692. obj37.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1693. obj37.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1694. obj37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1695. obj37.Material = Enum.Material.SmoothPlastic
  1696. obj37.Size = Vector3.new(0.0500000007, 0.0700000003, 0.0700000003)
  1697. obj37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1698. obj37.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1699. obj37.Anchored = true
  1700. obj37.BrickColor = BrickColor.new("Institutional white")
  1701. obj37.Friction = 0.30000001192093
  1702. obj37.Name = "redstuff"
  1703. obj37.Anchored = true
  1704. obj37.Parent = obj1
  1705.  
  1706. -- 38 - redstuff
  1707. local obj38 = Instance.new("Part")
  1708. obj38.CFrame = CFrame.new(Vector3.new(20.1230125, 6.14501476, -134.399979)) * CFrame.Angles(-0, 0, -0)
  1709. obj38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1710. obj38.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1711. obj38.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1712. obj38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1713. obj38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1714. obj38.Material = Enum.Material.SmoothPlastic
  1715. obj38.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999)
  1716. obj38.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1717. obj38.BrickColor = BrickColor.new("Institutional white")
  1718. obj38.Friction = 0.30000001192093
  1719. obj38.Shape = Enum.PartType.Cylinder
  1720. obj38.Name = "redstuff"
  1721. obj38.Anchored = true
  1722. obj38.Parent = obj1
  1723.  
  1724. local function recurse(objnum)
  1725. table.insert(knifeparts,{objnum,objnum.Parent})
  1726. for i,v in pairs(objnum:GetChildren()) do
  1727. recurse(v)
  1728. end
  1729. end
  1730.  
  1731. recurse(obj1)
  1732.  
  1733. local audio = Instance.new('Sound',knife)
  1734. audio.Volume = 2
  1735.  
  1736. local audio2 = Instance.new('Sound',knife)
  1737. audio2.Volume = 2
  1738.  
  1739. local holdpart = Instance.new("Part")
  1740. holdpart.Parent = me
  1741. holdpart.Size = Vector3.new(0.4, 0.4, 0.2)
  1742. holdpart.Position = me.Head.Position + Vector3.new(0, 1, 0)
  1743. holdpart.BrickColor = BrickColor.new("Burnt Sienna")
  1744.  
  1745. local previous = nil
  1746. for i,v in pairs(obj1:GetChildren()) do
  1747. if v:IsA('BasePart') then
  1748. if previous then
  1749. local weld = Instance.new('Weld',v)
  1750. weld.Part0 = v
  1751. weld.Part1 = previous
  1752. weld.C0 = v.CFrame:inverse() * previous.CFrame
  1753. previous.Anchored = false
  1754. previous.CanCollide = false
  1755. local vee = v
  1756. weld.AncestryChanged:connect(function(mez,par)
  1757. wait()
  1758. weld.Parent = vee
  1759. end)
  1760. end
  1761. previous = v
  1762. end
  1763. end
  1764. previous.Anchored = false
  1765. previous.CanCollide = false
  1766.  
  1767. local holdpartweld = Instance.new("Weld", me.Torso)
  1768. holdpartweld.Part0 = me.Torso
  1769. holdpartweld.Part1 = holdpart
  1770. holdpartweld.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1, -0.8, 0.15)
  1771.  
  1772. holdpartweld.AncestryChanged:connect(function(mez,par)
  1773. if par ~= me.Torso then
  1774. wait()
  1775. holdpartweld.Parent = me.Torso
  1776. end
  1777. end)
  1778.  
  1779. local knifeweld = Instance.new('Weld',me.Torso)
  1780. knifeweld.Part0 = me.Torso
  1781. knifeweld.Part1 = obj2
  1782. knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55)
  1783. knifeweld.AncestryChanged:connect(function(mez,par)
  1784. if par ~= me.Torso then
  1785. wait()
  1786. knifeweld.Parent = me.Torso
  1787. end
  1788. end)
  1789. local ScreenGui = Instance.new("ScreenGui")
  1790. local CustomizeGui = Instance.new("Frame")
  1791. local Customize = Instance.new("TextLabel")
  1792. local ClosestColor = Instance.new("TextLabel")
  1793. local Line = Instance.new("TextLabel")
  1794. local Color = Instance.new("ImageLabel")
  1795. local Close = Instance.new("TextButton")
  1796. local RedHue = Instance.new("TextLabel")
  1797. local GreenHue = Instance.new("TextLabel")
  1798. local RedInput = Instance.new("TextBox")
  1799. local BlueHue = Instance.new("TextLabel")
  1800. local GreenInput = Instance.new("TextBox")
  1801. local TransInput = Instance.new("TextBox")
  1802. local BlueInput = Instance.new("TextBox")
  1803. local Message = Instance.new("TextLabel")
  1804. local Message2 = Instance.new("TextLabel")
  1805. local TrailTransparency = Instance.new("TextLabel")
  1806. local TrailInput = Instance.new("TextBox")
  1807. local MusicOption = Instance.new("TextButton")
  1808. local ScreenOption = Instance.new("TextButton")
  1809. local ScreenOptionTxt = Instance.new("TextLabel")
  1810. local MusicOptionTxt = Instance.new("TextLabel")
  1811.  
  1812. -- Properties
  1813.  
  1814. ScreenGui.Parent = playergui
  1815.  
  1816. CustomizeGui.Name = "CustomizeGui"
  1817. CustomizeGui.Parent = ScreenGui
  1818. CustomizeGui.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  1819. CustomizeGui.BackgroundTransparency = 0.5
  1820. CustomizeGui.BorderColor3 = Color3.new(0, 0, 0)
  1821. CustomizeGui.BorderSizePixel = 2
  1822. CustomizeGui.Position = UDim2.new(0, 0, 0.5, 0)
  1823. CustomizeGui.Size = UDim2.new(0.449999988, 0, 0.449999988, 0)
  1824.  
  1825. Customize.Name = "Customize"
  1826. Customize.Parent = CustomizeGui
  1827. Customize.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  1828. Customize.BackgroundTransparency = 0.75
  1829. Customize.BorderSizePixel = 0
  1830. Customize.Size = UDim2.new(1, 0, 0.200000003, 0)
  1831. Customize.FontSize = Enum.FontSize.Size28
  1832. Customize.Text = "ACCENT COLOR CUSTOMIZATION"
  1833. Customize.TextColor3 = Color3.new(1, 1, 1)
  1834. Customize.TextScaled = true
  1835. Customize.TextSize = 25
  1836. Customize.TextStrokeTransparency = 0.5
  1837. Customize.TextWrapped = true
  1838.  
  1839. ClosestColor.Name = "ClosestColor"
  1840. ClosestColor.Parent = CustomizeGui
  1841. ClosestColor.BackgroundColor3 = Color3.new(1, 1, 1)
  1842. ClosestColor.BackgroundTransparency = 1
  1843. ClosestColor.Position = UDim2.new(0, 0, 0.850000024, 0)
  1844. ClosestColor.Size = UDim2.new(1, 0, 0.150000006, 0)
  1845. ClosestColor.Font = Enum.Font.SourceSansLight
  1846. ClosestColor.FontSize = Enum.FontSize.Size32
  1847. ClosestColor.Text = "Your color is closest to Institutional White"
  1848. ClosestColor.TextColor3 = Color3.new(1, 1, 1)
  1849. ClosestColor.TextSize = 30
  1850. ClosestColor.TextStrokeTransparency = 0.5
  1851.  
  1852. Line.Name = "Line"
  1853. Line.Parent = CustomizeGui
  1854. Line.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  1855. Line.BackgroundTransparency = 0.5
  1856. Line.BorderColor3 = Color3.new(0, 0, 0)
  1857. Line.BorderSizePixel = 0
  1858. Line.Position = UDim2.new(0, 0, 0.200000003, 0)
  1859. Line.Size = UDim2.new(1, 0, 0.0299999993, 0)
  1860. Line.Font = Enum.Font.SourceSans
  1861. Line.FontSize = Enum.FontSize.Size14
  1862. Line.Text = " "
  1863. Line.TextSize = 14
  1864.  
  1865. Color.Name = "Color"
  1866. Color.Parent = CustomizeGui
  1867. Color.BackgroundColor3 = Color3.new(1, 1, 1)
  1868. Color.BorderSizePixel = 0
  1869. Color.Position = UDim2.new(0.699999988, 0, 0.419999987, 0)
  1870. Color.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
  1871. Color.SizeConstraint = Enum.SizeConstraint.RelativeYY
  1872.  
  1873. MusicOption.Parent = CustomizeGui
  1874. MusicOption.Name = "MusicOption"
  1875. MusicOption.BackgroundColor3 = Color3.new(0, 1, 0)
  1876. MusicOption.BorderSizePixel = 1
  1877. MusicOption.Position = UDim2.new(0.01, 0, -0.12, 0)
  1878. MusicOption.Size = UDim2.new(0.05, 0, 0.1, 0)
  1879. MusicOption.Text = ""
  1880. MusicOption.BackgroundTransparency = 0.5
  1881.  
  1882. ScreenOption.Parent = CustomizeGui
  1883. ScreenOption.Name = "ScreenOption"
  1884. ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0)
  1885. ScreenOption.BorderSizePixel = 1
  1886. ScreenOption.Position = UDim2.new(0.01, 0, -0.23, 0)
  1887. ScreenOption.Size = UDim2.new(0.05, 0, 0.1, 0)
  1888. ScreenOption.Text = ""
  1889. ScreenOption.BackgroundTransparency = 0.5
  1890.  
  1891. ScreenOptionTxt.Name = "ScreenOptionTxt"
  1892. ScreenOptionTxt.Parent = CustomizeGui
  1893. ScreenOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  1894. ScreenOptionTxt.BackgroundTransparency = 1
  1895. ScreenOptionTxt.Position = UDim2.new(0.07, 0, -0.23, 0)
  1896. ScreenOptionTxt.Size = UDim2.new(1, 0, 0.07, 0)
  1897. ScreenOptionTxt.Font = Enum.Font.SourceSans
  1898. ScreenOptionTxt.FontSize = Enum.FontSize.Size24
  1899. ScreenOptionTxt.Text = "Psychopath Red Filter"
  1900. ScreenOptionTxt.TextColor3 = Color3.new(1, 1, 1)
  1901. ScreenOptionTxt.TextScaled = true
  1902. ScreenOptionTxt.TextSize = 20
  1903. ScreenOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0)
  1904. ScreenOptionTxt.TextStrokeTransparency = 0.5
  1905. ScreenOptionTxt.TextWrapped = true
  1906. ScreenOptionTxt.TextXAlignment = "Left"
  1907.  
  1908. MusicOptionTxt.Name = "MusicOptionTxt"
  1909. MusicOptionTxt.Parent = CustomizeGui
  1910. MusicOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  1911. MusicOptionTxt.BackgroundTransparency = 1
  1912. MusicOptionTxt.Position = UDim2.new(0.07, 0, -0.12, 0)
  1913. MusicOptionTxt.Size = UDim2.new(1, 0, 0.07, 0)
  1914. MusicOptionTxt.Font = Enum.Font.SourceSans
  1915. MusicOptionTxt.FontSize = Enum.FontSize.Size24
  1916. MusicOptionTxt.Text = "Psychopath Background Music"
  1917. MusicOptionTxt.TextColor3 = Color3.new(1, 1, 1)
  1918. MusicOptionTxt.TextScaled = true
  1919. MusicOptionTxt.TextSize = 20
  1920. MusicOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0)
  1921. MusicOptionTxt.TextStrokeTransparency = 0.5
  1922. MusicOptionTxt.TextWrapped = true
  1923. MusicOptionTxt.TextXAlignment = "Left"
  1924.  
  1925. Close.Name = "Close"
  1926. Close.Parent = CustomizeGui
  1927. Close.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  1928. Close.BackgroundTransparency = 0.5
  1929. Close.BorderColor3 = Color3.new(0, 0, 0)
  1930. Close.BorderSizePixel = 2
  1931. Close.Position = UDim2.new(1.005, 0, 0, 0)
  1932. Close.Size = UDim2.new(0.100000001, 0, 0.2, 0)
  1933. Close.Font = Enum.Font.SourceSans
  1934. Close.FontSize = Enum.FontSize.Size14
  1935. Close.Text = "X"
  1936. Close.TextColor3 = Color3.new(1, 1, 1)
  1937. Close.TextScaled = true
  1938. Close.TextSize = 14
  1939. Close.TextStrokeTransparency = 0
  1940. Close.TextWrapped = true
  1941.  
  1942. RedHue.Name = "RedHue"
  1943. RedHue.Parent = CustomizeGui
  1944. RedHue.BackgroundColor3 = Color3.new(1, 1, 1)
  1945. RedHue.BackgroundTransparency = 1
  1946. RedHue.Position = UDim2.new(0.100000001, 0, 0.400000006, 0)
  1947. RedHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  1948. RedHue.Font = Enum.Font.SourceSans
  1949. RedHue.FontSize = Enum.FontSize.Size24
  1950. RedHue.Text = "RED Hue Value: "
  1951. RedHue.TextColor3 = Color3.new(1, 1, 1)
  1952. RedHue.TextScaled = true
  1953. RedHue.TextSize = 20
  1954. RedHue.TextStrokeColor3 = Color3.new(1, 0, 0)
  1955. RedHue.TextStrokeTransparency = 0.75
  1956. RedHue.TextWrapped = true
  1957.  
  1958. GreenHue.Name = "GreenHue"
  1959. GreenHue.Parent = CustomizeGui
  1960. GreenHue.BackgroundColor3 = Color3.new(1, 1, 1)
  1961. GreenHue.BackgroundTransparency = 1
  1962. GreenHue.Position = UDim2.new(0.100000001, 0, 0.5, 0)
  1963. GreenHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  1964. GreenHue.Font = Enum.Font.SourceSans
  1965. GreenHue.FontSize = Enum.FontSize.Size24
  1966. GreenHue.Text = "GREEN Hue Value:"
  1967. GreenHue.TextColor3 = Color3.new(1, 1, 1)
  1968. GreenHue.TextScaled = true
  1969. GreenHue.TextSize = 20
  1970. GreenHue.TextStrokeColor3 = Color3.new(0, 1, 0)
  1971. GreenHue.TextStrokeTransparency = 0.75
  1972. GreenHue.TextWrapped = true
  1973.  
  1974. RedInput.Name = "RedInput"
  1975. RedInput.Parent = CustomizeGui
  1976. RedInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  1977. RedInput.BackgroundTransparency = 0.5
  1978. RedInput.BorderSizePixel = 0
  1979. RedInput.Position = UDim2.new(0.419999987, 0, 0.425000007, 0)
  1980. RedInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
  1981. RedInput.Font = Enum.Font.SourceSans
  1982. RedInput.FontSize = Enum.FontSize.Size14
  1983. RedInput.Text = "255"
  1984. RedInput.TextColor3 = Color3.new(1, 1, 1)
  1985. RedInput.TextSize = 14
  1986. RedInput.TextStrokeTransparency = 0
  1987.  
  1988. BlueHue.Name = "BlueHue"
  1989. BlueHue.Parent = CustomizeGui
  1990. BlueHue.BackgroundColor3 = Color3.new(1, 1, 1)
  1991. BlueHue.BackgroundTransparency = 1
  1992. BlueHue.Position = UDim2.new(0.100000001, 0, 0.600000024, 0)
  1993. BlueHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  1994. BlueHue.Font = Enum.Font.SourceSans
  1995. BlueHue.FontSize = Enum.FontSize.Size24
  1996. BlueHue.Text = "BLUE Hue Value:"
  1997. BlueHue.TextColor3 = Color3.new(1, 1, 1)
  1998. BlueHue.TextScaled = true
  1999. BlueHue.TextSize = 20
  2000. BlueHue.TextStrokeColor3 = Color3.new(0, 0, 1)
  2001. BlueHue.TextStrokeTransparency = 0.75
  2002. BlueHue.TextWrapped = true
  2003.  
  2004. TrailTransparency.Name = "TrailTransparency"
  2005. TrailTransparency.Parent = CustomizeGui
  2006. TrailTransparency.BackgroundColor3 = Color3.new(1, 1, 1)
  2007. TrailTransparency.BackgroundTransparency = 1
  2008. TrailTransparency.Position = UDim2.new(0.090000001, 0, 0.700000024, 0)
  2009. TrailTransparency.Size = UDim2.new(0.310000012, 0, 0.100000001, 0)
  2010. TrailTransparency.Font = Enum.Font.SourceSans
  2011. TrailTransparency.FontSize = Enum.FontSize.Size24
  2012. TrailTransparency.Text = "Trail Transparency:"
  2013. TrailTransparency.TextColor3 = Color3.new(1, 1, 1)
  2014. TrailTransparency.TextScaled = true
  2015. TrailTransparency.TextSize = 20
  2016. TrailTransparency.TextStrokeColor3 = Color3.new(0, 0, 0)
  2017. TrailTransparency.TextWrapped = true
  2018.  
  2019. GreenInput.Name = "GreenInput"
  2020. GreenInput.Parent = CustomizeGui
  2021. GreenInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  2022. GreenInput.BackgroundTransparency = 0.5
  2023. GreenInput.BorderSizePixel = 0
  2024. GreenInput.Position = UDim2.new(0.419999987, 0, 0.524999976, 0)
  2025. GreenInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
  2026. GreenInput.Font = Enum.Font.SourceSans
  2027. GreenInput.FontSize = Enum.FontSize.Size14
  2028. GreenInput.Text = "255"
  2029. GreenInput.TextColor3 = Color3.new(1, 1, 1)
  2030. GreenInput.TextSize = 14
  2031. GreenInput.TextStrokeTransparency = 0
  2032.  
  2033. TransInput.Name = "TransInput"
  2034. TransInput.Parent = CustomizeGui
  2035. TransInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  2036. TransInput.BackgroundTransparency = 0.5
  2037. TransInput.BorderSizePixel = 0
  2038. TransInput.Position = UDim2.new(0.419999987, 0, 0.725000024, 0)
  2039. TransInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
  2040. TransInput.Font = Enum.Font.SourceSans
  2041. TransInput.FontSize = Enum.FontSize.Size14
  2042. TransInput.Text = "50"
  2043. TransInput.TextColor3 = Color3.new(1, 1, 1)
  2044. TransInput.TextSize = 14
  2045. TransInput.TextStrokeTransparency = 0
  2046.  
  2047. BlueInput.Name = "BlueInput"
  2048. BlueInput.Parent = CustomizeGui
  2049. BlueInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  2050. BlueInput.BackgroundTransparency = 0.5
  2051. BlueInput.BorderSizePixel = 0
  2052. BlueInput.Position = UDim2.new(0.419999987, 0, 0.625, 0)
  2053. BlueInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0)
  2054. BlueInput.Font = Enum.Font.SourceSans
  2055. BlueInput.FontSize = Enum.FontSize.Size14
  2056. BlueInput.Text = "255"
  2057. BlueInput.TextColor3 = Color3.new(1, 1, 1)
  2058. BlueInput.TextSize = 14
  2059. BlueInput.TextStrokeTransparency = 0
  2060.  
  2061. Message.Name = "Message"
  2062. Message.Parent = CustomizeGui
  2063. Message.BackgroundColor3 = Color3.new(1, 1, 1)
  2064. Message.BackgroundTransparency = 1
  2065. Message.Position = UDim2.new(0, 0, 0.2500004, 0)
  2066. Message.Size = UDim2.new(1, 0, 0.100000006, 0)
  2067. Message.Font = Enum.Font.SourceSans
  2068. Message.FontSize = Enum.FontSize.Size18
  2069. Message.Text = "|| Inputs must be values ||"
  2070. Message.TextColor3 = Color3.new(1, 1, 1)
  2071. Message.TextScaled = true
  2072. Message.TextSize = 15
  2073. Message.TextStrokeTransparency = 0.75
  2074. Message.TextWrapped = true
  2075.  
  2076. local attun = Instance.new("Attachment", knife)
  2077. attun.Position = Vector3.new(0, 0.1, -1.75)
  2078. local atdos = Instance.new("Attachment", knife)
  2079. atdos.Position = Vector3.new(0, -0.1, 0.5)
  2080. local trail = Instance.new("Trail", knife)
  2081. trail.LightEmission = 0.5
  2082. trail.Attachment0 = attun
  2083. trail.Attachment1 = atdos
  2084. trail.Lifetime = 0.175
  2085. trail.MinLength = 0
  2086. trail.Enabled = false
  2087.  
  2088. function updatez()
  2089. local rc = tonumber(RedInput.Text)
  2090. local gc = tonumber(GreenInput.Text)
  2091. local bc = tonumber(BlueInput.Text)
  2092. local tcupd = tonumber(TransInput.Text)
  2093. if rc == nil then
  2094. rc = 0
  2095. end
  2096. if gc == nil then
  2097. gc = 0
  2098. end
  2099. if bc == nil then
  2100. bc = 0
  2101. end
  2102. if tcupd == nil then
  2103. tcupd = 0
  2104. end
  2105. local tc = tcupd/100
  2106. Color.BackgroundColor3 = Color3.fromRGB(rc,gc,bc)
  2107. ClosestColor.Text = "Your color is closest to "..tostring(BrickColor.new(Color3.fromRGB(rc,gc,bc)))
  2108. obj32.Color = Color3.fromRGB(rc,gc,bc)
  2109. obj33.Color = Color3.fromRGB(rc,gc,bc)
  2110. obj34.Color = Color3.fromRGB(rc,gc,bc)
  2111. obj35.Color = Color3.fromRGB(rc,gc,bc)
  2112. obj36.Color = Color3.fromRGB(rc,gc,bc)
  2113. obj37.Color = Color3.fromRGB(rc,gc,bc)
  2114. obj38.Color = Color3.fromRGB(rc,gc,bc)
  2115. trail.Color = ColorSequence.new(Color3.fromRGB(rc, gc, bc))
  2116. trail.Transparency = NumberSequence.new(tc)
  2117. TrailTransparency.TextStrokeTransparency = tc
  2118. end
  2119.  
  2120. RedInput.Changed:connect(function(val)
  2121. if val == "Text" and tonumber(RedInput.Text) then
  2122. RedInput.Text = tostring(tonumber(RedInput.Text))
  2123. if tonumber(RedInput.Text) > 255 then
  2124. RedInput.Text = '255'
  2125. end
  2126. elseif val == "Text" then
  2127. RedInput.Text = ""
  2128. end
  2129. updatez()
  2130. end)
  2131. GreenInput.Changed:connect(function(val)
  2132. if val == "Text" and tonumber(GreenInput.Text) then
  2133. GreenInput.Text = tostring(tonumber(GreenInput.Text))
  2134. if tonumber(GreenInput.Text) > 255 then
  2135. GreenInput.Text = '255'
  2136. end
  2137. elseif val == "Text" then
  2138. GreenInput.Text = ""
  2139. end
  2140. updatez()
  2141. end)
  2142. BlueInput.Changed:connect(function(val)
  2143. if val == "Text" and tonumber(BlueInput.Text) then
  2144. BlueInput.Text = tostring(tonumber(BlueInput.Text))
  2145. if tonumber(BlueInput.Text) > 255 then
  2146. BlueInput.Text = '255'
  2147. end
  2148. elseif val == "Text" then
  2149. BlueInput.Text = ""
  2150. end
  2151. updatez()
  2152. end)
  2153. TransInput.Changed:connect(function(val)
  2154. if val == "Text" and tonumber(TransInput.Text) then
  2155. TransInput.Text = tostring(tonumber(TransInput.Text))
  2156. if tonumber(TransInput.Text) > 100 then
  2157. TransInput.Text = '100'
  2158. end
  2159. elseif val == "Text" then
  2160. TransInput.Text = ""
  2161. end
  2162. updatez()
  2163. end)
  2164.  
  2165. Close.MouseButton1Click:connect(function()
  2166. if lerpz == false then
  2167. lerpz = true
  2168. if Close.Text ~= "+" then
  2169. CustomizeGui:TweenPosition(UDim2.new(-0.45,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2))
  2170. for i=1,10 do
  2171. Close.TextTransparency = i/10
  2172. Close.TextStrokeTransparency = i/10
  2173. wait(0.01)
  2174. end
  2175. Close.Text = "+"
  2176. for i=1,10 do
  2177. Close.TextTransparency = (10-i+1)/10
  2178. Close.TextStrokeTransparency = (10-i+1)/10
  2179. wait(0.01)
  2180. end
  2181. lerpz = false
  2182. else
  2183. CustomizeGui:TweenPosition(UDim2.new(0,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2))
  2184. for i=1,10 do
  2185. Close.TextTransparency = i/10
  2186. Close.TextStrokeTransparency = i/10
  2187. wait(0.01)
  2188. end
  2189. Close.Text = "X"
  2190. for i=1,10 do
  2191. Close.TextTransparency = (10-i+1)/10
  2192. Close.TextStrokeTransparency = (10-i+1)/10
  2193. wait(0.01)
  2194. end
  2195. lerpz = false
  2196. end
  2197. end
  2198. end)
  2199.  
  2200. MusicOption.MouseButton1Click:connect(function()
  2201. if canbackgroundmusic == true then
  2202. canbackgroundmusic = false
  2203. MusicOption.BackgroundColor3 = Color3.new(1, 0, 0)
  2204. else
  2205. canbackgroundmusic = true
  2206. MusicOption.BackgroundColor3 = Color3.new(0, 1, 0)
  2207. end
  2208. end)
  2209.  
  2210. ScreenOption.MouseButton1Click:connect(function()
  2211. if cancolorfilter == true then
  2212. cancolorfilter = false
  2213. ScreenOption.BackgroundColor3 = Color3.new(1, 0, 0)
  2214. else
  2215. cancolorfilter = true
  2216. ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0)
  2217. end
  2218. end)
  2219.  
  2220. function equip()
  2221. local doit = coroutine.wrap(function()
  2222. if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then
  2223. acting = true
  2224. local arm = me["Right Arm"]
  2225. local arm2 = me["Left Arm"]
  2226. local tors = me.Torso
  2227. local weld = Instance.new('Weld',arm)
  2228. weld.Part0 = arm
  2229. weld.Part1 = tors
  2230. weld.C0 = CFrame.new(-1.5,0,0)
  2231. local weld2 = Instance.new("Weld", arm2)
  2232. weld2.Part0 = arm2
  2233. weld2.Part1 = tors
  2234. weld2.C0 = CFrame.new(1.5, 0, 0)
  2235. wait(0.001)
  2236. for i = 0,1,0.1 do
  2237. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
  2238. weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i)
  2239. weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i)
  2240. wait(0.001)
  2241. end
  2242. wait(0.15)
  2243. trail.Enabled = true
  2244. for i = 0,1,0.1 do
  2245. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
  2246. weld.C0 = weld.C0:lerp(CFrame.new(-0.5,2,0)*CFrame.Angles(0,0,-1.55),i)
  2247. weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i)
  2248. wait(0.001)
  2249. end
  2250. trail.Enabled = false
  2251. wait(0.2)
  2252. for i = 0,1,0.1 do
  2253. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
  2254. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i)
  2255. wait(0.001)
  2256. end
  2257. weld:Destroy()
  2258. weld2:Remove()
  2259. if tors ~= nil then
  2260. rightshoulderz:Clone().Parent = me.Torso
  2261. leftshoulderz:Clone().Parent = me.Torso
  2262. end
  2263. end
  2264. acting = false
  2265. end)
  2266. doit()
  2267. end
  2268.  
  2269. function kysnigga()
  2270. if kyssing == true then return end
  2271. kyssing = true
  2272. acting = true
  2273. decearingTHING = math.random(1, 100)
  2274. if decearingTHING == 4 then
  2275. decearingEGG = Instance.new("Sound", me.Torso)
  2276. decearingEGG.SoundId = "rbxassetid://138084557"
  2277. decearingEGG.PlaybackSpeed = math.random(10, 12) / 10
  2278. decearingEGG.TimePosition = 0.2
  2279. decearingEGG:Play()
  2280. end
  2281. me.Humanoid.WalkSpeed = 0
  2282. me.Humanoid.JumpPower = 0
  2283.  
  2284. local rightarm = Instance.new("Weld", me.Torso)
  2285. rightarm.Part0 = me.Torso
  2286. rightarm.Part1 = me["Right Arm"]
  2287. rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
  2288.  
  2289. local leftarm = Instance.new("Weld", me.Torso)
  2290. leftarm.Part0 = me.Torso
  2291. leftarm.Part1 = me["Left Arm"]
  2292. leftarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0)
  2293.  
  2294. local tors = Instance.new("Weld", me.HumanoidRootPart)
  2295. tors.Part0 = me.HumanoidRootPart
  2296. tors.Part1 = me.Torso
  2297. tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  2298.  
  2299. local rightleg = Instance.new("Weld", me.Torso)
  2300. rightleg.Part0 = me.Torso
  2301. rightleg.Part1 = me["Right Leg"]
  2302. rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0)
  2303.  
  2304. local leftleg = Instance.new("Weld", me.Torso)
  2305. leftleg.Part0 = me.Torso
  2306. leftleg.Part1 = me["Left Leg"]
  2307. leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0)
  2308.  
  2309. for i = 0, 1, 0.03 do
  2310. tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-10), 0, 0), i)
  2311. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i)
  2312. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i)
  2313. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), i)
  2314. wait()
  2315. end
  2316. for i = 0, 1, 0.03 do
  2317. tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(5), 0, 0), i)
  2318. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i)
  2319. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i)
  2320. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(-35)), i)
  2321. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(35)), i)
  2322. knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i)
  2323. wait()
  2324. end
  2325. local bleedzer = Instance.new('Part',me.Torso)
  2326. bleedzer.CFrame = me.Torso.CFrame
  2327. bleedzer.Size = Vector3.new(0.1,0.1,0.1)
  2328. bleedzer.Transparency = 1
  2329. bleedzer.CanCollide = false
  2330. local weld = Instance.new('Weld',bleedzer)
  2331. weld.Part0 = bleedzer
  2332. weld.Part1 = me.Torso
  2333. weld.C0= CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,0)
  2334. local woodpekker = coroutine.wrap(function()
  2335. bleed(bleedzer)
  2336. end)
  2337. woodpekker()
  2338. audio.SoundId = "rbxassetid://199977936"
  2339. audio.PlaybackSpeed = 1.5
  2340. audio:Play()
  2341. audio2.SoundId = "rbxassetid://220834019"
  2342. audio2.PlaybackSpeed = 1
  2343. audio2.TimePosition = 0.1
  2344. audio2:Play()
  2345. for i = 0, 1, 0.1 do
  2346. tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i)
  2347. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
  2348. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
  2349. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i)
  2350. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i)
  2351. knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i)
  2352. wait()
  2353. end
  2354. wait(1)
  2355. audio.SoundId = "rbxassetid://210943487"
  2356. audio.TimePosition = 0.2
  2357. audio.PlaybackSpeed = 0.75
  2358. audio:Play()
  2359. for i = 0, 1, 0.03 do
  2360. tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i)
  2361. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
  2362. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i)
  2363. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i)
  2364. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i)
  2365. knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i)
  2366. wait()
  2367. end
  2368. for i = 0, 1, 0.03 do
  2369. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i)
  2370. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i)
  2371. knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i)
  2372. wait()
  2373. end
  2374. wait(0.24)
  2375. if me:FindFirstChildOfClass('Humanoid') then
  2376. me:FindFirstChildOfClass('Humanoid').Health = 0
  2377. end
  2378. wait(0.01)
  2379. killz(me,me.Torso.Name,nil,nil,true)
  2380.  
  2381. tors:Remove()
  2382. rightarm:Remove()
  2383. rightleg:Remove()
  2384. leftleg:Remove()
  2385. leftarm:Remove()
  2386. rightshoulderz:Clone().Parent = me.Torso
  2387. leftshoulderz:Clone().Parent = me.Torso
  2388. torsojoint:Clone().Parent = me.HumanoidRootPart
  2389. lefthipz:Clone().Parent = me.Torso
  2390. righthipz:Clone().Parent = me.Torso
  2391. me.Humanoid.JumpPower = 50
  2392. me.Humanoid.WalkSpeed = 16
  2393. acting = false
  2394. canClick = true
  2395. doing = false
  2396. hit = false
  2397. kyssing = false
  2398. if decearingTHING == 4 then
  2399. decearingEGG:Remove()
  2400. end
  2401. end
  2402.  
  2403. function bleedout()
  2404. local doit = coroutine.wrap(function()
  2405. local targe = grabbed
  2406. local num = 0
  2407. while targe and targe:FindFirstChildOfClass('Humanoid') and targe:FindFirstChildOfClass('Humanoid').Health > 0 and num < 11 do
  2408. if targe.Head:FindFirstChild('Died') then
  2409. tone = math.random(6, 12) / 10
  2410. targe.Head.Died.PlaybackSpeed = tone
  2411. targe.Head.Died:Play()
  2412. else
  2413. local deathsound = Instance.new('Sound',targe.Head)
  2414. deathsound.Name = "Died"
  2415. deathsound.SoundId = 'rbxasset://sounds/uuhhh.mp3'
  2416. deathsound.Volume = 0.65
  2417. deathsound.EmitterSize = 5
  2418. deathsound.MaxDistance = 150
  2419. tone = math.random(5, 15) / 10
  2420. targe.Head.Died.PlaybackSpeed = tone
  2421. targe.Head.Died:Play()
  2422. end
  2423. targe:FindFirstChildOfClass('Humanoid').Health = targe:FindFirstChildOfClass('Humanoid').Health - 7
  2424. num = num+1
  2425. wait(0.325)
  2426. end
  2427. targe:FindFirstChildOfClass('Humanoid').Health = 0
  2428. wait()
  2429. killz(targe,'Head',nil,nil,false,true)
  2430. wait(2)
  2431. targe:Remove()
  2432. end)
  2433. doit()
  2434. end
  2435.  
  2436. function liedown()
  2437. local doit = coroutine.wrap(function()
  2438. local targe = grabbed
  2439. wait(2)
  2440. if targe and targe:FindFirstChildOfClass('Humanoid') then
  2441. targe:FindFirstChildOfClass('Humanoid').PlatformStand = false
  2442. end
  2443. end)
  2444. doit()
  2445. end
  2446.  
  2447. function grab()
  2448. local doit = coroutine.wrap(function()
  2449. acting = true
  2450. me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3
  2451. local arm = me["Right Arm"]
  2452. local tors = me.Torso
  2453. local arm2 = me["Left Arm"]
  2454. local humanroot = me.HumanoidRootPart
  2455. local weld2 = Instance.new('Weld',arm)
  2456. weld2.Part0 = arm
  2457. weld2.Part1 = tors
  2458. weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
  2459. local weld3 = Instance.new('Weld',arm2)
  2460. weld3.Part0 = arm2
  2461. weld3.Part1 = tors
  2462. weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0)
  2463. for i = 0,1,0.05 do
  2464. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end
  2465. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i)
  2466. weld3.C0 = weld3.C0:lerp(CFrame.new(1.2,1.3,0)*CFrame.Angles(0,0,1.2),i)
  2467. knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), -1.55) * CFrame.new(0, 0.95, 0)
  2468. wait(0.01)
  2469. end
  2470. grabbing = true
  2471. trail.Enabled = true
  2472. for i = 0,1,0.10 do
  2473. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end
  2474. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i)
  2475. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i)
  2476. wait(0.01)
  2477. end
  2478. trail.Enabled = false
  2479. wait(0.5)
  2480. grabbing = false
  2481. me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3
  2482. if grabbed == nil then
  2483. for i = 0,1,0.1 do
  2484. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil then return end
  2485. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  2486. weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i)
  2487. knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0)
  2488. wait(0.001)
  2489. end
  2490. weld2:Destroy()
  2491. weld3:Destroy()
  2492. rightshoulderz:Clone().Parent = me.Torso
  2493. leftshoulderz:Clone().Parent = me.Torso
  2494. acting = false
  2495. canClick = true
  2496. end
  2497. end)
  2498. doit()
  2499. end
  2500.  
  2501. function kill()
  2502. paralyzed = false
  2503. if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then hardrelease() return end
  2504. targetweld = grabbed.Torso.TargetWeld
  2505. targetweld2 = nil
  2506. local reee = grabbed:FindFirstChild("Left Arm")
  2507. if reee and reee:FindFirstChild("Weld") then
  2508. targetweld2 = reee.Weld
  2509. end
  2510. for i, v in pairs(grabbed:GetChildren()) do
  2511. if v.Name == "Part" then
  2512. v.CanCollide = true
  2513. end
  2514. end
  2515. targetweld3pt = grabbed:FindFirstChild("Right Arm")
  2516. local targetrightshoulder = rightshoulder
  2517. local targetleftshoulder = leftshoulder
  2518. local targetweld3 = Instance.new("Weld", targetweld3pt)
  2519. targetweld3.Part0 = grabbed.Torso
  2520. targetweld3.Part1 = targetweld3pt
  2521. targetweld3.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
  2522.  
  2523. local doit = coroutine.wrap(function()
  2524. local arm = me["Right Arm"]
  2525. local tors = grabbed.Torso
  2526. local arm2 = me["Left Arm"]
  2527. if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
  2528. doing = true
  2529. local weld2 = arm:FindFirstChildOfClass('Weld')
  2530. local weld3 = arm2:FindFirstChildOfClass('Weld')
  2531. local humanroot = me.HumanoidRootPart
  2532.  
  2533. for i = 0,1,0.1 do
  2534. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
  2535. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.9, 0, -1.4), i)
  2536. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 0.5, -0.5)* CFrame.Angles(-1.5, 0.4, 1.1), i)
  2537. wait(0.01)
  2538. end
  2539.  
  2540. audio:Stop()
  2541. audio.SoundId = "rbxassetid://517040733"
  2542. tone = math.random(1, 3)
  2543. if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.3 end
  2544. if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end
  2545. if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.2 end
  2546. audio:Play()
  2547.  
  2548. local bleedpart = Instance.new("Part", grabbed)
  2549. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  2550. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  2551. bleedpart.CanCollide = false
  2552. bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0)
  2553. bleedpart.Transparency = 1
  2554.  
  2555. local bleedpartweld = Instance.new("Weld", grabbed.Torso)
  2556. bleedpartweld.Part0 = grabbed.Torso
  2557. bleedpartweld.Part1 = bleedpart
  2558. bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
  2559. local coru=coroutine.wrap(function()
  2560. bleed(bleedpart)
  2561. end)
  2562. coru()
  2563.  
  2564. local slightthrow = Instance.new("BodyThrust", grabbed.Torso)
  2565. slightthrow.Force = Vector3.new(0, 0, -2500)
  2566.  
  2567. local slightthrow2 = Instance.new("BodyAngularVelocity", grabbed.Torso)
  2568. slightthrow2.AngularVelocity = Vector3.new(0, -1000, 0)
  2569. slightthrow2.MaxTorque = Vector3.new(1000, 1000, 1000)
  2570.  
  2571. if grabbed:FindFirstChildOfClass('Humanoid') then
  2572. grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
  2573. end
  2574.  
  2575. killz(grabbed,'Left Leg')
  2576. killz(grabbed,'Left Arm')
  2577. killz(grabbed,'Right Leg')
  2578. killz(grabbed,'Right Arm')
  2579.  
  2580. trail.Enabled = true
  2581.  
  2582. for i = 0,1,0.2 do
  2583. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
  2584. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 0, -1.4), i)
  2585. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i)
  2586. wait(0.01)
  2587. end
  2588.  
  2589. trail.Enabled = false
  2590.  
  2591. bleedout()
  2592.  
  2593. rightshoulderz:Clone().Parent = me.Torso
  2594. leftshoulderz:Clone().Parent = me.Torso
  2595. grabbed = nil
  2596.  
  2597. if humanroot:FindFirstChild('Holder') then
  2598. humanroot.Holder:Destroy()
  2599. end
  2600.  
  2601. wait(0.2)
  2602. slightthrow:Remove()
  2603. slightthrow2:Remove()
  2604. for i = 0,1,0.05 do
  2605. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
  2606. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5, 0, 0)* CFrame.Angles(0, 0, 0), i)
  2607. weld3.C0 = weld3.C0:lerp(CFrame.new(1.5, 0, 0)* CFrame.Angles(0, 0, 0), i)
  2608. knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0)
  2609. wait(0.01)
  2610. end
  2611.  
  2612. weld2:Destroy()
  2613. weld3:Destroy()
  2614. targetweld = nil
  2615. targetweld2 = nil
  2616. targetweld3 = nil
  2617. rightshoulderz:Clone().Parent = me.Torso
  2618. leftshoulderz:Clone().Parent = me.Torso
  2619. acting = false
  2620. canClick = true
  2621. doing = false
  2622. end)
  2623. doit()
  2624. end
  2625.  
  2626. function finish()
  2627. if finishing == true then return end
  2628. finishing = true
  2629. acting = true
  2630. decearingTHING = math.random(1, 100)
  2631. if decearingTHING == 4 then
  2632. decearingEGG = Instance.new("Sound", me.Torso)
  2633. decearingEGG.SoundId = "rbxassetid://138084557"
  2634. decearingEGG.PlaybackSpeed = math.random(10, 12) / 10
  2635. decearingEGG.TimePosition = 0.2
  2636. decearingEGG:Play()
  2637. end
  2638. me.Humanoid.WalkSpeed = 0
  2639. me.Humanoid.JumpPower = 0
  2640.  
  2641. local rightarm = Instance.new("Weld", me.Torso)
  2642. rightarm.Part0 = me.Torso
  2643. rightarm.Part1 = me["Right Arm"]
  2644. rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0)
  2645.  
  2646. local tors = Instance.new("Weld", me.HumanoidRootPart)
  2647. tors.Part0 = me.HumanoidRootPart
  2648. tors.Part1 = me.Torso
  2649. tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
  2650.  
  2651. local rightleg = Instance.new("Weld", me.Torso)
  2652. rightleg.Part0 = me.Torso
  2653. rightleg.Part1 = me["Right Leg"]
  2654. rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0)
  2655.  
  2656. local leftleg = Instance.new("Weld", me.Torso)
  2657. leftleg.Part0 = me.Torso
  2658. leftleg.Part1 = me["Left Leg"]
  2659. leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0)
  2660.  
  2661. for i = 0, 1, 0.05 do
  2662. tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), 0, 0), i)
  2663. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i)
  2664. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i)
  2665. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0) * CFrame.Angles(math.rad(179), math.rad(179), 0), i)
  2666. wait()
  2667. end
  2668. for i=1,finishnum do
  2669. local num1 = 0.5
  2670. local num2 = 0.5
  2671. local num3 = 0.25
  2672. if finishnum ~= 1 then
  2673. num3 = 0
  2674. end
  2675. trail.Enabled = true
  2676. for i = 0, 1, num1 do
  2677. tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-60), 0, 0), i)
  2678. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(0), 0, 0), i)
  2679. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(10), 0, 0), i)
  2680. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, -1) * CFrame.Angles(math.rad(160), math.rad(150), 0), i)
  2681. wait()
  2682. end
  2683. wait()
  2684. for i = 0, 1, num2 do
  2685. tors.C0 = tors.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), 0, 0), i)
  2686. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(-30), 0, 0), i)
  2687. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(-20), 0, 0), i)
  2688. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0.2) * CFrame.Angles(math.rad(250), math.rad(180), 0), i)
  2689. wait()
  2690. end
  2691. trail.Enabled = false
  2692. wait(num3)
  2693. end
  2694. wait()
  2695. for i = 0, 1, 0.05 do
  2696. tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  2697. leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0) * CFrame.Angles(0, 0, 0), i)
  2698. rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0) * CFrame.Angles(0, 0, 0), i)
  2699. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i)
  2700. wait()
  2701. end
  2702. tors:Remove()
  2703. rightarm:Remove()
  2704. rightleg:Remove()
  2705. leftleg:Remove()
  2706. rightshoulderz:Clone().Parent = me.Torso
  2707. leftshoulderz:Clone().Parent = me.Torso
  2708. torsojoint:Clone().Parent = me.HumanoidRootPart
  2709. lefthipz:Clone().Parent = me.Torso
  2710. righthipz:Clone().Parent = me.Torso
  2711. me.Humanoid.JumpPower = 50
  2712. me.Humanoid.WalkSpeed = 16
  2713. acting = false
  2714. canClick = true
  2715. doing = false
  2716. hit = false
  2717. finishing = false
  2718. if decearingTHING == 4 then
  2719. decearingEGG:Remove()
  2720. end
  2721. end
  2722.  
  2723. function throw()
  2724. if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end
  2725. paralyzed = false
  2726. targetweld = grabbed.Torso.TargetWeld
  2727. local ree = grabbed:FindFirstChild("Left Arm")
  2728. targetweld2 =nil
  2729. if ree and ree:FindFirstChild("Weld") then
  2730. targetweld2 = ree.Weld
  2731. end
  2732.  
  2733. for i, v in pairs(grabbed:GetChildren()) do
  2734. if v.Name == "Part" then
  2735. v.CanCollide = true
  2736. end
  2737. end
  2738.  
  2739.  
  2740. local doit = coroutine.wrap(function()
  2741. local arm = me["Right Arm"]
  2742. local tors = grabbed.Torso
  2743. local arm2 = me["Left Arm"]
  2744. local targrightshoulder = rightshoulder
  2745.  
  2746. local targleftshoulder = leftshoulder
  2747. if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
  2748. doing = true
  2749. local weld2 = arm:FindFirstChildOfClass('Weld')
  2750. local weld3 = arm2:FindFirstChildOfClass('Weld')
  2751. local humanroot = me.HumanoidRootPart
  2752.  
  2753. for i = 0,1,0.2 do
  2754. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
  2755. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 1, -1.4), i)
  2756. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i)
  2757. targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i)
  2758. if targetweld2 then
  2759. targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i)
  2760. end
  2761. wait(0.01)
  2762. end
  2763.  
  2764. audio:Stop()
  2765. audio.SoundId = "rbxassetid://536642316"
  2766. tone = math.random(1, 3)
  2767. if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.08 end
  2768. if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end
  2769. if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.12 end
  2770. audio:Play()
  2771.  
  2772. local slightthrow = Instance.new("BodyVelocity", grabbed.Torso)
  2773. slightthrow.Velocity = Vector3.new(0,20,0)+(me.Torso.CFrame.lookVector*20)
  2774. slightthrow.P = 5000
  2775. slightthrow.MaxForce = Vector3.new(9000001,9000001,9000001)
  2776. local point = grabbed.Torso.Position
  2777. local aaaaaa = grabbed
  2778. liedown()
  2779.  
  2780. rightshoulderz:Clone().Parent = me.Torso
  2781. leftshoulderz:Clone().Parent = me.Torso
  2782. grabbed = nil
  2783.  
  2784. if humanroot:FindFirstChild('Holder') then
  2785. humanroot.Holder:Destroy()
  2786. end
  2787. local coru = coroutine.wrap(function()
  2788. while aaaaaa and aaaaaa:FindFirstChild('Torso') and (aaaaaa.Torso.Position-point).magnitude < 5 do wait(0.001) end
  2789. if aaaaaa:FindFirstChildOfClass('Humanoid') then
  2790. aaaaaa:FindFirstChildOfClass('Humanoid').Name = "Humanoid"
  2791. aaaaaa:FindFirstChildOfClass('Humanoid').JumpPower = 50
  2792. aaaaaa:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  2793. end
  2794. slightthrow:Remove()
  2795. end)
  2796. coru()
  2797.  
  2798. for i = 0,1,0.05 do
  2799. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
  2800. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  2801. weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i)
  2802. wait(0.01)
  2803. end
  2804. weld2:Destroy()
  2805. weld3:Destroy()
  2806. targetweld:Remove()
  2807. if targetweld2 then
  2808. targetweld2:Remove()
  2809. end
  2810. if rightshoulder then
  2811. rightshoulder:Clone().Parent = tors
  2812. end
  2813. if leftshoulder then
  2814. leftshoulder:Clone().Parent = tors
  2815. end
  2816. headweld:Clone().Parent = tors
  2817. rightshoulderz:Clone().Parent = me.Torso
  2818. leftshoulderz:Clone().Parent = me.Torso
  2819. acting = false
  2820. canClick = true
  2821. doing = false
  2822. end)
  2823. doit()
  2824. end
  2825.  
  2826. cfn,ang,mr,int=CFrame.new,CFrame.Angles,math.rad,Instance.new
  2827. bc=BrickColor.new
  2828. local minimumsize = Vector3.new(0.7,0.7,0.7)
  2829. local surface_between_splitted_parts = 'SmoothNoOutlines'
  2830. local fragmentable = workspace
  2831. local list = {}
  2832. local brickcount = 0
  2833. local storage = {}
  2834. local fillup = 1000
  2835. local maximumstorage = 2000
  2836. local storage_position = Vector3.new(0,0,5000)
  2837. local stored_partsize = Vector3.new(1,1,1)
  2838. local parts_created_per_frame = 5
  2839.  
  2840. local minimumsize = Vector3.new(0.7,0.7,0.7)
  2841. local surface_between_splitted_parts = 'SmoothNoOutlines'
  2842. local fragmentable = workspace
  2843. local list = {}
  2844. local brickcount = 0
  2845. local storage = {}
  2846. local fillup = 1000
  2847. local maximumstorage = 2000
  2848. local storage_position = Vector3.new(0,0,5000)
  2849. local stored_partsize = Vector3.new(1,1,1)
  2850. local parts_created_per_frame = 5
  2851.  
  2852.  
  2853. function fragmentate(cframe,size,color,explosion_position,explosion_blastradius,backsurface,bottomsurface,frontsurface,leftsurface,rightsurface,topsurface,transparency,reflectance,material)
  2854. local xi = size.X >= minimumsize.X*(1+explosion_blastradius/16) and 2 or 1
  2855. local yi = size.Y >= minimumsize.Y*(1+explosion_blastradius/16) and 2 or 1
  2856. local zi = size.Z >= minimumsize.Z*(1+explosion_blastradius/16) and 2 or 1
  2857. if xi == 1 and yi == 1 and zi == 1 or (cframe.p-explosion_position).magnitude > size.magnitude/2 + explosion_blastradius then
  2858. if xi == 1 and yi == 1 and zi == 1 then return end
  2859. if #storage > 0 then
  2860. local p = storage[1]
  2861. p.BrickColor = color
  2862. p.Size = size
  2863. p.Anchored = false
  2864. p.BackSurface = backsurface
  2865. p.BottomSurface = bottomsurface
  2866. p.FrontSurface = frontsurface
  2867. p.LeftSurface = leftsurface
  2868. p.RightSurface = rightsurface
  2869. p.TopSurface = topsurface
  2870. p.Transparency = transparency
  2871. p.CFrame = cframe
  2872. p.Reflectance = reflectance
  2873. p.Material = material
  2874. game:GetService('Debris'):AddItem(p,30)
  2875. p:BreakJoints()
  2876. table.remove(storage,1)
  2877. else
  2878. local p = Instance.new("Part",fragmentable)
  2879. p.BrickColor = color
  2880. p.FormFactor = "Custom"
  2881. p.Size = size
  2882. p.BackSurface = backsurface
  2883. p.BottomSurface = bottomsurface
  2884. p.FrontSurface = frontsurface
  2885. p.LeftSurface = leftsurface
  2886. p.RightSurface = rightsurface
  2887. p.TopSurface = topsurface
  2888. p.Transparency = transparency
  2889. p.Material = material
  2890. if p.Transparency>0.285 then
  2891. p.Anchored = false
  2892. else
  2893. p.Anchored=false
  2894. p.Material='Wood'
  2895. game:GetService('Debris'):AddItem(p,10)
  2896. end
  2897. p.CFrame = cframe
  2898. p.Reflectance = reflectance
  2899. p:BreakJoints()
  2900. end
  2901. return
  2902. end
  2903. local mody = math.random(-125,125)/1000
  2904. for y = 1,yi do
  2905. if math.random()> 0.5 then
  2906. local modx = math.random(-125,125)/1000
  2907. for x = 1,xi do
  2908. local modz = math.random(-125,125)/1000
  2909. for z = 1,zi do --offset = x/xi-0.75+modx)
  2910. fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)),
  2911. Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y,
  2912. zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z or mustardfoot_was_here),color,explosion_position,explosion_blastradius,
  2913. z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface,
  2914. z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface,
  2915. y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material)
  2916. end
  2917.  
  2918. end
  2919. else
  2920. local modz = math.random(-125,125)/1000
  2921. for z = 1,zi do
  2922. local modx = math.random(-125,125)/1000
  2923. for x = 1,xi do
  2924. fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)),
  2925. Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y,
  2926. zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z),color,explosion_position,explosion_blastradius,
  2927. z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface,
  2928. z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface,
  2929. y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material)
  2930. end
  2931. end
  2932. end
  2933. end
  2934. end
  2935.  
  2936. function start_fragmentation(position,radius,nuh)
  2937. local search = Region3.new(position-Vector3.new(radius,radius,radius)*1.1,position+Vector3.new(radius,radius,radius)*1.1)
  2938. repeat
  2939. local finish = false
  2940. local parts = workspace:FindPartsInRegion3WithIgnoreList(search,list,100)
  2941. for i = 1,#parts do
  2942. table.insert(list,1,parts[i])
  2943. end
  2944. finish = true
  2945. until #parts < 100 and finish
  2946. local t = tick()
  2947. for i = 1,#list do
  2948. local p = list[i]
  2949. if p:IsA('UnionOperation') == false and p:IsA('CornerWedgePart') == false and p:IsA('TrussPart') == false and p:IsA('WedgePart') == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<50000 and p.Transparency>0.285 and p.Name~='Base' and p.Parent:FindFirstChildOfClass('Humanoid') == nil and p.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and p:IsDescendantOf(me)==false then
  2950. fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material)
  2951. if #storage < maximumstorage and p.Shape == "Block" then
  2952. p.Anchored = false
  2953. p.FormFactor = "Custom"
  2954. p.Size = stored_partsize
  2955. p.Position = storage_position
  2956. table.insert(storage,1,p)
  2957. else
  2958. p:Destroy()
  2959. end
  2960. end
  2961. if nuh == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<53000 and p.Transparency<0.05 and p.Name~='Base' and tostring(p.Material)=='Enum.Material.Wood' and p:IsDescendantOf(me)==false then
  2962. fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material)
  2963. if #storage < maximumstorage and p.Shape == "Block" then
  2964. p.Anchored = false
  2965. p.Material='Wood'
  2966. p.FormFactor = "Custom"
  2967. p.Size = stored_partsize
  2968. p.Position = storage_position
  2969. table.insert(storage,1,p)
  2970. else
  2971. p:Destroy()
  2972. end
  2973. end
  2974. end
  2975. list = {}
  2976. end
  2977.  
  2978.  
  2979. function fling()
  2980. local doit = coroutine.wrap(function()
  2981. if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') then
  2982. acting = true
  2983. for i=1,finishnum do
  2984. local weld2 = Instance.new('Weld',me["Right Arm"])
  2985. weld2.Part0 = me["Right Arm"]
  2986. weld2.Part1 = me["Torso"]
  2987. weld2.C0 = CFrame.new(-1.5,0,0)
  2988. if finishnum == 1 then
  2989. for i = 0,1,0.05 do
  2990. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  2991. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i)
  2992. wait(0.01)
  2993. end
  2994. end
  2995. audio.SoundId = "rbxassetid://166083610"
  2996. audio.PlaybackSpeed = 1
  2997. audio.TimePosition = 0.1
  2998. audio:Play()
  2999. if finishnum == 1 then
  3000. for i = 0,1,0.5 do
  3001. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  3002. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i)
  3003. wait(0.001)
  3004. end
  3005. end
  3006. weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
  3007. local knofe = obj1:Clone()
  3008. for i, v in pairs(obj1:GetChildren()) do
  3009. if v:IsA('BasePart') then
  3010. v.Transparency = 1
  3011. end
  3012. end
  3013. knofe.Parent = workspace
  3014. knofe.Name = "Projectile"
  3015. knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  3016. knofe:FindFirstChild("Trail", true).Enabled = true
  3017. local heck = Instance.new('BodyVelocity',knofe.Grab)
  3018. heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
  3019. local coru = coroutine.wrap(function()
  3020. wait(0.45)
  3021. if heck then
  3022. heck:Destroy()
  3023. end
  3024. end)
  3025. coru()
  3026. local able = true
  3027. knofe["big ass knife"].Touched:connect(function(hit)
  3028. if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Transparency < 1 and knofe.Grab.CanCollide == false and hit.Parent ~= me and hit.Parent.Parent ~= me then
  3029. local thing = hit.Parent:FindFirstChildOfClass('Humanoid')
  3030. local ree = hit.Parent
  3031. if thing == nil then
  3032. ree = hit.Parent.Parent
  3033. end
  3034. if ree:FindFirstChildOfClass('Humanoid').Health > 0 then
  3035. knofe:FindFirstChild("Trail", true).Enabled = false
  3036. game:GetService('Debris'):AddItem(knofe,5)
  3037. tone = math.random(1, 3)
  3038. local sound = Instance.new('Sound',knofe.Grab)
  3039. if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
  3040. if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
  3041. if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
  3042. sound.PlaybackSpeed = 1
  3043. sound:Play()
  3044. for i, v in pairs(knofe:GetChildren()) do
  3045. if v:IsA('BasePart') then
  3046. v.CanCollide = true
  3047. v.Anchored = true
  3048. end
  3049. end
  3050. hit.Anchored = true
  3051. if ree:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then
  3052. ree:FindFirstChildOfClass('Humanoid').Health = 0
  3053. end
  3054. wait()
  3055. killz(ree,hit.Name,knofe)
  3056. else
  3057. knofe:FindFirstChild("Trail", true).Enabled = false
  3058. heck.Velocity = Vector3.new(0,0,0)
  3059. heck:Destroy()
  3060. game:GetService('Debris'):AddItem(knofe,5)
  3061. tone = math.random(1, 3)
  3062. local sound = Instance.new('Sound',knofe.Grab)
  3063. if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
  3064. if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
  3065. if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
  3066. sound.PlaybackSpeed = 1
  3067. sound:Play()
  3068. for i, v in pairs(knofe:GetChildren()) do
  3069. if v:IsA('BasePart') then
  3070. v.Anchored = false
  3071. end
  3072. end
  3073. hit.Anchored = true
  3074. wait(0.001)
  3075. hit.Anchored = false
  3076. for i, v in pairs(knofe:GetChildren()) do
  3077. if v:IsA('BasePart') then
  3078. v.Anchored = false
  3079. end
  3080. end
  3081. if knofe then
  3082. local coru = coroutine.wrap(function()
  3083. if hit then
  3084. local uno = Instance.new('Part',workspace)
  3085. local dos = Instance.new('Part',workspace)
  3086. uno.CFrame = hit.CFrame
  3087. dos.CFrame = knofe["big ass knife"].CFrame
  3088. local weld = Instance.new('Weld',knofe["big ass knife"])
  3089. weld.Part0 = hit
  3090. weld.Part1 = knofe["big ass knife"]
  3091. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  3092. uno:Destroy()
  3093. dos:Destroy()
  3094. end
  3095. end)
  3096. coru()
  3097. end
  3098. end
  3099. elseif hit.Parent and hit.Parent ~= me and hit.Parent.Parent ~= me and hit.CanCollide and knofe.Grab.CanCollide == false then
  3100. if hit.Transparency and (hit.Transparency<=0.285 or hit:GetMass()<=3000) then
  3101. knofe:FindFirstChild("Trail", true).Enabled = false
  3102. local sound = Instance.new('Sound',knofe.Grab)
  3103. sound.SoundId = 'rbxassetid://267585646'
  3104. sound:Play()
  3105. for i,v in pairs(knofe:GetChildren()) do
  3106. if v:IsA('BasePart') then
  3107. v.Anchored = true
  3108. end
  3109. end
  3110. wait()
  3111. heck.Velocity = Vector3.new(0,0,0)
  3112. heck:Destroy()
  3113. local uno = Instance.new('Part',workspace)
  3114. local dos = Instance.new('Part',workspace)
  3115. uno.CFrame = hit.CFrame
  3116. dos.CFrame = knofe["big ass knife"].CFrame
  3117. local weld = Instance.new('Weld',knofe["big ass knife"])
  3118. weld.Part0 = hit
  3119. weld.Part1 = knofe["big ass knife"]
  3120. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  3121. uno:Destroy()
  3122. dos:Destroy()
  3123. for i,v in pairs(knofe:GetChildren()) do
  3124. if v:IsA('BasePart') then
  3125. v.Anchored = false
  3126. end
  3127. end
  3128. game:GetService('Debris'):AddItem(knofe,5)
  3129. for i,v in pairs(knofe:GetChildren()) do
  3130. if v:IsA('BasePart') then
  3131. v.CanCollide = true
  3132. end
  3133. end
  3134. end
  3135. if hit.Parent and hit.Transparency>0.285 and able == true and hit:GetMass()<3000 and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and (hit.Parent.Parent == nil or hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil) then
  3136. knofe:FindFirstChild("Trail", true).Enabled = false
  3137. able = false
  3138. local sound = Instance.new('Sound',knofe.Grab)
  3139. sound.SoundId = 'rbxassetid://144884907'
  3140. sound:Play()
  3141. local coru = coroutine.wrap(function()
  3142. start_fragmentation(knofe["big ass knife"].Position,1.25,knofe)
  3143. end)
  3144. coru()
  3145. end
  3146. end
  3147. end)
  3148. if finishnum == 1 then
  3149. for i= 0,1,0.1 do
  3150. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  3151. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  3152. wait(0.001)
  3153. end
  3154. else
  3155. for i= 0,1,0.5 do
  3156. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  3157. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  3158. wait(0.001)
  3159. end
  3160. end
  3161. for i,v in pairs(obj1:GetChildren()) do
  3162. if v:IsA('BasePart') then
  3163. v.Transparency = 0
  3164. end
  3165. end
  3166. weld2:Destroy()
  3167. rightshoulderz:Clone().Parent = me.Torso
  3168. end
  3169. acting = false
  3170. canClick = true
  3171. end
  3172. end)
  3173. doit()
  3174. end
  3175.  
  3176. function instasplode()
  3177. local coru = coroutine.wrap(function()
  3178. acting = true
  3179. for i=1,1 do
  3180. local weld2 = Instance.new('Weld',me["Right Arm"])
  3181. weld2.Part0 = me["Right Arm"]
  3182. weld2.Part1 = me["Torso"]
  3183. weld2.C0 = CFrame.new(-1.5,0,0)
  3184. if finishnum == 1 then
  3185. for i = 0,1,0.05 do
  3186. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  3187. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i)
  3188. wait(0.01)
  3189. end
  3190. end
  3191. weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0)
  3192. audio.SoundId = "rbxassetid://166083610"
  3193. audio.PlaybackSpeed = 1
  3194. audio.TimePosition = 0.1
  3195. audio:Play()
  3196. if finishnum == 1 then
  3197. for i = 0,1,0.5 do
  3198. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  3199. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i)
  3200. wait(0.001)
  3201. end
  3202. end
  3203. weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
  3204. local knofe = obj1:Clone()
  3205. for i,v in pairs(obj1:GetChildren()) do
  3206. if v:IsA('BasePart') then
  3207. v.Transparency = 1
  3208. end
  3209. end
  3210. knofe.Parent = workspace
  3211. knofe.Name = "Projectile"
  3212. knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  3213. knofe:FindFirstChild("Trail", true).Enabled = false
  3214. fireofjesUS = Instance.new("Fire", knofe.Grab)
  3215. local heck = Instance.new('BodyVelocity',knofe.Grab)
  3216. heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
  3217. local coru = coroutine.wrap(function()
  3218. wait(0.45)
  3219. if heck then
  3220. heck:Destroy()
  3221. end
  3222. end)
  3223. coru()
  3224. knofe["big ass knife"].Touched:connect(function(hit)
  3225. if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then
  3226. heck.Velocity = Vector3.new(0,0,0)
  3227. heck:Destroy()
  3228. for i,v in pairs(knofe:GetChildren()) do
  3229. if v:IsA('BasePart') then
  3230. v.CanCollide = true
  3231. end
  3232. end
  3233. local hum = hit.Parent:FindFirstChildOfClass('Humanoid')
  3234. if hum == nil then
  3235. hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid')
  3236. end
  3237. if knofe then
  3238. local coru = coroutine.wrap(function()
  3239. if hit then
  3240. local uno = Instance.new('Part',workspace)
  3241. local dos = Instance.new('Part',workspace)
  3242. uno.CFrame = hit.CFrame
  3243. dos.CFrame = knofe["big ass knife"].CFrame
  3244. local weld = Instance.new('Weld',knofe["big ass knife"])
  3245. weld.Part0 = hit
  3246. weld.Part1 = knofe["big ass knife"]
  3247. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  3248. uno:Destroy()
  3249. dos:Destroy()
  3250. end
  3251. end)
  3252. coru()
  3253. end
  3254. local sound = Instance.new('Sound',knofe.Grab)
  3255. sound.Name = "BOOM"
  3256. sound.EmitterSize = 25
  3257. sound.SoundId = 'rbxassetid://476477344'
  3258. sound.Volume = 0.5
  3259. sound:Play()
  3260. local exppart = Instance.new("Part", game.Workspace)
  3261. exppart.Size = Vector3.new(0.2, 0.2, 0.2)
  3262. exppart.Anchored = true
  3263. exppart.CanCollide = false
  3264. exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p)
  3265. exppart.Transparency = 1
  3266. local expaccent = Instance.new("ParticleEmitter", exppart)
  3267. expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))})
  3268. expaccent.LightEmission = 0.2
  3269. expaccent.LightInfluence = 0.3
  3270. expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
  3271. expaccent.Acceleration = Vector3.new(0, 30, 0)
  3272. expaccent.Drag = 15
  3273. expaccent.LockedToPart = false
  3274. expaccent.Lifetime = NumberRange.new(0.5, 1.5)
  3275. expaccent.Rate = 2000
  3276. expaccent.Speed = NumberRange.new(0,0)
  3277. expaccent.SpreadAngle = Vector2.new(360, 360)
  3278. expaccent:Clone().Parent = exppart
  3279. expaccent:Clone().Parent = exppart
  3280. local exp = Instance.new('Explosion',game.Workspace)
  3281. exp.Position = knofe["big ass knife"].Position
  3282. exp.ExplosionType = Enum.ExplosionType.NoCraters
  3283. exp.BlastRadius = 5
  3284. exp.Visible = false
  3285. exp.BlastPressure = 0
  3286. exp.DestroyJointRadiusPercent = 0
  3287. exp.Hit:connect(function(hit)
  3288. if hit.Parent and hit.Parent ~= me and hit.Parent.Name ~= "bitch ass knife" then
  3289. wait(0.001)
  3290. tgt = hit
  3291. local coru=coroutine.wrap(function(tgtt)
  3292. local fireofgods = Instance.new("Fire", tgtt)
  3293. fireofgods.Size = 0
  3294. fireofgods.Heat = 0
  3295. local fireofgodsaccent = expaccent:Clone()
  3296. fireofgodsaccent.Parent = hit
  3297. fireofgodsaccent.Rate = 0
  3298. fireofgodsaccent.Speed = NumberRange.new(5, 50)
  3299. fireofgodsaccent.SpreadAngle = Vector2.new(45, 45)
  3300. fireofgodsaccent.Acceleration = Vector3.new(0, 20, 0)
  3301.  
  3302. while fireofgods.Size < 10 do
  3303. fireofgods.Size = fireofgods.Size + 0.1
  3304. fireofgods.Heat = fireofgods.Heat + 0.1
  3305. fireofgodsaccent.Rate = fireofgodsaccent.Rate + 1
  3306. wait()
  3307. end
  3308. if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then
  3309. hit:BreakJoints()
  3310. elseif hit.Parent and hit.Parent:IsA('Accessory') then
  3311. for i,v in pairs(hit:GetChildren()) do
  3312. if v:IsA('SpecialMesh') then
  3313. v.TextureId = ""
  3314. end
  3315. end
  3316. end
  3317. hit.BrickColor = BrickColor.new("Black")
  3318. for i,v in pairs(hit.Parent:GetChildren()) do
  3319. if v:IsA('Shirt') or v:IsA('Pants') then
  3320. v:Destroy()
  3321. end
  3322. end
  3323.  
  3324. while fireofgods.Size > 5 do
  3325. fireofgods.Size = fireofgods.Size - 0.1
  3326. fireofgods.Heat = fireofgods.Heat - 0.1
  3327. wait()
  3328. end
  3329. fireofgods:Destroy()
  3330. if hit.Parent then
  3331. if hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then
  3332. local p = hit
  3333. fragmentate(p.CFrame,p.Size,p.BrickColor,p.Position,0.01,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material)
  3334. hit:Remove()
  3335. elseif hit.Parent:FindFirstChildOfClass('Humanoid') ~= nil then
  3336. print(hit.Name)
  3337. if hit.Name == "Torso" or hit.Name == "Head" then
  3338. print('ohhh YAAAA')
  3339. hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
  3340. end
  3341. wait()
  3342. killz(hit.Parent,hit.Name,nil,nil,false,false,true)
  3343. end
  3344. end
  3345. end)
  3346. coru(tgt)
  3347. end
  3348. end)
  3349. local explosionaccenttimeout = coroutine.wrap(function()
  3350. wait(0.2)
  3351. for i, exploodn in pairs(exppart:GetChildren()) do
  3352. exploodn.Enabled = false
  3353. end
  3354. wait(2)
  3355. for i, exploodn in pairs(exppart:GetChildren()) do
  3356. exploodn:Remove()
  3357. end
  3358. end)
  3359. explosionaccenttimeout()
  3360. for i,v in pairs(knofe:GetChildren()) do
  3361. if v:IsA('BasePart') then
  3362. v.Transparency = 1
  3363. end
  3364. end
  3365. exp.AncestryChanged:connect(function() knofe:Destroy() end)
  3366. coru()
  3367. end
  3368. end)
  3369. if finishnum == 1 then
  3370. for i= 0,1,0.1 do
  3371. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  3372. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  3373. wait(0.001)
  3374. end
  3375. else
  3376. wait(0.1)
  3377. end
  3378. weld2.C0 = CFrame.new(-1.5,0,0)
  3379. for i,v in pairs(obj1:GetChildren()) do
  3380. if v:IsA('BasePart') then
  3381. v.Transparency = 0
  3382. end
  3383. end
  3384. weld2:Destroy()
  3385. rightshoulderz:Clone().Parent = me.Torso
  3386. end
  3387. acting = false
  3388. canClick = true
  3389. end)
  3390. coru()
  3391. end
  3392.  
  3393. function fireworkit()
  3394. local coru = coroutine.wrap(function()
  3395. acting = true
  3396. local ree = 1
  3397. if finishnum > 1 then
  3398. ree = 3
  3399. end
  3400. for i=1,ree do
  3401. local weld2 = Instance.new('Weld',me["Right Arm"])
  3402. weld2.Part0 = me["Right Arm"]
  3403. weld2.Part1 = me["Torso"]
  3404. weld2.C0 = CFrame.new(-1.5,0,0)
  3405. weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0)
  3406. audio.SoundId = "rbxassetid://166083610"
  3407. audio.PlaybackSpeed = 1
  3408. audio.TimePosition = 0.1
  3409. audio:Play()
  3410. weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
  3411. local knofe = obj1:Clone()
  3412. for i,v in pairs(obj1:GetChildren()) do
  3413. if v:IsA('BasePart') then
  3414. v.Transparency = 1
  3415. end
  3416. end
  3417. local sound = Instance.new('Sound',knofe.Grab)
  3418. sound.Volume = 0.25
  3419. sound.EmitterSize = 200
  3420. sound.MaxDistance = 300
  3421. sound.SoundId = 'rbxassetid://551051176'
  3422. sound:Play()
  3423. knofe.Parent = workspace
  3424. knofe.Name = "Projectile"
  3425. knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  3426. local partic = Instance.new('ParticleEmitter',knofe.Grab)
  3427. partic.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.4,Color3.fromRGB(255,125,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))})
  3428. partic.LightEmission = 0.5
  3429. partic.LightInfluence = 0
  3430. partic.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.15)})
  3431. partic.Rotation = NumberRange.new(0,90)
  3432. partic.SpreadAngle = Vector2.new(5,5)
  3433. partic.Speed = NumberRange.new(20)
  3434. partic.Texture = 'rbxassetid://603193846'
  3435. partic.EmissionDirection = Enum.NormalId.Left
  3436. partic.Lifetime = NumberRange.new(0.5,1)
  3437. partic.Rate = 100
  3438. local heck = Instance.new('BodyVelocity',knofe.Grab)
  3439. heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*240
  3440. local coru=coroutine.wrap(function()
  3441. wait(1.2)
  3442. sound:Destroy()
  3443. local sound2 = Instance.new('Sound',workspace)
  3444. sound2.SoundId = 'rbxassetid://138080762'
  3445. sound2:Play()
  3446. if heck then
  3447. heck:Destroy()
  3448. end
  3449. for i,v in pairs(knofe:GetChildren()) do
  3450. v.Anchored = true
  3451. end
  3452. partic.Enabled = false
  3453. local colorscheme = math.random(1,4)
  3454. --1 - red & orange
  3455. --2 - blue & pink
  3456. --3 - green & purple
  3457. --4 - blue, red, white
  3458. local colar1 = Color3.fromRGB(255,0,0)
  3459. local colar2 = Color3.fromRGB(255,125,0)
  3460. local colar3 = Color3.fromRGB(255,255,255)
  3461. if colorscheme == 2 then
  3462. colar1 = Color3.fromRGB(0,132,255)
  3463. colar2 = Color3.fromRGB(243,105,255)
  3464. elseif colorscheme == 3 then
  3465. colar1 = Color3.fromRGB(76,255,0)
  3466. colar2 = Color3.fromRGB(128,0,255)
  3467. elseif colorscheme == 4 then
  3468. colar2 = Color3.fromRGB(0,132,255)
  3469. end
  3470. local partic2 = Instance.new('ParticleEmitter',knofe.Grab)
  3471. partic2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar1),ColorSequenceKeypoint.new(1,colar1)})
  3472. partic2.LightEmission = 0.5
  3473. partic2.LightInfluence = 0
  3474. partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.1)})
  3475. partic2.Rotation = NumberRange.new(0,90)
  3476. partic2.SpreadAngle = Vector2.new(180,180)
  3477. partic2.Speed = NumberRange.new(20)
  3478. partic2.Texture = 'rbxassetid://603193846'
  3479. partic2.EmissionDirection = Enum.NormalId.Right
  3480. partic2.Lifetime = NumberRange.new(2,2.5)
  3481. partic2.Rate = 1000
  3482. partic2.Drag = 1
  3483. local partic3 = partic2:Clone()
  3484. partic3.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar2),ColorSequenceKeypoint.new(1,colar2)})
  3485. partic3.Parent = knofe.Grab
  3486. if colorscheme == 4 then
  3487. local partic4 = partic2:Clone()
  3488. partic4.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar3),ColorSequenceKeypoint.new(1,colar3)})
  3489. partic4.Parent = knofe.Grab
  3490. end
  3491. wait(1)
  3492. for i,v in pairs(knofe.Grab:GetChildren()) do
  3493. if v:IsA('ParticleEmitter') then
  3494. v.Enabled = false
  3495. end
  3496. end
  3497. sound:Destroy()
  3498. wait(2)
  3499. knofe:Destroy()
  3500. end)
  3501. coru()
  3502. wait(0.1)
  3503. weld2.C0 = CFrame.new(-1.5,0,0)
  3504. for i,v in pairs(obj1:GetChildren()) do
  3505. if v:IsA('BasePart') then
  3506. v.Transparency = 0
  3507. end
  3508. end
  3509. weld2:Destroy()
  3510. rightshoulderz:Clone().Parent = me.Torso
  3511. end
  3512. acting = false
  3513. canClick = true
  3514. end)
  3515. coru()
  3516. end
  3517.  
  3518. function paralyze()
  3519. local coru = coroutine.wrap(function()
  3520. if paralyzed == true then return end
  3521. paralyzed = true
  3522. local arm = me["Right Arm"]
  3523. local tors = grabbed.Torso
  3524. local arm2 = me["Left Arm"]
  3525. if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
  3526. doing = true
  3527. local weld2 = arm:FindFirstChildOfClass('Weld')
  3528. local weld3 = arm2:FindFirstChildOfClass('Weld')
  3529. local humanroot = me.HumanoidRootPart
  3530. for i = 0,1,0.075 do
  3531. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-2, 0, -1.5), i)
  3532. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i)
  3533. wait(0.01)
  3534. end
  3535. for i = 0,1,0.30 do
  3536. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-0.75, 0, -1.75), i)
  3537. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i)
  3538. wait(0.01)
  3539. end
  3540. killz(grabbed,'Left Leg')
  3541. killz(grabbed,'Left Arm')
  3542. killz(grabbed,'Right Leg')
  3543. killz(grabbed,'Right Arm')
  3544.  
  3545. for i, v in pairs(grabbed:GetChildren()) do
  3546. if v.Name == "Part" then
  3547. v.CanCollide = false
  3548. end
  3549. end
  3550.  
  3551. audio:Stop()
  3552. audio.SoundId = "rbxassetid://2801263"
  3553. tone = math.random(1, 3)
  3554. if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0 end
  3555. if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0 end
  3556. if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0 end
  3557. audio:Play()
  3558.  
  3559. local bleedpart = Instance.new("Part", grabbed)
  3560. bleedpart.Size = Vector3.new(0.2, 0.2, 0.2)
  3561. bleedpart.Color = Color3.new(115/225, 115/225, 115/225)
  3562. bleedpart.CanCollide = false
  3563. bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0)
  3564. bleedpart.Transparency = 1
  3565.  
  3566. local bleedpartweld = Instance.new("Weld", grabbed.Torso)
  3567. bleedpartweld.Part0 = grabbed.Torso
  3568. bleedpartweld.Part1 = bleedpart
  3569. bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8)
  3570. local cuntruu=coroutine.wrap(function()
  3571. bleed(bleedpart)
  3572. end)
  3573. local thicc = coroutine.wrap(function()
  3574. wait(3)
  3575. bleedpart:Remove()
  3576. end)
  3577. cuntruu()
  3578. thicc()
  3579.  
  3580. for i = 0,1,0.075 do
  3581. weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i)
  3582. weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i)
  3583. wait(0.01)
  3584. end
  3585. acting = true
  3586. canClick = true
  3587. doing = false
  3588. end)
  3589. coru()
  3590. end
  3591.  
  3592. function explode()
  3593. local coru = coroutine.wrap(function()
  3594. acting = true
  3595. for i=1,finishnum do
  3596. local weld2 = Instance.new('Weld',me["Right Arm"])
  3597. weld2.Part0 = me["Right Arm"]
  3598. weld2.Part1 = me["Torso"]
  3599. weld2.C0 = CFrame.new(-1.5,0,0)
  3600. if finishnum == 1 then
  3601. for i = 0,1,0.05 do
  3602. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  3603. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i)
  3604. wait(0.01)
  3605. end
  3606. end
  3607. weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0)
  3608. audio.SoundId = "rbxassetid://166083610"
  3609. audio.PlaybackSpeed = 1
  3610. audio.TimePosition = 0.1
  3611. audio:Play()
  3612. if finishnum == 1 then
  3613. for i = 0,1,0.5 do
  3614. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  3615. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i)
  3616. wait(0.001)
  3617. end
  3618. end
  3619. weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0)
  3620. local knofe = obj1:Clone()
  3621. for i,v in pairs(obj1:GetChildren()) do
  3622. if v:IsA('BasePart') then
  3623. v.Transparency = 1
  3624. end
  3625. end
  3626. knofe.Parent = workspace
  3627. knofe.Name = "Projectile"
  3628. knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
  3629. knofe:FindFirstChild("Trail", true).Enabled = false
  3630. local heck = Instance.new('BodyVelocity',knofe.Grab)
  3631. heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
  3632. local coru = coroutine.wrap(function()
  3633. wait(0.45)
  3634. if heck then
  3635. heck:Destroy()
  3636. end
  3637. end)
  3638. coru()
  3639. knofe["big ass knife"].Touched:connect(function(hit)
  3640. if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then
  3641. heck.Velocity = Vector3.new(0,0,0)
  3642. heck:Destroy()
  3643. for i,v in pairs(knofe:GetChildren()) do
  3644. if v:IsA('BasePart') then
  3645. v.CanCollide = true
  3646. end
  3647. end
  3648. local hum = hit.Parent:FindFirstChildOfClass('Humanoid')
  3649. if hum == nil then
  3650. hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid')
  3651. end
  3652. if hum then
  3653. tone = math.random(1, 3)
  3654. local sound = Instance.new('Sound',knofe.Grab)
  3655. if tone == 1 then sound.SoundId = "rbxassetid://220833967" end
  3656. if tone == 2 then sound.SoundId = "rbxassetid://220833976" end
  3657. if tone == 3 then sound.SoundId = "rbxassetid://220834000" end
  3658. sound.PlaybackSpeed = 1
  3659. sound:Play()
  3660. else
  3661. local sound = Instance.new('Sound',knofe.Grab)
  3662. sound.SoundId = 'rbxassetid://267585646'
  3663. sound:Play()
  3664. end
  3665. if knofe then
  3666. local coru = coroutine.wrap(function()
  3667. if hit then
  3668. local uno = Instance.new('Part',workspace)
  3669. local dos = Instance.new('Part',workspace)
  3670. uno.CFrame = hit.CFrame
  3671. dos.CFrame = knofe["big ass knife"].CFrame
  3672. local weld = Instance.new('Weld',knofe["big ass knife"])
  3673. weld.Part0 = hit
  3674. weld.Part1 = knofe["big ass knife"]
  3675. weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame)
  3676. uno:Destroy()
  3677. dos:Destroy()
  3678. end
  3679. end)
  3680. coru()
  3681. end
  3682. local coru = coroutine.wrap(function()
  3683. for i=1,15,0.7 do
  3684. local sound = Instance.new('Sound',knofe.Grab)
  3685. if knofe then
  3686. if knofe.serration.BrickColor == BrickColor.new('Really red') then
  3687. for i, v in pairs(knofe:GetChildren()) do
  3688. if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then
  3689. v.BrickColor = BrickColor.new('Lily white')
  3690. v.Material = Enum.Material.SmoothPlastic
  3691. end
  3692. end
  3693. else
  3694. for i,v in pairs(knofe:GetChildren()) do
  3695. if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then
  3696. v.BrickColor = BrickColor.new('Really red')
  3697. v.Material = Enum.Material.Neon
  3698. sound.SoundId = 'rbxassetid://300473653'
  3699. sound.Volume = 0.75
  3700. sound.TimePosition = 0.05
  3701. sound.EmitterSize = 25
  3702. sound.PlaybackSpeed = 1
  3703. sound:Play()
  3704. end
  3705. end
  3706. end
  3707. wait(1/i)
  3708. sound:Destroy()
  3709. end
  3710. end
  3711. local sound = Instance.new('Sound',knofe.Grab)
  3712. sound.Name = "BOOM"
  3713. sound.EmitterSize = 25
  3714. sound.SoundId = 'rbxassetid://12222084'
  3715. sound.TimePosition = 0.1
  3716. sound.Volume = 0.5
  3717. sound:Play()
  3718. local exppart = Instance.new("Part", game.Workspace)
  3719. exppart.Size = Vector3.new(0.2, 0.2, 0.2)
  3720. exppart.Anchored = true
  3721. exppart.CanCollide = false
  3722. exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p)
  3723. exppart.Transparency = 1
  3724. local expaccent = Instance.new("ParticleEmitter", exppart)
  3725. expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))})
  3726. expaccent.LightEmission = 0.2
  3727. expaccent.LightInfluence = 0.3
  3728. expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
  3729. expaccent.Acceleration = Vector3.new(0, -8, 0)
  3730. expaccent.Drag = 15
  3731. expaccent.LockedToPart = true
  3732. expaccent.Lifetime = NumberRange.new(0.5, 1.5)
  3733. expaccent.Rate = 2000
  3734. expaccent.Speed = NumberRange.new(10, 150)
  3735. expaccent.SpreadAngle = Vector2.new(360, 360)
  3736.  
  3737. local exp = Instance.new('Explosion',game.Workspace)
  3738. exp.Position = knofe["big ass knife"].Position
  3739. exp.ExplosionType = Enum.ExplosionType.NoCraters
  3740. exp.BlastRadius = 10
  3741. exp.BlastPressure = 100000
  3742. exp.DestroyJointRadiusPercent = 1
  3743. exp.Hit:connect(function(hit)
  3744. if hit.Parent and hit.Parent ~= me and hit.Parent:FindFirstChildOfClass('Humanoid') then
  3745. if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then
  3746. hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
  3747. end
  3748. wait(0.001)
  3749. local coru=coroutine.wrap(function()
  3750. killz(hit.Parent,'Head',knofe,exp)
  3751. end)
  3752. coru()
  3753. elseif hit.Parent and hit.Parent ~= workspace and hit.Parent ~= me then
  3754. if hit.Parent.Name ~= "Projectile" then
  3755. hit.Parent:BreakJoints()
  3756. end
  3757. elseif hit.Parent and hit.Parent ~= me then
  3758. hit:BreakJoints()
  3759. end
  3760. end)
  3761. local explosionaccenttimeout = coroutine.wrap(function()
  3762. wait(0.2)
  3763. expaccent.Enabled = false
  3764. wait(2)
  3765. exppart:Remove()
  3766. end)
  3767. explosionaccenttimeout()
  3768. for i,v in pairs(knofe:GetChildren()) do
  3769. if v:IsA('BasePart') then
  3770. v.Transparency = 1
  3771. end
  3772. end
  3773. exp.AncestryChanged:connect(function() knofe:Destroy() end)
  3774. end)
  3775. coru()
  3776. end
  3777. end)
  3778. if finishnum == 1 then
  3779. for i= 0,1,0.1 do
  3780. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
  3781. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  3782. wait(0.001)
  3783. end
  3784. else
  3785. wait(0.1)
  3786. end
  3787. weld2.C0 = CFrame.new(-1.5,0,0)
  3788. for i,v in pairs(obj1:GetChildren()) do
  3789. if v:IsA('BasePart') then
  3790. v.Transparency = 0
  3791. end
  3792. end
  3793. weld2:Destroy()
  3794. rightshoulderz:Clone().Parent = me.Torso
  3795. end
  3796. acting = false
  3797. canClick = true
  3798. end)
  3799. coru()
  3800. end
  3801.  
  3802. function release()
  3803. if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end
  3804. targetweld = grabbed.Torso.TargetWeld
  3805. local ree= grabbed:FindFirstChild("Left Arm")
  3806. targetweld2 = nil
  3807. if ree and ree:FindFirstChild("Weld") then
  3808. targetweld2 = ree.Weld
  3809. end
  3810. for i, v in pairs(grabbed:GetChildren()) do
  3811. if v.Name == "Part" then
  3812. v.CanCollide = true
  3813. end
  3814. end
  3815. paralyzed = false
  3816. local doit = coroutine.wrap(function()
  3817. local arm = me["Right Arm"]
  3818. local tors = grabbed.Torso
  3819. local arm2 = me["Left Arm"]
  3820. if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
  3821. doing = true
  3822. local weld2 = arm:FindFirstChildOfClass('Weld')
  3823. local weld3 = arm2:FindFirstChildOfClass('Weld')
  3824. local humanroot = me.HumanoidRootPart
  3825.  
  3826. if grabbed:FindFirstChildOfClass('Humanoid') then
  3827. grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false
  3828. end
  3829.  
  3830. rightshoulderz:Clone().Parent = me.Torso
  3831. leftshoulderz:Clone().Parent = me.Torso
  3832. if grabbed:FindFirstChildOfClass('Humanoid') then
  3833. grabbed:FindFirstChildOfClass('Humanoid').Name = "Humanoid"
  3834. grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 50
  3835. grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  3836. grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false
  3837. end
  3838. grabbed = nil
  3839.  
  3840. if humanroot:FindFirstChild('Holder') then
  3841. humanroot.Holder:Destroy()
  3842. end
  3843.  
  3844. for i = 0,1,0.1 do
  3845. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
  3846. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i)
  3847. weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i)
  3848. targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i)
  3849. if targetweld2 then
  3850. targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i)
  3851. end
  3852. wait(0.01)
  3853. end
  3854.  
  3855. knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0.2)
  3856. weld2:Destroy()
  3857. weld3:Destroy()
  3858. targetweld:Remove()
  3859. if targetweld2 then
  3860. targetweld2:Remove()
  3861. end
  3862. if rightshoulder then
  3863. rightshoulder:Clone().Parent = tors
  3864. end
  3865. if leftshoulder then
  3866. leftshoulder:Clone().Parent = tors
  3867. end
  3868. headweld:Clone().Parent = tors
  3869. rightshoulderz:Clone().Parent = me.Torso
  3870. leftshoulderz:Clone().Parent = me.Torso
  3871. acting = false
  3872. canClick = true
  3873. doing = false
  3874. end)
  3875. doit()
  3876. end
  3877.  
  3878. function stabwithpassion()
  3879. local doit = coroutine.wrap(function()
  3880. if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then
  3881. acting = true
  3882. me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 10
  3883. local arm = me["Right Arm"]
  3884. local tors = me.Torso
  3885. local arm2 = me["Left Arm"]
  3886. local humanroot = me.HumanoidRootPart
  3887. local weld = Instance.new('Weld',tors)
  3888. weld.Part0 = tors
  3889. weld.Part1 = humanroot
  3890. weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0)
  3891. local weld2 = Instance.new('Weld',arm)
  3892. weld2.Part0 = arm
  3893. weld2.Part1 = tors
  3894. weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
  3895. local weld3 = Instance.new('Weld',arm2)
  3896. weld3.Part0 = arm2
  3897. weld3.Part1 = tors
  3898. weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0)
  3899.  
  3900. for i = 0,1,0.15 do
  3901. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  3902. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(20),0),i)
  3903. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i)
  3904. knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(90), -1.55) * CFrame.new(0, 0.95, 0), i)
  3905. wait(0.01)
  3906. end
  3907. wait(0.001)
  3908. trail.Enabled = true
  3909. stabbing = true
  3910. audio2.SoundId = 'rbxassetid://608537390'
  3911. audio2:Play()
  3912. for i = 0,1,0.2 do
  3913. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  3914. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-45),0),i)
  3915. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,-1)*CFrame.Angles(math.rad(-90),0,-1),i)
  3916. wait(0.01)
  3917. end
  3918. trail.Enabled = false
  3919. wait(0.1)
  3920. me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 10
  3921. stabbing = false
  3922. wait(0.001)
  3923. for i = 0,1,0.075 do
  3924. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  3925. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i)
  3926. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i)
  3927. weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i)
  3928. knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i)
  3929. wait(0.01)
  3930. end
  3931. weld:Destroy()
  3932. weld2:Destroy()
  3933. weld3:Destroy()
  3934. torsojoint:Clone().Parent = humanroot
  3935. rightshoulderz:Clone().Parent = me.Torso
  3936. leftshoulderz:Clone().Parent = me.Torso
  3937. canClick = true
  3938. hit = false
  3939. acting = false
  3940. end
  3941. end)
  3942. doit()
  3943. end
  3944.  
  3945. function stab()
  3946. local doit = coroutine.wrap(function()
  3947. if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then
  3948. acting = true
  3949. me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3
  3950. local arm = me["Right Arm"]
  3951. local tors = me.Torso
  3952. local arm2 = me["Left Arm"]
  3953. local humanroot = me.HumanoidRootPart
  3954. local weld = Instance.new('Weld',tors)
  3955. weld.Part0 = tors
  3956. weld.Part1 = humanroot
  3957. weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0)
  3958. local weld2 = Instance.new('Weld',arm)
  3959. weld2.Part0 = arm
  3960. weld2.Part1 = tors
  3961. weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
  3962. local weld3 = Instance.new('Weld',arm2)
  3963. weld3.Part0 = arm2
  3964. weld3.Part1 = tors
  3965. weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0)
  3966.  
  3967. for i = 0,1,0.1 do
  3968. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  3969. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i)
  3970. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i)
  3971. wait(0.01)
  3972. end
  3973. wait(0.001)
  3974. trail.Enabled = true
  3975. stabbing = true
  3976. audio2.SoundId = 'rbxassetid://608537390'
  3977. audio2:Play()
  3978. for i = 0,1,0.25 do
  3979. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  3980. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,-0.3,0),i)
  3981. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,0.5)*CFrame.Angles(-0.5,0,-0.5),i)
  3982. wait(0.01)
  3983. end
  3984. trail.Enabled = false
  3985. wait(0.1)
  3986. me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3
  3987. for i = 0,1,0.25 do
  3988. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  3989. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i)
  3990. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.6,-0.3)*CFrame.Angles(0.5,0,-0.5),i)
  3991. wait(0.01)
  3992. end
  3993. stabbing = false
  3994. wait(0.001)
  3995. for i = 0,1,0.05 do
  3996. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
  3997. weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i)
  3998. weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i)
  3999. weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i)
  4000. wait(0.01)
  4001. end
  4002. weld:Destroy()
  4003. weld2:Destroy()
  4004. weld3:Destroy()
  4005. torsojoint:Clone().Parent = humanroot
  4006. rightshoulderz:Clone().Parent = me.Torso
  4007. leftshoulderz:Clone().Parent = me.Torso
  4008. canClick = true
  4009. hit = false
  4010. acting = false
  4011. end
  4012. end)
  4013. doit()
  4014. end
  4015. function hardrelease()
  4016. rightshoulderz:Clone().Parent = me.Torso
  4017. leftshoulderz:Clone().Parent = me.Torso
  4018. if me:FindFirstChild('Right Arm') then
  4019. for i,v in pairs(me["Right Arm"]:GetChildren()) do
  4020. if v:IsA('Weld') then
  4021. v:Destroy()
  4022. end
  4023. end
  4024. end
  4025. if me:FindFirstChild('Left Arm') then
  4026. for i,v in pairs(me["Left Arm"]:GetChildren()) do
  4027. if v:IsA('Weld') then
  4028. v:Destroy()
  4029. end
  4030. end
  4031. end
  4032. acting = false
  4033. canClick = true
  4034. doing = false
  4035. grabbed = nil
  4036. end
  4037. function unequip()
  4038. local doit = coroutine.wrap(function()
  4039. if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then
  4040. acting = true
  4041. local arm = me["Right Arm"]
  4042. local arm2 = me["Left Arm"]
  4043. local tors = me.Torso
  4044. local weld = Instance.new('Weld',arm)
  4045. weld.Part0 = arm
  4046. weld.Part1 = tors
  4047. weld.C0 = CFrame.new(-1.5,0,0)
  4048. local weld2 = Instance.new("Weld", arm2)
  4049. weld2.Part0 = arm2
  4050. weld2.Part1 = tors
  4051. weld2.C0 = CFrame.new(1.5, 0, 0)
  4052. wait(0.001)
  4053. trail.Enabled = true
  4054. for i = 0,1,0.1 do
  4055. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
  4056. weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i)
  4057. weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i)
  4058. wait(0.001)
  4059. end
  4060. trail.Enabled = false
  4061. wait(0.25)
  4062. for i = 0,1,0.1 do
  4063. if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
  4064. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i)
  4065. weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i)
  4066. wait(0.01)
  4067. end
  4068. weld:Destroy()
  4069. weld2:Remove()
  4070. if tors ~= nil then
  4071. rightshoulderz:Clone().Parent = me.Torso
  4072. leftshoulderz:Clone().Parent = me.Torso
  4073. end
  4074. acting = false
  4075. end
  4076. end)
  4077. doit()
  4078. end
  4079.  
  4080. mouse.KeyDown:connect(function(key)
  4081. if usable == true then
  4082. if key == "z" then
  4083. if active == false and acting == false then
  4084. active = true
  4085. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4086. notify("KNIFE EQUIPPED",false)
  4087. audio:Stop()
  4088. audio.SoundId = 'rbxassetid://608618332'
  4089. equip()
  4090. wait(0.6)
  4091. audio:Play()
  4092. knifeweld.Part0 = me["Right Arm"]
  4093. knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0)
  4094. elseif acting == false then
  4095. active = false
  4096. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4097. audio:Stop()
  4098. audio.SoundId = 'rbxassetid://608538233'
  4099. unequip()
  4100. notify("KNIFE UNEQUIPPED",false)
  4101. wait(0.3)
  4102. audio:Play()
  4103. knifeweld.Part0 = me.Torso
  4104. knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55)
  4105. canClick = true
  4106. end
  4107. elseif key == "f" then
  4108. if mode == 'kill' or active == false then return end
  4109. mode = "kill"
  4110. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4111. notify("MODE || KILL || [F]",false)
  4112. elseif key == "e" then
  4113. if mode == 'throw' or active == false then return end
  4114. mode = "throw"
  4115. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4116. notify("MODE || PUSH || [E]",false)
  4117. elseif key == "q" then
  4118. if mode == 'release' or active == false then return end
  4119. mode = "release"
  4120. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4121. notify("MODE || RELEASE || [Q]",false)
  4122. elseif key == "x" then
  4123. if mode == 'stab' or active == false or acting == true then return end
  4124. mode = "stab"
  4125. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4126. notify("MODE || STAB || [X]",false)
  4127. elseif key == "c" then
  4128. if mode == 'fling' or active == false or acting == true then return end
  4129. mode = "fling"
  4130. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4131. notify("MODE || THROW || [C]",false)
  4132. elseif key == "b" then
  4133. if mode == 'instasplode' or active == false or acting == true then return end
  4134. mode = "instasplode"
  4135. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4136. notify("MODE || MOLOTOV || [B]",false)
  4137. elseif key == "r" then
  4138. if mode == 'paralyze' or active == false then return end
  4139. mode = "paralyze"
  4140. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4141. notify("MODE || PARALYZE || [R]",false)
  4142. elseif key == "v" then
  4143. if mode == 'explode' or active == false or acting == true then return end
  4144. mode = "explode"
  4145. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4146. notify("MODE || EXPLODE || [V]",false)
  4147. elseif key == "k" then
  4148. if mode == 'suicide' or active == false or acting == true then return end
  4149. mode = "suicide"
  4150. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4151. notify("MODE || SUICIDE || [K]",false)
  4152. elseif key == "h" then
  4153. if mode == 'firework' or active == false or acting == true then return end
  4154. mode = "firework"
  4155. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4156. notify("MODE || FIREWORK || [H]",false)
  4157. elseif key == "g" then
  4158. if mode == 'finish' or active == false then return end
  4159. mode = "finish"
  4160. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4161. local welp = "ON"
  4162. if finishnum == 1 then
  4163. welp = "OFF"
  4164. end
  4165. notify("MODE || FINISH || [G] || "..welp,false)
  4166. elseif key == "n" then
  4167. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4168. if zombiemode == false then
  4169. notify("ZOMBIE MODE ON || [N]",false)
  4170. zombiemode = true
  4171. else
  4172. notify("ZOMBIE MODE OFF || [N]",false)
  4173. zombiemode = false
  4174. end
  4175. elseif key == "m" then
  4176. if finishnum == 1 then
  4177. finishnum = 15
  4178. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4179. notify("PSYCHOPATH MODE ON || [M]",false)
  4180. if cancolorfilter then
  4181. local Sp00kyGui = Instance.new("ScreenGui")
  4182. local ImageLabel = Instance.new("ImageLabel")
  4183.  
  4184. -- Properties
  4185.  
  4186. Sp00kyGui.Parent = playergui
  4187. Sp00kyGui.Name = "REEEEEEEE"
  4188.  
  4189. ImageLabel.Parent = Sp00kyGui
  4190. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  4191. ImageLabel.BackgroundTransparency = 1
  4192. ImageLabel.Size = UDim2.new(1, 0, 1, 0)
  4193. ImageLabel.Image = "rbxassetid://74443700"
  4194. ImageLabel.ImageColor3 = Color3.new(1, 0, 0)
  4195. end
  4196. if canbackgroundmusic == true then
  4197. local sound = Instance.new('Sound',playergui)
  4198. sound.Name = 'PSYCHOPAAAATH'
  4199. sound.SoundId = 'rbxassetid://220875210'
  4200. sound.Looped = true
  4201. sound.Volume = 0.5
  4202. sound:Play()
  4203. end
  4204. else
  4205. finishnum = 1
  4206. if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
  4207. notify("PSYCHOPATH MODE OFF || [M]",false)
  4208. for i,v in pairs(playergui:GetChildren()) do
  4209. if v.Name == "REEEEEEEE" then
  4210. v:Destroy()
  4211. end
  4212. end
  4213. local thisniggarighthere = playergui:FindFirstChild('PSYCHOPAAAATH')
  4214. if thisniggarighthere then thisniggarighthere:Destroy() end
  4215. end
  4216. end
  4217. end
  4218. end)
  4219.  
  4220. mouse.Button1Down:connect(function()
  4221. if active == false or usable == false then return end
  4222. if canClick == true and acting == false then
  4223. if mode == "stab" and finishnum == 1 then
  4224. canClick = false
  4225. stab()
  4226. elseif mode == "stab" and finishnum == 15 then
  4227. canClick = false
  4228. stabwithpassion()
  4229. elseif mode == "fling" then
  4230. canClick = false
  4231. fling()
  4232. elseif mode == "explode" then
  4233. canClick = false
  4234. explode()
  4235. elseif mode == "instasplode" then
  4236. canClick = false
  4237. instasplode()
  4238. elseif mode == "finish" then
  4239. canClick = false
  4240. finish()
  4241. elseif mode == "suicide" then
  4242. canClick = false
  4243. kysnigga()
  4244. elseif mode == "firework" then
  4245. canClick = false
  4246. fireworkit()
  4247. else
  4248. canClick = false
  4249. grab()
  4250. end
  4251. else
  4252. if grabbed ~= nil and doing == false then
  4253. if mode == "release" then
  4254. if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
  4255. release()
  4256. else
  4257. hardrelease()
  4258. end
  4259. elseif mode == "kill" then
  4260. if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
  4261. kill()
  4262. else
  4263. hardrelease()
  4264. end
  4265. elseif mode == "paralyze" then
  4266. if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
  4267. paralyze()
  4268. else
  4269. hardrelease()
  4270. end
  4271. elseif mode == "throw" then
  4272. if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
  4273. throw()
  4274. else
  4275. hardrelease()
  4276. end
  4277. elseif mode == "explode" then
  4278. if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
  4279. throw()
  4280. else
  4281. hardrelease()
  4282. end
  4283. end
  4284. end
  4285. end
  4286. end)
  4287.  
  4288. knife.Touched:connect(function(hitz)
  4289. if hitz.Parent and hitz.Parent:FindFirstChildOfClass("Humanoid") and hitz.Parent:FindFirstChild('Torso') and acting == true then
  4290. if mode == "stab" and stabbing == true and hit == false then
  4291. hit = true
  4292. tone = math.random(1, 3)
  4293. audio:Stop()
  4294. if tone == 1 then audio.SoundId = "rbxassetid://220833967" end
  4295. if tone == 2 then audio.SoundId = "rbxassetid://220833976" end
  4296. if tone == 3 then audio.SoundId = "rbxassetid://220834000" end
  4297. audio.PlaybackSpeed = 1
  4298. audio:Play()
  4299. killz(hitz.Parent,'Left Leg')
  4300. killz(hitz.Parent,'Left Arm')
  4301. killz(hitz.Parent,'Right Leg')
  4302. killz(hitz.Parent,'Right Arm')
  4303. elseif mode == "finish" and finishing == true then
  4304. print('PSYCHOPATH MODE REEEEEEEEEEEEEEEE')
  4305. tone = math.random(1, 3)
  4306. audio:Stop()
  4307. if tone == 1 then audio.SoundId = "rbxassetid://220833967" end
  4308. if tone == 2 then audio.SoundId = "rbxassetid://220833976" end
  4309. if tone == 3 then audio.SoundId = "rbxassetid://220834000" end
  4310. audio.PlaybackSpeed = 1
  4311. audio:Play()
  4312. if hit == false then
  4313. hitz.Parent:FindFirstChildOfClass('Humanoid').Health = 0
  4314. wait()
  4315. killz(hitz.Parent,'Head',nil,false,true)
  4316. end
  4317. hit = true
  4318. elseif grabbed == nil and grabbing == true and hit == false then
  4319. if hitz.Parent:FindFirstChildOfClass("Humanoid").Health > 0 and hitz.Parent:FindFirstChild('Torso') and hitz.Parent.Torso:FindFirstChild('Neck') then
  4320. grabbed = hitz.Parent
  4321. local weldz = Instance.new('Weld',point)
  4322. weldz.Name = "Holder"
  4323. weldz.Part0 = point
  4324. weldz.Part1 = hitz.Parent.Torso
  4325. weldz.C0 = CFrame.new(0,0,-1.2)
  4326. end
  4327. end
  4328. end
  4329. end)
  4330.  
  4331. player.CharacterAdded:connect(function()
  4332. usable = false
  4333. for i,v in pairs(playergui:GetChildren()) do
  4334. if v.Name == "REEEEEEEE" or v.Name == 'PSYCHOPAAAATH' then
  4335. v:Destroy()
  4336. end
  4337. end
  4338. end)
  4339. while usable do
  4340. local coru = coroutine.wrap(function()
  4341. for i,v in pairs(knifeparts) do
  4342. local function try()
  4343. if v[1].Parent ~= v[2] then
  4344. v[1].Parent = v[2]
  4345. end
  4346. end
  4347. pcall(try)
  4348. end
  4349. if grabbed ~= nil then
  4350. if grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
  4351. for i,v in pairs(grabbed:GetChildren()) do
  4352. if v:IsA('Tool') then
  4353. local model = Instance.new('Model',workspace)
  4354. v.Parent = model
  4355. model:TranslateBy(Vector3.new(3,0,0))
  4356. end
  4357. end
  4358. grabbed:FindFirstChildOfClass('Humanoid').Name = "Hoomanoid"
  4359. grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 0
  4360. grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 0
  4361. grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
  4362. grabweld = grabbed.Torso:FindFirstChild("TargetWeld")
  4363. if grabweld ~= nil then return end
  4364. grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
  4365. if grabbed.Torso:FindFirstChild('Left Shoulder') then
  4366. leftshoulder = grabbed.Torso["Left Shoulder"]:Clone()
  4367. end
  4368. if grabbed.Torso:FindFirstChild('Right Shoulder') then
  4369. rightshoulder = grabbed.Torso["Right Shoulder"]:Clone()
  4370. end
  4371. headweld = grabbed.Torso["Neck"]:Clone()
  4372. local targetweld = Instance.new('Weld',grabbed.Torso)
  4373. targetweld.Part0 = grabbed.Torso
  4374. targetweld.Part1 = grabbed.Head
  4375. targetweld.Name = "TargetWeld"
  4376. targetweld.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(0, 0, 0)
  4377. if grabbed:FindFirstChild('Left Arm') then
  4378. local targetweld2 = Instance.new('Weld',grabbed["Left Arm"])
  4379. targetweld2.Part0 = grabbed.Torso
  4380. targetweld2.Part1 = grabbed["Left Arm"]
  4381. targetweld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0)
  4382. end
  4383.  
  4384. for i = 0,1,0.1 do
  4385. if me:FindFirstChild("Left Arm") == nil or me:FindFirstChild("Torso") == nil or targetweld == nil then return end
  4386. targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0.25, 0, 0), i)
  4387. if targetweld2 then
  4388. targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0.5, 0)*CFrame.Angles(0, 0, -0.55), i)
  4389. end
  4390. wait(0.001)
  4391. end
  4392. end
  4393. end
  4394. end)
  4395. coru()
  4396. wait()
  4397. end
  4398.  
  4399. end
  4400. local coru=coroutine.wrap(function()
  4401. nub()
  4402. end)
  4403. coru()
  4404.  
  4405. player.CharacterAppearanceLoaded:connect(function()
  4406. local coru =coroutine.wrap(function()
  4407. nub()
  4408. end)
  4409. coru()
  4410. end)
  4411.  
  4412. while true do
  4413. local coru=coroutine.wrap(function()
  4414. if grabbed then
  4415. v:FindFirstChildOfClass('Humanoid').Jump = false
  4416. v:FindFirstChildOfClass('Humanoid').Sit = false
  4417. v:FindFirstChildOfClass('Humanoid').JumpPower = 0
  4418. v:FindFirstChildOfClass('Humanoid').PlatformStand = true
  4419. v:FindFirstChildOfClass('Humanoid').Name = "No escape."
  4420. end
  4421. for i,v in pairs(rekt) do
  4422. if v and v:FindFirstChildOfClass('Humanoid') then
  4423. for a,c in pairs(v:GetChildren()) do
  4424. if c:IsA('Tool') then
  4425. local model = Instance.new('Model',workspace)
  4426. c.Parent = model
  4427. model:TranslateBy(Vector3.new(3,0,0))
  4428. end
  4429. end
  4430. v:FindFirstChildOfClass('Humanoid').Jump = false
  4431. v:FindFirstChildOfClass('Humanoid').Sit = false
  4432. v:FindFirstChildOfClass('Humanoid').JumpPower = 0
  4433. v:FindFirstChildOfClass('Humanoid').PlatformStand = true
  4434. v:FindFirstChildOfClass('Humanoid').Name = "No escape."
  4435. local thing = getplr(v)
  4436. if thing then
  4437. thing.CameraMinZoomDistance = 3
  4438. end
  4439. else
  4440. local thing = getplr(v)
  4441. if thing then
  4442. thing.CameraMinZoomDistance = 0.5
  4443. end
  4444. table.remove(rekt,i)
  4445. end
  4446. end
  4447. end)
  4448. coru()
  4449. local coru2 = coroutine.wrap(function()
  4450. if curpart then
  4451. curpoint = curpart.CFrame.p
  4452. end
  4453. if lastgui then
  4454. lastgui:Destroy()
  4455. lastgui = nil
  4456. end
  4457. if curpoint then
  4458. lastgui = Instance.new('BillboardGui',player.PlayerGui)
  4459. lastgui.AlwaysOnTop = true
  4460. lastgui.MaxDistance = 0
  4461. lastgui.Size = UDim2.new(5,0,5,0)
  4462. if curpart == nil then
  4463. lastgui.Adornee = workspace
  4464. lastgui.StudsOffsetWorldSpace = curpoint
  4465. else
  4466. lastgui.Adornee = curpart
  4467. end
  4468. local cross = Instance.new('ImageLabel',lastgui)
  4469. cross.BackgroundTransparency = 1
  4470. cross.Size = UDim2.new(1,0,1,0)
  4471. cross.Image = 'rbxassetid://316279304'
  4472. for i,v in pairs(zombies) do
  4473. if v:FindFirstChildOfClass('Humanoid') then
  4474. v:FindFirstChildOfClass('Humanoid').WalkToPoint = curpoint
  4475. end
  4476. end
  4477. else
  4478. for i,v in pairs(zombies) do
  4479. if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Head') then
  4480. v:FindFirstChildOfClass('Humanoid').WalkToPoint = v.Head.Position
  4481. end
  4482. end
  4483. end
  4484. end)
  4485. coru2()
  4486. wait()
  4487. end
  4488.  
  4489. --//====================================================\\--
  4490. --|| CREATED BY SHACKLUSTER
  4491. --\\====================================================//--
  4492.  
  4493.  
  4494.  
  4495. wait(0.2)
  4496.  
  4497.  
  4498.  
  4499. Player = game:GetService("Players").LocalPlayer
  4500. PlayerGui = Player.PlayerGui
  4501. Cam = workspace.CurrentCamera
  4502. Backpack = Player.Backpack
  4503. Character = Player.Character
  4504. Humanoid = Character.Humanoid
  4505. Mouse = Player:GetMouse()
  4506. RootPart = Character["HumanoidRootPart"]
  4507. Torso = Character["Torso"]
  4508. Head = Character["Head"]
  4509. RightArm = Character["Right Arm"]
  4510. LeftArm = Character["Left Arm"]
  4511. RightLeg = Character["Right Leg"]
  4512. LeftLeg = Character["Left Leg"]
  4513. RootJoint = RootPart["RootJoint"]
  4514. Neck = Torso["Neck"]
  4515. RightShoulder = Torso["Right Shoulder"]
  4516. LeftShoulder = Torso["Left Shoulder"]
  4517. RightHip = Torso["Right Hip"]
  4518. LeftHip = Torso["Left Hip"]
  4519.  
  4520. IT = Instance.new
  4521. CF = CFrame.new
  4522. VT = Vector3.new
  4523. RAD = math.rad
  4524. C3 = Color3.new
  4525. UD2 = UDim2.new
  4526. BRICKC = BrickColor.new
  4527. ANGLES = CFrame.Angles
  4528. EULER = CFrame.fromEulerAnglesXYZ
  4529. COS = math.cos
  4530. ACOS = math.acos
  4531. SIN = math.sin
  4532. ASIN = math.asin
  4533. ABS = math.abs
  4534. MRANDOM = math.random
  4535. FLOOR = math.floor
  4536.  
  4537. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  4538. local NEWMESH = IT(MESH)
  4539. if MESH == "SpecialMesh" then
  4540. NEWMESH.MeshType = MESHTYPE
  4541. if MESHID ~= "nil" and MESHID ~= "" then
  4542. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  4543. end
  4544. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  4545. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  4546. end
  4547. end
  4548. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  4549. NEWMESH.Scale = SCALE
  4550. NEWMESH.Parent = PARENT
  4551. return NEWMESH
  4552. end
  4553.  
  4554. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  4555. local NEWPART = IT("Part")
  4556. NEWPART.formFactor = FORMFACTOR
  4557. NEWPART.Reflectance = REFLECTANCE
  4558. NEWPART.Transparency = TRANSPARENCY
  4559. NEWPART.CanCollide = false
  4560. NEWPART.Locked = true
  4561. NEWPART.Anchored = true
  4562. if ANCHOR == false then
  4563. NEWPART.Anchored = false
  4564. end
  4565. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  4566. NEWPART.Name = NAME
  4567. NEWPART.Size = SIZE
  4568. NEWPART.Position = Torso.Position
  4569. NEWPART.Material = MATERIAL
  4570. NEWPART:BreakJoints()
  4571. NEWPART.Parent = PARENT
  4572. return NEWPART
  4573. end
  4574.  
  4575. --//=================================\\
  4576. --|| CUSTOMIZATION
  4577. --\\=================================//
  4578.  
  4579. Class_Name = "Immortal curse"
  4580. Weapon_Name = "Add-ons"
  4581.  
  4582. Custom_Colors = {
  4583. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  4584. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  4585.  
  4586. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  4587. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  4588. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  4589. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  4590. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  4591.  
  4592. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  4593. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  4594. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  4595. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  4596. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  4597. }
  4598.  
  4599.  
  4600. Player_Size = 1 --Size of the player.
  4601. Animation_Speed = 3
  4602. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  4603.  
  4604. local Speed = 16
  4605. local Effects2 = {}
  4606.  
  4607. --//=================================\\
  4608. --|| END OF CUSTOMIZATION
  4609. --\\=================================//
  4610.  
  4611. local function weldBetween(a, b)
  4612. local weldd = Instance.new("ManualWeld")
  4613. weldd.Part0 = a
  4614. weldd.Part1 = b
  4615. weldd.C0 = CFrame.new()
  4616. weldd.C1 = b.CFrame:inverse() * a.CFrame
  4617. weldd.Parent = a
  4618. return weldd
  4619. end
  4620.  
  4621. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  4622. local acs = Instance.new("Part")
  4623. acs.CanCollide = false
  4624. acs.Anchored = false
  4625. acs.Size = Vector3.new(0,0,0)
  4626. acs.CFrame = attachmentpart.CFrame
  4627. acs.Parent = Character
  4628. acs.BrickColor = color
  4629. local meshs = Instance.new("SpecialMesh")
  4630. meshs.MeshId = mesh
  4631. meshs.TextureId = texture
  4632. meshs.Parent = acs
  4633. meshs.Scale = scale
  4634. meshs.Offset = offset
  4635. weldBetween(attachmentpart,acs)
  4636. end
  4637.  
  4638. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  4639. if TYPE == "Gem" then
  4640. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  4641. acs.Anchored = false
  4642. acs.CanCollide = false
  4643. acs.CFrame = PART.CFrame
  4644. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  4645. weldBetween(PART,acs)
  4646. elseif TYPE == "Skull" then
  4647. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  4648. acs.Anchored = false
  4649. acs.CanCollide = false
  4650. acs.CFrame = PART.CFrame
  4651. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  4652. weldBetween(PART,acs)
  4653. elseif TYPE == "Eye" then
  4654. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  4655. acs.Anchored = false
  4656. acs.CanCollide = false
  4657. acs.CFrame = PART.CFrame
  4658. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  4659. weldBetween(PART,acs)
  4660. end
  4661. end
  4662.  
  4663. --//=================================\\
  4664. --|| USEFUL VALUES
  4665. --\\=================================//
  4666.  
  4667. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  4668. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  4669. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  4670. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  4671. local CHANGEDEFENSE = 0
  4672. local CHANGEDAMAGE = 0
  4673. local CHANGEMOVEMENT = 0
  4674. local ANIM = "Idle"
  4675. local ATTACK = false
  4676. local EQUIPPED = false
  4677. local HOLD = false
  4678. local COMBO = 1
  4679. local Rooted = false
  4680. local SINE = 0
  4681. local KEYHOLD = false
  4682. local CHANGE = 2 / Animation_Speed
  4683. local WALKINGANIM = false
  4684. local WALK = 0
  4685. local VALUE1 = false
  4686. local VALUE2 = false
  4687. local ROBLOXIDLEANIMATION = IT("Animation")
  4688. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  4689. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  4690. --ROBLOXIDLEANIMATION.Parent = Humanoid
  4691. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  4692. WEAPONGUI.Name = "Weapon GUI"
  4693. local Weapon = IT("Model")
  4694. Weapon.Name = Weapon_Name
  4695. local Effects = IT("Folder", Weapon)
  4696. Effects.Name = "Effects"
  4697. local ANIMATOR = Humanoid.Animator
  4698. local ANIMATE = Character.Animate
  4699. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  4700. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  4701. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  4702. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  4703. local UNANCHOR = true
  4704.  
  4705. local SKILLTEXTCOLOR = C3(0,0,0)
  4706.  
  4707. --//=================================\\
  4708. --\\=================================//
  4709.  
  4710.  
  4711. --//=================================\\
  4712. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  4713. --\\=================================//
  4714.  
  4715. ArtificialHB = Instance.new("BindableEvent", script)
  4716. ArtificialHB.Name = "ArtificialHB"
  4717.  
  4718. script:WaitForChild("ArtificialHB")
  4719.  
  4720. frame = Frame_Speed
  4721. tf = 0
  4722. allowframeloss = false
  4723. tossremainder = false
  4724. lastframe = tick()
  4725. script.ArtificialHB:Fire()
  4726.  
  4727. game:GetService("RunService").Heartbeat:connect(function(s, p)
  4728. tf = tf + s
  4729. if tf >= frame then
  4730. if allowframeloss then
  4731. script.ArtificialHB:Fire()
  4732. lastframe = tick()
  4733. else
  4734. for i = 1, math.floor(tf / frame) do
  4735. script.ArtificialHB:Fire()
  4736. end
  4737. lastframe = tick()
  4738. end
  4739. if tossremainder then
  4740. tf = 0
  4741. else
  4742. tf = tf - frame * math.floor(tf / frame)
  4743. end
  4744. end
  4745. end)
  4746.  
  4747. --//=================================\\
  4748. --\\=================================//
  4749.  
  4750.  
  4751.  
  4752.  
  4753.  
  4754. --//=================================\\
  4755. --|| SOME FUNCTIONS
  4756. --\\=================================//
  4757.  
  4758. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  4759. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  4760. end
  4761.  
  4762. function PositiveAngle(NUMBER)
  4763. if NUMBER >= 0 then
  4764. NUMBER = 0
  4765. end
  4766. return NUMBER
  4767. end
  4768.  
  4769. function NegativeAngle(NUMBER)
  4770. if NUMBER <= 0 then
  4771. NUMBER = 0
  4772. end
  4773. return NUMBER
  4774. end
  4775.  
  4776. function Swait(NUMBER)
  4777. if NUMBER == 0 or NUMBER == nil then
  4778. ArtificialHB.Event:wait()
  4779. else
  4780. for i = 1, NUMBER do
  4781. ArtificialHB.Event:wait()
  4782. end
  4783. end
  4784. end
  4785.  
  4786. function QuaternionFromCFrame(cf)
  4787. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  4788. local trace = m00 + m11 + m22
  4789. if trace > 0 then
  4790. local s = math.sqrt(1 + trace)
  4791. local recip = 0.5 / s
  4792. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  4793. else
  4794. local i = 0
  4795. if m11 > m00 then
  4796. i = 1
  4797. end
  4798. if m22 > (i == 0 and m00 or m11) then
  4799. i = 2
  4800. end
  4801. if i == 0 then
  4802. local s = math.sqrt(m00 - m11 - m22 + 1)
  4803. local recip = 0.5 / s
  4804. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  4805. elseif i == 1 then
  4806. local s = math.sqrt(m11 - m22 - m00 + 1)
  4807. local recip = 0.5 / s
  4808. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  4809. elseif i == 2 then
  4810. local s = math.sqrt(m22 - m00 - m11 + 1)
  4811. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  4812. end
  4813. end
  4814. end
  4815.  
  4816. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  4817. local xs, ys, zs = x + x, y + y, z + z
  4818. local wx, wy, wz = w * xs, w * ys, w * zs
  4819. local xx = x * xs
  4820. local xy = x * ys
  4821. local xz = x * zs
  4822. local yy = y * ys
  4823. local yz = y * zs
  4824. local zz = z * zs
  4825. 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))
  4826. end
  4827.  
  4828. function QuaternionSlerp(a, b, t)
  4829. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  4830. local startInterp, finishInterp;
  4831. if cosTheta >= 0.0001 then
  4832. if (1 - cosTheta) > 0.0001 then
  4833. local theta = ACOS(cosTheta)
  4834. local invSinTheta = 1 / SIN(theta)
  4835. startInterp = SIN((1 - t) * theta) * invSinTheta
  4836. finishInterp = SIN(t * theta) * invSinTheta
  4837. else
  4838. startInterp = 1 - t
  4839. finishInterp = t
  4840. end
  4841. else
  4842. if (1 + cosTheta) > 0.0001 then
  4843. local theta = ACOS(-cosTheta)
  4844. local invSinTheta = 1 / SIN(theta)
  4845. startInterp = SIN((t - 1) * theta) * invSinTheta
  4846. finishInterp = SIN(t * theta) * invSinTheta
  4847. else
  4848. startInterp = t - 1
  4849. finishInterp = t
  4850. end
  4851. end
  4852. 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
  4853. end
  4854.  
  4855. function Clerp(a, b, t)
  4856. local qa = {QuaternionFromCFrame(a)}
  4857. local qb = {QuaternionFromCFrame(b)}
  4858. local ax, ay, az = a.x, a.y, a.z
  4859. local bx, by, bz = b.x, b.y, b.z
  4860. local _t = 1 - t
  4861. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  4862. end
  4863.  
  4864. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  4865. local frame = IT("Frame")
  4866. frame.BackgroundTransparency = TRANSPARENCY
  4867. frame.BorderSizePixel = BORDERSIZEPIXEL
  4868. frame.Position = POSITION
  4869. frame.Size = SIZE
  4870. frame.BackgroundColor3 = COLOR
  4871. frame.BorderColor3 = BORDERCOLOR
  4872. frame.Name = NAME
  4873. frame.Parent = PARENT
  4874. return frame
  4875. end
  4876.  
  4877. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  4878. local label = IT("TextLabel")
  4879. label.BackgroundTransparency = 1
  4880. label.Size = UD2(1, 0, 1, 0)
  4881. label.Position = UD2(0, 0, 0, 0)
  4882. label.TextColor3 = TEXTCOLOR
  4883. label.TextStrokeTransparency = STROKETRANSPARENCY
  4884. label.TextTransparency = TRANSPARENCY
  4885. label.FontSize = TEXTFONTSIZE
  4886. label.Font = TEXTFONT
  4887. label.BorderSizePixel = BORDERSIZEPIXEL
  4888. label.TextScaled = false
  4889. label.Text = TEXT
  4890. label.Name = NAME
  4891. label.Parent = PARENT
  4892. return label
  4893. end
  4894.  
  4895. function NoOutlines(PART)
  4896. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  4897. end
  4898.  
  4899.  
  4900. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  4901. local NEWWELD = IT(TYPE)
  4902. NEWWELD.Part0 = PART0
  4903. NEWWELD.Part1 = PART1
  4904. NEWWELD.C0 = C0
  4905. NEWWELD.C1 = C1
  4906. NEWWELD.Parent = PARENT
  4907. return NEWWELD
  4908. end
  4909.  
  4910. function CreateSound(ID, PARENT, VOLUME, PITCH)
  4911. local NEWSOUND = nil
  4912. coroutine.resume(coroutine.create(function()
  4913. NEWSOUND = IT("Sound", PARENT)
  4914. NEWSOUND.Volume = VOLUME
  4915. NEWSOUND.Pitch = PITCH
  4916. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  4917. Swait()
  4918. NEWSOUND:play()
  4919. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  4920. end))
  4921. return NEWSOUND
  4922. end
  4923.  
  4924. function CFrameFromTopBack(at, top, back)
  4925. local right = top:Cross(back)
  4926. 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)
  4927. end
  4928.  
  4929. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  4930. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  4931. local mesh = IT("SpecialMesh",wave)
  4932. mesh.MeshType = "FileMesh"
  4933. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4934. mesh.Scale = VT(size,size,size)
  4935. mesh.Offset = VT(0,0,-size/8)
  4936. wave.CFrame = cframe
  4937. coroutine.resume(coroutine.create(function(PART)
  4938. for i = 1, waitt do
  4939. Swait()
  4940. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  4941. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  4942. if doesrotate == true then
  4943. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  4944. end
  4945. wave.Transparency = wave.Transparency + (0.5/waitt)
  4946. if wave.Transparency > 0.99 then
  4947. wave:remove()
  4948. end
  4949. end
  4950. end))
  4951. end
  4952.  
  4953. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  4954. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  4955. local mesh = IT("SpecialMesh",wave)
  4956. mesh.MeshType = "FileMesh"
  4957. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4958. mesh.Scale = VT(size,size,size)
  4959. wave.CFrame = cframe
  4960. coroutine.resume(coroutine.create(function(PART)
  4961. for i = 1, waitt do
  4962. Swait()
  4963. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  4964. if doesrotate == true then
  4965. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  4966. end
  4967. wave.Transparency = wave.Transparency + (0.5/waitt)
  4968. if wave.Transparency > 0.99 then
  4969. wave:remove()
  4970. end
  4971. end
  4972. end))
  4973. end
  4974.  
  4975. function MakeForm(PART,TYPE)
  4976. if TYPE == "Cyl" then
  4977. local MSH = IT("CylinderMesh",PART)
  4978. elseif TYPE == "Ball" then
  4979. local MSH = IT("SpecialMesh",PART)
  4980. MSH.MeshType = "Sphere"
  4981. elseif TYPE == "Wedge" then
  4982. local MSH = IT("SpecialMesh",PART)
  4983. MSH.MeshType = "Wedge"
  4984. end
  4985. end
  4986.  
  4987. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  4988. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  4989. local mesh = IT("SpecialMesh",wave)
  4990. mesh.MeshType = "FileMesh"
  4991. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  4992. mesh.Scale = VT(size,size,size)
  4993. wave.CFrame = cframe
  4994. coroutine.resume(coroutine.create(function(PART)
  4995. for i = 1, waitt do
  4996. Swait()
  4997. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  4998. if doesrotate == true then
  4999. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  5000. end
  5001. wave.Transparency = wave.Transparency + (0.5/waitt)
  5002. if wave.Transparency > 0.99 then
  5003. wave:remove()
  5004. end
  5005. end
  5006. end))
  5007. end
  5008.  
  5009. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,spin1,spin2,color)
  5010. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  5011. local mesh = IT("SpecialMesh",wave)
  5012. mesh.MeshType = "FileMesh"
  5013. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5014. mesh.Scale = VT(size,size,size)
  5015. mesh.Offset = VT(0,0,0)
  5016. wave.CFrame = cframe
  5017. coroutine.resume(coroutine.create(function(PART)
  5018. for i = 1, waitt do
  5019. Swait()
  5020. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  5021. if doesrotate == true then
  5022. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  5023. end
  5024. wave.Transparency = wave.Transparency + (0.5/waitt)
  5025. if wave.Transparency > 0.99 then
  5026. wave:remove()
  5027. end
  5028. end
  5029. end))
  5030. end
  5031.  
  5032. function MagicSphere(size,waitt,cframe,color)
  5033. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1), true)
  5034. local mesh = IT("SpecialMesh",wave)
  5035. mesh.MeshType = "Sphere"
  5036. mesh.Scale = VT(size,size,size)
  5037. mesh.Offset = VT(0,0,0)
  5038. wave.CFrame = cframe
  5039. coroutine.resume(coroutine.create(function(PART)
  5040. for i = 1, waitt do
  5041. Swait()
  5042. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  5043. wave.Transparency = wave.Transparency + (1/waitt)
  5044. if wave.Transparency > 0.99 then
  5045. wave:remove()
  5046. end
  5047. end
  5048. end))
  5049. end
  5050.  
  5051. function MagicSphere2(size,waitt,cframe,color)
  5052. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1), true)
  5053. local mesh = IT("SpecialMesh",wave)
  5054. mesh.MeshType = "Sphere"
  5055. mesh.Scale = VT(size,size,size)
  5056. mesh.Offset = VT(0,0,0)
  5057. wave.CFrame = cframe
  5058. coroutine.resume(coroutine.create(function(PART)
  5059. for i = 1, waitt do
  5060. Swait()
  5061. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  5062. wave.Transparency = wave.Transparency - (1/waitt)
  5063. end
  5064. wave:remove()
  5065. end))
  5066. end
  5067.  
  5068. function MagicBlock(size,waitt,cframe,color)
  5069. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size), true)
  5070. local mesh = IT("BlockMesh",wave)
  5071. wave.CFrame = cframe
  5072. coroutine.resume(coroutine.create(function(PART)
  5073. for i = 1, waitt do
  5074. Swait()
  5075. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  5076. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  5077. wave.Transparency = wave.Transparency + (1/waitt)
  5078. if wave.Transparency > 0.99 then
  5079. wave:remove()
  5080. end
  5081. end
  5082. end))
  5083. end
  5084.  
  5085. function MagicBlock2(size,waitt,cframe,color)
  5086. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(size,size,size), true)
  5087. local mesh = IT("BlockMesh",wave)
  5088. wave.CFrame = cframe
  5089. coroutine.resume(coroutine.create(function(PART)
  5090. for i = 1, waitt do
  5091. Swait()
  5092. mesh.Scale = mesh.Scale - VT(1/waitt,1/waitt,1/waitt)
  5093. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  5094. wave.Transparency = wave.Transparency - (1/waitt)
  5095. end
  5096. wave:Destroy()
  5097. end))
  5098. end
  5099.  
  5100. function MagicBlock(size,waitt,cframe,color)
  5101. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  5102. local mesh = IT("BlockMesh",wave)
  5103. wave.CFrame = cframe
  5104. coroutine.resume(coroutine.create(function(PART)
  5105. for i = 1, waitt do
  5106. Swait()
  5107. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  5108. wave.CFrame = CF(wave.Position) * ANGLES(RAD(math(-360,360)),RAD(math(-360,360)),RAD(math(-360,360)))
  5109. wave.Transparency = wave.Transparency + (1/waitt)
  5110. if wave.Transparency > 0.99 then
  5111. wave:remove()
  5112. end
  5113. end
  5114. end))
  5115. end
  5116.  
  5117. function CheckTableForString(Table, String)
  5118. for i, v in pairs(Table) do
  5119. if string.find(string.lower(String), string.lower(v)) then
  5120. return true
  5121. end
  5122. end
  5123. return false
  5124. end
  5125.  
  5126. function CheckIntangible(Hit)
  5127. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  5128. if Hit and Hit.Parent then
  5129. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  5130. return true
  5131. end
  5132. end
  5133. return false
  5134. end
  5135.  
  5136. Debris = game:GetService("Debris")
  5137.  
  5138. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  5139. local Direction = CFrame.new(StartPos, Vec).lookVector
  5140. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  5141. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  5142. if RayHit and CheckIntangible(RayHit) then
  5143. if DelayIfHit then
  5144. wait()
  5145. end
  5146. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  5147. end
  5148. return RayHit, RayPos, RayNormal
  5149. end
  5150.  
  5151. function turnto(position)
  5152. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  5153. end
  5154.  
  5155. --//=================================\\
  5156. --|| WEAPON CREATION
  5157. --\\=================================//
  5158.  
  5159. for _, c in pairs(Weapon:GetChildren()) do
  5160. if c.ClassName == "Part" then
  5161. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  5162. end
  5163. end
  5164.  
  5165. Weapon.Parent = Character
  5166.  
  5167. Humanoid.Died:connect(function()
  5168. ATTACK = true
  5169. end)
  5170.  
  5171. print(Class_Name.." loaded.")
  5172.  
  5173. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  5174. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[X] Toggle [ON]", SKILLTEXTCOLOR, 8, "SciFi", 0, 2, 1, "Text 1")
  5175.  
  5176. --//=================================\\
  5177. --|| DAMAGE FUNCTIONS
  5178. --\\=================================//
  5179.  
  5180. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  5181. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  5182. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  5183. local BODYGYRO = IT("BodyGyro", STATPART)
  5184. local BODYPOSITION = IT("BodyPosition", STATPART)
  5185. BODYPOSITION.P = 2000
  5186. BODYPOSITION.D = 100
  5187. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  5188. if LABELTYPE == "Normal" then
  5189. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  5190. elseif LABELTYPE == "Debuff" then
  5191. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  5192. elseif LABELTYPE == "Interruption" then
  5193. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  5194. end
  5195. game:GetService("Debris"):AddItem(STATPART ,5)
  5196. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  5197. BILLBOARDGUI.Adornee = STATPART
  5198. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  5199. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  5200. BILLBOARDGUI.AlwaysOnTop = false
  5201. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  5202. TEXTLABEL.BackgroundTransparency = 1
  5203. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  5204. TEXTLABEL.Text = TEXT
  5205. TEXTLABEL.Font = "SciFi"
  5206. TEXTLABEL.FontSize="Size42"
  5207. TEXTLABEL.TextColor3 = COLOR
  5208. TEXTLABEL.TextStrokeTransparency = 1
  5209. TEXTLABEL.TextScaled = true
  5210. TEXTLABEL.TextWrapped = true
  5211. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  5212. wait(0.2)
  5213. for i=1, 5 do
  5214. wait()
  5215. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  5216. end
  5217. wait(1.2)
  5218. for i=1, 5 do
  5219. wait()
  5220. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  5221. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  5222. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  5223. end
  5224. THEPART.Parent = nil
  5225. end),STATPART, BODYPOSITION, TEXTLABEL)
  5226. end
  5227.  
  5228.  
  5229. --//=================================\\
  5230. --|| DAMAGING
  5231. --\\=================================//
  5232.  
  5233. function GoDeeper(object,position,range,maxstrength,hasdugdeep)
  5234. if object ~= Character and object~= Effects then
  5235. local body = object:GetChildren()
  5236. for part = 1, #body do
  5237. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") then
  5238. if (body[part].Position - position).Magnitude < range then
  5239. if body[part]:FindFirstChild("OOF") == nil then
  5240. CastBlast(range/2)
  5241. local defence = Instance.new("BoolValue",body[part])
  5242. defence.Name = ("OOF")
  5243. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  5244. end
  5245. if hasdugdeep == true then
  5246. body[part]:Destroy()
  5247. end
  5248. end
  5249. elseif body[part].ClassName == "Model" or body[part].ClassName == "Folder" then
  5250. GoDeeper(body[part],position,range,maxstrength,true)
  5251. end
  5252. end
  5253. end
  5254. end
  5255.  
  5256. function CastEffective(position,range,maxstrength)
  5257. for i,v in ipairs(workspace:GetChildren()) do
  5258. GoDeeper(v,position,range,maxstrength,false)
  5259. local body = v:GetChildren()
  5260. for part = 1, #body do
  5261. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  5262. if(body[part].Position - position).Magnitude < range then
  5263. if v.ClassName == "Model" then
  5264. v:BreakJoints()
  5265. end
  5266. if body[part]:FindFirstChild("OOF") == nil then
  5267. CastBlast(range/2)
  5268. local defence = Instance.new("BoolValue",body[part])
  5269. defence.Name = ("OOF")
  5270. end
  5271. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  5272. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  5273. end
  5274. end
  5275. end
  5276. if v.ClassName == "Part" then
  5277. if v.Anchored == false and (v.Position - position).Magnitude < range then
  5278. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  5279. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  5280. end
  5281. end
  5282. end
  5283. end
  5284.  
  5285. --//=================================\\
  5286. --|| ATTACK FUNCTIONS AND STUFF
  5287. --\\=================================//
  5288.  
  5289. function CastBlast(size)
  5290. coroutine.resume(coroutine.create(function()
  5291. for i = 1, 3 do
  5292. CreateSwirl(0,size*0.8,true,-0.2,25,Torso.CFrame * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Pear")
  5293. end
  5294. local wave = CreatePart(3, Effects, "Neon", 0, 0.8, BRICKC("Pearl"), "Effect", VT(1,1,1))
  5295. local mesh = IT("SpecialMesh",wave)
  5296. mesh.MeshType = "Sphere"
  5297. mesh.Scale = VT(size,size,size)
  5298. mesh.Offset = VT(0,0,0)
  5299. wave.CFrame = Torso.CFrame
  5300. coroutine.resume(coroutine.create(function(PART)
  5301. for i = 1, 25 do
  5302. Swait()
  5303. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  5304. wave.Transparency = wave.Transparency + (0.2/25)
  5305. end
  5306. wave:remove()
  5307. end))
  5308. end))
  5309. end
  5310.  
  5311. --//=================================\\
  5312. --|| ASSIGN THINGS TO KEYS
  5313. --\\=================================//
  5314.  
  5315. function MouseDown(Mouse)
  5316. if ATTACK == false then
  5317. end
  5318. end
  5319.  
  5320. function MouseUp(Mouse)
  5321. HOLD = false
  5322. end
  5323.  
  5324. function KeyDown(Key)
  5325. KEYHOLD = true
  5326. if Key == "x" and ATTACK == false then
  5327. if VALUE1 == true then
  5328. VALUE1 = false
  5329. SKILL1TEXT.Text = "[X] Toggle [OFF]"
  5330. elseif VALUE1 == false then
  5331. VALUE1 = true
  5332. SKILL1TEXT.Text = "[X] Toggle [ON]"
  5333. end
  5334. end
  5335. end
  5336.  
  5337. function KeyUp(Key)
  5338. KEYHOLD = false
  5339. end
  5340.  
  5341. Mouse.Button1Down:connect(function(NEWKEY)
  5342. MouseDown(NEWKEY)
  5343. end)
  5344. Mouse.Button1Up:connect(function(NEWKEY)
  5345. MouseUp(NEWKEY)
  5346. end)
  5347. Mouse.KeyDown:connect(function(NEWKEY)
  5348. KeyDown(NEWKEY)
  5349. end)
  5350. Mouse.KeyUp:connect(function(NEWKEY)
  5351. KeyUp(NEWKEY)
  5352. end)
  5353.  
  5354. --//=================================\\
  5355. --\\=================================//
  5356.  
  5357.  
  5358. function unanchor()
  5359. if UNANCHOR == true then
  5360. g = Character:GetChildren()
  5361. for i = 1, #g do
  5362. if g[i].ClassName == "Part" then
  5363. g[i].Anchored = false
  5364. end
  5365. end
  5366. end
  5367. end
  5368.  
  5369. local ff = IT("ForceField",Character)
  5370. ff.Visible = false
  5371.  
  5372. --//=================================\\
  5373. --|| WRAP THE WHOLE SCRIPT UP
  5374. --\\=================================//
  5375.  
  5376. Humanoid.HealthChanged:connect(function()
  5377. if Humanoid.Health ~= "inf" then
  5378. Humanoid.Health = "inf"
  5379. end
  5380. if Humanoid.MaxHealth ~= "inf" then
  5381. Humanoid.MaxHealth = "inf"
  5382. end
  5383. end)
  5384.  
  5385.  
  5386. VALUE1 = true
  5387.  
  5388. while true do
  5389. Swait()
  5390. if #Effects2>0 then
  5391. for e=1,#Effects2 do
  5392. if Effects2[e]~=nil then
  5393. local Thing=Effects2[e]
  5394. if Thing~=nil then
  5395. local Part=Thing[1]
  5396. local Mode=Thing[2]
  5397. local Delay=Thing[3]
  5398. local IncX=Thing[4]
  5399. local IncY=Thing[5]
  5400. local IncZ=Thing[6]
  5401. local Part2=Thing[8]
  5402. if Thing[1].Transparency<=1 then
  5403. if Thing[2]=="Block1" then
  5404. Thing[1].CFrame=Thing[1].CFrame
  5405. Mesh=Thing[1].Mesh
  5406. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  5407. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  5408. elseif Thing[2]=="Cylinder" then
  5409. Mesh=Thing[1].Mesh
  5410. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  5411. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  5412. elseif Thing[2]=="Blood" then
  5413. Mesh=Thing[7]
  5414. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  5415. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  5416. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  5417. elseif Thing[2]=="Elec" then
  5418. Mesh=Thing[1].Mesh
  5419. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  5420. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  5421. elseif Thing[2]=="Disappear" then
  5422. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  5423. end
  5424. else
  5425. Part.Parent=nil
  5426. table.remove(Effects2,e)
  5427. end
  5428. end
  5429. end
  5430. end
  5431. end
  5432. unanchor()
  5433. Humanoid.MaxHealth = "inf"
  5434. Humanoid.Health = "inf"
  5435. if VALUE1 == true then
  5436. CastEffective(Torso.Position,10,100)
  5437. end
  5438. local MATHS = {"A","C","E","G","I","K","N","P"}
  5439. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  5440. end
  5441.  
  5442. --//=================================\\
  5443. --\\=================================//
  5444.  
  5445.  
  5446.  
  5447.  
  5448.  
  5449. --//====================================================\\--
  5450. --|| END OF SCRIPT
  5451. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement