SHOW:
|
|
- or go back to the newest paste.
| 1 | math.randomseed(tick()) | |
| 2 | local player = game.Players.LocalPlayer | |
| 3 | local rekt = {}
| |
| 4 | local paralyzed = false | |
| 5 | local curpoint = nil | |
| 6 | local curpart = nil | |
| 7 | local finishnum = 1 | |
| 8 | local zombiemode = false | |
| 9 | local zombies = {}
| |
| 10 | local lastgui = nil | |
| 11 | local mouse = player:GetMouse() | |
| 12 | ||
| 13 | function getplr(char) | |
| 14 | local plr = nil | |
| 15 | for i,v in pairs(game.Players:GetChildren()) do | |
| 16 | if v.Character == char then | |
| 17 | plr = v | |
| 18 | end | |
| 19 | end | |
| 20 | return plr | |
| 21 | end | |
| 22 | ||
| 23 | function bleed(frick) | |
| 24 | while frick.Parent ~= nil do | |
| 25 | local reeee = coroutine.wrap(function() | |
| 26 | local thing = Instance.new('Part',game.Workspace)
| |
| 27 | thing.Size = Vector3.new(0.2,0.2,0.2) | |
| 28 | thing.CFrame = frick.CFrame | |
| 29 | thing.Shape = Enum.PartType.Ball | |
| 30 | thing.CFrame = frick.CFrame | |
| 31 | thing.Transparency = 1 | |
| 32 | thing.BrickColor = BrickColor.new('Maroon')
| |
| 33 | thing.Material = Enum.Material.SmoothPlastic | |
| 34 | thing.Name = "Blood" | |
| 35 | thing.CanCollide =false | |
| 36 | local rawrxd = Instance.new('BodyForce',thing)
| |
| 37 | rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0) | |
| 38 | local coru = coroutine.wrap(function() | |
| 39 | wait(0.01) | |
| 40 | rawrxd:Destroy() | |
| 41 | end) | |
| 42 | coru() | |
| 43 | local ree = Instance.new('ParticleEmitter',thing)
| |
| 44 | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(100,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(100,0,0))})
| |
| 45 | ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
| |
| 46 | ree.Texture = 'rbxassetid://867743272' | |
| 47 | ree.Lifetime = NumberRange.new(0.4) | |
| 48 | ree.Rate = 50 | |
| 49 | ree.LockedToPart = true | |
| 50 | ree.Speed = NumberRange.new(0, 2) | |
| 51 | ||
| 52 | thing.Touched:connect(function(tou) | |
| 53 | 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
| |
| 54 | local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z) | |
| 55 | thing:Destroy() | |
| 56 | if tou.Name == "BloodPuddle" then | |
| 57 | local reee = tou.CFrame | |
| 58 | if tou.Transparency > -0.2 then | |
| 59 | tou.Transparency = tou.Transparency -0.1 | |
| 60 | end | |
| 61 | if tou.Size.X < 10 then | |
| 62 | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) | |
| 63 | tou.CFrame = reee | |
| 64 | end | |
| 65 | else | |
| 66 | local bloodlol = Instance.new('Part',workspace)
| |
| 67 | bloodlol.Size=Vector3.new(1,0.2,1) | |
| 68 | bloodlol.Name = "BloodPuddle" | |
| 69 | bloodlol.Anchored = true | |
| 70 | bloodlol.CanCollide = false | |
| 71 | bloodlol.Material = Enum.Material.SmoothPlastic | |
| 72 | bloodlol.BrickColor = BrickColor.new('Maroon')
| |
| 73 | local cyl = Instance.new('CylinderMesh',bloodlol)
| |
| 74 | cyl.Scale = Vector3.new(1,0.1,1) | |
| 75 | bloodlol.CFrame = CFrame.new(pos) | |
| 76 | local coru=coroutine.wrap(function() | |
| 77 | while bloodlol.Parent ~= nil do | |
| 78 | if bloodlol.Transparency < 1 then | |
| 79 | bloodlol.Transparency = bloodlol.Transparency+0.05 | |
| 80 | else | |
| 81 | bloodlol:Destroy() | |
| 82 | end | |
| 83 | wait(0.1) | |
| 84 | end | |
| 85 | end) | |
| 86 | coru() | |
| 87 | end | |
| 88 | end | |
| 89 | end) | |
| 90 | local coru = coroutine.wrap(function() | |
| 91 | wait(1) | |
| 92 | thing:Destroy() | |
| 93 | end) | |
| 94 | coru() | |
| 95 | end) | |
| 96 | reeee() | |
| 97 | wait() | |
| 98 | end | |
| 99 | end | |
| 100 | ||
| 101 | function killz(playa,hitz,kneef,explode,pool,head,charred,override) | |
| 102 | local soundy = false | |
| 103 | local heyy = hitz | |
| 104 | if hitz == "Right Arm" then | |
| 105 | local Limb = playa:FindFirstChild("Right Arm")
| |
| 106 | local ters = playa:FindFirstChild('Torso')
| |
| 107 | if Limb and ters then | |
| 108 | if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end
| |
| 109 | for i,v in pairs(Limb:GetChildren()) do | |
| 110 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
| |
| 111 | v:Destroy() | |
| 112 | end | |
| 113 | end | |
| 114 | Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0) | |
| 115 | local Joint = Instance.new("Rotate")
| |
| 116 | Joint.Name = "RightShoulder" | |
| 117 | Joint.Part0 = ters | |
| 118 | Joint.Part1 = Limb | |
| 119 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 120 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 121 | Joint.Parent = ters | |
| 122 | if charred and zombiemode == false then | |
| 123 | Limb.BrickColor = BrickColor.new('Black')
| |
| 124 | local fire = Instance.new('Fire',Limb)
| |
| 125 | fire.Heat = 5 | |
| 126 | fire.Size = 5 | |
| 127 | game:GetService('Debris'):AddItem(fire,2)
| |
| 128 | local coru=coroutine.wrap(function() | |
| 129 | wait(2) | |
| 130 | for i,v in pairs(Limb:GetChildren()) do | |
| 131 | if v:IsA('ParticleEmitter') then
| |
| 132 | v:Destroy() | |
| 133 | end | |
| 134 | end | |
| 135 | end) | |
| 136 | coru() | |
| 137 | end | |
| 138 | local B = Instance.new("Part")
| |
| 139 | B.TopSurface = 0 | |
| 140 | B.BottomSurface = 0 | |
| 141 | B.formFactor = "Symmetric" | |
| 142 | B.Size = Vector3.new(1, 1, 1) | |
| 143 | B.Transparency = 1 | |
| 144 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 145 | B.Parent = playa | |
| 146 | local W = Instance.new("Weld")
| |
| 147 | W.Part0 = Limb | |
| 148 | W.Part1 = B | |
| 149 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 150 | W.Parent = Limb | |
| 151 | if kneef then | |
| 152 | local coru = coroutine.wrap(function() | |
| 153 | local uno = Instance.new('Part',workspace)
| |
| 154 | local dos = Instance.new('Part',workspace)
| |
| 155 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
| 156 | dos.CFrame = kneef["big ass knife"].CFrame | |
| 157 | local weld = Instance.new('Weld',kneef["big ass knife"])
| |
| 158 | weld.Part0 = playa:FindFirstChild(hitz) | |
| 159 | weld.Part1 = kneef["big ass knife"] | |
| 160 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
| 161 | uno:Destroy() | |
| 162 | dos:Destroy() | |
| 163 | playa:FindFirstChild(hitz).Anchored = false | |
| 164 | for i, v in pairs(kneef:GetChildren()) do | |
| 165 | if v:IsA('BasePart') then
| |
| 166 | v.Anchored = false | |
| 167 | end | |
| 168 | end | |
| 169 | if zombiemode == false or override then | |
| 170 | wait() | |
| 171 | end | |
| 172 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
| |
| 173 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
| |
| 174 | end | |
| 175 | local bleedpart = Instance.new("Part", kneef)
| |
| 176 | bleedpart.CanCollide = false | |
| 177 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 178 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
| 179 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
| 180 | bleedpart.Transparency = 1 | |
| 181 | ||
| 182 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
| |
| 183 | bleedpartweld.Part0 = kneef["big ass knife"] | |
| 184 | bleedpartweld.Part1 = bleedpart | |
| 185 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
| 186 | local coru = coroutine.wrap(function() | |
| 187 | bleed(bleedpart) | |
| 188 | end) | |
| 189 | coru() | |
| 190 | game:GetService('Debris'):AddItem(bleedpart,2)
| |
| 191 | end) | |
| 192 | coru() | |
| 193 | end | |
| 194 | end | |
| 195 | elseif hitz == "Left Arm" then | |
| 196 | local Limb = playa:FindFirstChild("Left Arm")
| |
| 197 | local ters = playa:FindFirstChild('Torso')
| |
| 198 | if Limb and ters then | |
| 199 | if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end
| |
| 200 | for i,v in pairs(Limb:GetChildren()) do | |
| 201 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
| |
| 202 | v:Destroy() | |
| 203 | end | |
| 204 | end | |
| 205 | Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0) | |
| 206 | local Joint = Instance.new("Rotate")
| |
| 207 | Joint.Name = "LeftShoulder" | |
| 208 | Joint.Part0 = ters | |
| 209 | Joint.Part1 = Limb | |
| 210 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 211 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 212 | Joint.Parent = ters | |
| 213 | if charred and zombiemode == false then | |
| 214 | Limb.BrickColor = BrickColor.new('Black')
| |
| 215 | local fire = Instance.new('Fire',Limb)
| |
| 216 | fire.Heat = 5 | |
| 217 | fire.Size = 5 | |
| 218 | game:GetService('Debris'):AddItem(fire,2)
| |
| 219 | local coru=coroutine.wrap(function() | |
| 220 | wait(2) | |
| 221 | for i,v in pairs(Limb:GetChildren()) do | |
| 222 | if v:IsA('ParticleEmitter') then
| |
| 223 | v:Destroy() | |
| 224 | end | |
| 225 | end | |
| 226 | end) | |
| 227 | coru() | |
| 228 | end | |
| 229 | ||
| 230 | local B = Instance.new("Part")
| |
| 231 | B.TopSurface = 0 | |
| 232 | B.BottomSurface = 0 | |
| 233 | B.formFactor = "Symmetric" | |
| 234 | B.Size = Vector3.new(1, 1, 1) | |
| 235 | B.CanCollide = true | |
| 236 | B.Transparency = 1 | |
| 237 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 238 | B.Parent = playa | |
| 239 | local W = Instance.new("Weld")
| |
| 240 | W.Part0 = ters | |
| 241 | W.Part1 = B | |
| 242 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 243 | W.Parent = Limb | |
| 244 | if kneef then | |
| 245 | local coru = coroutine.wrap(function() | |
| 246 | local uno = Instance.new('Part',workspace)
| |
| 247 | local dos = Instance.new('Part',workspace)
| |
| 248 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
| 249 | dos.CFrame = kneef["big ass knife"].CFrame | |
| 250 | local weld = Instance.new('Weld',kneef["big ass knife"])
| |
| 251 | weld.Part0 = playa:FindFirstChild(hitz) | |
| 252 | weld.Part1 = kneef["big ass knife"] | |
| 253 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
| 254 | uno:Destroy() | |
| 255 | dos:Destroy() | |
| 256 | playa:FindFirstChild(hitz).Anchored = false | |
| 257 | for i, v in pairs(kneef:GetChildren()) do | |
| 258 | if v:IsA('BasePart') then
| |
| 259 | v.Anchored = false | |
| 260 | end | |
| 261 | end | |
| 262 | if zombiemode == false or override then | |
| 263 | wait() | |
| 264 | end | |
| 265 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
| |
| 266 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
| |
| 267 | end | |
| 268 | local bleedpart = Instance.new("Part", kneef)
| |
| 269 | bleedpart.CanCollide = false | |
| 270 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 271 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
| 272 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
| 273 | bleedpart.Transparency = 1 | |
| 274 | ||
| 275 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
| |
| 276 | bleedpartweld.Part0 = kneef["big ass knife"] | |
| 277 | bleedpartweld.Part1 = bleedpart | |
| 278 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
| 279 | local coru = coroutine.wrap(function() | |
| 280 | bleed(bleedpart) | |
| 281 | end) | |
| 282 | coru() | |
| 283 | game:GetService('Debris'):AddItem(bleedpart,2)
| |
| 284 | end) | |
| 285 | coru() | |
| 286 | end | |
| 287 | end | |
| 288 | elseif hitz == "Right Leg" then | |
| 289 | local Limb = playa:FindFirstChild("Right Leg")
| |
| 290 | local ters = playa:FindFirstChild('Torso')
| |
| 291 | if Limb and ters then | |
| 292 | if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end
| |
| 293 | for i,v in pairs(Limb:GetChildren()) do | |
| 294 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
| |
| 295 | v:Destroy() | |
| 296 | end | |
| 297 | end | |
| 298 | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) | |
| 299 | local Joint = Instance.new("Rotate")
| |
| 300 | Joint.Name = "Right Hip" | |
| 301 | Joint.Part0 = ters | |
| 302 | Joint.Part1 = Limb | |
| 303 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 304 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 305 | Joint.Parent = ters | |
| 306 | if charred and zombiemode == false then | |
| 307 | Limb.BrickColor = BrickColor.new('Black')
| |
| 308 | local fire = Instance.new('Fire',Limb)
| |
| 309 | fire.Heat = 5 | |
| 310 | fire.Size = 5 | |
| 311 | game:GetService('Debris'):AddItem(fire,2)
| |
| 312 | local coru=coroutine.wrap(function() | |
| 313 | wait(2) | |
| 314 | for i,v in pairs(Limb:GetChildren()) do | |
| 315 | if v:IsA('ParticleEmitter') then
| |
| 316 | v:Destroy() | |
| 317 | end | |
| 318 | end | |
| 319 | end) | |
| 320 | coru() | |
| 321 | end | |
| 322 | local B = Instance.new("Part")
| |
| 323 | B.TopSurface = 0 | |
| 324 | B.BottomSurface = 0 | |
| 325 | B.formFactor = "Symmetric" | |
| 326 | B.Size = Vector3.new(1, 1, 1) | |
| 327 | B.Transparency = 1 | |
| 328 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 329 | B.Parent = playa | |
| 330 | local W = Instance.new("Weld")
| |
| 331 | W.Part0 = Limb | |
| 332 | W.Part1 = B | |
| 333 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 334 | W.Parent = Limb | |
| 335 | if kneef then | |
| 336 | local coru = coroutine.wrap(function() | |
| 337 | local uno = Instance.new('Part',workspace)
| |
| 338 | local dos = Instance.new('Part',workspace)
| |
| 339 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
| 340 | dos.CFrame = kneef["big ass knife"].CFrame | |
| 341 | local weld = Instance.new('Weld',kneef["big ass knife"])
| |
| 342 | weld.Part0 = playa:FindFirstChild(hitz) | |
| 343 | weld.Part1 = kneef["big ass knife"] | |
| 344 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
| 345 | uno:Destroy() | |
| 346 | dos:Destroy() | |
| 347 | playa:FindFirstChild(hitz).Anchored = false | |
| 348 | for i, v in pairs(kneef:GetChildren()) do | |
| 349 | if v:IsA('BasePart') then
| |
| 350 | v.Anchored = false | |
| 351 | end | |
| 352 | end | |
| 353 | if zombiemode == false or override then | |
| 354 | wait() | |
| 355 | end | |
| 356 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
| |
| 357 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
| |
| 358 | end | |
| 359 | local bleedpart = Instance.new("Part", kneef)
| |
| 360 | bleedpart.CanCollide = false | |
| 361 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 362 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
| 363 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
| 364 | bleedpart.Transparency = 1 | |
| 365 | ||
| 366 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
| |
| 367 | bleedpartweld.Part0 = kneef["big ass knife"] | |
| 368 | bleedpartweld.Part1 = bleedpart | |
| 369 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
| 370 | local coru = coroutine.wrap(function() | |
| 371 | bleed(bleedpart) | |
| 372 | end) | |
| 373 | coru() | |
| 374 | game:GetService('Debris'):AddItem(bleedpart,2)
| |
| 375 | end) | |
| 376 | coru() | |
| 377 | end | |
| 378 | if playa then | |
| 379 | table.insert(rekt,playa) | |
| 380 | end | |
| 381 | end | |
| 382 | elseif hitz == "Left Leg" then | |
| 383 | local Limb = playa:FindFirstChild("Left Leg")
| |
| 384 | local ters = playa:FindFirstChild('Torso')
| |
| 385 | if Limb and ters then | |
| 386 | if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end
| |
| 387 | for i,v in pairs(Limb:GetChildren()) do | |
| 388 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then
| |
| 389 | v:Destroy() | |
| 390 | end | |
| 391 | end | |
| 392 | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) | |
| 393 | Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0) | |
| 394 | local Joint = Instance.new("Rotate")
| |
| 395 | Joint.Name = "LeftHip" | |
| 396 | Joint.Part0 = ters | |
| 397 | Joint.Part1 = Limb | |
| 398 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 399 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 400 | Joint.Parent = ters | |
| 401 | if charred and zombiemode == false then | |
| 402 | Limb.BrickColor = BrickColor.new('Black')
| |
| 403 | local fire = Instance.new('Fire',Limb)
| |
| 404 | fire.Heat = 5 | |
| 405 | fire.Size = 5 | |
| 406 | game:GetService('Debris'):AddItem(fire,2)
| |
| 407 | local coru=coroutine.wrap(function() | |
| 408 | wait(2) | |
| 409 | for i,v in pairs(Limb:GetChildren()) do | |
| 410 | if v:IsA('ParticleEmitter') then
| |
| 411 | v:Destroy() | |
| 412 | end | |
| 413 | end | |
| 414 | end) | |
| 415 | coru() | |
| 416 | end | |
| 417 | ||
| 418 | local B = Instance.new("Part")
| |
| 419 | B.TopSurface = 0 | |
| 420 | B.BottomSurface = 0 | |
| 421 | B.formFactor = "Symmetric" | |
| 422 | B.Size = Vector3.new(1, 1, 1) | |
| 423 | B.Transparency = 1 | |
| 424 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 425 | B.Parent = playa | |
| 426 | local W = Instance.new("Weld")
| |
| 427 | W.Part0 = Limb | |
| 428 | W.Part1 = B | |
| 429 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 430 | W.Parent = Limb | |
| 431 | Limb.CanCollide = false | |
| 432 | if kneef then | |
| 433 | local coru = coroutine.wrap(function() | |
| 434 | local uno = Instance.new('Part',workspace)
| |
| 435 | local dos = Instance.new('Part',workspace)
| |
| 436 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
| 437 | dos.CFrame = kneef["big ass knife"].CFrame | |
| 438 | local weld = Instance.new('Weld',kneef["big ass knife"])
| |
| 439 | weld.Part0 = playa:FindFirstChild(hitz) | |
| 440 | weld.Part1 = kneef["big ass knife"] | |
| 441 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
| 442 | uno:Destroy() | |
| 443 | dos:Destroy() | |
| 444 | playa:FindFirstChild(hitz).Anchored = false | |
| 445 | for i, v in pairs(kneef:GetChildren()) do | |
| 446 | if v:IsA('BasePart') then
| |
| 447 | v.Anchored = false | |
| 448 | end | |
| 449 | end | |
| 450 | if zombiemode == false or override then | |
| 451 | wait() | |
| 452 | end | |
| 453 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
| |
| 454 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
| |
| 455 | end | |
| 456 | local bleedpart = Instance.new("Part", kneef)
| |
| 457 | bleedpart.CanCollide = false | |
| 458 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 459 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
| 460 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
| 461 | bleedpart.Transparency = 1 | |
| 462 | ||
| 463 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
| |
| 464 | bleedpartweld.Part0 = kneef["big ass knife"] | |
| 465 | bleedpartweld.Part1 = bleedpart | |
| 466 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
| 467 | local coru = coroutine.wrap(function() | |
| 468 | bleed(bleedpart) | |
| 469 | end) | |
| 470 | coru() | |
| 471 | game:GetService('Debris'):AddItem(bleedpart,2)
| |
| 472 | end) | |
| 473 | coru() | |
| 474 | end | |
| 475 | if playa then | |
| 476 | table.insert(rekt,playa) | |
| 477 | end | |
| 478 | end | |
| 479 | elseif playa then | |
| 480 | if finishnum ~= 1 then | |
| 481 | local coru=coroutine.wrap(function() | |
| 482 | player.Character.Head.Psycho.Playing = true | |
| 483 | wait(3) | |
| 484 | player.Character.Head.Psycho.Playing = false | |
| 485 | end) | |
| 486 | coru() | |
| 487 | end | |
| 488 | local playa2 = playa | |
| 489 | playa.Archivable = true | |
| 490 | local playa = playa:Clone() | |
| 491 | playa.Archivable = false | |
| 492 | playa2:Destroy() | |
| 493 | playa.Parent = workspace | |
| 494 | local Gibs = game.Workspace | |
| 495 | local Torso = playa.Torso | |
| 496 | local Head = playa:FindFirstChild("Head")
| |
| 497 | local function Scan(ch) | |
| 498 | local e | |
| 499 | for e = 1,#ch do | |
| 500 | Scan(ch[e]:GetChildren()) | |
| 501 | 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
| |
| 502 | ch[e]:remove() | |
| 503 | end | |
| 504 | end | |
| 505 | end | |
| 506 | Scan(playa:GetChildren()) | |
| 507 | if playa:FindFirstChild('HumanoidRootPart') and (zombiemode == false or override) then
| |
| 508 | playa:FindFirstChild('HumanoidRootPart'):Destroy()
| |
| 509 | end | |
| 510 | local hum2 = playa:FindFirstChildOfClass("Humanoid")
| |
| 511 | if zombiemode == true and override == false then | |
| 512 | soundy = true | |
| 513 | end | |
| 514 | if string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie" then | |
| 515 | override = true | |
| 516 | end | |
| 517 | if hum2 ~= nil then | |
| 518 | hum2.Name = "Humanoid2" | |
| 519 | hum2.Health = 0 | |
| 520 | if zombiemode == false or override == true then | |
| 521 | table.insert(rekt,hum2.Parent) | |
| 522 | else | |
| 523 | local gyro = Instance.new('BodyGyro',Torso)
| |
| 524 | hum2.PlatformStand = false | |
| 525 | for i,v in pairs(hum2.Parent.Torso:GetChildren()) do | |
| 526 | if v:IsA('BodyGyro') then v:Destroy() end
| |
| 527 | end | |
| 528 | if playa:FindFirstChild('HumanoidRootPart') then
| |
| 529 | hum2.Parent.HumanoidRootPart.CFrame = hum2.Parent.Torso.CFrame | |
| 530 | local weldcrucial = Instance.new('Weld',hum2.Parent.HumanoidRootPart)
| |
| 531 | weldcrucial.Part0 = hum2.Parent.HumanoidRootPart | |
| 532 | weldcrucial.Part1 = hum2.Parent.Torso | |
| 533 | end | |
| 534 | end | |
| 535 | end | |
| 536 | local ch = playa:GetChildren() | |
| 537 | local i | |
| 538 | for i = 1,#ch do | |
| 539 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
| 540 | ch[i]:remove() | |
| 541 | end | |
| 542 | end | |
| 543 | ||
| 544 | if Head then | |
| 545 | local Neck = Instance.new("Weld")
| |
| 546 | Neck.Name = "Neck" | |
| 547 | Neck.Part0 = Torso | |
| 548 | Neck.Part1 = Head | |
| 549 | if pool then | |
| 550 | local part = Instance.new('Part',Torso)
| |
| 551 | part.Position = Vector3.new(0,10,0) | |
| 552 | part.Size = Vector3.new(0.2,0.2,0.2) | |
| 553 | part.Transparency = 1 | |
| 554 | part.CanCollide = false | |
| 555 | local we = Instance.new('Weld',Torso)
| |
| 556 | we.Part0 = Torso | |
| 557 | we.Part1 = part | |
| 558 | we.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
| 559 | local coru=coroutine.wrap(function() | |
| 560 | bleed(part) | |
| 561 | end) | |
| 562 | coru() | |
| 563 | end | |
| 564 | if head == false or head == nil then | |
| 565 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 566 | else | |
| 567 | Neck.C0 = CFrame.new(0, 1.5, 0.2)*CFrame.Angles(0.5, 0.25, 0.25) | |
| 568 | local bleedpart = Instance.new("Part", Torso)
| |
| 569 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 570 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
| 571 | bleedpart.CanCollide = false | |
| 572 | bleedpart.Position = Head.Position + Vector3.new(0, 1, 0) | |
| 573 | bleedpart.Transparency = 1 | |
| 574 | ||
| 575 | local bleedpartweld = Instance.new("Weld", Torso)
| |
| 576 | bleedpartweld.Part0 = Torso | |
| 577 | bleedpartweld.Part1 = bleedpart | |
| 578 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
| 579 | local coru = coroutine.wrap(function() | |
| 580 | bleed(bleedpart) | |
| 581 | end) | |
| 582 | coru() | |
| 583 | end | |
| 584 | Neck.C1 = CFrame.new() | |
| 585 | Neck.Parent = Torso | |
| 586 | end | |
| 587 | local Limb = playa:FindFirstChild("Right Arm")
| |
| 588 | if Limb then | |
| 589 | ||
| 590 | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) | |
| 591 | local Joint = Instance.new("Rotate")
| |
| 592 | Joint.Name = "RightShoulder" | |
| 593 | Joint.Part0 = Torso | |
| 594 | Joint.Part1 = Limb | |
| 595 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 596 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 597 | Joint.Parent = Torso | |
| 598 | ||
| 599 | local B = Instance.new("Part")
| |
| 600 | B.TopSurface = 0 | |
| 601 | B.BottomSurface = 0 | |
| 602 | B.formFactor = "Symmetric" | |
| 603 | B.Size = Vector3.new(1, 1, 1) | |
| 604 | B.Transparency = 1 | |
| 605 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 606 | B.Parent = playa | |
| 607 | local W = Instance.new("Weld")
| |
| 608 | W.Part0 = Limb | |
| 609 | W.Part1 = B | |
| 610 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 611 | W.Parent = Limb | |
| 612 | end | |
| 613 | local Limb = playa:FindFirstChild("Left Arm")
| |
| 614 | if Limb then | |
| 615 | ||
| 616 | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) | |
| 617 | local Joint = Instance.new("Rotate")
| |
| 618 | Joint.Name = "LeftShoulder" | |
| 619 | Joint.Part0 = Torso | |
| 620 | Joint.Part1 = Limb | |
| 621 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 622 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 623 | Joint.Parent = Torso | |
| 624 | ||
| 625 | local B = Instance.new("Part")
| |
| 626 | B.TopSurface = 0 | |
| 627 | B.BottomSurface = 0 | |
| 628 | B.formFactor = "Symmetric" | |
| 629 | B.Size = Vector3.new(1, 1, 1) | |
| 630 | B.Transparency = 1 | |
| 631 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 632 | B.Parent = playa | |
| 633 | local W = Instance.new("Weld")
| |
| 634 | W.Part0 = Limb | |
| 635 | W.Part1 = B | |
| 636 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 637 | W.Parent = Limb | |
| 638 | end | |
| 639 | local Limb = playa:FindFirstChild("Right Leg")
| |
| 640 | if Limb then | |
| 641 | Limb.CanCollide = false | |
| 642 | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) | |
| 643 | local Joint = Instance.new("Rotate")
| |
| 644 | Joint.Name = "RightHip" | |
| 645 | Joint.Part0 = Torso | |
| 646 | Joint.Part1 = Limb | |
| 647 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 648 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 649 | Joint.Parent = Torso | |
| 650 | ||
| 651 | local B = Instance.new("Part")
| |
| 652 | B.TopSurface = 0 | |
| 653 | B.BottomSurface = 0 | |
| 654 | B.formFactor = "Symmetric" | |
| 655 | B.Size = Vector3.new(1, 1, 1) | |
| 656 | B.Transparency = 1 | |
| 657 | B.CanCollide = true | |
| 658 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 659 | B.Parent = playa | |
| 660 | local W = Instance.new("Weld")
| |
| 661 | W.Part0 = Limb | |
| 662 | W.Part1 = B | |
| 663 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 664 | W.Parent = Limb | |
| 665 | end | |
| 666 | local Limb = playa:FindFirstChild("Left Leg")
| |
| 667 | if Limb then | |
| 668 | Limb.CanCollide = false | |
| 669 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
| 670 | local Joint = Instance.new("Rotate")
| |
| 671 | Joint.Name = "LeftHip" | |
| 672 | Joint.Part0 = Torso | |
| 673 | Joint.Part1 = Limb | |
| 674 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 675 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 676 | Joint.Parent = Torso | |
| 677 | ||
| 678 | local B = Instance.new("Part")
| |
| 679 | B.TopSurface = 0 | |
| 680 | B.BottomSurface = 0 | |
| 681 | if zombiemode == false or override then | |
| 682 | B.CanCollide = true | |
| 683 | end | |
| 684 | B.formFactor = "Symmetric" | |
| 685 | B.Size = Vector3.new(1, 1, 1) | |
| 686 | B.Transparency = 1 | |
| 687 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 688 | B.Parent = playa | |
| 689 | local W = Instance.new("Weld")
| |
| 690 | W.Part0 = Limb | |
| 691 | W.Part1 = B | |
| 692 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 693 | W.Parent = Limb | |
| 694 | end | |
| 695 | --[[ | |
| 696 | local Bar = Instance.new("Part")
| |
| 697 | Bar.TopSurface = 0 | |
| 698 | Bar.BottomSurface = 0 | |
| 699 | Bar.formFactor = "Symmetric" | |
| 700 | Bar.Size = Vector3.new(1, 1, 1) | |
| 701 | Bar.Transparency = 1 | |
| 702 | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) | |
| 703 | Bar.Parent = playa | |
| 704 | local Weld = Instance.new("Weld")
| |
| 705 | Weld.Part0 = Torso | |
| 706 | Weld.Part1 = Bar | |
| 707 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
| 708 | Weld.Parent = Torso | |
| 709 | --]] | |
| 710 | playa.Parent = Gibs | |
| 711 | if kneef and explode == nil then | |
| 712 | local coru = coroutine.wrap(function() | |
| 713 | if playa:FindFirstChild(hitz) then | |
| 714 | local uno = Instance.new('Part',workspace)
| |
| 715 | local dos = Instance.new('Part',workspace)
| |
| 716 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
| 717 | dos.CFrame = kneef["big ass knife"].CFrame | |
| 718 | local weld = Instance.new('Weld',kneef["big ass knife"])
| |
| 719 | weld.Part0 = playa:FindFirstChild(hitz) | |
| 720 | weld.Part1 = kneef["big ass knife"] | |
| 721 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
| 722 | uno:Destroy() | |
| 723 | dos:Destroy() | |
| 724 | playa:FindFirstChild(hitz).Anchored = false | |
| 725 | for i, v in pairs(kneef:GetChildren()) do | |
| 726 | if v:IsA('BasePart') then
| |
| 727 | v.Anchored = false | |
| 728 | end | |
| 729 | end | |
| 730 | if explode == nil or explode == false then | |
| 731 | local bleedpart = Instance.new("Part", kneef)
| |
| 732 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 733 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
| 734 | bleedpart.CanCollide = false | |
| 735 | bleedpart.Position = Head.Position + Vector3.new(0, 1, 0) | |
| 736 | bleedpart.Transparency = 1 | |
| 737 | ||
| 738 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"])
| |
| 739 | bleedpartweld.Part0 = kneef["big ass knife"] | |
| 740 | bleedpartweld.Part1 = bleedpart | |
| 741 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
| 742 | local coru = coroutine.wrap(function() | |
| 743 | bleed(bleedpart) | |
| 744 | end) | |
| 745 | coru() | |
| 746 | end | |
| 747 | end | |
| 748 | if zombiemode == false or override then | |
| 749 | wait() | |
| 750 | end | |
| 751 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then
| |
| 752 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy()
| |
| 753 | end | |
| 754 | end) | |
| 755 | coru() | |
| 756 | end | |
| 757 | if explode then | |
| 758 | local movevector = CFrame.new(explode.Position,Torso.Position).lookVector | |
| 759 | local repulse = Instance.new('BodyForce',Torso)
| |
| 760 | repulse.Force = movevector*10000 + Vector3.new(0,5000,0) | |
| 761 | game.Debris:AddItem(repulse,0.05) | |
| 762 | end | |
| 763 | if charred and zombiemode == false then | |
| 764 | for i,v in pairs(playa:GetChildren()) do | |
| 765 | if v:IsA('BasePart') then
| |
| 766 | v.BrickColor = BrickColor.Black() | |
| 767 | local fire = Instance.new('Fire',v)
| |
| 768 | fire.Size = 5 | |
| 769 | fire.Heat = 5 | |
| 770 | elseif v:IsA('Accessory') then
| |
| 771 | for a,c in pairs(v:GetChildren()) do | |
| 772 | if c:IsA('BasePart') then
| |
| 773 | c.BrickColor = BrickColor.Black() | |
| 774 | local fire = Instance.new('Fire',v)
| |
| 775 | fire.Size = 5 | |
| 776 | fire.Heat = 5 | |
| 777 | for o,p in pairs(c:GetChildren()) do | |
| 778 | if p:IsA("SpecialMesh") then
| |
| 779 | p.TextureId = "" | |
| 780 | end | |
| 781 | end | |
| 782 | end | |
| 783 | end | |
| 784 | end | |
| 785 | end | |
| 786 | end | |
| 787 | if soundy then | |
| 788 | local sound = Instance.new('Sound',Head)
| |
| 789 | sound.SoundId = 'rbxassetid://903640857' | |
| 790 | sound.Volume = 1 | |
| 791 | sound:Play() | |
| 792 | sound.Ended:connect(function() | |
| 793 | sound:Destroy() | |
| 794 | local ambient = Instance.new('Sound',Head)
| |
| 795 | ambient.Volume = 0.25 | |
| 796 | ambient.Looped = true | |
| 797 | ambient.SoundId = 'rbxassetid://903641031' | |
| 798 | ambient:Play() | |
| 799 | end) | |
| 800 | end | |
| 801 | if override then | |
| 802 | 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 | |
| 803 | local coru = coroutine.wrap(function() | |
| 804 | wait(4.5) | |
| 805 | hum2.Parent.Name = hum2.Parent.Name.."'s Zombie" | |
| 806 | hum2.HipHeight = 0.2 | |
| 807 | wait(0.5) | |
| 808 | killz(hum2.Parent,"Head",nil,nil,false,false,false,false) | |
| 809 | end) | |
| 810 | coru() | |
| 811 | else | |
| 812 | game:GetService('Debris'):AddItem(playa, 12)
| |
| 813 | end | |
| 814 | else | |
| 815 | hum2.Health = 0 | |
| 816 | table.insert(zombies,playa) | |
| 817 | local attack = Instance.new('Sound',Head)
| |
| 818 | attack.SoundId = 'rbxassetid://903641424' | |
| 819 | attack.Volume = 2 | |
| 820 | for i,v in pairs(playa:GetChildren()) do | |
| 821 | if v:IsA('BasePart') and v:FindFirstChildOfClass('TouchTransmitter') == nil then
| |
| 822 | v.Touched:connect(function(hit) | |
| 823 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') then
| |
| 824 | local found = false | |
| 825 | if hit.Parent == player.Character then | |
| 826 | found = true | |
| 827 | end | |
| 828 | for a,c in pairs(zombies) do | |
| 829 | if c == hit.Parent then | |
| 830 | found = true | |
| 831 | end | |
| 832 | end | |
| 833 | if found == false and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
| |
| 834 | attack:Play() | |
| 835 | if hit.Parent:FindFirstChildOfClass('Humanoid').Health - 2 <= 0 then
| |
| 836 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
| |
| 837 | wait() | |
| 838 | killz(hit.Parent,"Head") | |
| 839 | else | |
| 840 | hit.Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(2)
| |
| 841 | end | |
| 842 | end | |
| 843 | end | |
| 844 | end) | |
| 845 | end | |
| 846 | end | |
| 847 | local coru = coroutine.wrap(function() | |
| 848 | wait(2) | |
| 849 | for i,v in pairs(playa:GetChildren()) do | |
| 850 | if v:IsA('BasePart') then
| |
| 851 | for a,c in pairs(v:GetChildren()) do | |
| 852 | if c:IsA('Fire') or c:IsA('ParticleEmitter') then
| |
| 853 | c:Destroy() | |
| 854 | end | |
| 855 | end | |
| 856 | elseif v:IsA('Accessory') then
| |
| 857 | for a,c in pairs(v:GetChildren()) do | |
| 858 | if c:IsA('BasePart') then
| |
| 859 | for b,d in pairs(c:GetChildren()) do | |
| 860 | if d:IsA('Fire') or d:IsA('ParticleEmitter') then
| |
| 861 | d:Destroy() | |
| 862 | end | |
| 863 | end | |
| 864 | end | |
| 865 | end | |
| 866 | end | |
| 867 | end | |
| 868 | end) | |
| 869 | coru() | |
| 870 | end | |
| 871 | end | |
| 872 | end | |
| 873 | ||
| 874 | mouse.KeyDown:connect(function(key) | |
| 875 | if key == "t" and mouse.Target then | |
| 876 | local hum = mouse.Target.Parent:FindFirstChildOfClass('Humanoid')
| |
| 877 | if hum == nil then hum = mouse.Target.Parent.Parent:FindFirstChildOfClass('Humanoid') end
| |
| 878 | if curpoint == nil then | |
| 879 | if hum and hum.Parent:FindFirstChild('Head') then
| |
| 880 | curpart = hum.Parent.Head | |
| 881 | else | |
| 882 | curpart = nil | |
| 883 | curpoint = mouse.Hit.p | |
| 884 | end | |
| 885 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
| |
| 886 | notify("ZOMBIE TARGET SET",false)
| |
| 887 | else | |
| 888 | curpart = nil | |
| 889 | curpoint = nil | |
| 890 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
| |
| 891 | notify("ZOMBIE TARGET REMOVED",false)
| |
| 892 | end | |
| 893 | elseif key == "y" then | |
| 894 | for o,p in pairs(zombies) do | |
| 895 | local coru = coroutine.wrap(function() | |
| 896 | if p:FindFirstChild('Torso') then
| |
| 897 | killz(p,"Head",nil,nil,false,false,false,true) | |
| 898 | else | |
| 899 | table.remove(zombies,o) | |
| 900 | end | |
| 901 | end) | |
| 902 | coru() | |
| 903 | wait() | |
| 904 | end | |
| 905 | for i,v in pairs(zombies) do | |
| 906 | table.remove(zombies,i) | |
| 907 | end | |
| 908 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end
| |
| 909 | notify("ZOMBIES TERMINATED",false)
| |
| 910 | end | |
| 911 | end) | |
| 912 | ||
| 913 | function nub() | |
| 914 | repeat wait() until player.Character and player.Character:FindFirstChild('Torso')
| |
| 915 | local me = player.Character | |
| 916 | local point = me.HumanoidRootPart | |
| 917 | local playergui = player.PlayerGui | |
| 918 | local rightshoulderz = me.Torso["Right Shoulder"]:Clone() | |
| 919 | local leftshoulderz = me.Torso["Left Shoulder"]:Clone() | |
| 920 | local torsojoint = me.HumanoidRootPart["RootJoint"]:Clone() | |
| 921 | local lefthipz = me.Torso["Left Hip"]:Clone() | |
| 922 | local righthipz = me.Torso["Right Hip"]:Clone() | |
| 923 | local mode = "kill" | |
| 924 | local lerpz = false | |
| 925 | local active = false | |
| 926 | local acting = false | |
| 927 | local hit = false | |
| 928 | local canClick = true | |
| 929 | local stabbing = false | |
| 930 | local grabbing = false | |
| 931 | local finishing = false | |
| 932 | local kyssing = false | |
| 933 | local canbackgroundmusic = true | |
| 934 | local cancolorfilter = true | |
| 935 | local spinboolean = false | |
| 936 | local grabbed = nil | |
| 937 | local doing = false | |
| 938 | local rightshoulder = nil | |
| 939 | local leftshoulder = nil | |
| 940 | local headweld = nil | |
| 941 | local knifeparts = {}
| |
| 942 | local usable = true | |
| 943 | finishnum = 1 | |
| 944 | ||
| 945 | function notify(msg,forever) | |
| 946 | local doit = coroutine.wrap(function() | |
| 947 | local gui = Instance.new('ScreenGui',playergui)
| |
| 948 | gui.Name = "Notification" | |
| 949 | local frame = Instance.new('Frame',gui)
| |
| 950 | frame.Position = UDim2.new(0,0,0,0) | |
| 951 | frame.Size = UDim2.new(1,0,0.2,0) | |
| 952 | frame.BackgroundTransparency = 1 | |
| 953 | local txt = Instance.new('TextLabel',frame)
| |
| 954 | txt.TextColor3 = Color3.new(255,255,255) | |
| 955 | txt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 956 | txt.TextStrokeTransparency = 0 | |
| 957 | txt.BackgroundTransparency = 1 | |
| 958 | txt.Text = "" | |
| 959 | txt.Size = UDim2.new(1,0,0.3,0) | |
| 960 | txt.Position = UDim2.new(0,0,0.4,0) | |
| 961 | txt.TextScaled = true | |
| 962 | txt.Font = "Code" | |
| 963 | txt.TextXAlignment = "Center" | |
| 964 | local tap = Instance.new("Sound")
| |
| 965 | tap.Parent = gui | |
| 966 | tap.SoundId = "rbxassetid://147982968" | |
| 967 | tap.TimePosition = 0.1 | |
| 968 | local str = msg | |
| 969 | local len = string.len(str) | |
| 970 | for i=1,len do | |
| 971 | txt.Text = string.sub(str,1,i) | |
| 972 | pitche = math.random(20, 40)/10 | |
| 973 | tap.PlaybackSpeed = pitche | |
| 974 | tap:Play() | |
| 975 | wait(0.01) | |
| 976 | end | |
| 977 | if forever == false then | |
| 978 | wait(1) | |
| 979 | while txt.TextTransparency < 1 do | |
| 980 | txt.TextTransparency = txt.TextTransparency + 0.1 | |
| 981 | txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1 | |
| 982 | wait(0.001) | |
| 983 | end | |
| 984 | gui:Destroy() | |
| 985 | end | |
| 986 | end) | |
| 987 | doit() | |
| 988 | end | |
| 989 | ||
| 990 | wait(0.5) | |
| 991 | notify("PRESS [Z] TO EQUIP KNIFE || Created by mustardfoot and Tollonis",true)
| |
| 992 | local laugh = Instance.new('Sound',me.Head)
| |
| 993 | laugh.SoundId = 'rbxassetid://378827985' | |
| 994 | laugh.Name = "Psycho" | |
| 995 | laugh.Volume = 5 | |
| 996 | -- 1 - bitch ass knife | |
| 997 | local obj1 = Instance.new("Model")
| |
| 998 | obj1.Name = "bitch ass knife" | |
| 999 | obj1.Parent = game.Workspace | |
| 1000 | ||
| 1001 | -- 2 - Grab | |
| 1002 | local obj2 = Instance.new("Part")
| |
| 1003 | obj2.CFrame = CFrame.new(Vector3.new(20.4525032, 6.14501333, -134.399979)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) | |
| 1004 | obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1005 | obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1006 | obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1007 | obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1008 | obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1009 | obj2.Material = Enum.Material.Concrete | |
| 1010 | obj2.Size = Vector3.new(1, 0.25, 0.25) | |
| 1011 | obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1012 | obj2.Anchored = true | |
| 1013 | obj2.BrickColor = BrickColor.new("Black")
| |
| 1014 | obj2.Friction = 0.30000001192093 | |
| 1015 | obj2.Shape = Enum.PartType.Cylinder | |
| 1016 | obj2.Name = "Grab" | |
| 1017 | obj2.Parent = obj1 | |
| 1018 | ||
| 1019 | -- 3 - handletopcap | |
| 1020 | local obj3 = Instance.new("Part")
| |
| 1021 | obj3.CFrame = CFrame.new(Vector3.new(19.9725456, 6.14502859, -134.399933)) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 1022 | obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1023 | obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1024 | obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1025 | obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1026 | obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1027 | obj3.Material = Enum.Material.Concrete | |
| 1028 | obj3.Size = Vector3.new(0.349999994, 0.349999994, 0.349999994) | |
| 1029 | obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1030 | obj3.Anchored = true | |
| 1031 | obj3.BrickColor = BrickColor.new("Black")
| |
| 1032 | obj3.Friction = 0.30000001192093 | |
| 1033 | obj3.Shape = Enum.PartType.Ball | |
| 1034 | obj3.Name = "handletopcap" | |
| 1035 | obj3.Parent = obj1 | |
| 1036 | ||
| 1037 | -- 4 - handlebottomcap | |
| 1038 | local obj4 = Instance.new("Part")
| |
| 1039 | obj4.CFrame = CFrame.new(Vector3.new(20.9725285, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 1040 | obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1041 | obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1042 | obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1043 | obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1044 | obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1045 | obj4.Material = Enum.Material.Concrete | |
| 1046 | obj4.Size = Vector3.new(0.25, 0.25, 0.25) | |
| 1047 | obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1048 | obj4.Anchored = true | |
| 1049 | obj4.BrickColor = BrickColor.new("Black")
| |
| 1050 | obj4.Friction = 0.30000001192093 | |
| 1051 | obj4.Shape = Enum.PartType.Ball | |
| 1052 | obj4.Name = "handlebottomcap" | |
| 1053 | obj4.Parent = obj1 | |
| 1054 | ||
| 1055 | -- 5 - handleguardmid | |
| 1056 | local obj5 = Instance.new("Part")
| |
| 1057 | obj5.CFrame = CFrame.new(Vector3.new(19.9474983, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 1058 | obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1059 | obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1060 | obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1061 | obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1062 | obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1063 | obj5.Material = Enum.Material.Concrete | |
| 1064 | obj5.Size = Vector3.new(0.349999994, 0.349999994, 0.100000001) | |
| 1065 | obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1066 | obj5.Anchored = true | |
| 1067 | obj5.BrickColor = BrickColor.new("Black")
| |
| 1068 | obj5.Friction = 0.30000001192093 | |
| 1069 | obj5.Shape = Enum.PartType.Block | |
| 1070 | obj5.Name = "handleguardmid" | |
| 1071 | obj5.Parent = obj1 | |
| 1072 | ||
| 1073 | -- 6 - handleguardcap1 | |
| 1074 | local obj6 = Instance.new("Part")
| |
| 1075 | obj6.CFrame = CFrame.new(Vector3.new(19.9474983, 6.32502794, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) | |
| 1076 | obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1077 | obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1078 | obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1079 | obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1080 | obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1081 | obj6.Material = Enum.Material.Concrete | |
| 1082 | obj6.Size = Vector3.new(0.100000001, 0.349999994, 0.349999994) | |
| 1083 | obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1084 | obj6.Anchored = true | |
| 1085 | obj6.BrickColor = BrickColor.new("Black")
| |
| 1086 | obj6.Friction = 0.30000001192093 | |
| 1087 | obj6.Shape = Enum.PartType.Cylinder | |
| 1088 | obj6.Name = "handleguardcap1" | |
| 1089 | obj6.Parent = obj1 | |
| 1090 | ||
| 1091 | -- 7 - handleguardcap2 | |
| 1092 | local obj7 = Instance.new("Part")
| |
| 1093 | obj7.CFrame = CFrame.new(Vector3.new(19.9474983, 5.97502899, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) | |
| 1094 | obj7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1095 | obj7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1096 | obj7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1097 | obj7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1098 | obj7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1099 | obj7.Material = Enum.Material.Concrete | |
| 1100 | obj7.Size = Vector3.new(0.100000009, 0.349999994, 0.349999994) | |
| 1101 | obj7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1102 | obj7.Anchored = true | |
| 1103 | obj7.BrickColor = BrickColor.new("Black")
| |
| 1104 | obj7.Friction = 0.30000001192093 | |
| 1105 | obj7.Shape = Enum.PartType.Cylinder | |
| 1106 | obj7.Name = "handleguardcap2" | |
| 1107 | obj7.Parent = obj1 | |
| 1108 | ||
| 1109 | -- 8 - big ass knife | |
| 1110 | local obj8 = Instance.new("Part")
| |
| 1111 | obj8.CFrame = CFrame.new(Vector3.new(18.4375095, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 1112 | obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1113 | obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1114 | obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1115 | obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1116 | obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1117 | obj8.Material = Enum.Material.Metal | |
| 1118 | obj8.Size = Vector3.new(0.0500000007, 0.280000001, 0.839999795) | |
| 1119 | obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1120 | obj8.Anchored = true | |
| 1121 | obj8.BrickColor = BrickColor.new("Lily white")
| |
| 1122 | obj8.Friction = 0.30000001192093 | |
| 1123 | obj8.Shape = Enum.PartType.Block | |
| 1124 | obj8.Name = "big ass knife" | |
| 1125 | obj8.Parent = obj1 | |
| 1126 | ||
| 1127 | -- 9 - Mesh | |
| 1128 | local obj9 = Instance.new("BlockMesh")
| |
| 1129 | obj9.Scale = Vector3.new(0.5, 1, 1) | |
| 1130 | obj9.Parent = obj8 | |
| 1131 | ||
| 1132 | -- 10 - big ass knife | |
| 1133 | local obj10 = Instance.new("Part")
| |
| 1134 | obj10.CFrame = CFrame.new(Vector3.new(19.7425137, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 1135 | obj10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1136 | obj10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1137 | obj10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1138 | obj10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1139 | obj10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1140 | obj10.Material = Enum.Material.Metal | |
| 1141 | obj10.Size = Vector3.new(0.0500000007, 0.280000001, 0.289999962) | |
| 1142 | obj10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1143 | obj10.Anchored = true | |
| 1144 | obj10.BrickColor = BrickColor.new("Lily white")
| |
| 1145 | obj10.Friction = 0.30000001192093 | |
| 1146 | obj10.Shape = Enum.PartType.Block | |
| 1147 | obj10.Name = "big ass knife" | |
| 1148 | obj10.Parent = obj1 | |
| 1149 | local knife = obj10 | |
| 1150 | ||
| 1151 | -- 11 - Mesh | |
| 1152 | local obj11 = Instance.new("BlockMesh")
| |
| 1153 | obj11.Scale = Vector3.new(0.5, 1, 1) | |
| 1154 | obj11.Parent = obj10 | |
| 1155 | ||
| 1156 | -- 12 - big ass knife | |
| 1157 | local obj12 = Instance.new("Part")
| |
| 1158 | obj12.CFrame = CFrame.new(Vector3.new(19.1075306, 6.08502865, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 1159 | obj12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1160 | obj12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1161 | obj12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1162 | obj12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1163 | obj12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1164 | obj12.Material = Enum.Material.Metal | |
| 1165 | obj12.Size = Vector3.new(0.0500000007, 0.159999996, 0.979999959) | |
| 1166 | obj12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1167 | obj12.Anchored = true | |
| 1168 | obj12.BrickColor = BrickColor.new("Lily white")
| |
| 1169 | obj12.Friction = 0.30000001192093 | |
| 1170 | obj12.Shape = Enum.PartType.Block | |
| 1171 | obj12.Name = "big ass knife" | |
| 1172 | obj12.Parent = obj1 | |
| 1173 | ||
| 1174 | -- 13 - Mesh | |
| 1175 | local obj13 = Instance.new("BlockMesh")
| |
| 1176 | obj13.Scale = Vector3.new(0.5, 1, 1) | |
| 1177 | obj13.Parent = obj12 | |
| 1178 | ||
| 1179 | -- 14 - serration | |
| 1180 | local obj14 = Instance.new("WedgePart")
| |
| 1181 | obj14.CFrame = CFrame.new(Vector3.new(19.4963322, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
| 1182 | obj14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1183 | obj14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1184 | obj14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1185 | obj14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1186 | obj14.Material = Enum.Material.Metal | |
| 1187 | obj14.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
| 1188 | obj14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1189 | obj14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1190 | obj14.Anchored = true | |
| 1191 | obj14.BrickColor = BrickColor.new("Lily white")
| |
| 1192 | obj14.Friction = 0.30000001192093 | |
| 1193 | obj14.Name = "serration" | |
| 1194 | obj14.Parent = obj1 | |
| 1195 | ||
| 1196 | -- 15 - Mesh | |
| 1197 | local obj15 = Instance.new("BlockMesh")
| |
| 1198 | obj15.Scale = Vector3.new(0.5, 1, 1) | |
| 1199 | obj15.Parent = obj14 | |
| 1200 | ||
| 1201 | -- 16 - serration | |
| 1202 | local obj16 = Instance.new("WedgePart")
| |
| 1203 | obj16.CFrame = CFrame.new(Vector3.new(19.2763138, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
| 1204 | obj16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1205 | obj16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1206 | obj16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1207 | obj16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1208 | obj16.Material = Enum.Material.Metal | |
| 1209 | obj16.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
| 1210 | obj16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1211 | obj16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1212 | obj16.Anchored = true | |
| 1213 | obj16.BrickColor = BrickColor.new("Lily white")
| |
| 1214 | obj16.Friction = 0.30000001192093 | |
| 1215 | obj16.Name = "serration" | |
| 1216 | obj16.Parent = obj1 | |
| 1217 | ||
| 1218 | -- 17 - Mesh | |
| 1219 | local obj17 = Instance.new("BlockMesh")
| |
| 1220 | obj17.Scale = Vector3.new(0.5, 1, 1) | |
| 1221 | obj17.Parent = obj16 | |
| 1222 | ||
| 1223 | -- 18 - serration | |
| 1224 | local obj18 = Instance.new("WedgePart")
| |
| 1225 | obj18.CFrame = CFrame.new(Vector3.new(19.3863068, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
| 1226 | obj18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1227 | obj18.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1228 | obj18.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1229 | obj18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1230 | obj18.Material = Enum.Material.Metal | |
| 1231 | obj18.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
| 1232 | obj18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1233 | obj18.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1234 | obj18.Anchored = true | |
| 1235 | obj18.BrickColor = BrickColor.new("Lily white")
| |
| 1236 | obj18.Friction = 0.30000001192093 | |
| 1237 | obj18.Name = "serration" | |
| 1238 | obj18.Parent = obj1 | |
| 1239 | ||
| 1240 | -- 19 - Mesh | |
| 1241 | local obj19 = Instance.new("BlockMesh")
| |
| 1242 | obj19.Scale = Vector3.new(0.5, 1, 1) | |
| 1243 | obj19.Parent = obj18 | |
| 1244 | ||
| 1245 | -- 20 - serration | |
| 1246 | local obj20 = Instance.new("WedgePart")
| |
| 1247 | obj20.CFrame = CFrame.new(Vector3.new(19.5963173, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
| 1248 | obj20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1249 | obj20.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1250 | obj20.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1251 | obj20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1252 | obj20.Material = Enum.Material.Metal | |
| 1253 | obj20.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
| 1254 | obj20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1255 | obj20.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1256 | obj20.Anchored = true | |
| 1257 | obj20.BrickColor = BrickColor.new("Lily white")
| |
| 1258 | obj20.Friction = 0.30000001192093 | |
| 1259 | obj20.Name = "serration" | |
| 1260 | obj20.Parent = obj1 | |
| 1261 | ||
| 1262 | -- 21 - Mesh | |
| 1263 | local obj21 = Instance.new("BlockMesh")
| |
| 1264 | obj21.Scale = Vector3.new(0.5, 1, 1) | |
| 1265 | obj21.Parent = obj20 | |
| 1266 | ||
| 1267 | -- 22 - serration | |
| 1268 | local obj22 = Instance.new("WedgePart")
| |
| 1269 | obj22.CFrame = CFrame.new(Vector3.new(19.1663074, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
| 1270 | obj22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1271 | obj22.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1272 | obj22.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1273 | obj22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1274 | obj22.Material = Enum.Material.Metal | |
| 1275 | obj22.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
| 1276 | obj22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1277 | obj22.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1278 | obj22.Anchored = true | |
| 1279 | obj22.BrickColor = BrickColor.new("Lily white")
| |
| 1280 | obj22.Friction = 0.30000001192093 | |
| 1281 | obj22.Name = "serration" | |
| 1282 | obj22.Parent = obj1 | |
| 1283 | ||
| 1284 | -- 23 - Mesh | |
| 1285 | local obj23 = Instance.new("BlockMesh")
| |
| 1286 | obj23.Scale = Vector3.new(0.5, 1, 1) | |
| 1287 | obj23.Parent = obj22 | |
| 1288 | ||
| 1289 | -- 24 - serration | |
| 1290 | local obj24 = Instance.new("WedgePart")
| |
| 1291 | obj24.CFrame = CFrame.new(Vector3.new(18.9663048, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
| 1292 | obj24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1293 | obj24.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1294 | obj24.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1295 | obj24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1296 | obj24.Material = Enum.Material.Metal | |
| 1297 | obj24.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
| 1298 | obj24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1299 | obj24.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1300 | obj24.Anchored = true | |
| 1301 | obj24.BrickColor = BrickColor.new("Lily white")
| |
| 1302 | obj24.Friction = 0.30000001192093 | |
| 1303 | obj24.Name = "serration" | |
| 1304 | obj24.Parent = obj1 | |
| 1305 | ||
| 1306 | -- 25 - Mesh | |
| 1307 | local obj25 = Instance.new("BlockMesh")
| |
| 1308 | obj25.Scale = Vector3.new(0.5, 1, 1) | |
| 1309 | obj25.Parent = obj24 | |
| 1310 | ||
| 1311 | -- 26 - serration | |
| 1312 | local obj26 = Instance.new("WedgePart")
| |
| 1313 | obj26.CFrame = CFrame.new(Vector3.new(18.8562984, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
| 1314 | obj26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1315 | obj26.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1316 | obj26.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1317 | obj26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1318 | obj26.Material = Enum.Material.Metal | |
| 1319 | obj26.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
| 1320 | obj26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1321 | obj26.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1322 | obj26.Anchored = true | |
| 1323 | obj26.BrickColor = BrickColor.new("Lily white")
| |
| 1324 | obj26.Friction = 0.30000001192093 | |
| 1325 | obj26.Name = "serration" | |
| 1326 | obj26.Parent = obj1 | |
| 1327 | ||
| 1328 | -- 27 - Mesh | |
| 1329 | local obj27 = Instance.new("BlockMesh")
| |
| 1330 | obj27.Scale = Vector3.new(0.5, 1, 1) | |
| 1331 | obj27.Parent = obj26 | |
| 1332 | ||
| 1333 | -- 28 - serration | |
| 1334 | local obj28 = Instance.new("WedgePart")
| |
| 1335 | obj28.CFrame = CFrame.new(Vector3.new(19.0663071, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
| 1336 | obj28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1337 | obj28.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1338 | obj28.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1339 | obj28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1340 | obj28.Material = Enum.Material.Metal | |
| 1341 | obj28.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
| 1342 | obj28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1343 | obj28.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1344 | obj28.Anchored = true | |
| 1345 | obj28.BrickColor = BrickColor.new("Lily white")
| |
| 1346 | obj28.Friction = 0.30000001192093 | |
| 1347 | obj28.Name = "serration" | |
| 1348 | obj28.Parent = obj1 | |
| 1349 | ||
| 1350 | -- 29 - Mesh | |
| 1351 | local obj29 = Instance.new("BlockMesh")
| |
| 1352 | obj29.Scale = Vector3.new(0.5, 1, 1) | |
| 1353 | obj29.Parent = obj28 | |
| 1354 | ||
| 1355 | -- 30 - knifetip1 | |
| 1356 | local obj30 = Instance.new("WedgePart")
| |
| 1357 | obj30.CFrame = CFrame.new(Vector3.new(18.0163059, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
| 1358 | obj30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1359 | obj30.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1360 | obj30.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1361 | obj30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1362 | obj30.Material = Enum.Material.Metal | |
| 1363 | obj30.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
| 1364 | obj30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1365 | obj30.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1366 | obj30.Anchored = true | |
| 1367 | obj30.BrickColor = BrickColor.new("Lily white")
| |
| 1368 | obj30.Friction = 0.30000001192093 | |
| 1369 | obj30.Name = "knifetip1" | |
| 1370 | obj30.Parent = obj1 | |
| 1371 | ||
| 1372 | -- 31 - Mesh | |
| 1373 | local obj31 = Instance.new("BlockMesh")
| |
| 1374 | obj31.Scale = Vector3.new(0.5, 1, 1) | |
| 1375 | obj31.Parent = obj30 | |
| 1376 | ||
| 1377 | -- 32 - redstuff | |
| 1378 | local obj32 = Instance.new("Part")
| |
| 1379 | obj32.CFrame = CFrame.new(Vector3.new(19.9470005, 5.9749999, -134.399994)) * CFrame.Angles(-0, 0, -0) | |
| 1380 | obj32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1381 | obj32.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1382 | obj32.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1383 | obj32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1384 | obj32.Material = Enum.Material.SmoothPlastic | |
| 1385 | obj32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1386 | obj32.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014) | |
| 1387 | obj32.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1388 | obj32.BrickColor = BrickColor.new("Institutional white")
| |
| 1389 | obj32.Friction = 0.30000001192093 | |
| 1390 | obj32.Shape = Enum.PartType.Cylinder | |
| 1391 | obj32.Name = "redstuff" | |
| 1392 | obj32.Anchored = true | |
| 1393 | obj32.Parent = obj1 | |
| 1394 | ||
| 1395 | ||
| 1396 | -- 33 - redstuff | |
| 1397 | local obj33 = Instance.new("Part")
| |
| 1398 | obj33.CFrame = CFrame.new(Vector3.new(18.9800053, 6.1400156, -134.404984)) * CFrame.Angles(-0, 0, -0) | |
| 1399 | obj33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1400 | obj33.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1401 | obj33.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1402 | obj33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1403 | obj33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1404 | obj33.Material = Enum.Material.SmoothPlastic | |
| 1405 | obj33.Size = Vector3.new(1.81999993, 0.100000001, 0.0500000007) | |
| 1406 | obj33.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1407 | obj33.BrickColor = BrickColor.new("Institutional white")
| |
| 1408 | obj33.Friction = 0.30000001192093 | |
| 1409 | obj33.Shape = Enum.PartType.Block | |
| 1410 | obj33.Name = "redstuff" | |
| 1411 | obj33.Anchored = true | |
| 1412 | obj33.Parent = obj1 | |
| 1413 | ||
| 1414 | -- 34 - redstuff | |
| 1415 | local obj34 = Instance.new("Part")
| |
| 1416 | obj34.CFrame = CFrame.new(Vector3.new(19.9470005, 6.32499981, -134.399994)) * CFrame.Angles(-0, 0, -0) | |
| 1417 | obj34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1418 | obj34.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1419 | obj34.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1420 | obj34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1421 | obj34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1422 | obj34.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014) | |
| 1423 | obj34.Material = Enum.Material.SmoothPlastic | |
| 1424 | obj34.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1425 | obj34.BrickColor = BrickColor.new("Institutional white")
| |
| 1426 | obj34.Friction = 0.30000001192093 | |
| 1427 | obj34.Shape = Enum.PartType.Cylinder | |
| 1428 | obj34.Name = "redstuff" | |
| 1429 | obj34.Anchored = true | |
| 1430 | obj34.Parent = obj1 | |
| 1431 | ||
| 1432 | -- 35 - redstuff | |
| 1433 | local obj35 = Instance.new("Part")
| |
| 1434 | obj35.CFrame = CFrame.new(Vector3.new(19.8830166, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0) | |
| 1435 | obj35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1436 | obj35.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1437 | obj35.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1438 | obj35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1439 | obj35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1440 | obj35.Size = Vector3.new(0.0500000007, 0.319999993, 0.319999993) | |
| 1441 | obj35.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1442 | obj35.BrickColor = BrickColor.new("Institutional white")
| |
| 1443 | obj35.Friction = 0.30000001192093 | |
| 1444 | obj35.Shape = Enum.PartType.Cylinder | |
| 1445 | obj35.Material = Enum.Material.SmoothPlastic | |
| 1446 | obj35.Name = "redstuff" | |
| 1447 | obj35.Anchored = true | |
| 1448 | obj35.Parent = obj1 | |
| 1449 | ||
| 1450 | -- 36 - redstuff | |
| 1451 | local obj36 = Instance.new("Part")
| |
| 1452 | obj36.CFrame = CFrame.new(Vector3.new(20.9430103, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0) | |
| 1453 | obj36.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1454 | obj36.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1455 | obj36.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1456 | obj36.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1457 | obj36.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1458 | obj36.Material = Enum.Material.SmoothPlastic | |
| 1459 | obj36.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999) | |
| 1460 | obj36.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1461 | obj36.BrickColor = BrickColor.new("Institutional white")
| |
| 1462 | obj36.Friction = 0.30000001192093 | |
| 1463 | obj36.Shape = Enum.PartType.Cylinder | |
| 1464 | obj36.Name = "redstuff" | |
| 1465 | obj36.Anchored = true | |
| 1466 | obj36.Parent = obj1 | |
| 1467 | ||
| 1468 | -- 37 - redstuff | |
| 1469 | local obj37 = Instance.new("WedgePart")
| |
| 1470 | obj37.CFrame = CFrame.new(Vector3.new(18.066288, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
| 1471 | obj37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1472 | obj37.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1473 | obj37.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1474 | obj37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1475 | obj37.Material = Enum.Material.SmoothPlastic | |
| 1476 | obj37.Size = Vector3.new(0.0500000007, 0.0700000003, 0.0700000003) | |
| 1477 | obj37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1478 | obj37.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1479 | obj37.Anchored = true | |
| 1480 | obj37.BrickColor = BrickColor.new("Institutional white")
| |
| 1481 | obj37.Friction = 0.30000001192093 | |
| 1482 | obj37.Name = "redstuff" | |
| 1483 | obj37.Anchored = true | |
| 1484 | obj37.Parent = obj1 | |
| 1485 | ||
| 1486 | -- 38 - redstuff | |
| 1487 | local obj38 = Instance.new("Part")
| |
| 1488 | obj38.CFrame = CFrame.new(Vector3.new(20.1230125, 6.14501476, -134.399979)) * CFrame.Angles(-0, 0, -0) | |
| 1489 | obj38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1490 | obj38.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1491 | obj38.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1492 | obj38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1493 | obj38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1494 | obj38.Material = Enum.Material.SmoothPlastic | |
| 1495 | obj38.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999) | |
| 1496 | obj38.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 1497 | obj38.BrickColor = BrickColor.new("Institutional white")
| |
| 1498 | obj38.Friction = 0.30000001192093 | |
| 1499 | obj38.Shape = Enum.PartType.Cylinder | |
| 1500 | obj38.Name = "redstuff" | |
| 1501 | obj38.Anchored = true | |
| 1502 | obj38.Parent = obj1 | |
| 1503 | ||
| 1504 | local function recurse(objnum) | |
| 1505 | table.insert(knifeparts,{objnum,objnum.Parent})
| |
| 1506 | for i,v in pairs(objnum:GetChildren()) do | |
| 1507 | recurse(v) | |
| 1508 | end | |
| 1509 | end | |
| 1510 | ||
| 1511 | recurse(obj1) | |
| 1512 | ||
| 1513 | local audio = Instance.new('Sound',knife)
| |
| 1514 | audio.Volume = 2 | |
| 1515 | ||
| 1516 | local audio2 = Instance.new('Sound',knife)
| |
| 1517 | audio2.Volume = 2 | |
| 1518 | ||
| 1519 | local holdpart = Instance.new("Part")
| |
| 1520 | holdpart.Parent = me | |
| 1521 | holdpart.Size = Vector3.new(0.4, 0.4, 0.2) | |
| 1522 | holdpart.Position = me.Head.Position + Vector3.new(0, 1, 0) | |
| 1523 | holdpart.BrickColor = BrickColor.new("Burnt Sienna")
| |
| 1524 | ||
| 1525 | local previous = nil | |
| 1526 | for i,v in pairs(obj1:GetChildren()) do | |
| 1527 | if v:IsA('BasePart') then
| |
| 1528 | if previous then | |
| 1529 | local weld = Instance.new('Weld',v)
| |
| 1530 | weld.Part0 = v | |
| 1531 | weld.Part1 = previous | |
| 1532 | weld.C0 = v.CFrame:inverse() * previous.CFrame | |
| 1533 | previous.Anchored = false | |
| 1534 | previous.CanCollide = false | |
| 1535 | local vee = v | |
| 1536 | weld.AncestryChanged:connect(function(mez,par) | |
| 1537 | wait() | |
| 1538 | weld.Parent = vee | |
| 1539 | end) | |
| 1540 | end | |
| 1541 | previous = v | |
| 1542 | end | |
| 1543 | end | |
| 1544 | previous.Anchored = false | |
| 1545 | previous.CanCollide = false | |
| 1546 | ||
| 1547 | local holdpartweld = Instance.new("Weld", me.Torso)
| |
| 1548 | holdpartweld.Part0 = me.Torso | |
| 1549 | holdpartweld.Part1 = holdpart | |
| 1550 | holdpartweld.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1, -0.8, 0.15) | |
| 1551 | ||
| 1552 | holdpartweld.AncestryChanged:connect(function(mez,par) | |
| 1553 | if par ~= me.Torso then | |
| 1554 | wait() | |
| 1555 | holdpartweld.Parent = me.Torso | |
| 1556 | end | |
| 1557 | end) | |
| 1558 | ||
| 1559 | local knifeweld = Instance.new('Weld',me.Torso)
| |
| 1560 | knifeweld.Part0 = me.Torso | |
| 1561 | knifeweld.Part1 = obj2 | |
| 1562 | knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55) | |
| 1563 | knifeweld.AncestryChanged:connect(function(mez,par) | |
| 1564 | if par ~= me.Torso then | |
| 1565 | wait() | |
| 1566 | knifeweld.Parent = me.Torso | |
| 1567 | end | |
| 1568 | end) | |
| 1569 | local ScreenGui = Instance.new("ScreenGui")
| |
| 1570 | local CustomizeGui = Instance.new("Frame")
| |
| 1571 | local Customize = Instance.new("TextLabel")
| |
| 1572 | local ClosestColor = Instance.new("TextLabel")
| |
| 1573 | local Line = Instance.new("TextLabel")
| |
| 1574 | local Color = Instance.new("ImageLabel")
| |
| 1575 | local Close = Instance.new("TextButton")
| |
| 1576 | local RedHue = Instance.new("TextLabel")
| |
| 1577 | local GreenHue = Instance.new("TextLabel")
| |
| 1578 | local RedInput = Instance.new("TextBox")
| |
| 1579 | local BlueHue = Instance.new("TextLabel")
| |
| 1580 | local GreenInput = Instance.new("TextBox")
| |
| 1581 | local TransInput = Instance.new("TextBox")
| |
| 1582 | local BlueInput = Instance.new("TextBox")
| |
| 1583 | local Message = Instance.new("TextLabel")
| |
| 1584 | local Message2 = Instance.new("TextLabel")
| |
| 1585 | local TrailTransparency = Instance.new("TextLabel")
| |
| 1586 | local TrailInput = Instance.new("TextBox")
| |
| 1587 | local MusicOption = Instance.new("TextButton")
| |
| 1588 | local ScreenOption = Instance.new("TextButton")
| |
| 1589 | local ScreenOptionTxt = Instance.new("TextLabel")
| |
| 1590 | local MusicOptionTxt = Instance.new("TextLabel")
| |
| 1591 | ||
| 1592 | -- Properties | |
| 1593 | ||
| 1594 | ScreenGui.Parent = playergui | |
| 1595 | ||
| 1596 | CustomizeGui.Name = "CustomizeGui" | |
| 1597 | CustomizeGui.Parent = ScreenGui | |
| 1598 | CustomizeGui.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) | |
| 1599 | CustomizeGui.BackgroundTransparency = 0.5 | |
| 1600 | CustomizeGui.BorderColor3 = Color3.new(0, 0, 0) | |
| 1601 | CustomizeGui.BorderSizePixel = 2 | |
| 1602 | CustomizeGui.Position = UDim2.new(0, 0, 0.5, 0) | |
| 1603 | CustomizeGui.Size = UDim2.new(0.449999988, 0, 0.449999988, 0) | |
| 1604 | ||
| 1605 | Customize.Name = "Customize" | |
| 1606 | Customize.Parent = CustomizeGui | |
| 1607 | Customize.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) | |
| 1608 | Customize.BackgroundTransparency = 0.75 | |
| 1609 | Customize.BorderSizePixel = 0 | |
| 1610 | Customize.Size = UDim2.new(1, 0, 0.200000003, 0) | |
| 1611 | Customize.FontSize = Enum.FontSize.Size28 | |
| 1612 | Customize.Text = "ACCENT COLOR CUSTOMIZATION" | |
| 1613 | Customize.TextColor3 = Color3.new(1, 1, 1) | |
| 1614 | Customize.TextScaled = true | |
| 1615 | Customize.TextSize = 25 | |
| 1616 | Customize.TextStrokeTransparency = 0.5 | |
| 1617 | Customize.TextWrapped = true | |
| 1618 | ||
| 1619 | ClosestColor.Name = "ClosestColor" | |
| 1620 | ClosestColor.Parent = CustomizeGui | |
| 1621 | ClosestColor.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1622 | ClosestColor.BackgroundTransparency = 1 | |
| 1623 | ClosestColor.Position = UDim2.new(0, 0, 0.850000024, 0) | |
| 1624 | ClosestColor.Size = UDim2.new(1, 0, 0.150000006, 0) | |
| 1625 | ClosestColor.Font = Enum.Font.SourceSansLight | |
| 1626 | ClosestColor.FontSize = Enum.FontSize.Size32 | |
| 1627 | ClosestColor.Text = "Your color is closest to Institutional White" | |
| 1628 | ClosestColor.TextColor3 = Color3.new(1, 1, 1) | |
| 1629 | ClosestColor.TextSize = 30 | |
| 1630 | ClosestColor.TextStrokeTransparency = 0.5 | |
| 1631 | ||
| 1632 | Line.Name = "Line" | |
| 1633 | Line.Parent = CustomizeGui | |
| 1634 | Line.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
| 1635 | Line.BackgroundTransparency = 0.5 | |
| 1636 | Line.BorderColor3 = Color3.new(0, 0, 0) | |
| 1637 | Line.BorderSizePixel = 0 | |
| 1638 | Line.Position = UDim2.new(0, 0, 0.200000003, 0) | |
| 1639 | Line.Size = UDim2.new(1, 0, 0.0299999993, 0) | |
| 1640 | Line.Font = Enum.Font.SourceSans | |
| 1641 | Line.FontSize = Enum.FontSize.Size14 | |
| 1642 | Line.Text = " " | |
| 1643 | Line.TextSize = 14 | |
| 1644 | ||
| 1645 | Color.Name = "Color" | |
| 1646 | Color.Parent = CustomizeGui | |
| 1647 | Color.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1648 | Color.BorderSizePixel = 0 | |
| 1649 | Color.Position = UDim2.new(0.699999988, 0, 0.419999987, 0) | |
| 1650 | Color.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
| 1651 | Color.SizeConstraint = Enum.SizeConstraint.RelativeYY | |
| 1652 | ||
| 1653 | MusicOption.Parent = CustomizeGui | |
| 1654 | MusicOption.Name = "MusicOption" | |
| 1655 | MusicOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
| 1656 | MusicOption.BorderSizePixel = 1 | |
| 1657 | MusicOption.Position = UDim2.new(0.01, 0, -0.12, 0) | |
| 1658 | MusicOption.Size = UDim2.new(0.05, 0, 0.1, 0) | |
| 1659 | MusicOption.Text = "" | |
| 1660 | MusicOption.BackgroundTransparency = 0.5 | |
| 1661 | ||
| 1662 | ScreenOption.Parent = CustomizeGui | |
| 1663 | ScreenOption.Name = "ScreenOption" | |
| 1664 | ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
| 1665 | ScreenOption.BorderSizePixel = 1 | |
| 1666 | ScreenOption.Position = UDim2.new(0.01, 0, -0.23, 0) | |
| 1667 | ScreenOption.Size = UDim2.new(0.05, 0, 0.1, 0) | |
| 1668 | ScreenOption.Text = "" | |
| 1669 | ScreenOption.BackgroundTransparency = 0.5 | |
| 1670 | ||
| 1671 | ScreenOptionTxt.Name = "ScreenOptionTxt" | |
| 1672 | ScreenOptionTxt.Parent = CustomizeGui | |
| 1673 | ScreenOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1674 | ScreenOptionTxt.BackgroundTransparency = 1 | |
| 1675 | ScreenOptionTxt.Position = UDim2.new(0.07, 0, -0.23, 0) | |
| 1676 | ScreenOptionTxt.Size = UDim2.new(1, 0, 0.07, 0) | |
| 1677 | ScreenOptionTxt.Font = Enum.Font.SourceSans | |
| 1678 | ScreenOptionTxt.FontSize = Enum.FontSize.Size24 | |
| 1679 | ScreenOptionTxt.Text = "Psychopath Red Filter" | |
| 1680 | ScreenOptionTxt.TextColor3 = Color3.new(1, 1, 1) | |
| 1681 | ScreenOptionTxt.TextScaled = true | |
| 1682 | ScreenOptionTxt.TextSize = 20 | |
| 1683 | ScreenOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 1684 | ScreenOptionTxt.TextStrokeTransparency = 0.5 | |
| 1685 | ScreenOptionTxt.TextWrapped = true | |
| 1686 | ScreenOptionTxt.TextXAlignment = "Left" | |
| 1687 | ||
| 1688 | MusicOptionTxt.Name = "MusicOptionTxt" | |
| 1689 | MusicOptionTxt.Parent = CustomizeGui | |
| 1690 | MusicOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1691 | MusicOptionTxt.BackgroundTransparency = 1 | |
| 1692 | MusicOptionTxt.Position = UDim2.new(0.07, 0, -0.12, 0) | |
| 1693 | MusicOptionTxt.Size = UDim2.new(1, 0, 0.07, 0) | |
| 1694 | MusicOptionTxt.Font = Enum.Font.SourceSans | |
| 1695 | MusicOptionTxt.FontSize = Enum.FontSize.Size24 | |
| 1696 | MusicOptionTxt.Text = "Psychopath Background Music" | |
| 1697 | MusicOptionTxt.TextColor3 = Color3.new(1, 1, 1) | |
| 1698 | MusicOptionTxt.TextScaled = true | |
| 1699 | MusicOptionTxt.TextSize = 20 | |
| 1700 | MusicOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 1701 | MusicOptionTxt.TextStrokeTransparency = 0.5 | |
| 1702 | MusicOptionTxt.TextWrapped = true | |
| 1703 | MusicOptionTxt.TextXAlignment = "Left" | |
| 1704 | ||
| 1705 | Close.Name = "Close" | |
| 1706 | Close.Parent = CustomizeGui | |
| 1707 | Close.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) | |
| 1708 | Close.BackgroundTransparency = 0.5 | |
| 1709 | Close.BorderColor3 = Color3.new(0, 0, 0) | |
| 1710 | Close.BorderSizePixel = 2 | |
| 1711 | Close.Position = UDim2.new(1.005, 0, 0, 0) | |
| 1712 | Close.Size = UDim2.new(0.100000001, 0, 0.2, 0) | |
| 1713 | Close.Font = Enum.Font.SourceSans | |
| 1714 | Close.FontSize = Enum.FontSize.Size14 | |
| 1715 | Close.Text = "X" | |
| 1716 | Close.TextColor3 = Color3.new(1, 1, 1) | |
| 1717 | Close.TextScaled = true | |
| 1718 | Close.TextSize = 14 | |
| 1719 | Close.TextStrokeTransparency = 0 | |
| 1720 | Close.TextWrapped = true | |
| 1721 | ||
| 1722 | RedHue.Name = "RedHue" | |
| 1723 | RedHue.Parent = CustomizeGui | |
| 1724 | RedHue.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1725 | RedHue.BackgroundTransparency = 1 | |
| 1726 | RedHue.Position = UDim2.new(0.100000001, 0, 0.400000006, 0) | |
| 1727 | RedHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
| 1728 | RedHue.Font = Enum.Font.SourceSans | |
| 1729 | RedHue.FontSize = Enum.FontSize.Size24 | |
| 1730 | RedHue.Text = "RED Hue Value: " | |
| 1731 | RedHue.TextColor3 = Color3.new(1, 1, 1) | |
| 1732 | RedHue.TextScaled = true | |
| 1733 | RedHue.TextSize = 20 | |
| 1734 | RedHue.TextStrokeColor3 = Color3.new(1, 0, 0) | |
| 1735 | RedHue.TextStrokeTransparency = 0.75 | |
| 1736 | RedHue.TextWrapped = true | |
| 1737 | ||
| 1738 | GreenHue.Name = "GreenHue" | |
| 1739 | GreenHue.Parent = CustomizeGui | |
| 1740 | GreenHue.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1741 | GreenHue.BackgroundTransparency = 1 | |
| 1742 | GreenHue.Position = UDim2.new(0.100000001, 0, 0.5, 0) | |
| 1743 | GreenHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
| 1744 | GreenHue.Font = Enum.Font.SourceSans | |
| 1745 | GreenHue.FontSize = Enum.FontSize.Size24 | |
| 1746 | GreenHue.Text = "GREEN Hue Value:" | |
| 1747 | GreenHue.TextColor3 = Color3.new(1, 1, 1) | |
| 1748 | GreenHue.TextScaled = true | |
| 1749 | GreenHue.TextSize = 20 | |
| 1750 | GreenHue.TextStrokeColor3 = Color3.new(0, 1, 0) | |
| 1751 | GreenHue.TextStrokeTransparency = 0.75 | |
| 1752 | GreenHue.TextWrapped = true | |
| 1753 | ||
| 1754 | RedInput.Name = "RedInput" | |
| 1755 | RedInput.Parent = CustomizeGui | |
| 1756 | RedInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
| 1757 | RedInput.BackgroundTransparency = 0.5 | |
| 1758 | RedInput.BorderSizePixel = 0 | |
| 1759 | RedInput.Position = UDim2.new(0.419999987, 0, 0.425000007, 0) | |
| 1760 | RedInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
| 1761 | RedInput.Font = Enum.Font.SourceSans | |
| 1762 | RedInput.FontSize = Enum.FontSize.Size14 | |
| 1763 | RedInput.Text = "255" | |
| 1764 | RedInput.TextColor3 = Color3.new(1, 1, 1) | |
| 1765 | RedInput.TextSize = 14 | |
| 1766 | RedInput.TextStrokeTransparency = 0 | |
| 1767 | ||
| 1768 | BlueHue.Name = "BlueHue" | |
| 1769 | BlueHue.Parent = CustomizeGui | |
| 1770 | BlueHue.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1771 | BlueHue.BackgroundTransparency = 1 | |
| 1772 | BlueHue.Position = UDim2.new(0.100000001, 0, 0.600000024, 0) | |
| 1773 | BlueHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
| 1774 | BlueHue.Font = Enum.Font.SourceSans | |
| 1775 | BlueHue.FontSize = Enum.FontSize.Size24 | |
| 1776 | BlueHue.Text = "BLUE Hue Value:" | |
| 1777 | BlueHue.TextColor3 = Color3.new(1, 1, 1) | |
| 1778 | BlueHue.TextScaled = true | |
| 1779 | BlueHue.TextSize = 20 | |
| 1780 | BlueHue.TextStrokeColor3 = Color3.new(0, 0, 1) | |
| 1781 | BlueHue.TextStrokeTransparency = 0.75 | |
| 1782 | BlueHue.TextWrapped = true | |
| 1783 | ||
| 1784 | TrailTransparency.Name = "TrailTransparency" | |
| 1785 | TrailTransparency.Parent = CustomizeGui | |
| 1786 | TrailTransparency.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1787 | TrailTransparency.BackgroundTransparency = 1 | |
| 1788 | TrailTransparency.Position = UDim2.new(0.090000001, 0, 0.700000024, 0) | |
| 1789 | TrailTransparency.Size = UDim2.new(0.310000012, 0, 0.100000001, 0) | |
| 1790 | TrailTransparency.Font = Enum.Font.SourceSans | |
| 1791 | TrailTransparency.FontSize = Enum.FontSize.Size24 | |
| 1792 | TrailTransparency.Text = "Trail Transparency:" | |
| 1793 | TrailTransparency.TextColor3 = Color3.new(1, 1, 1) | |
| 1794 | TrailTransparency.TextScaled = true | |
| 1795 | TrailTransparency.TextSize = 20 | |
| 1796 | TrailTransparency.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 1797 | TrailTransparency.TextWrapped = true | |
| 1798 | ||
| 1799 | GreenInput.Name = "GreenInput" | |
| 1800 | GreenInput.Parent = CustomizeGui | |
| 1801 | GreenInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
| 1802 | GreenInput.BackgroundTransparency = 0.5 | |
| 1803 | GreenInput.BorderSizePixel = 0 | |
| 1804 | GreenInput.Position = UDim2.new(0.419999987, 0, 0.524999976, 0) | |
| 1805 | GreenInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
| 1806 | GreenInput.Font = Enum.Font.SourceSans | |
| 1807 | GreenInput.FontSize = Enum.FontSize.Size14 | |
| 1808 | GreenInput.Text = "255" | |
| 1809 | GreenInput.TextColor3 = Color3.new(1, 1, 1) | |
| 1810 | GreenInput.TextSize = 14 | |
| 1811 | GreenInput.TextStrokeTransparency = 0 | |
| 1812 | ||
| 1813 | TransInput.Name = "TransInput" | |
| 1814 | TransInput.Parent = CustomizeGui | |
| 1815 | TransInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
| 1816 | TransInput.BackgroundTransparency = 0.5 | |
| 1817 | TransInput.BorderSizePixel = 0 | |
| 1818 | TransInput.Position = UDim2.new(0.419999987, 0, 0.725000024, 0) | |
| 1819 | TransInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
| 1820 | TransInput.Font = Enum.Font.SourceSans | |
| 1821 | TransInput.FontSize = Enum.FontSize.Size14 | |
| 1822 | TransInput.Text = "50" | |
| 1823 | TransInput.TextColor3 = Color3.new(1, 1, 1) | |
| 1824 | TransInput.TextSize = 14 | |
| 1825 | TransInput.TextStrokeTransparency = 0 | |
| 1826 | ||
| 1827 | BlueInput.Name = "BlueInput" | |
| 1828 | BlueInput.Parent = CustomizeGui | |
| 1829 | BlueInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
| 1830 | BlueInput.BackgroundTransparency = 0.5 | |
| 1831 | BlueInput.BorderSizePixel = 0 | |
| 1832 | BlueInput.Position = UDim2.new(0.419999987, 0, 0.625, 0) | |
| 1833 | BlueInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
| 1834 | BlueInput.Font = Enum.Font.SourceSans | |
| 1835 | BlueInput.FontSize = Enum.FontSize.Size14 | |
| 1836 | BlueInput.Text = "255" | |
| 1837 | BlueInput.TextColor3 = Color3.new(1, 1, 1) | |
| 1838 | BlueInput.TextSize = 14 | |
| 1839 | BlueInput.TextStrokeTransparency = 0 | |
| 1840 | ||
| 1841 | Message.Name = "Message" | |
| 1842 | Message.Parent = CustomizeGui | |
| 1843 | Message.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1844 | Message.BackgroundTransparency = 1 | |
| 1845 | Message.Position = UDim2.new(0, 0, 0.2500004, 0) | |
| 1846 | Message.Size = UDim2.new(1, 0, 0.100000006, 0) | |
| 1847 | Message.Font = Enum.Font.SourceSans | |
| 1848 | Message.FontSize = Enum.FontSize.Size18 | |
| 1849 | Message.Text = "|| Inputs must be values ||" | |
| 1850 | Message.TextColor3 = Color3.new(1, 1, 1) | |
| 1851 | Message.TextScaled = true | |
| 1852 | Message.TextSize = 15 | |
| 1853 | Message.TextStrokeTransparency = 0.75 | |
| 1854 | Message.TextWrapped = true | |
| 1855 | ||
| 1856 | local attun = Instance.new("Attachment", knife)
| |
| 1857 | attun.Position = Vector3.new(0, 0.1, -1.75) | |
| 1858 | local atdos = Instance.new("Attachment", knife)
| |
| 1859 | atdos.Position = Vector3.new(0, -0.1, 0.5) | |
| 1860 | local trail = Instance.new("Trail", knife)
| |
| 1861 | trail.LightEmission = 0.5 | |
| 1862 | trail.Attachment0 = attun | |
| 1863 | trail.Attachment1 = atdos | |
| 1864 | trail.Lifetime = 0.175 | |
| 1865 | trail.MinLength = 0 | |
| 1866 | trail.Enabled = false | |
| 1867 | ||
| 1868 | function updatez() | |
| 1869 | local rc = tonumber(RedInput.Text) | |
| 1870 | local gc = tonumber(GreenInput.Text) | |
| 1871 | local bc = tonumber(BlueInput.Text) | |
| 1872 | local tcupd = tonumber(TransInput.Text) | |
| 1873 | if rc == nil then | |
| 1874 | rc = 0 | |
| 1875 | end | |
| 1876 | if gc == nil then | |
| 1877 | gc = 0 | |
| 1878 | end | |
| 1879 | if bc == nil then | |
| 1880 | bc = 0 | |
| 1881 | end | |
| 1882 | if tcupd == nil then | |
| 1883 | tcupd = 0 | |
| 1884 | end | |
| 1885 | local tc = tcupd/100 | |
| 1886 | Color.BackgroundColor3 = Color3.fromRGB(rc,gc,bc) | |
| 1887 | ClosestColor.Text = "Your color is closest to "..tostring(BrickColor.new(Color3.fromRGB(rc,gc,bc))) | |
| 1888 | obj32.Color = Color3.fromRGB(rc,gc,bc) | |
| 1889 | obj33.Color = Color3.fromRGB(rc,gc,bc) | |
| 1890 | obj34.Color = Color3.fromRGB(rc,gc,bc) | |
| 1891 | obj35.Color = Color3.fromRGB(rc,gc,bc) | |
| 1892 | obj36.Color = Color3.fromRGB(rc,gc,bc) | |
| 1893 | obj37.Color = Color3.fromRGB(rc,gc,bc) | |
| 1894 | obj38.Color = Color3.fromRGB(rc,gc,bc) | |
| 1895 | trail.Color = ColorSequence.new(Color3.fromRGB(rc, gc, bc)) | |
| 1896 | trail.Transparency = NumberSequence.new(tc) | |
| 1897 | TrailTransparency.TextStrokeTransparency = tc | |
| 1898 | end | |
| 1899 | ||
| 1900 | RedInput.Changed:connect(function(val) | |
| 1901 | if val == "Text" and tonumber(RedInput.Text) then | |
| 1902 | RedInput.Text = tostring(tonumber(RedInput.Text)) | |
| 1903 | if tonumber(RedInput.Text) > 255 then | |
| 1904 | RedInput.Text = '255' | |
| 1905 | end | |
| 1906 | elseif val == "Text" then | |
| 1907 | RedInput.Text = "" | |
| 1908 | end | |
| 1909 | updatez() | |
| 1910 | end) | |
| 1911 | GreenInput.Changed:connect(function(val) | |
| 1912 | if val == "Text" and tonumber(GreenInput.Text) then | |
| 1913 | GreenInput.Text = tostring(tonumber(GreenInput.Text)) | |
| 1914 | if tonumber(GreenInput.Text) > 255 then | |
| 1915 | GreenInput.Text = '255' | |
| 1916 | end | |
| 1917 | elseif val == "Text" then | |
| 1918 | GreenInput.Text = "" | |
| 1919 | end | |
| 1920 | updatez() | |
| 1921 | end) | |
| 1922 | BlueInput.Changed:connect(function(val) | |
| 1923 | if val == "Text" and tonumber(BlueInput.Text) then | |
| 1924 | BlueInput.Text = tostring(tonumber(BlueInput.Text)) | |
| 1925 | if tonumber(BlueInput.Text) > 255 then | |
| 1926 | BlueInput.Text = '255' | |
| 1927 | end | |
| 1928 | elseif val == "Text" then | |
| 1929 | BlueInput.Text = "" | |
| 1930 | end | |
| 1931 | updatez() | |
| 1932 | end) | |
| 1933 | TransInput.Changed:connect(function(val) | |
| 1934 | if val == "Text" and tonumber(TransInput.Text) then | |
| 1935 | TransInput.Text = tostring(tonumber(TransInput.Text)) | |
| 1936 | if tonumber(TransInput.Text) > 100 then | |
| 1937 | TransInput.Text = '100' | |
| 1938 | end | |
| 1939 | elseif val == "Text" then | |
| 1940 | TransInput.Text = "" | |
| 1941 | end | |
| 1942 | updatez() | |
| 1943 | end) | |
| 1944 | ||
| 1945 | Close.MouseButton1Click:connect(function() | |
| 1946 | if lerpz == false then | |
| 1947 | lerpz = true | |
| 1948 | if Close.Text ~= "+" then | |
| 1949 | CustomizeGui:TweenPosition(UDim2.new(-0.45,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2)) | |
| 1950 | for i=1,10 do | |
| 1951 | Close.TextTransparency = i/10 | |
| 1952 | Close.TextStrokeTransparency = i/10 | |
| 1953 | wait(0.01) | |
| 1954 | end | |
| 1955 | Close.Text = "+" | |
| 1956 | for i=1,10 do | |
| 1957 | Close.TextTransparency = (10-i+1)/10 | |
| 1958 | Close.TextStrokeTransparency = (10-i+1)/10 | |
| 1959 | wait(0.01) | |
| 1960 | end | |
| 1961 | lerpz = false | |
| 1962 | else | |
| 1963 | CustomizeGui:TweenPosition(UDim2.new(0,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2)) | |
| 1964 | for i=1,10 do | |
| 1965 | Close.TextTransparency = i/10 | |
| 1966 | Close.TextStrokeTransparency = i/10 | |
| 1967 | wait(0.01) | |
| 1968 | end | |
| 1969 | Close.Text = "X" | |
| 1970 | for i=1,10 do | |
| 1971 | Close.TextTransparency = (10-i+1)/10 | |
| 1972 | Close.TextStrokeTransparency = (10-i+1)/10 | |
| 1973 | wait(0.01) | |
| 1974 | end | |
| 1975 | lerpz = false | |
| 1976 | end | |
| 1977 | end | |
| 1978 | end) | |
| 1979 | ||
| 1980 | MusicOption.MouseButton1Click:connect(function() | |
| 1981 | if canbackgroundmusic == true then | |
| 1982 | canbackgroundmusic = false | |
| 1983 | MusicOption.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 1984 | else | |
| 1985 | canbackgroundmusic = true | |
| 1986 | MusicOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
| 1987 | end | |
| 1988 | end) | |
| 1989 | ||
| 1990 | ScreenOption.MouseButton1Click:connect(function() | |
| 1991 | if cancolorfilter == true then | |
| 1992 | cancolorfilter = false | |
| 1993 | ScreenOption.BackgroundColor3 = Color3.new(1, 0, 0) | |
| 1994 | else | |
| 1995 | cancolorfilter = true | |
| 1996 | ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
| 1997 | end | |
| 1998 | end) | |
| 1999 | ||
| 2000 | function equip() | |
| 2001 | local doit = coroutine.wrap(function() | |
| 2002 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then
| |
| 2003 | acting = true | |
| 2004 | local arm = me["Right Arm"] | |
| 2005 | local arm2 = me["Left Arm"] | |
| 2006 | local tors = me.Torso | |
| 2007 | local weld = Instance.new('Weld',arm)
| |
| 2008 | weld.Part0 = arm | |
| 2009 | weld.Part1 = tors | |
| 2010 | weld.C0 = CFrame.new(-1.5,0,0) | |
| 2011 | local weld2 = Instance.new("Weld", arm2)
| |
| 2012 | weld2.Part0 = arm2 | |
| 2013 | weld2.Part1 = tors | |
| 2014 | weld2.C0 = CFrame.new(1.5, 0, 0) | |
| 2015 | wait(0.001) | |
| 2016 | for i = 0,1,0.1 do | |
| 2017 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
| |
| 2018 | weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i) | |
| 2019 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i) | |
| 2020 | wait(0.001) | |
| 2021 | end | |
| 2022 | wait(0.15) | |
| 2023 | trail.Enabled = true | |
| 2024 | for i = 0,1,0.1 do | |
| 2025 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
| |
| 2026 | weld.C0 = weld.C0:lerp(CFrame.new(-0.5,2,0)*CFrame.Angles(0,0,-1.55),i) | |
| 2027 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i) | |
| 2028 | wait(0.001) | |
| 2029 | end | |
| 2030 | trail.Enabled = false | |
| 2031 | wait(0.2) | |
| 2032 | for i = 0,1,0.1 do | |
| 2033 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
| |
| 2034 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 2035 | wait(0.001) | |
| 2036 | end | |
| 2037 | weld:Destroy() | |
| 2038 | weld2:Remove() | |
| 2039 | if tors ~= nil then | |
| 2040 | rightshoulderz:Clone().Parent = me.Torso | |
| 2041 | leftshoulderz:Clone().Parent = me.Torso | |
| 2042 | end | |
| 2043 | end | |
| 2044 | acting = false | |
| 2045 | end) | |
| 2046 | doit() | |
| 2047 | end | |
| 2048 | ||
| 2049 | function kysnigga() | |
| 2050 | if kyssing == true then return end | |
| 2051 | kyssing = true | |
| 2052 | acting = true | |
| 2053 | decearingTHING = math.random(1, 100) | |
| 2054 | if decearingTHING == 4 then | |
| 2055 | decearingEGG = Instance.new("Sound", me.Torso)
| |
| 2056 | decearingEGG.SoundId = "rbxassetid://138084557" | |
| 2057 | decearingEGG.PlaybackSpeed = math.random(10, 12) / 10 | |
| 2058 | decearingEGG.TimePosition = 0.2 | |
| 2059 | decearingEGG:Play() | |
| 2060 | end | |
| 2061 | me.Humanoid.WalkSpeed = 0 | |
| 2062 | me.Humanoid.JumpPower = 0 | |
| 2063 | ||
| 2064 | local rightarm = Instance.new("Weld", me.Torso)
| |
| 2065 | rightarm.Part0 = me.Torso | |
| 2066 | rightarm.Part1 = me["Right Arm"] | |
| 2067 | rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
| 2068 | ||
| 2069 | local leftarm = Instance.new("Weld", me.Torso)
| |
| 2070 | leftarm.Part0 = me.Torso | |
| 2071 | leftarm.Part1 = me["Left Arm"] | |
| 2072 | leftarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0) | |
| 2073 | ||
| 2074 | local tors = Instance.new("Weld", me.HumanoidRootPart)
| |
| 2075 | tors.Part0 = me.HumanoidRootPart | |
| 2076 | tors.Part1 = me.Torso | |
| 2077 | tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) | |
| 2078 | ||
| 2079 | local rightleg = Instance.new("Weld", me.Torso)
| |
| 2080 | rightleg.Part0 = me.Torso | |
| 2081 | rightleg.Part1 = me["Right Leg"] | |
| 2082 | rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0) | |
| 2083 | ||
| 2084 | local leftleg = Instance.new("Weld", me.Torso)
| |
| 2085 | leftleg.Part0 = me.Torso | |
| 2086 | leftleg.Part1 = me["Left Leg"] | |
| 2087 | leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0) | |
| 2088 | ||
| 2089 | for i = 0, 1, 0.03 do | |
| 2090 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-10), 0, 0), i) | |
| 2091 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i) | |
| 2092 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i) | |
| 2093 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), i) | |
| 2094 | wait() | |
| 2095 | end | |
| 2096 | for i = 0, 1, 0.03 do | |
| 2097 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(5), 0, 0), i) | |
| 2098 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i) | |
| 2099 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i) | |
| 2100 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(-35)), i) | |
| 2101 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(35)), i) | |
| 2102 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) | |
| 2103 | wait() | |
| 2104 | end | |
| 2105 | local bleedzer = Instance.new('Part',me.Torso)
| |
| 2106 | bleedzer.CFrame = me.Torso.CFrame | |
| 2107 | bleedzer.Size = Vector3.new(0.1,0.1,0.1) | |
| 2108 | bleedzer.Transparency = 1 | |
| 2109 | bleedzer.CanCollide = false | |
| 2110 | local weld = Instance.new('Weld',bleedzer)
| |
| 2111 | weld.Part0 = bleedzer | |
| 2112 | weld.Part1 = me.Torso | |
| 2113 | weld.C0= CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,0) | |
| 2114 | local woodpekker = coroutine.wrap(function() | |
| 2115 | bleed(bleedzer) | |
| 2116 | end) | |
| 2117 | woodpekker() | |
| 2118 | audio.SoundId = "rbxassetid://199977936" | |
| 2119 | audio.PlaybackSpeed = 1.5 | |
| 2120 | audio:Play() | |
| 2121 | audio2.SoundId = "rbxassetid://220834019" | |
| 2122 | audio2.PlaybackSpeed = 1 | |
| 2123 | audio2.TimePosition = 0.1 | |
| 2124 | audio2:Play() | |
| 2125 | for i = 0, 1, 0.1 do | |
| 2126 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
| 2127 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
| 2128 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
| 2129 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i) | |
| 2130 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i) | |
| 2131 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) | |
| 2132 | wait() | |
| 2133 | end | |
| 2134 | wait(1) | |
| 2135 | audio.SoundId = "rbxassetid://210943487" | |
| 2136 | audio.TimePosition = 0.2 | |
| 2137 | audio.PlaybackSpeed = 0.75 | |
| 2138 | audio:Play() | |
| 2139 | for i = 0, 1, 0.03 do | |
| 2140 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
| 2141 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
| 2142 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
| 2143 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i) | |
| 2144 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i) | |
| 2145 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) | |
| 2146 | wait() | |
| 2147 | end | |
| 2148 | for i = 0, 1, 0.03 do | |
| 2149 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i) | |
| 2150 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i) | |
| 2151 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i) | |
| 2152 | wait() | |
| 2153 | end | |
| 2154 | wait(0.24) | |
| 2155 | if me:FindFirstChildOfClass('Humanoid') then
| |
| 2156 | me:FindFirstChildOfClass('Humanoid').Health = 0
| |
| 2157 | end | |
| 2158 | wait(0.01) | |
| 2159 | killz(me,me.Torso.Name,nil,nil,true) | |
| 2160 | ||
| 2161 | tors:Remove() | |
| 2162 | rightarm:Remove() | |
| 2163 | rightleg:Remove() | |
| 2164 | leftleg:Remove() | |
| 2165 | leftarm:Remove() | |
| 2166 | rightshoulderz:Clone().Parent = me.Torso | |
| 2167 | leftshoulderz:Clone().Parent = me.Torso | |
| 2168 | torsojoint:Clone().Parent = me.HumanoidRootPart | |
| 2169 | lefthipz:Clone().Parent = me.Torso | |
| 2170 | righthipz:Clone().Parent = me.Torso | |
| 2171 | me.Humanoid.JumpPower = 50 | |
| 2172 | me.Humanoid.WalkSpeed = 16 | |
| 2173 | acting = false | |
| 2174 | canClick = true | |
| 2175 | doing = false | |
| 2176 | hit = false | |
| 2177 | kyssing = false | |
| 2178 | if decearingTHING == 4 then | |
| 2179 | decearingEGG:Remove() | |
| 2180 | end | |
| 2181 | end | |
| 2182 | ||
| 2183 | function bleedout() | |
| 2184 | local doit = coroutine.wrap(function() | |
| 2185 | local targe = grabbed | |
| 2186 | local num = 0 | |
| 2187 | while targe and targe:FindFirstChildOfClass('Humanoid') and targe:FindFirstChildOfClass('Humanoid').Health > 0 and num < 11 do
| |
| 2188 | if targe.Head:FindFirstChild('Died') then
| |
| 2189 | tone = math.random(6, 12) / 10 | |
| 2190 | targe.Head.Died.PlaybackSpeed = tone | |
| 2191 | targe.Head.Died:Play() | |
| 2192 | else | |
| 2193 | local deathsound = Instance.new('Sound',targe.Head)
| |
| 2194 | deathsound.Name = "Died" | |
| 2195 | deathsound.SoundId = 'rbxasset://sounds/uuhhh.mp3' | |
| 2196 | deathsound.Volume = 0.65 | |
| 2197 | deathsound.EmitterSize = 5 | |
| 2198 | deathsound.MaxDistance = 150 | |
| 2199 | tone = math.random(5, 15) / 10 | |
| 2200 | targe.Head.Died.PlaybackSpeed = tone | |
| 2201 | targe.Head.Died:Play() | |
| 2202 | end | |
| 2203 | targe:FindFirstChildOfClass('Humanoid').Health = targe:FindFirstChildOfClass('Humanoid').Health - 7
| |
| 2204 | num = num+1 | |
| 2205 | wait(0.325) | |
| 2206 | end | |
| 2207 | targe:FindFirstChildOfClass('Humanoid').Health = 0
| |
| 2208 | wait() | |
| 2209 | killz(targe,'Head',nil,nil,false,true) | |
| 2210 | wait(2) | |
| 2211 | targe:Remove() | |
| 2212 | end) | |
| 2213 | doit() | |
| 2214 | end | |
| 2215 | ||
| 2216 | function liedown() | |
| 2217 | local doit = coroutine.wrap(function() | |
| 2218 | local targe = grabbed | |
| 2219 | wait(2) | |
| 2220 | if targe and targe:FindFirstChildOfClass('Humanoid') then
| |
| 2221 | targe:FindFirstChildOfClass('Humanoid').PlatformStand = false
| |
| 2222 | end | |
| 2223 | end) | |
| 2224 | doit() | |
| 2225 | end | |
| 2226 | ||
| 2227 | function grab() | |
| 2228 | local doit = coroutine.wrap(function() | |
| 2229 | acting = true | |
| 2230 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3
| |
| 2231 | local arm = me["Right Arm"] | |
| 2232 | local tors = me.Torso | |
| 2233 | local arm2 = me["Left Arm"] | |
| 2234 | local humanroot = me.HumanoidRootPart | |
| 2235 | local weld2 = Instance.new('Weld',arm)
| |
| 2236 | weld2.Part0 = arm | |
| 2237 | weld2.Part1 = tors | |
| 2238 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
| 2239 | local weld3 = Instance.new('Weld',arm2)
| |
| 2240 | weld3.Part0 = arm2 | |
| 2241 | weld3.Part1 = tors | |
| 2242 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
| 2243 | for i = 0,1,0.05 do | |
| 2244 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end
| |
| 2245 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
| 2246 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.2,1.3,0)*CFrame.Angles(0,0,1.2),i) | |
| 2247 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), -1.55) * CFrame.new(0, 0.95, 0) | |
| 2248 | wait(0.01) | |
| 2249 | end | |
| 2250 | grabbing = true | |
| 2251 | trail.Enabled = true | |
| 2252 | for i = 0,1,0.10 do | |
| 2253 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end
| |
| 2254 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i) | |
| 2255 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i) | |
| 2256 | wait(0.01) | |
| 2257 | end | |
| 2258 | trail.Enabled = false | |
| 2259 | wait(0.5) | |
| 2260 | grabbing = false | |
| 2261 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3
| |
| 2262 | if grabbed == nil then | |
| 2263 | for i = 0,1,0.1 do | |
| 2264 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil then return end
| |
| 2265 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 2266 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) | |
| 2267 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
| 2268 | wait(0.001) | |
| 2269 | end | |
| 2270 | weld2:Destroy() | |
| 2271 | weld3:Destroy() | |
| 2272 | rightshoulderz:Clone().Parent = me.Torso | |
| 2273 | leftshoulderz:Clone().Parent = me.Torso | |
| 2274 | acting = false | |
| 2275 | canClick = true | |
| 2276 | end | |
| 2277 | end) | |
| 2278 | doit() | |
| 2279 | end | |
| 2280 | ||
| 2281 | function kill() | |
| 2282 | paralyzed = false | |
| 2283 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then hardrelease() return end
| |
| 2284 | targetweld = grabbed.Torso.TargetWeld | |
| 2285 | targetweld2 = nil | |
| 2286 | local reee = grabbed:FindFirstChild("Left Arm")
| |
| 2287 | if reee and reee:FindFirstChild("Weld") then
| |
| 2288 | targetweld2 = reee.Weld | |
| 2289 | end | |
| 2290 | for i, v in pairs(grabbed:GetChildren()) do | |
| 2291 | if v.Name == "Part" then | |
| 2292 | v.CanCollide = true | |
| 2293 | end | |
| 2294 | end | |
| 2295 | targetweld3pt = grabbed:FindFirstChild("Right Arm")
| |
| 2296 | local targetrightshoulder = rightshoulder | |
| 2297 | local targetleftshoulder = leftshoulder | |
| 2298 | local targetweld3 = Instance.new("Weld", targetweld3pt)
| |
| 2299 | targetweld3.Part0 = grabbed.Torso | |
| 2300 | targetweld3.Part1 = targetweld3pt | |
| 2301 | targetweld3.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
| 2302 | ||
| 2303 | local doit = coroutine.wrap(function() | |
| 2304 | local arm = me["Right Arm"] | |
| 2305 | local tors = grabbed.Torso | |
| 2306 | local arm2 = me["Left Arm"] | |
| 2307 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
| |
| 2308 | doing = true | |
| 2309 | local weld2 = arm:FindFirstChildOfClass('Weld')
| |
| 2310 | local weld3 = arm2:FindFirstChildOfClass('Weld')
| |
| 2311 | local humanroot = me.HumanoidRootPart | |
| 2312 | ||
| 2313 | for i = 0,1,0.1 do | |
| 2314 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
| |
| 2315 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.9, 0, -1.4), i) | |
| 2316 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 0.5, -0.5)* CFrame.Angles(-1.5, 0.4, 1.1), i) | |
| 2317 | wait(0.01) | |
| 2318 | end | |
| 2319 | ||
| 2320 | audio:Stop() | |
| 2321 | audio.SoundId = "rbxassetid://517040733" | |
| 2322 | tone = math.random(1, 3) | |
| 2323 | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.3 end | |
| 2324 | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end | |
| 2325 | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.2 end | |
| 2326 | audio:Play() | |
| 2327 | ||
| 2328 | local bleedpart = Instance.new("Part", grabbed)
| |
| 2329 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2330 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
| 2331 | bleedpart.CanCollide = false | |
| 2332 | bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0) | |
| 2333 | bleedpart.Transparency = 1 | |
| 2334 | ||
| 2335 | local bleedpartweld = Instance.new("Weld", grabbed.Torso)
| |
| 2336 | bleedpartweld.Part0 = grabbed.Torso | |
| 2337 | bleedpartweld.Part1 = bleedpart | |
| 2338 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
| 2339 | local coru=coroutine.wrap(function() | |
| 2340 | bleed(bleedpart) | |
| 2341 | end) | |
| 2342 | coru() | |
| 2343 | ||
| 2344 | local slightthrow = Instance.new("BodyThrust", grabbed.Torso)
| |
| 2345 | slightthrow.Force = Vector3.new(0, 0, -2500) | |
| 2346 | ||
| 2347 | local slightthrow2 = Instance.new("BodyAngularVelocity", grabbed.Torso)
| |
| 2348 | slightthrow2.AngularVelocity = Vector3.new(0, -1000, 0) | |
| 2349 | slightthrow2.MaxTorque = Vector3.new(1000, 1000, 1000) | |
| 2350 | ||
| 2351 | if grabbed:FindFirstChildOfClass('Humanoid') then
| |
| 2352 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
| |
| 2353 | end | |
| 2354 | ||
| 2355 | killz(grabbed,'Left Leg') | |
| 2356 | killz(grabbed,'Left Arm') | |
| 2357 | killz(grabbed,'Right Leg') | |
| 2358 | killz(grabbed,'Right Arm') | |
| 2359 | ||
| 2360 | trail.Enabled = true | |
| 2361 | ||
| 2362 | for i = 0,1,0.2 do | |
| 2363 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
| |
| 2364 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 0, -1.4), i) | |
| 2365 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i) | |
| 2366 | wait(0.01) | |
| 2367 | end | |
| 2368 | ||
| 2369 | trail.Enabled = false | |
| 2370 | ||
| 2371 | bleedout() | |
| 2372 | ||
| 2373 | rightshoulderz:Clone().Parent = me.Torso | |
| 2374 | leftshoulderz:Clone().Parent = me.Torso | |
| 2375 | grabbed = nil | |
| 2376 | ||
| 2377 | if humanroot:FindFirstChild('Holder') then
| |
| 2378 | humanroot.Holder:Destroy() | |
| 2379 | end | |
| 2380 | ||
| 2381 | wait(0.2) | |
| 2382 | slightthrow:Remove() | |
| 2383 | slightthrow2:Remove() | |
| 2384 | for i = 0,1,0.05 do | |
| 2385 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
| |
| 2386 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5, 0, 0)* CFrame.Angles(0, 0, 0), i) | |
| 2387 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5, 0, 0)* CFrame.Angles(0, 0, 0), i) | |
| 2388 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
| 2389 | wait(0.01) | |
| 2390 | end | |
| 2391 | ||
| 2392 | weld2:Destroy() | |
| 2393 | weld3:Destroy() | |
| 2394 | targetweld = nil | |
| 2395 | targetweld2 = nil | |
| 2396 | targetweld3 = nil | |
| 2397 | rightshoulderz:Clone().Parent = me.Torso | |
| 2398 | leftshoulderz:Clone().Parent = me.Torso | |
| 2399 | acting = false | |
| 2400 | canClick = true | |
| 2401 | doing = false | |
| 2402 | end) | |
| 2403 | doit() | |
| 2404 | end | |
| 2405 | ||
| 2406 | function finish() | |
| 2407 | if finishing == true then return end | |
| 2408 | finishing = true | |
| 2409 | acting = true | |
| 2410 | decearingTHING = math.random(1, 100) | |
| 2411 | if decearingTHING == 4 then | |
| 2412 | decearingEGG = Instance.new("Sound", me.Torso)
| |
| 2413 | decearingEGG.SoundId = "rbxassetid://138084557" | |
| 2414 | decearingEGG.PlaybackSpeed = math.random(10, 12) / 10 | |
| 2415 | decearingEGG.TimePosition = 0.2 | |
| 2416 | decearingEGG:Play() | |
| 2417 | end | |
| 2418 | me.Humanoid.WalkSpeed = 0 | |
| 2419 | me.Humanoid.JumpPower = 0 | |
| 2420 | ||
| 2421 | local rightarm = Instance.new("Weld", me.Torso)
| |
| 2422 | rightarm.Part0 = me.Torso | |
| 2423 | rightarm.Part1 = me["Right Arm"] | |
| 2424 | rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
| 2425 | ||
| 2426 | local tors = Instance.new("Weld", me.HumanoidRootPart)
| |
| 2427 | tors.Part0 = me.HumanoidRootPart | |
| 2428 | tors.Part1 = me.Torso | |
| 2429 | tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) | |
| 2430 | ||
| 2431 | local rightleg = Instance.new("Weld", me.Torso)
| |
| 2432 | rightleg.Part0 = me.Torso | |
| 2433 | rightleg.Part1 = me["Right Leg"] | |
| 2434 | rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0) | |
| 2435 | ||
| 2436 | local leftleg = Instance.new("Weld", me.Torso)
| |
| 2437 | leftleg.Part0 = me.Torso | |
| 2438 | leftleg.Part1 = me["Left Leg"] | |
| 2439 | leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0) | |
| 2440 | ||
| 2441 | for i = 0, 1, 0.05 do | |
| 2442 | tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), 0, 0), i) | |
| 2443 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i) | |
| 2444 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i) | |
| 2445 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0) * CFrame.Angles(math.rad(179), math.rad(179), 0), i) | |
| 2446 | wait() | |
| 2447 | end | |
| 2448 | for i=1,finishnum do | |
| 2449 | local num1 = 0.5 | |
| 2450 | local num2 = 0.5 | |
| 2451 | local num3 = 0.25 | |
| 2452 | if finishnum ~= 1 then | |
| 2453 | num3 = 0 | |
| 2454 | end | |
| 2455 | trail.Enabled = true | |
| 2456 | for i = 0, 1, num1 do | |
| 2457 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-60), 0, 0), i) | |
| 2458 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(0), 0, 0), i) | |
| 2459 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(10), 0, 0), i) | |
| 2460 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, -1) * CFrame.Angles(math.rad(160), math.rad(150), 0), i) | |
| 2461 | wait() | |
| 2462 | end | |
| 2463 | wait() | |
| 2464 | for i = 0, 1, num2 do | |
| 2465 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
| 2466 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(-30), 0, 0), i) | |
| 2467 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
| 2468 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0.2) * CFrame.Angles(math.rad(250), math.rad(180), 0), i) | |
| 2469 | wait() | |
| 2470 | end | |
| 2471 | trail.Enabled = false | |
| 2472 | wait(num3) | |
| 2473 | end | |
| 2474 | wait() | |
| 2475 | for i = 0, 1, 0.05 do | |
| 2476 | tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i) | |
| 2477 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0) * CFrame.Angles(0, 0, 0), i) | |
| 2478 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0) * CFrame.Angles(0, 0, 0), i) | |
| 2479 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i) | |
| 2480 | wait() | |
| 2481 | end | |
| 2482 | tors:Remove() | |
| 2483 | rightarm:Remove() | |
| 2484 | rightleg:Remove() | |
| 2485 | leftleg:Remove() | |
| 2486 | rightshoulderz:Clone().Parent = me.Torso | |
| 2487 | leftshoulderz:Clone().Parent = me.Torso | |
| 2488 | torsojoint:Clone().Parent = me.HumanoidRootPart | |
| 2489 | lefthipz:Clone().Parent = me.Torso | |
| 2490 | righthipz:Clone().Parent = me.Torso | |
| 2491 | me.Humanoid.JumpPower = 50 | |
| 2492 | me.Humanoid.WalkSpeed = 16 | |
| 2493 | acting = false | |
| 2494 | canClick = true | |
| 2495 | doing = false | |
| 2496 | hit = false | |
| 2497 | finishing = false | |
| 2498 | if decearingTHING == 4 then | |
| 2499 | decearingEGG:Remove() | |
| 2500 | end | |
| 2501 | end | |
| 2502 | ||
| 2503 | function throw() | |
| 2504 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end
| |
| 2505 | paralyzed = false | |
| 2506 | targetweld = grabbed.Torso.TargetWeld | |
| 2507 | local ree = grabbed:FindFirstChild("Left Arm")
| |
| 2508 | targetweld2 =nil | |
| 2509 | if ree and ree:FindFirstChild("Weld") then
| |
| 2510 | targetweld2 = ree.Weld | |
| 2511 | end | |
| 2512 | ||
| 2513 | for i, v in pairs(grabbed:GetChildren()) do | |
| 2514 | if v.Name == "Part" then | |
| 2515 | v.CanCollide = true | |
| 2516 | end | |
| 2517 | end | |
| 2518 | ||
| 2519 | ||
| 2520 | local doit = coroutine.wrap(function() | |
| 2521 | local arm = me["Right Arm"] | |
| 2522 | local tors = grabbed.Torso | |
| 2523 | local arm2 = me["Left Arm"] | |
| 2524 | local targrightshoulder = rightshoulder | |
| 2525 | ||
| 2526 | local targleftshoulder = leftshoulder | |
| 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.2 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, 1.7, -0.5)* CFrame.Angles(-0.25, 1, -1.4), i) | |
| 2536 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i) | |
| 2537 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i) | |
| 2538 | if targetweld2 then | |
| 2539 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i) | |
| 2540 | end | |
| 2541 | wait(0.01) | |
| 2542 | end | |
| 2543 | ||
| 2544 | audio:Stop() | |
| 2545 | audio.SoundId = "rbxassetid://536642316" | |
| 2546 | tone = math.random(1, 3) | |
| 2547 | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.08 end | |
| 2548 | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end | |
| 2549 | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.12 end | |
| 2550 | audio:Play() | |
| 2551 | ||
| 2552 | local slightthrow = Instance.new("BodyVelocity", grabbed.Torso)
| |
| 2553 | slightthrow.Velocity = Vector3.new(0,20,0)+(me.Torso.CFrame.lookVector*20) | |
| 2554 | slightthrow.P = 5000 | |
| 2555 | slightthrow.MaxForce = Vector3.new(9000001,9000001,9000001) | |
| 2556 | local point = grabbed.Torso.Position | |
| 2557 | local aaaaaa = grabbed | |
| 2558 | liedown() | |
| 2559 | ||
| 2560 | rightshoulderz:Clone().Parent = me.Torso | |
| 2561 | leftshoulderz:Clone().Parent = me.Torso | |
| 2562 | grabbed = nil | |
| 2563 | ||
| 2564 | if humanroot:FindFirstChild('Holder') then
| |
| 2565 | humanroot.Holder:Destroy() | |
| 2566 | end | |
| 2567 | local coru = coroutine.wrap(function() | |
| 2568 | while aaaaaa and aaaaaa:FindFirstChild('Torso') and (aaaaaa.Torso.Position-point).magnitude < 5 do wait(0.001) end
| |
| 2569 | if aaaaaa:FindFirstChildOfClass('Humanoid') then
| |
| 2570 | aaaaaa:FindFirstChildOfClass('Humanoid').Name = "Humanoid"
| |
| 2571 | aaaaaa:FindFirstChildOfClass('Humanoid').JumpPower = 50
| |
| 2572 | aaaaaa:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
| |
| 2573 | end | |
| 2574 | slightthrow:Remove() | |
| 2575 | end) | |
| 2576 | coru() | |
| 2577 | ||
| 2578 | for i = 0,1,0.05 do | |
| 2579 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
| |
| 2580 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 2581 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) | |
| 2582 | wait(0.01) | |
| 2583 | end | |
| 2584 | weld2:Destroy() | |
| 2585 | weld3:Destroy() | |
| 2586 | targetweld:Remove() | |
| 2587 | if targetweld2 then | |
| 2588 | targetweld2:Remove() | |
| 2589 | end | |
| 2590 | if rightshoulder then | |
| 2591 | rightshoulder:Clone().Parent = tors | |
| 2592 | end | |
| 2593 | if leftshoulder then | |
| 2594 | leftshoulder:Clone().Parent = tors | |
| 2595 | end | |
| 2596 | headweld:Clone().Parent = tors | |
| 2597 | rightshoulderz:Clone().Parent = me.Torso | |
| 2598 | leftshoulderz:Clone().Parent = me.Torso | |
| 2599 | acting = false | |
| 2600 | canClick = true | |
| 2601 | doing = false | |
| 2602 | end) | |
| 2603 | doit() | |
| 2604 | end | |
| 2605 | ||
| 2606 | cfn,ang,mr,int=CFrame.new,CFrame.Angles,math.rad,Instance.new | |
| 2607 | bc=BrickColor.new | |
| 2608 | local minimumsize = Vector3.new(0.7,0.7,0.7) | |
| 2609 | local surface_between_splitted_parts = 'SmoothNoOutlines' | |
| 2610 | local fragmentable = workspace | |
| 2611 | local list = {}
| |
| 2612 | local brickcount = 0 | |
| 2613 | local storage = {}
| |
| 2614 | local fillup = 1000 | |
| 2615 | local maximumstorage = 2000 | |
| 2616 | local storage_position = Vector3.new(0,0,5000) | |
| 2617 | local stored_partsize = Vector3.new(1,1,1) | |
| 2618 | local parts_created_per_frame = 5 | |
| 2619 | ||
| 2620 | local minimumsize = Vector3.new(0.7,0.7,0.7) | |
| 2621 | local surface_between_splitted_parts = 'SmoothNoOutlines' | |
| 2622 | local fragmentable = workspace | |
| 2623 | local list = {}
| |
| 2624 | local brickcount = 0 | |
| 2625 | local storage = {}
| |
| 2626 | local fillup = 1000 | |
| 2627 | local maximumstorage = 2000 | |
| 2628 | local storage_position = Vector3.new(0,0,5000) | |
| 2629 | local stored_partsize = Vector3.new(1,1,1) | |
| 2630 | local parts_created_per_frame = 5 | |
| 2631 | ||
| 2632 | ||
| 2633 | function fragmentate(cframe,size,color,explosion_position,explosion_blastradius,backsurface,bottomsurface,frontsurface,leftsurface,rightsurface,topsurface,transparency,reflectance,material) | |
| 2634 | local xi = size.X >= minimumsize.X*(1+explosion_blastradius/16) and 2 or 1 | |
| 2635 | local yi = size.Y >= minimumsize.Y*(1+explosion_blastradius/16) and 2 or 1 | |
| 2636 | local zi = size.Z >= minimumsize.Z*(1+explosion_blastradius/16) and 2 or 1 | |
| 2637 | if xi == 1 and yi == 1 and zi == 1 or (cframe.p-explosion_position).magnitude > size.magnitude/2 + explosion_blastradius then | |
| 2638 | if xi == 1 and yi == 1 and zi == 1 then return end | |
| 2639 | if #storage > 0 then | |
| 2640 | local p = storage[1] | |
| 2641 | p.BrickColor = color | |
| 2642 | p.Size = size | |
| 2643 | p.Anchored = false | |
| 2644 | p.BackSurface = backsurface | |
| 2645 | p.BottomSurface = bottomsurface | |
| 2646 | p.FrontSurface = frontsurface | |
| 2647 | p.LeftSurface = leftsurface | |
| 2648 | p.RightSurface = rightsurface | |
| 2649 | p.TopSurface = topsurface | |
| 2650 | p.Transparency = transparency | |
| 2651 | p.CFrame = cframe | |
| 2652 | p.Reflectance = reflectance | |
| 2653 | p.Material = material | |
| 2654 | game:GetService('Debris'):AddItem(p,30)
| |
| 2655 | p:BreakJoints() | |
| 2656 | table.remove(storage,1) | |
| 2657 | else | |
| 2658 | local p = Instance.new("Part",fragmentable)
| |
| 2659 | p.BrickColor = color | |
| 2660 | p.FormFactor = "Custom" | |
| 2661 | p.Size = size | |
| 2662 | p.BackSurface = backsurface | |
| 2663 | p.BottomSurface = bottomsurface | |
| 2664 | p.FrontSurface = frontsurface | |
| 2665 | p.LeftSurface = leftsurface | |
| 2666 | p.RightSurface = rightsurface | |
| 2667 | p.TopSurface = topsurface | |
| 2668 | p.Transparency = transparency | |
| 2669 | p.Material = material | |
| 2670 | if p.Transparency>0.285 then | |
| 2671 | p.Anchored = false | |
| 2672 | else | |
| 2673 | p.Anchored=false | |
| 2674 | p.Material='Wood' | |
| 2675 | game:GetService('Debris'):AddItem(p,10)
| |
| 2676 | end | |
| 2677 | p.CFrame = cframe | |
| 2678 | p.Reflectance = reflectance | |
| 2679 | p:BreakJoints() | |
| 2680 | end | |
| 2681 | return | |
| 2682 | end | |
| 2683 | local mody = math.random(-125,125)/1000 | |
| 2684 | for y = 1,yi do | |
| 2685 | if math.random()> 0.5 then | |
| 2686 | local modx = math.random(-125,125)/1000 | |
| 2687 | for x = 1,xi do | |
| 2688 | local modz = math.random(-125,125)/1000 | |
| 2689 | for z = 1,zi do --offset = x/xi-0.75+modx) | |
| 2690 | 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)), | |
| 2691 | 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, | |
| 2692 | 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, | |
| 2693 | z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface, | |
| 2694 | 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, | |
| 2695 | y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material) | |
| 2696 | end | |
| 2697 | ||
| 2698 | end | |
| 2699 | else | |
| 2700 | local modz = math.random(-125,125)/1000 | |
| 2701 | for z = 1,zi do | |
| 2702 | local modx = math.random(-125,125)/1000 | |
| 2703 | for x = 1,xi do | |
| 2704 | 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)), | |
| 2705 | 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, | |
| 2706 | zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z),color,explosion_position,explosion_blastradius, | |
| 2707 | z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface, | |
| 2708 | 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, | |
| 2709 | y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material) | |
| 2710 | end | |
| 2711 | end | |
| 2712 | end | |
| 2713 | end | |
| 2714 | end | |
| 2715 | ||
| 2716 | function start_fragmentation(position,radius,nuh) | |
| 2717 | local search = Region3.new(position-Vector3.new(radius,radius,radius)*1.1,position+Vector3.new(radius,radius,radius)*1.1) | |
| 2718 | repeat | |
| 2719 | local finish = false | |
| 2720 | local parts = workspace:FindPartsInRegion3WithIgnoreList(search,list,100) | |
| 2721 | for i = 1,#parts do | |
| 2722 | table.insert(list,1,parts[i]) | |
| 2723 | end | |
| 2724 | finish = true | |
| 2725 | until #parts < 100 and finish | |
| 2726 | local t = tick() | |
| 2727 | for i = 1,#list do | |
| 2728 | local p = list[i] | |
| 2729 | 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
| |
| 2730 | 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) | |
| 2731 | if #storage < maximumstorage and p.Shape == "Block" then | |
| 2732 | p.Anchored = false | |
| 2733 | p.FormFactor = "Custom" | |
| 2734 | p.Size = stored_partsize | |
| 2735 | p.Position = storage_position | |
| 2736 | table.insert(storage,1,p) | |
| 2737 | else | |
| 2738 | p:Destroy() | |
| 2739 | end | |
| 2740 | end | |
| 2741 | 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 | |
| 2742 | 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) | |
| 2743 | if #storage < maximumstorage and p.Shape == "Block" then | |
| 2744 | p.Anchored = false | |
| 2745 | p.Material='Wood' | |
| 2746 | p.FormFactor = "Custom" | |
| 2747 | p.Size = stored_partsize | |
| 2748 | p.Position = storage_position | |
| 2749 | table.insert(storage,1,p) | |
| 2750 | else | |
| 2751 | p:Destroy() | |
| 2752 | end | |
| 2753 | end | |
| 2754 | end | |
| 2755 | list = {}
| |
| 2756 | end | |
| 2757 | ||
| 2758 | ||
| 2759 | function fling() | |
| 2760 | local doit = coroutine.wrap(function() | |
| 2761 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') then
| |
| 2762 | acting = true | |
| 2763 | for i=1,finishnum do | |
| 2764 | local weld2 = Instance.new('Weld',me["Right Arm"])
| |
| 2765 | weld2.Part0 = me["Right Arm"] | |
| 2766 | weld2.Part1 = me["Torso"] | |
| 2767 | weld2.C0 = CFrame.new(-1.5,0,0) | |
| 2768 | if finishnum == 1 then | |
| 2769 | for i = 0,1,0.05 do | |
| 2770 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
| |
| 2771 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
| 2772 | wait(0.01) | |
| 2773 | end | |
| 2774 | end | |
| 2775 | audio.SoundId = "rbxassetid://166083610" | |
| 2776 | audio.PlaybackSpeed = 1 | |
| 2777 | audio.TimePosition = 0.1 | |
| 2778 | audio:Play() | |
| 2779 | if finishnum == 1 then | |
| 2780 | for i = 0,1,0.5 do | |
| 2781 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
| |
| 2782 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
| 2783 | wait(0.001) | |
| 2784 | end | |
| 2785 | end | |
| 2786 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
| 2787 | local knofe = obj1:Clone() | |
| 2788 | for i, v in pairs(obj1:GetChildren()) do | |
| 2789 | if v:IsA('BasePart') then
| |
| 2790 | v.Transparency = 1 | |
| 2791 | end | |
| 2792 | end | |
| 2793 | knofe.Parent = workspace | |
| 2794 | knofe.Name = "Projectile" | |
| 2795 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
| 2796 | knofe:FindFirstChild("Trail", true).Enabled = true
| |
| 2797 | local heck = Instance.new('BodyVelocity',knofe.Grab)
| |
| 2798 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
| 2799 | local coru = coroutine.wrap(function() | |
| 2800 | wait(0.45) | |
| 2801 | if heck then | |
| 2802 | heck:Destroy() | |
| 2803 | end | |
| 2804 | end) | |
| 2805 | coru() | |
| 2806 | local able = true | |
| 2807 | knofe["big ass knife"].Touched:connect(function(hit) | |
| 2808 | 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
| |
| 2809 | local thing = hit.Parent:FindFirstChildOfClass('Humanoid')
| |
| 2810 | local ree = hit.Parent | |
| 2811 | if thing == nil then | |
| 2812 | ree = hit.Parent.Parent | |
| 2813 | end | |
| 2814 | if ree:FindFirstChildOfClass('Humanoid').Health > 0 then
| |
| 2815 | knofe:FindFirstChild("Trail", true).Enabled = false
| |
| 2816 | game:GetService('Debris'):AddItem(knofe,5)
| |
| 2817 | tone = math.random(1, 3) | |
| 2818 | local sound = Instance.new('Sound',knofe.Grab)
| |
| 2819 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
| 2820 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
| 2821 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
| 2822 | sound.PlaybackSpeed = 1 | |
| 2823 | sound:Play() | |
| 2824 | for i, v in pairs(knofe:GetChildren()) do | |
| 2825 | if v:IsA('BasePart') then
| |
| 2826 | v.CanCollide = true | |
| 2827 | v.Anchored = true | |
| 2828 | end | |
| 2829 | end | |
| 2830 | hit.Anchored = true | |
| 2831 | if ree:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then
| |
| 2832 | ree:FindFirstChildOfClass('Humanoid').Health = 0
| |
| 2833 | end | |
| 2834 | wait() | |
| 2835 | killz(ree,hit.Name,knofe) | |
| 2836 | else | |
| 2837 | knofe:FindFirstChild("Trail", true).Enabled = false
| |
| 2838 | heck.Velocity = Vector3.new(0,0,0) | |
| 2839 | heck:Destroy() | |
| 2840 | game:GetService('Debris'):AddItem(knofe,5)
| |
| 2841 | tone = math.random(1, 3) | |
| 2842 | local sound = Instance.new('Sound',knofe.Grab)
| |
| 2843 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
| 2844 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
| 2845 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
| 2846 | sound.PlaybackSpeed = 1 | |
| 2847 | sound:Play() | |
| 2848 | for i, v in pairs(knofe:GetChildren()) do | |
| 2849 | if v:IsA('BasePart') then
| |
| 2850 | v.Anchored = false | |
| 2851 | end | |
| 2852 | end | |
| 2853 | hit.Anchored = true | |
| 2854 | wait(0.001) | |
| 2855 | hit.Anchored = false | |
| 2856 | for i, v in pairs(knofe:GetChildren()) do | |
| 2857 | if v:IsA('BasePart') then
| |
| 2858 | v.Anchored = false | |
| 2859 | end | |
| 2860 | end | |
| 2861 | if knofe then | |
| 2862 | local coru = coroutine.wrap(function() | |
| 2863 | if hit then | |
| 2864 | local uno = Instance.new('Part',workspace)
| |
| 2865 | local dos = Instance.new('Part',workspace)
| |
| 2866 | uno.CFrame = hit.CFrame | |
| 2867 | dos.CFrame = knofe["big ass knife"].CFrame | |
| 2868 | local weld = Instance.new('Weld',knofe["big ass knife"])
| |
| 2869 | weld.Part0 = hit | |
| 2870 | weld.Part1 = knofe["big ass knife"] | |
| 2871 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
| 2872 | uno:Destroy() | |
| 2873 | dos:Destroy() | |
| 2874 | end | |
| 2875 | end) | |
| 2876 | coru() | |
| 2877 | end | |
| 2878 | end | |
| 2879 | elseif hit.Parent and hit.Parent ~= me and hit.Parent.Parent ~= me and hit.CanCollide and knofe.Grab.CanCollide == false then | |
| 2880 | if hit.Transparency and (hit.Transparency<=0.285 or hit:GetMass()<=3000) then | |
| 2881 | knofe:FindFirstChild("Trail", true).Enabled = false
| |
| 2882 | local sound = Instance.new('Sound',knofe.Grab)
| |
| 2883 | sound.SoundId = 'rbxassetid://267585646' | |
| 2884 | sound:Play() | |
| 2885 | for i,v in pairs(knofe:GetChildren()) do | |
| 2886 | if v:IsA('BasePart') then
| |
| 2887 | v.Anchored = true | |
| 2888 | end | |
| 2889 | end | |
| 2890 | wait() | |
| 2891 | heck.Velocity = Vector3.new(0,0,0) | |
| 2892 | heck:Destroy() | |
| 2893 | local uno = Instance.new('Part',workspace)
| |
| 2894 | local dos = Instance.new('Part',workspace)
| |
| 2895 | uno.CFrame = hit.CFrame | |
| 2896 | dos.CFrame = knofe["big ass knife"].CFrame | |
| 2897 | local weld = Instance.new('Weld',knofe["big ass knife"])
| |
| 2898 | weld.Part0 = hit | |
| 2899 | weld.Part1 = knofe["big ass knife"] | |
| 2900 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
| 2901 | uno:Destroy() | |
| 2902 | dos:Destroy() | |
| 2903 | for i,v in pairs(knofe:GetChildren()) do | |
| 2904 | if v:IsA('BasePart') then
| |
| 2905 | v.Anchored = false | |
| 2906 | end | |
| 2907 | end | |
| 2908 | game:GetService('Debris'):AddItem(knofe,5)
| |
| 2909 | for i,v in pairs(knofe:GetChildren()) do | |
| 2910 | if v:IsA('BasePart') then
| |
| 2911 | v.CanCollide = true | |
| 2912 | end | |
| 2913 | end | |
| 2914 | end | |
| 2915 | 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
| |
| 2916 | knofe:FindFirstChild("Trail", true).Enabled = false
| |
| 2917 | able = false | |
| 2918 | local sound = Instance.new('Sound',knofe.Grab)
| |
| 2919 | sound.SoundId = 'rbxassetid://144884907' | |
| 2920 | sound:Play() | |
| 2921 | local coru = coroutine.wrap(function() | |
| 2922 | start_fragmentation(knofe["big ass knife"].Position,1.25,knofe) | |
| 2923 | end) | |
| 2924 | coru() | |
| 2925 | end | |
| 2926 | end | |
| 2927 | end) | |
| 2928 | if finishnum == 1 then | |
| 2929 | for i= 0,1,0.1 do | |
| 2930 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
| |
| 2931 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 2932 | wait(0.001) | |
| 2933 | end | |
| 2934 | else | |
| 2935 | for i= 0,1,0.5 do | |
| 2936 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
| |
| 2937 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 2938 | wait(0.001) | |
| 2939 | end | |
| 2940 | end | |
| 2941 | for i,v in pairs(obj1:GetChildren()) do | |
| 2942 | if v:IsA('BasePart') then
| |
| 2943 | v.Transparency = 0 | |
| 2944 | end | |
| 2945 | end | |
| 2946 | weld2:Destroy() | |
| 2947 | rightshoulderz:Clone().Parent = me.Torso | |
| 2948 | end | |
| 2949 | acting = false | |
| 2950 | canClick = true | |
| 2951 | end | |
| 2952 | end) | |
| 2953 | doit() | |
| 2954 | end | |
| 2955 | ||
| 2956 | function instasplode() | |
| 2957 | local coru = coroutine.wrap(function() | |
| 2958 | acting = true | |
| 2959 | for i=1,1 do | |
| 2960 | local weld2 = Instance.new('Weld',me["Right Arm"])
| |
| 2961 | weld2.Part0 = me["Right Arm"] | |
| 2962 | weld2.Part1 = me["Torso"] | |
| 2963 | weld2.C0 = CFrame.new(-1.5,0,0) | |
| 2964 | if finishnum == 1 then | |
| 2965 | for i = 0,1,0.05 do | |
| 2966 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
| |
| 2967 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
| 2968 | wait(0.01) | |
| 2969 | end | |
| 2970 | end | |
| 2971 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
| 2972 | audio.SoundId = "rbxassetid://166083610" | |
| 2973 | audio.PlaybackSpeed = 1 | |
| 2974 | audio.TimePosition = 0.1 | |
| 2975 | audio:Play() | |
| 2976 | if finishnum == 1 then | |
| 2977 | for i = 0,1,0.5 do | |
| 2978 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
| |
| 2979 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
| 2980 | wait(0.001) | |
| 2981 | end | |
| 2982 | end | |
| 2983 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
| 2984 | local knofe = obj1:Clone() | |
| 2985 | for i,v in pairs(obj1:GetChildren()) do | |
| 2986 | if v:IsA('BasePart') then
| |
| 2987 | v.Transparency = 1 | |
| 2988 | end | |
| 2989 | end | |
| 2990 | knofe.Parent = workspace | |
| 2991 | knofe.Name = "Projectile" | |
| 2992 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
| 2993 | knofe:FindFirstChild("Trail", true).Enabled = false
| |
| 2994 | fireofjesUS = Instance.new("Fire", knofe.Grab)
| |
| 2995 | local heck = Instance.new('BodyVelocity',knofe.Grab)
| |
| 2996 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
| 2997 | local coru = coroutine.wrap(function() | |
| 2998 | wait(0.45) | |
| 2999 | if heck then | |
| 3000 | heck:Destroy() | |
| 3001 | end | |
| 3002 | end) | |
| 3003 | coru() | |
| 3004 | knofe["big ass knife"].Touched:connect(function(hit) | |
| 3005 | if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then | |
| 3006 | heck.Velocity = Vector3.new(0,0,0) | |
| 3007 | heck:Destroy() | |
| 3008 | for i,v in pairs(knofe:GetChildren()) do | |
| 3009 | if v:IsA('BasePart') then
| |
| 3010 | v.CanCollide = true | |
| 3011 | end | |
| 3012 | end | |
| 3013 | local hum = hit.Parent:FindFirstChildOfClass('Humanoid')
| |
| 3014 | if hum == nil then | |
| 3015 | hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid')
| |
| 3016 | end | |
| 3017 | if knofe then | |
| 3018 | local coru = coroutine.wrap(function() | |
| 3019 | if hit then | |
| 3020 | local uno = Instance.new('Part',workspace)
| |
| 3021 | local dos = Instance.new('Part',workspace)
| |
| 3022 | uno.CFrame = hit.CFrame | |
| 3023 | dos.CFrame = knofe["big ass knife"].CFrame | |
| 3024 | local weld = Instance.new('Weld',knofe["big ass knife"])
| |
| 3025 | weld.Part0 = hit | |
| 3026 | weld.Part1 = knofe["big ass knife"] | |
| 3027 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
| 3028 | uno:Destroy() | |
| 3029 | dos:Destroy() | |
| 3030 | end | |
| 3031 | end) | |
| 3032 | coru() | |
| 3033 | end | |
| 3034 | local sound = Instance.new('Sound',knofe.Grab)
| |
| 3035 | sound.Name = "BOOM" | |
| 3036 | sound.EmitterSize = 25 | |
| 3037 | sound.SoundId = 'rbxassetid://476477344' | |
| 3038 | sound.Volume = 0.5 | |
| 3039 | sound:Play() | |
| 3040 | local exppart = Instance.new("Part", game.Workspace)
| |
| 3041 | exppart.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 3042 | exppart.Anchored = true | |
| 3043 | exppart.CanCollide = false | |
| 3044 | exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p) | |
| 3045 | exppart.Transparency = 1 | |
| 3046 | local expaccent = Instance.new("ParticleEmitter", exppart)
| |
| 3047 | expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))})
| |
| 3048 | expaccent.LightEmission = 0.2 | |
| 3049 | expaccent.LightInfluence = 0.3 | |
| 3050 | expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
| |
| 3051 | expaccent.Acceleration = Vector3.new(0, 30, 0) | |
| 3052 | expaccent.Drag = 15 | |
| 3053 | expaccent.LockedToPart = false | |
| 3054 | expaccent.Lifetime = NumberRange.new(0.5, 1.5) | |
| 3055 | expaccent.Rate = 2000 | |
| 3056 | expaccent.Speed = NumberRange.new(0,0) | |
| 3057 | expaccent.SpreadAngle = Vector2.new(360, 360) | |
| 3058 | expaccent:Clone().Parent = exppart | |
| 3059 | expaccent:Clone().Parent = exppart | |
| 3060 | local exp = Instance.new('Explosion',game.Workspace)
| |
| 3061 | exp.Position = knofe["big ass knife"].Position | |
| 3062 | exp.ExplosionType = Enum.ExplosionType.NoCraters | |
| 3063 | exp.BlastRadius = 5 | |
| 3064 | exp.Visible = false | |
| 3065 | exp.BlastPressure = 0 | |
| 3066 | exp.DestroyJointRadiusPercent = 0 | |
| 3067 | exp.Hit:connect(function(hit) | |
| 3068 | if hit.Parent and hit.Parent ~= me and hit.Parent.Name ~= "bitch ass knife" then | |
| 3069 | wait(0.001) | |
| 3070 | tgt = hit | |
| 3071 | local coru=coroutine.wrap(function(tgtt) | |
| 3072 | local fireofgods = Instance.new("Fire", tgtt)
| |
| 3073 | fireofgods.Size = 0 | |
| 3074 | fireofgods.Heat = 0 | |
| 3075 | local fireofgodsaccent = expaccent:Clone() | |
| 3076 | fireofgodsaccent.Parent = hit | |
| 3077 | fireofgodsaccent.Rate = 0 | |
| 3078 | fireofgodsaccent.Speed = NumberRange.new(5, 50) | |
| 3079 | fireofgodsaccent.SpreadAngle = Vector2.new(45, 45) | |
| 3080 | fireofgodsaccent.Acceleration = Vector3.new(0, 20, 0) | |
| 3081 | ||
| 3082 | while fireofgods.Size < 10 do | |
| 3083 | fireofgods.Size = fireofgods.Size + 0.1 | |
| 3084 | fireofgods.Heat = fireofgods.Heat + 0.1 | |
| 3085 | fireofgodsaccent.Rate = fireofgodsaccent.Rate + 1 | |
| 3086 | wait() | |
| 3087 | end | |
| 3088 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then
| |
| 3089 | hit:BreakJoints() | |
| 3090 | elseif hit.Parent and hit.Parent:IsA('Accessory') then
| |
| 3091 | for i,v in pairs(hit:GetChildren()) do | |
| 3092 | if v:IsA('SpecialMesh') then
| |
| 3093 | v.TextureId = "" | |
| 3094 | end | |
| 3095 | end | |
| 3096 | end | |
| 3097 | hit.BrickColor = BrickColor.new("Black")
| |
| 3098 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 3099 | if v:IsA('Shirt') or v:IsA('Pants') then
| |
| 3100 | v:Destroy() | |
| 3101 | end | |
| 3102 | end | |
| 3103 | ||
| 3104 | while fireofgods.Size > 5 do | |
| 3105 | fireofgods.Size = fireofgods.Size - 0.1 | |
| 3106 | fireofgods.Heat = fireofgods.Heat - 0.1 | |
| 3107 | wait() | |
| 3108 | end | |
| 3109 | fireofgods:Destroy() | |
| 3110 | if hit.Parent then | |
| 3111 | if hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then
| |
| 3112 | local p = hit | |
| 3113 | 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) | |
| 3114 | hit:Remove() | |
| 3115 | elseif hit.Parent:FindFirstChildOfClass('Humanoid') ~= nil then
| |
| 3116 | print(hit.Name) | |
| 3117 | if hit.Name == "Torso" or hit.Name == "Head" then | |
| 3118 | print('ohhh YAAAA')
| |
| 3119 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
| |
| 3120 | end | |
| 3121 | wait() | |
| 3122 | killz(hit.Parent,hit.Name,nil,nil,false,false,true) | |
| 3123 | end | |
| 3124 | end | |
| 3125 | end) | |
| 3126 | coru(tgt) | |
| 3127 | end | |
| 3128 | end) | |
| 3129 | local explosionaccenttimeout = coroutine.wrap(function() | |
| 3130 | wait(0.2) | |
| 3131 | for i, exploodn in pairs(exppart:GetChildren()) do | |
| 3132 | exploodn.Enabled = false | |
| 3133 | end | |
| 3134 | wait(2) | |
| 3135 | for i, exploodn in pairs(exppart:GetChildren()) do | |
| 3136 | exploodn:Remove() | |
| 3137 | end | |
| 3138 | end) | |
| 3139 | explosionaccenttimeout() | |
| 3140 | for i,v in pairs(knofe:GetChildren()) do | |
| 3141 | if v:IsA('BasePart') then
| |
| 3142 | v.Transparency = 1 | |
| 3143 | end | |
| 3144 | end | |
| 3145 | exp.AncestryChanged:connect(function() knofe:Destroy() end) | |
| 3146 | coru() | |
| 3147 | end | |
| 3148 | end) | |
| 3149 | if finishnum == 1 then | |
| 3150 | for i= 0,1,0.1 do | |
| 3151 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
| |
| 3152 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 3153 | wait(0.001) | |
| 3154 | end | |
| 3155 | else | |
| 3156 | wait(0.1) | |
| 3157 | end | |
| 3158 | weld2.C0 = CFrame.new(-1.5,0,0) | |
| 3159 | for i,v in pairs(obj1:GetChildren()) do | |
| 3160 | if v:IsA('BasePart') then
| |
| 3161 | v.Transparency = 0 | |
| 3162 | end | |
| 3163 | end | |
| 3164 | weld2:Destroy() | |
| 3165 | rightshoulderz:Clone().Parent = me.Torso | |
| 3166 | end | |
| 3167 | acting = false | |
| 3168 | canClick = true | |
| 3169 | end) | |
| 3170 | coru() | |
| 3171 | end | |
| 3172 | ||
| 3173 | function fireworkit() | |
| 3174 | local coru = coroutine.wrap(function() | |
| 3175 | acting = true | |
| 3176 | local ree = 1 | |
| 3177 | if finishnum > 1 then | |
| 3178 | ree = 3 | |
| 3179 | end | |
| 3180 | for i=1,ree do | |
| 3181 | local weld2 = Instance.new('Weld',me["Right Arm"])
| |
| 3182 | weld2.Part0 = me["Right Arm"] | |
| 3183 | weld2.Part1 = me["Torso"] | |
| 3184 | weld2.C0 = CFrame.new(-1.5,0,0) | |
| 3185 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
| 3186 | audio.SoundId = "rbxassetid://166083610" | |
| 3187 | audio.PlaybackSpeed = 1 | |
| 3188 | audio.TimePosition = 0.1 | |
| 3189 | audio:Play() | |
| 3190 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
| 3191 | local knofe = obj1:Clone() | |
| 3192 | for i,v in pairs(obj1:GetChildren()) do | |
| 3193 | if v:IsA('BasePart') then
| |
| 3194 | v.Transparency = 1 | |
| 3195 | end | |
| 3196 | end | |
| 3197 | local sound = Instance.new('Sound',knofe.Grab)
| |
| 3198 | sound.Volume = 0.25 | |
| 3199 | sound.EmitterSize = 200 | |
| 3200 | sound.MaxDistance = 300 | |
| 3201 | sound.SoundId = 'rbxassetid://551051176' | |
| 3202 | sound:Play() | |
| 3203 | knofe.Parent = workspace | |
| 3204 | knofe.Name = "Projectile" | |
| 3205 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
| 3206 | local partic = Instance.new('ParticleEmitter',knofe.Grab)
| |
| 3207 | 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))})
| |
| 3208 | partic.LightEmission = 0.5 | |
| 3209 | partic.LightInfluence = 0 | |
| 3210 | partic.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.15)})
| |
| 3211 | partic.Rotation = NumberRange.new(0,90) | |
| 3212 | partic.SpreadAngle = Vector2.new(5,5) | |
| 3213 | partic.Speed = NumberRange.new(20) | |
| 3214 | partic.Texture = 'rbxassetid://603193846' | |
| 3215 | partic.EmissionDirection = Enum.NormalId.Left | |
| 3216 | partic.Lifetime = NumberRange.new(0.5,1) | |
| 3217 | partic.Rate = 100 | |
| 3218 | local heck = Instance.new('BodyVelocity',knofe.Grab)
| |
| 3219 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*240 | |
| 3220 | local coru=coroutine.wrap(function() | |
| 3221 | wait(1.2) | |
| 3222 | sound:Destroy() | |
| 3223 | local sound2 = Instance.new('Sound',workspace)
| |
| 3224 | sound2.SoundId = 'rbxassetid://138080762' | |
| 3225 | sound2:Play() | |
| 3226 | if heck then | |
| 3227 | heck:Destroy() | |
| 3228 | end | |
| 3229 | for i,v in pairs(knofe:GetChildren()) do | |
| 3230 | v.Anchored = true | |
| 3231 | end | |
| 3232 | partic.Enabled = false | |
| 3233 | local colorscheme = math.random(1,4) | |
| 3234 | --1 - red & orange | |
| 3235 | --2 - blue & pink | |
| 3236 | --3 - green & purple | |
| 3237 | --4 - blue, red, white | |
| 3238 | local colar1 = Color3.fromRGB(255,0,0) | |
| 3239 | local colar2 = Color3.fromRGB(255,125,0) | |
| 3240 | local colar3 = Color3.fromRGB(255,255,255) | |
| 3241 | if colorscheme == 2 then | |
| 3242 | colar1 = Color3.fromRGB(0,132,255) | |
| 3243 | colar2 = Color3.fromRGB(243,105,255) | |
| 3244 | elseif colorscheme == 3 then | |
| 3245 | colar1 = Color3.fromRGB(76,255,0) | |
| 3246 | colar2 = Color3.fromRGB(128,0,255) | |
| 3247 | elseif colorscheme == 4 then | |
| 3248 | colar2 = Color3.fromRGB(0,132,255) | |
| 3249 | end | |
| 3250 | local partic2 = Instance.new('ParticleEmitter',knofe.Grab)
| |
| 3251 | partic2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar1),ColorSequenceKeypoint.new(1,colar1)})
| |
| 3252 | partic2.LightEmission = 0.5 | |
| 3253 | partic2.LightInfluence = 0 | |
| 3254 | partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.1)})
| |
| 3255 | partic2.Rotation = NumberRange.new(0,90) | |
| 3256 | partic2.SpreadAngle = Vector2.new(180,180) | |
| 3257 | partic2.Speed = NumberRange.new(20) | |
| 3258 | partic2.Texture = 'rbxassetid://603193846' | |
| 3259 | partic2.EmissionDirection = Enum.NormalId.Right | |
| 3260 | partic2.Lifetime = NumberRange.new(2,2.5) | |
| 3261 | partic2.Rate = 1000 | |
| 3262 | partic2.Drag = 1 | |
| 3263 | local partic3 = partic2:Clone() | |
| 3264 | partic3.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar2),ColorSequenceKeypoint.new(1,colar2)})
| |
| 3265 | partic3.Parent = knofe.Grab | |
| 3266 | if colorscheme == 4 then | |
| 3267 | local partic4 = partic2:Clone() | |
| 3268 | partic4.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar3),ColorSequenceKeypoint.new(1,colar3)})
| |
| 3269 | partic4.Parent = knofe.Grab | |
| 3270 | end | |
| 3271 | wait(1) | |
| 3272 | for i,v in pairs(knofe.Grab:GetChildren()) do | |
| 3273 | if v:IsA('ParticleEmitter') then
| |
| 3274 | v.Enabled = false | |
| 3275 | end | |
| 3276 | end | |
| 3277 | sound:Destroy() | |
| 3278 | wait(2) | |
| 3279 | knofe:Destroy() | |
| 3280 | end) | |
| 3281 | coru() | |
| 3282 | wait(0.1) | |
| 3283 | weld2.C0 = CFrame.new(-1.5,0,0) | |
| 3284 | for i,v in pairs(obj1:GetChildren()) do | |
| 3285 | if v:IsA('BasePart') then
| |
| 3286 | v.Transparency = 0 | |
| 3287 | end | |
| 3288 | end | |
| 3289 | weld2:Destroy() | |
| 3290 | rightshoulderz:Clone().Parent = me.Torso | |
| 3291 | end | |
| 3292 | acting = false | |
| 3293 | canClick = true | |
| 3294 | end) | |
| 3295 | coru() | |
| 3296 | end | |
| 3297 | ||
| 3298 | function paralyze() | |
| 3299 | local coru = coroutine.wrap(function() | |
| 3300 | if paralyzed == true then return end | |
| 3301 | paralyzed = true | |
| 3302 | local arm = me["Right Arm"] | |
| 3303 | local tors = grabbed.Torso | |
| 3304 | local arm2 = me["Left Arm"] | |
| 3305 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
| |
| 3306 | doing = true | |
| 3307 | local weld2 = arm:FindFirstChildOfClass('Weld')
| |
| 3308 | local weld3 = arm2:FindFirstChildOfClass('Weld')
| |
| 3309 | local humanroot = me.HumanoidRootPart | |
| 3310 | for i = 0,1,0.075 do | |
| 3311 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-2, 0, -1.5), i) | |
| 3312 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i) | |
| 3313 | wait(0.01) | |
| 3314 | end | |
| 3315 | for i = 0,1,0.30 do | |
| 3316 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-0.75, 0, -1.75), i) | |
| 3317 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i) | |
| 3318 | wait(0.01) | |
| 3319 | end | |
| 3320 | killz(grabbed,'Left Leg') | |
| 3321 | killz(grabbed,'Left Arm') | |
| 3322 | killz(grabbed,'Right Leg') | |
| 3323 | killz(grabbed,'Right Arm') | |
| 3324 | ||
| 3325 | for i, v in pairs(grabbed:GetChildren()) do | |
| 3326 | if v.Name == "Part" then | |
| 3327 | v.CanCollide = false | |
| 3328 | end | |
| 3329 | end | |
| 3330 | ||
| 3331 | audio:Stop() | |
| 3332 | audio.SoundId = "rbxassetid://2801263" | |
| 3333 | tone = math.random(1, 3) | |
| 3334 | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0 end | |
| 3335 | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0 end | |
| 3336 | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0 end | |
| 3337 | audio:Play() | |
| 3338 | ||
| 3339 | local bleedpart = Instance.new("Part", grabbed)
| |
| 3340 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 3341 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
| 3342 | bleedpart.CanCollide = false | |
| 3343 | bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0) | |
| 3344 | bleedpart.Transparency = 1 | |
| 3345 | ||
| 3346 | local bleedpartweld = Instance.new("Weld", grabbed.Torso)
| |
| 3347 | bleedpartweld.Part0 = grabbed.Torso | |
| 3348 | bleedpartweld.Part1 = bleedpart | |
| 3349 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
| 3350 | local cuntruu=coroutine.wrap(function() | |
| 3351 | bleed(bleedpart) | |
| 3352 | end) | |
| 3353 | local thicc = coroutine.wrap(function() | |
| 3354 | wait(3) | |
| 3355 | bleedpart:Remove() | |
| 3356 | end) | |
| 3357 | cuntruu() | |
| 3358 | thicc() | |
| 3359 | ||
| 3360 | for i = 0,1,0.075 do | |
| 3361 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i) | |
| 3362 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i) | |
| 3363 | wait(0.01) | |
| 3364 | end | |
| 3365 | acting = true | |
| 3366 | canClick = true | |
| 3367 | doing = false | |
| 3368 | end) | |
| 3369 | coru() | |
| 3370 | end | |
| 3371 | ||
| 3372 | function explode() | |
| 3373 | local coru = coroutine.wrap(function() | |
| 3374 | acting = true | |
| 3375 | for i=1,finishnum do | |
| 3376 | local weld2 = Instance.new('Weld',me["Right Arm"])
| |
| 3377 | weld2.Part0 = me["Right Arm"] | |
| 3378 | weld2.Part1 = me["Torso"] | |
| 3379 | weld2.C0 = CFrame.new(-1.5,0,0) | |
| 3380 | if finishnum == 1 then | |
| 3381 | for i = 0,1,0.05 do | |
| 3382 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
| |
| 3383 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
| 3384 | wait(0.01) | |
| 3385 | end | |
| 3386 | end | |
| 3387 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
| 3388 | audio.SoundId = "rbxassetid://166083610" | |
| 3389 | audio.PlaybackSpeed = 1 | |
| 3390 | audio.TimePosition = 0.1 | |
| 3391 | audio:Play() | |
| 3392 | if finishnum == 1 then | |
| 3393 | for i = 0,1,0.5 do | |
| 3394 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
| |
| 3395 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
| 3396 | wait(0.001) | |
| 3397 | end | |
| 3398 | end | |
| 3399 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
| 3400 | local knofe = obj1:Clone() | |
| 3401 | for i,v in pairs(obj1:GetChildren()) do | |
| 3402 | if v:IsA('BasePart') then
| |
| 3403 | v.Transparency = 1 | |
| 3404 | end | |
| 3405 | end | |
| 3406 | knofe.Parent = workspace | |
| 3407 | knofe.Name = "Projectile" | |
| 3408 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
| 3409 | knofe:FindFirstChild("Trail", true).Enabled = false
| |
| 3410 | local heck = Instance.new('BodyVelocity',knofe.Grab)
| |
| 3411 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
| 3412 | local coru = coroutine.wrap(function() | |
| 3413 | wait(0.45) | |
| 3414 | if heck then | |
| 3415 | heck:Destroy() | |
| 3416 | end | |
| 3417 | end) | |
| 3418 | coru() | |
| 3419 | knofe["big ass knife"].Touched:connect(function(hit) | |
| 3420 | if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then | |
| 3421 | heck.Velocity = Vector3.new(0,0,0) | |
| 3422 | heck:Destroy() | |
| 3423 | for i,v in pairs(knofe:GetChildren()) do | |
| 3424 | if v:IsA('BasePart') then
| |
| 3425 | v.CanCollide = true | |
| 3426 | end | |
| 3427 | end | |
| 3428 | local hum = hit.Parent:FindFirstChildOfClass('Humanoid')
| |
| 3429 | if hum == nil then | |
| 3430 | hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid')
| |
| 3431 | end | |
| 3432 | if hum then | |
| 3433 | tone = math.random(1, 3) | |
| 3434 | local sound = Instance.new('Sound',knofe.Grab)
| |
| 3435 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
| 3436 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
| 3437 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
| 3438 | sound.PlaybackSpeed = 1 | |
| 3439 | sound:Play() | |
| 3440 | else | |
| 3441 | local sound = Instance.new('Sound',knofe.Grab)
| |
| 3442 | sound.SoundId = 'rbxassetid://267585646' | |
| 3443 | sound:Play() | |
| 3444 | end | |
| 3445 | if knofe then | |
| 3446 | local coru = coroutine.wrap(function() | |
| 3447 | if hit then | |
| 3448 | local uno = Instance.new('Part',workspace)
| |
| 3449 | local dos = Instance.new('Part',workspace)
| |
| 3450 | uno.CFrame = hit.CFrame | |
| 3451 | dos.CFrame = knofe["big ass knife"].CFrame | |
| 3452 | local weld = Instance.new('Weld',knofe["big ass knife"])
| |
| 3453 | weld.Part0 = hit | |
| 3454 | weld.Part1 = knofe["big ass knife"] | |
| 3455 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
| 3456 | uno:Destroy() | |
| 3457 | dos:Destroy() | |
| 3458 | end | |
| 3459 | end) | |
| 3460 | coru() | |
| 3461 | end | |
| 3462 | local coru = coroutine.wrap(function() | |
| 3463 | for i=1,15,0.7 do | |
| 3464 | local sound = Instance.new('Sound',knofe.Grab)
| |
| 3465 | if knofe then | |
| 3466 | if knofe.serration.BrickColor == BrickColor.new('Really red') then
| |
| 3467 | for i, v in pairs(knofe:GetChildren()) do | |
| 3468 | if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then | |
| 3469 | v.BrickColor = BrickColor.new('Lily white')
| |
| 3470 | v.Material = Enum.Material.SmoothPlastic | |
| 3471 | end | |
| 3472 | end | |
| 3473 | else | |
| 3474 | for i,v in pairs(knofe:GetChildren()) do | |
| 3475 | if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then | |
| 3476 | v.BrickColor = BrickColor.new('Really red')
| |
| 3477 | v.Material = Enum.Material.Neon | |
| 3478 | sound.SoundId = 'rbxassetid://300473653' | |
| 3479 | sound.Volume = 0.75 | |
| 3480 | sound.TimePosition = 0.05 | |
| 3481 | sound.EmitterSize = 25 | |
| 3482 | sound.PlaybackSpeed = 1 | |
| 3483 | sound:Play() | |
| 3484 | end | |
| 3485 | end | |
| 3486 | end | |
| 3487 | wait(1/i) | |
| 3488 | sound:Destroy() | |
| 3489 | end | |
| 3490 | end | |
| 3491 | local sound = Instance.new('Sound',knofe.Grab)
| |
| 3492 | sound.Name = "BOOM" | |
| 3493 | sound.EmitterSize = 25 | |
| 3494 | sound.SoundId = 'rbxassetid://12222084' | |
| 3495 | sound.TimePosition = 0.1 | |
| 3496 | sound.Volume = 0.5 | |
| 3497 | sound:Play() | |
| 3498 | local exppart = Instance.new("Part", game.Workspace)
| |
| 3499 | exppart.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 3500 | exppart.Anchored = true | |
| 3501 | exppart.CanCollide = false | |
| 3502 | exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p) | |
| 3503 | exppart.Transparency = 1 | |
| 3504 | local expaccent = Instance.new("ParticleEmitter", exppart)
| |
| 3505 | expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))})
| |
| 3506 | expaccent.LightEmission = 0.2 | |
| 3507 | expaccent.LightInfluence = 0.3 | |
| 3508 | expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
| |
| 3509 | expaccent.Acceleration = Vector3.new(0, -8, 0) | |
| 3510 | expaccent.Drag = 15 | |
| 3511 | expaccent.LockedToPart = true | |
| 3512 | expaccent.Lifetime = NumberRange.new(0.5, 1.5) | |
| 3513 | expaccent.Rate = 2000 | |
| 3514 | expaccent.Speed = NumberRange.new(10, 150) | |
| 3515 | expaccent.SpreadAngle = Vector2.new(360, 360) | |
| 3516 | ||
| 3517 | local exp = Instance.new('Explosion',game.Workspace)
| |
| 3518 | exp.Position = knofe["big ass knife"].Position | |
| 3519 | exp.ExplosionType = Enum.ExplosionType.NoCraters | |
| 3520 | exp.BlastRadius = 10 | |
| 3521 | exp.BlastPressure = 100000 | |
| 3522 | exp.DestroyJointRadiusPercent = 1 | |
| 3523 | exp.Hit:connect(function(hit) | |
| 3524 | if hit.Parent and hit.Parent ~= me and hit.Parent:FindFirstChildOfClass('Humanoid') then
| |
| 3525 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then
| |
| 3526 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0
| |
| 3527 | end | |
| 3528 | wait(0.001) | |
| 3529 | local coru=coroutine.wrap(function() | |
| 3530 | killz(hit.Parent,'Head',knofe,exp) | |
| 3531 | end) | |
| 3532 | coru() | |
| 3533 | elseif hit.Parent and hit.Parent ~= workspace and hit.Parent ~= me then | |
| 3534 | if hit.Parent.Name ~= "Projectile" then | |
| 3535 | hit.Parent:BreakJoints() | |
| 3536 | end | |
| 3537 | elseif hit.Parent and hit.Parent ~= me then | |
| 3538 | hit:BreakJoints() | |
| 3539 | end | |
| 3540 | end) | |
| 3541 | local explosionaccenttimeout = coroutine.wrap(function() | |
| 3542 | wait(0.2) | |
| 3543 | expaccent.Enabled = false | |
| 3544 | wait(2) | |
| 3545 | exppart:Remove() | |
| 3546 | end) | |
| 3547 | explosionaccenttimeout() | |
| 3548 | for i,v in pairs(knofe:GetChildren()) do | |
| 3549 | if v:IsA('BasePart') then
| |
| 3550 | v.Transparency = 1 | |
| 3551 | end | |
| 3552 | end | |
| 3553 | exp.AncestryChanged:connect(function() knofe:Destroy() end) | |
| 3554 | end) | |
| 3555 | coru() | |
| 3556 | end | |
| 3557 | end) | |
| 3558 | if finishnum == 1 then | |
| 3559 | for i= 0,1,0.1 do | |
| 3560 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end
| |
| 3561 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 3562 | wait(0.001) | |
| 3563 | end | |
| 3564 | else | |
| 3565 | wait(0.1) | |
| 3566 | end | |
| 3567 | weld2.C0 = CFrame.new(-1.5,0,0) | |
| 3568 | for i,v in pairs(obj1:GetChildren()) do | |
| 3569 | if v:IsA('BasePart') then
| |
| 3570 | v.Transparency = 0 | |
| 3571 | end | |
| 3572 | end | |
| 3573 | weld2:Destroy() | |
| 3574 | rightshoulderz:Clone().Parent = me.Torso | |
| 3575 | end | |
| 3576 | acting = false | |
| 3577 | canClick = true | |
| 3578 | end) | |
| 3579 | coru() | |
| 3580 | end | |
| 3581 | ||
| 3582 | function release() | |
| 3583 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end
| |
| 3584 | targetweld = grabbed.Torso.TargetWeld | |
| 3585 | local ree= grabbed:FindFirstChild("Left Arm")
| |
| 3586 | targetweld2 = nil | |
| 3587 | if ree and ree:FindFirstChild("Weld") then
| |
| 3588 | targetweld2 = ree.Weld | |
| 3589 | end | |
| 3590 | for i, v in pairs(grabbed:GetChildren()) do | |
| 3591 | if v.Name == "Part" then | |
| 3592 | v.CanCollide = true | |
| 3593 | end | |
| 3594 | end | |
| 3595 | paralyzed = false | |
| 3596 | local doit = coroutine.wrap(function() | |
| 3597 | local arm = me["Right Arm"] | |
| 3598 | local tors = grabbed.Torso | |
| 3599 | local arm2 = me["Left Arm"] | |
| 3600 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end
| |
| 3601 | doing = true | |
| 3602 | local weld2 = arm:FindFirstChildOfClass('Weld')
| |
| 3603 | local weld3 = arm2:FindFirstChildOfClass('Weld')
| |
| 3604 | local humanroot = me.HumanoidRootPart | |
| 3605 | ||
| 3606 | if grabbed:FindFirstChildOfClass('Humanoid') then
| |
| 3607 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false
| |
| 3608 | end | |
| 3609 | ||
| 3610 | rightshoulderz:Clone().Parent = me.Torso | |
| 3611 | leftshoulderz:Clone().Parent = me.Torso | |
| 3612 | if grabbed:FindFirstChildOfClass('Humanoid') then
| |
| 3613 | grabbed:FindFirstChildOfClass('Humanoid').Name = "Humanoid"
| |
| 3614 | grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 50
| |
| 3615 | grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
| |
| 3616 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false
| |
| 3617 | end | |
| 3618 | grabbed = nil | |
| 3619 | ||
| 3620 | if humanroot:FindFirstChild('Holder') then
| |
| 3621 | humanroot.Holder:Destroy() | |
| 3622 | end | |
| 3623 | ||
| 3624 | for i = 0,1,0.1 do | |
| 3625 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end
| |
| 3626 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 3627 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) | |
| 3628 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i) | |
| 3629 | if targetweld2 then | |
| 3630 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i) | |
| 3631 | end | |
| 3632 | wait(0.01) | |
| 3633 | end | |
| 3634 | ||
| 3635 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0.2) | |
| 3636 | weld2:Destroy() | |
| 3637 | weld3:Destroy() | |
| 3638 | targetweld:Remove() | |
| 3639 | if targetweld2 then | |
| 3640 | targetweld2:Remove() | |
| 3641 | end | |
| 3642 | if rightshoulder then | |
| 3643 | rightshoulder:Clone().Parent = tors | |
| 3644 | end | |
| 3645 | if leftshoulder then | |
| 3646 | leftshoulder:Clone().Parent = tors | |
| 3647 | end | |
| 3648 | headweld:Clone().Parent = tors | |
| 3649 | rightshoulderz:Clone().Parent = me.Torso | |
| 3650 | leftshoulderz:Clone().Parent = me.Torso | |
| 3651 | acting = false | |
| 3652 | canClick = true | |
| 3653 | doing = false | |
| 3654 | end) | |
| 3655 | doit() | |
| 3656 | end | |
| 3657 | ||
| 3658 | function stabwithpassion() | |
| 3659 | local doit = coroutine.wrap(function() | |
| 3660 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then
| |
| 3661 | acting = true | |
| 3662 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 10
| |
| 3663 | local arm = me["Right Arm"] | |
| 3664 | local tors = me.Torso | |
| 3665 | local arm2 = me["Left Arm"] | |
| 3666 | local humanroot = me.HumanoidRootPart | |
| 3667 | local weld = Instance.new('Weld',tors)
| |
| 3668 | weld.Part0 = tors | |
| 3669 | weld.Part1 = humanroot | |
| 3670 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) | |
| 3671 | local weld2 = Instance.new('Weld',arm)
| |
| 3672 | weld2.Part0 = arm | |
| 3673 | weld2.Part1 = tors | |
| 3674 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
| 3675 | local weld3 = Instance.new('Weld',arm2)
| |
| 3676 | weld3.Part0 = arm2 | |
| 3677 | weld3.Part1 = tors | |
| 3678 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
| 3679 | ||
| 3680 | for i = 0,1,0.15 do | |
| 3681 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
| |
| 3682 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(20),0),i) | |
| 3683 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
| 3684 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(90), -1.55) * CFrame.new(0, 0.95, 0), i) | |
| 3685 | wait(0.01) | |
| 3686 | end | |
| 3687 | wait(0.001) | |
| 3688 | trail.Enabled = true | |
| 3689 | stabbing = true | |
| 3690 | audio2.SoundId = 'rbxassetid://608537390' | |
| 3691 | audio2:Play() | |
| 3692 | for i = 0,1,0.2 do | |
| 3693 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
| |
| 3694 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-45),0),i) | |
| 3695 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,-1)*CFrame.Angles(math.rad(-90),0,-1),i) | |
| 3696 | wait(0.01) | |
| 3697 | end | |
| 3698 | trail.Enabled = false | |
| 3699 | wait(0.1) | |
| 3700 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 10
| |
| 3701 | stabbing = false | |
| 3702 | wait(0.001) | |
| 3703 | for i = 0,1,0.075 do | |
| 3704 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
| |
| 3705 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i) | |
| 3706 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i) | |
| 3707 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i) | |
| 3708 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i) | |
| 3709 | wait(0.01) | |
| 3710 | end | |
| 3711 | weld:Destroy() | |
| 3712 | weld2:Destroy() | |
| 3713 | weld3:Destroy() | |
| 3714 | torsojoint:Clone().Parent = humanroot | |
| 3715 | rightshoulderz:Clone().Parent = me.Torso | |
| 3716 | leftshoulderz:Clone().Parent = me.Torso | |
| 3717 | canClick = true | |
| 3718 | hit = false | |
| 3719 | acting = false | |
| 3720 | end | |
| 3721 | end) | |
| 3722 | doit() | |
| 3723 | end | |
| 3724 | ||
| 3725 | function stab() | |
| 3726 | local doit = coroutine.wrap(function() | |
| 3727 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then
| |
| 3728 | acting = true | |
| 3729 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3
| |
| 3730 | local arm = me["Right Arm"] | |
| 3731 | local tors = me.Torso | |
| 3732 | local arm2 = me["Left Arm"] | |
| 3733 | local humanroot = me.HumanoidRootPart | |
| 3734 | local weld = Instance.new('Weld',tors)
| |
| 3735 | weld.Part0 = tors | |
| 3736 | weld.Part1 = humanroot | |
| 3737 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) | |
| 3738 | local weld2 = Instance.new('Weld',arm)
| |
| 3739 | weld2.Part0 = arm | |
| 3740 | weld2.Part1 = tors | |
| 3741 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
| 3742 | local weld3 = Instance.new('Weld',arm2)
| |
| 3743 | weld3.Part0 = arm2 | |
| 3744 | weld3.Part1 = tors | |
| 3745 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
| 3746 | ||
| 3747 | for i = 0,1,0.1 do | |
| 3748 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
| |
| 3749 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i) | |
| 3750 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
| 3751 | wait(0.01) | |
| 3752 | end | |
| 3753 | wait(0.001) | |
| 3754 | trail.Enabled = true | |
| 3755 | stabbing = true | |
| 3756 | audio2.SoundId = 'rbxassetid://608537390' | |
| 3757 | audio2:Play() | |
| 3758 | for i = 0,1,0.25 do | |
| 3759 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
| |
| 3760 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,-0.3,0),i) | |
| 3761 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,0.5)*CFrame.Angles(-0.5,0,-0.5),i) | |
| 3762 | wait(0.01) | |
| 3763 | end | |
| 3764 | trail.Enabled = false | |
| 3765 | wait(0.1) | |
| 3766 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3
| |
| 3767 | for i = 0,1,0.25 do | |
| 3768 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
| |
| 3769 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i) | |
| 3770 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.6,-0.3)*CFrame.Angles(0.5,0,-0.5),i) | |
| 3771 | wait(0.01) | |
| 3772 | end | |
| 3773 | stabbing = false | |
| 3774 | wait(0.001) | |
| 3775 | for i = 0,1,0.05 do | |
| 3776 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end
| |
| 3777 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i) | |
| 3778 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i) | |
| 3779 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i) | |
| 3780 | wait(0.01) | |
| 3781 | end | |
| 3782 | weld:Destroy() | |
| 3783 | weld2:Destroy() | |
| 3784 | weld3:Destroy() | |
| 3785 | torsojoint:Clone().Parent = humanroot | |
| 3786 | rightshoulderz:Clone().Parent = me.Torso | |
| 3787 | leftshoulderz:Clone().Parent = me.Torso | |
| 3788 | canClick = true | |
| 3789 | hit = false | |
| 3790 | acting = false | |
| 3791 | end | |
| 3792 | end) | |
| 3793 | doit() | |
| 3794 | end | |
| 3795 | function hardrelease() | |
| 3796 | rightshoulderz:Clone().Parent = me.Torso | |
| 3797 | leftshoulderz:Clone().Parent = me.Torso | |
| 3798 | if me:FindFirstChild('Right Arm') then
| |
| 3799 | for i,v in pairs(me["Right Arm"]:GetChildren()) do | |
| 3800 | if v:IsA('Weld') then
| |
| 3801 | v:Destroy() | |
| 3802 | end | |
| 3803 | end | |
| 3804 | end | |
| 3805 | if me:FindFirstChild('Left Arm') then
| |
| 3806 | for i,v in pairs(me["Left Arm"]:GetChildren()) do | |
| 3807 | if v:IsA('Weld') then
| |
| 3808 | v:Destroy() | |
| 3809 | end | |
| 3810 | end | |
| 3811 | end | |
| 3812 | acting = false | |
| 3813 | canClick = true | |
| 3814 | doing = false | |
| 3815 | grabbed = nil | |
| 3816 | end | |
| 3817 | function unequip() | |
| 3818 | local doit = coroutine.wrap(function() | |
| 3819 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then
| |
| 3820 | acting = true | |
| 3821 | local arm = me["Right Arm"] | |
| 3822 | local arm2 = me["Left Arm"] | |
| 3823 | local tors = me.Torso | |
| 3824 | local weld = Instance.new('Weld',arm)
| |
| 3825 | weld.Part0 = arm | |
| 3826 | weld.Part1 = tors | |
| 3827 | weld.C0 = CFrame.new(-1.5,0,0) | |
| 3828 | local weld2 = Instance.new("Weld", arm2)
| |
| 3829 | weld2.Part0 = arm2 | |
| 3830 | weld2.Part1 = tors | |
| 3831 | weld2.C0 = CFrame.new(1.5, 0, 0) | |
| 3832 | wait(0.001) | |
| 3833 | trail.Enabled = true | |
| 3834 | for i = 0,1,0.1 do | |
| 3835 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
| |
| 3836 | weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i) | |
| 3837 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i) | |
| 3838 | wait(0.001) | |
| 3839 | end | |
| 3840 | trail.Enabled = false | |
| 3841 | wait(0.25) | |
| 3842 | for i = 0,1,0.1 do | |
| 3843 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end
| |
| 3844 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 3845 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i) | |
| 3846 | wait(0.01) | |
| 3847 | end | |
| 3848 | weld:Destroy() | |
| 3849 | weld2:Remove() | |
| 3850 | if tors ~= nil then | |
| 3851 | rightshoulderz:Clone().Parent = me.Torso | |
| 3852 | leftshoulderz:Clone().Parent = me.Torso | |
| 3853 | end | |
| 3854 | acting = false | |
| 3855 | end | |
| 3856 | end) | |
| 3857 | doit() | |
| 3858 | end | |
| 3859 | ||
| 3860 | mouse.KeyDown:connect(function(key) | |
| 3861 | if usable == true then | |
| 3862 | if key == "x" then | |
| 3863 | if active == false and acting == false then | |
| 3864 | active = true | |
| 3865 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3866 | notify("KNIFE EQUIPPED",false)
| |
| 3867 | audio:Stop() | |
| 3868 | audio.SoundId = 'rbxassetid://608618332' | |
| 3869 | equip() | |
| 3870 | wait(0.6) | |
| 3871 | audio:Play() | |
| 3872 | knifeweld.Part0 = me["Right Arm"] | |
| 3873 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
| 3874 | elseif acting == false then | |
| 3875 | active = false | |
| 3876 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3877 | audio:Stop() | |
| 3878 | audio.SoundId = 'rbxassetid://608538233' | |
| 3879 | unequip() | |
| 3880 | notify("KNIFE UNEQUIPPED",false)
| |
| 3881 | wait(0.3) | |
| 3882 | audio:Play() | |
| 3883 | knifeweld.Part0 = me.Torso | |
| 3884 | knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55) | |
| 3885 | canClick = true | |
| 3886 | end | |
| 3887 | elseif key == "f" then | |
| 3888 | if mode == 'kill' or active == false then return end | |
| 3889 | mode = "kill" | |
| 3890 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3891 | notify("MODE || KILL || [F]",false)
| |
| 3892 | - | elseif key == "e" then |
| 3892 | + | |
| 3893 | if mode == 'throw' or active == false then return end | |
| 3894 | mode = "throw" | |
| 3895 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3896 | - | notify("MODE || PUSH || [E]",false)
|
| 3896 | + | notify("MODE || PUSH || [G]",false)
|
| 3897 | - | elseif key == "q" then |
| 3897 | + | elseif key == "j" then |
| 3898 | if mode == 'release' or active == false then return end | |
| 3899 | mode = "release" | |
| 3900 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3901 | - | notify("MODE || RELEASE || [Q]",false)
|
| 3901 | + | notify("MODE || RELEASE || [J]",false)
|
| 3902 | elseif key == "c" then | |
| 3903 | if mode == 'stab' or active == false or acting == true then return end | |
| 3904 | mode = "stab" | |
| 3905 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3906 | - | notify("MODE || STAB || [X]",false)
|
| 3906 | + | notify("MODE || STAB || [C]",false)
|
| 3907 | elseif key == "b" then | |
| 3908 | if mode == 'fling' or active == false or acting == true then return end | |
| 3909 | mode = "fling" | |
| 3910 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3911 | - | notify("MODE || THROW || [C]",false)
|
| 3911 | + | notify("MODE || THROW || [B]",false)
|
| 3912 | elseif key == "\" then | |
| 3913 | if mode == 'instasplode' or active == false or acting == true then return end | |
| 3914 | mode = "instasplode" | |
| 3915 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3916 | - | notify("MODE || MOLOTOV || [B]",false)
|
| 3916 | + | notify("MODE || MOLOTOV || [\]",false)
|
| 3917 | - | elseif key == "r" then |
| 3917 | + | |
| 3918 | if mode == 'paralyze' or active == false then return end | |
| 3919 | mode = "paralyze" | |
| 3920 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3921 | - | notify("MODE || PARALYZE || [R]",false)
|
| 3921 | + | notify("MODE || PARALYZE || [H]",false)
|
| 3922 | elseif key == "\" then | |
| 3923 | if mode == 'explode' or active == false or acting == true then return end | |
| 3924 | mode = "explode" | |
| 3925 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3926 | - | notify("MODE || EXPLODE || [V]",false)
|
| 3926 | + | notify("MODE || EXPLODE || [\]",false)
|
| 3927 | - | elseif key == "k" then |
| 3927 | + | |
| 3928 | if mode == 'suicide' or active == false or acting == true then return end | |
| 3929 | mode = "suicide" | |
| 3930 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3931 | - | notify("MODE || SUICIDE || [K]",false)
|
| 3931 | + | notify("MODE || SUICIDE || [N]",false)
|
| 3932 | elseif key == "\" then | |
| 3933 | if mode == 'firework' or active == false or acting == true then return end | |
| 3934 | mode = "firework" | |
| 3935 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3936 | - | notify("MODE || FIREWORK || [H]",false)
|
| 3936 | + | notify("MODE || FIREWORK || [\]",false)
|
| 3937 | elseif key == "v" then | |
| 3938 | if mode == 'finish' or active == false then return end | |
| 3939 | mode = "finish" | |
| 3940 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3941 | local welp = "ON" | |
| 3942 | if finishnum == 1 then | |
| 3943 | welp = "OFF" | |
| 3944 | end | |
| 3945 | - | notify("MODE || FINISH || [G] || "..welp,false)
|
| 3945 | + | notify("MODE || FINISH || [V] || "..welp,false)
|
| 3946 | elseif key == "\" then | |
| 3947 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3948 | if zombiemode == false then | |
| 3949 | - | notify("ZOMBIE MODE ON || [N]",false)
|
| 3949 | + | notify("ZOMBIE MODE ON || [\]",false)
|
| 3950 | zombiemode = true | |
| 3951 | else | |
| 3952 | - | notify("ZOMBIE MODE OFF || [N]",false)
|
| 3952 | + | notify("ZOMBIE MODE OFF || [\]",false)
|
| 3953 | zombiemode = false | |
| 3954 | end | |
| 3955 | - | elseif key == "m" then |
| 3955 | + | elseif key == "\" then |
| 3956 | if finishnum == 1 then | |
| 3957 | finishnum = 15 | |
| 3958 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3959 | - | notify("PSYCHOPATH MODE ON || [M]",false)
|
| 3959 | + | notify("PSYCHOPATH MODE ON || [\]",false)
|
| 3960 | if cancolorfilter then | |
| 3961 | local Sp00kyGui = Instance.new("ScreenGui")
| |
| 3962 | local ImageLabel = Instance.new("ImageLabel")
| |
| 3963 | ||
| 3964 | -- Properties | |
| 3965 | ||
| 3966 | Sp00kyGui.Parent = playergui | |
| 3967 | Sp00kyGui.Name = "REEEEEEEE" | |
| 3968 | ||
| 3969 | ImageLabel.Parent = Sp00kyGui | |
| 3970 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 3971 | ImageLabel.BackgroundTransparency = 1 | |
| 3972 | ImageLabel.Size = UDim2.new(1, 0, 1, 0) | |
| 3973 | ImageLabel.Image = "rbxassetid://74443700" | |
| 3974 | ImageLabel.ImageColor3 = Color3.new(1, 0, 0) | |
| 3975 | end | |
| 3976 | if canbackgroundmusic == true then | |
| 3977 | local sound = Instance.new('Sound',playergui)
| |
| 3978 | sound.Name = 'PSYCHOPAAAATH' | |
| 3979 | sound.SoundId = 'rbxassetid://220875210' | |
| 3980 | sound.Looped = true | |
| 3981 | sound.Volume = 0.5 | |
| 3982 | sound:Play() | |
| 3983 | end | |
| 3984 | else | |
| 3985 | finishnum = 1 | |
| 3986 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end
| |
| 3987 | notify("PSYCHOPATH MODE OFF || [M]",false)
| |
| 3988 | for i,v in pairs(playergui:GetChildren()) do | |
| 3989 | if v.Name == "REEEEEEEE" then | |
| 3990 | v:Destroy() | |
| 3991 | end | |
| 3992 | end | |
| 3993 | local thisniggarighthere = playergui:FindFirstChild('PSYCHOPAAAATH')
| |
| 3994 | if thisniggarighthere then thisniggarighthere:Destroy() end | |
| 3995 | end | |
| 3996 | end | |
| 3997 | end | |
| 3998 | end) | |
| 3999 | ||
| 4000 | mouse.Button1Down:connect(function() | |
| 4001 | if active == false or usable == false then return end | |
| 4002 | if canClick == true and acting == false then | |
| 4003 | if mode == "stab" and finishnum == 1 then | |
| 4004 | canClick = false | |
| 4005 | stab() | |
| 4006 | elseif mode == "stab" and finishnum == 15 then | |
| 4007 | canClick = false | |
| 4008 | stabwithpassion() | |
| 4009 | elseif mode == "fling" then | |
| 4010 | canClick = false | |
| 4011 | fling() | |
| 4012 | elseif mode == "explode" then | |
| 4013 | canClick = false | |
| 4014 | explode() | |
| 4015 | elseif mode == "instasplode" then | |
| 4016 | canClick = false | |
| 4017 | instasplode() | |
| 4018 | elseif mode == "finish" then | |
| 4019 | canClick = false | |
| 4020 | finish() | |
| 4021 | elseif mode == "suicide" then | |
| 4022 | canClick = false | |
| 4023 | kysnigga() | |
| 4024 | elseif mode == "firework" then | |
| 4025 | canClick = false | |
| 4026 | fireworkit() | |
| 4027 | else | |
| 4028 | canClick = false | |
| 4029 | grab() | |
| 4030 | end | |
| 4031 | else | |
| 4032 | if grabbed ~= nil and doing == false then | |
| 4033 | if mode == "release" then | |
| 4034 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
| |
| 4035 | release() | |
| 4036 | else | |
| 4037 | hardrelease() | |
| 4038 | end | |
| 4039 | elseif mode == "kill" then | |
| 4040 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
| |
| 4041 | kill() | |
| 4042 | else | |
| 4043 | hardrelease() | |
| 4044 | end | |
| 4045 | elseif mode == "paralyze" then | |
| 4046 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
| |
| 4047 | paralyze() | |
| 4048 | else | |
| 4049 | hardrelease() | |
| 4050 | end | |
| 4051 | elseif mode == "throw" then | |
| 4052 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
| |
| 4053 | throw() | |
| 4054 | else | |
| 4055 | hardrelease() | |
| 4056 | end | |
| 4057 | elseif mode == "explode" then | |
| 4058 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
| |
| 4059 | throw() | |
| 4060 | else | |
| 4061 | hardrelease() | |
| 4062 | end | |
| 4063 | end | |
| 4064 | end | |
| 4065 | end | |
| 4066 | end) | |
| 4067 | ||
| 4068 | knife.Touched:connect(function(hitz) | |
| 4069 | if hitz.Parent and hitz.Parent:FindFirstChildOfClass("Humanoid") and hitz.Parent:FindFirstChild('Torso') and acting == true then
| |
| 4070 | if mode == "stab" and stabbing == true and hit == false then | |
| 4071 | hit = true | |
| 4072 | tone = math.random(1, 3) | |
| 4073 | audio:Stop() | |
| 4074 | if tone == 1 then audio.SoundId = "rbxassetid://220833967" end | |
| 4075 | if tone == 2 then audio.SoundId = "rbxassetid://220833976" end | |
| 4076 | if tone == 3 then audio.SoundId = "rbxassetid://220834000" end | |
| 4077 | audio.PlaybackSpeed = 1 | |
| 4078 | audio:Play() | |
| 4079 | killz(hitz.Parent,'Left Leg') | |
| 4080 | killz(hitz.Parent,'Left Arm') | |
| 4081 | killz(hitz.Parent,'Right Leg') | |
| 4082 | killz(hitz.Parent,'Right Arm') | |
| 4083 | elseif mode == "finish" and finishing == true then | |
| 4084 | print('PSYCHOPATH MODE REEEEEEEEEEEEEEEE')
| |
| 4085 | tone = math.random(1, 3) | |
| 4086 | audio:Stop() | |
| 4087 | if tone == 1 then audio.SoundId = "rbxassetid://220833967" end | |
| 4088 | if tone == 2 then audio.SoundId = "rbxassetid://220833976" end | |
| 4089 | if tone == 3 then audio.SoundId = "rbxassetid://220834000" end | |
| 4090 | audio.PlaybackSpeed = 1 | |
| 4091 | audio:Play() | |
| 4092 | if hit == false then | |
| 4093 | hitz.Parent:FindFirstChildOfClass('Humanoid').Health = 0
| |
| 4094 | wait() | |
| 4095 | killz(hitz.Parent,'Head',nil,false,true) | |
| 4096 | end | |
| 4097 | hit = true | |
| 4098 | elseif grabbed == nil and grabbing == true and hit == false then | |
| 4099 | if hitz.Parent:FindFirstChildOfClass("Humanoid").Health > 0 and hitz.Parent:FindFirstChild('Torso') and hitz.Parent.Torso:FindFirstChild('Neck') then
| |
| 4100 | grabbed = hitz.Parent | |
| 4101 | local weldz = Instance.new('Weld',point)
| |
| 4102 | weldz.Name = "Holder" | |
| 4103 | weldz.Part0 = point | |
| 4104 | weldz.Part1 = hitz.Parent.Torso | |
| 4105 | weldz.C0 = CFrame.new(0,0,-1.2) | |
| 4106 | end | |
| 4107 | end | |
| 4108 | end | |
| 4109 | end) | |
| 4110 | ||
| 4111 | player.CharacterAdded:connect(function() | |
| 4112 | usable = false | |
| 4113 | for i,v in pairs(playergui:GetChildren()) do | |
| 4114 | if v.Name == "REEEEEEEE" or v.Name == 'PSYCHOPAAAATH' then | |
| 4115 | v:Destroy() | |
| 4116 | end | |
| 4117 | end | |
| 4118 | end) | |
| 4119 | while usable do | |
| 4120 | local coru = coroutine.wrap(function() | |
| 4121 | for i,v in pairs(knifeparts) do | |
| 4122 | local function try() | |
| 4123 | if v[1].Parent ~= v[2] then | |
| 4124 | v[1].Parent = v[2] | |
| 4125 | end | |
| 4126 | end | |
| 4127 | pcall(try) | |
| 4128 | end | |
| 4129 | if grabbed ~= nil then | |
| 4130 | if grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then
| |
| 4131 | for i,v in pairs(grabbed:GetChildren()) do | |
| 4132 | if v:IsA('Tool') then
| |
| 4133 | local model = Instance.new('Model',workspace)
| |
| 4134 | v.Parent = model | |
| 4135 | model:TranslateBy(Vector3.new(3,0,0)) | |
| 4136 | end | |
| 4137 | end | |
| 4138 | grabbed:FindFirstChildOfClass('Humanoid').Name = "Hoomanoid"
| |
| 4139 | grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 0
| |
| 4140 | grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 0
| |
| 4141 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
| |
| 4142 | grabweld = grabbed.Torso:FindFirstChild("TargetWeld")
| |
| 4143 | if grabweld ~= nil then return end | |
| 4144 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true
| |
| 4145 | if grabbed.Torso:FindFirstChild('Left Shoulder') then
| |
| 4146 | leftshoulder = grabbed.Torso["Left Shoulder"]:Clone() | |
| 4147 | end | |
| 4148 | if grabbed.Torso:FindFirstChild('Right Shoulder') then
| |
| 4149 | rightshoulder = grabbed.Torso["Right Shoulder"]:Clone() | |
| 4150 | end | |
| 4151 | headweld = grabbed.Torso["Neck"]:Clone() | |
| 4152 | local targetweld = Instance.new('Weld',grabbed.Torso)
| |
| 4153 | targetweld.Part0 = grabbed.Torso | |
| 4154 | targetweld.Part1 = grabbed.Head | |
| 4155 | targetweld.Name = "TargetWeld" | |
| 4156 | targetweld.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(0, 0, 0) | |
| 4157 | if grabbed:FindFirstChild('Left Arm') then
| |
| 4158 | local targetweld2 = Instance.new('Weld',grabbed["Left Arm"])
| |
| 4159 | targetweld2.Part0 = grabbed.Torso | |
| 4160 | targetweld2.Part1 = grabbed["Left Arm"] | |
| 4161 | targetweld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
| 4162 | end | |
| 4163 | ||
| 4164 | for i = 0,1,0.1 do | |
| 4165 | if me:FindFirstChild("Left Arm") == nil or me:FindFirstChild("Torso") == nil or targetweld == nil then return end
| |
| 4166 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0.25, 0, 0), i) | |
| 4167 | if targetweld2 then | |
| 4168 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0.5, 0)*CFrame.Angles(0, 0, -0.55), i) | |
| 4169 | end | |
| 4170 | wait(0.001) | |
| 4171 | end | |
| 4172 | end | |
| 4173 | end | |
| 4174 | end) | |
| 4175 | coru() | |
| 4176 | wait() | |
| 4177 | end | |
| 4178 | ||
| 4179 | end | |
| 4180 | local coru=coroutine.wrap(function() | |
| 4181 | nub() | |
| 4182 | end) | |
| 4183 | coru() | |
| 4184 | ||
| 4185 | player.CharacterAppearanceLoaded:connect(function() | |
| 4186 | local coru =coroutine.wrap(function() | |
| 4187 | nub() | |
| 4188 | end) | |
| 4189 | coru() | |
| 4190 | end) | |
| 4191 | ||
| 4192 | while true do | |
| 4193 | local coru=coroutine.wrap(function() | |
| 4194 | if grabbed then | |
| 4195 | v:FindFirstChildOfClass('Humanoid').Jump = false
| |
| 4196 | v:FindFirstChildOfClass('Humanoid').Sit = false
| |
| 4197 | v:FindFirstChildOfClass('Humanoid').JumpPower = 0
| |
| 4198 | v:FindFirstChildOfClass('Humanoid').PlatformStand = true
| |
| 4199 | v:FindFirstChildOfClass('Humanoid').Name = "No escape."
| |
| 4200 | end | |
| 4201 | for i,v in pairs(rekt) do | |
| 4202 | if v and v:FindFirstChildOfClass('Humanoid') then
| |
| 4203 | for a,c in pairs(v:GetChildren()) do | |
| 4204 | if c:IsA('Tool') then
| |
| 4205 | local model = Instance.new('Model',workspace)
| |
| 4206 | c.Parent = model | |
| 4207 | model:TranslateBy(Vector3.new(3,0,0)) | |
| 4208 | end | |
| 4209 | end | |
| 4210 | v:FindFirstChildOfClass('Humanoid').Jump = false
| |
| 4211 | v:FindFirstChildOfClass('Humanoid').Sit = false
| |
| 4212 | v:FindFirstChildOfClass('Humanoid').JumpPower = 0
| |
| 4213 | v:FindFirstChildOfClass('Humanoid').PlatformStand = true
| |
| 4214 | v:FindFirstChildOfClass('Humanoid').Name = "No escape."
| |
| 4215 | local thing = getplr(v) | |
| 4216 | if thing then | |
| 4217 | thing.CameraMinZoomDistance = 3 | |
| 4218 | end | |
| 4219 | else | |
| 4220 | local thing = getplr(v) | |
| 4221 | if thing then | |
| 4222 | thing.CameraMinZoomDistance = 0.5 | |
| 4223 | end | |
| 4224 | table.remove(rekt,i) | |
| 4225 | end | |
| 4226 | end | |
| 4227 | end) | |
| 4228 | coru() | |
| 4229 | local coru2 = coroutine.wrap(function() | |
| 4230 | if curpart then | |
| 4231 | curpoint = curpart.CFrame.p | |
| 4232 | end | |
| 4233 | if lastgui then | |
| 4234 | lastgui:Destroy() | |
| 4235 | lastgui = nil | |
| 4236 | end | |
| 4237 | if curpoint then | |
| 4238 | lastgui = Instance.new('BillboardGui',player.PlayerGui)
| |
| 4239 | lastgui.AlwaysOnTop = true | |
| 4240 | lastgui.MaxDistance = 0 | |
| 4241 | lastgui.Size = UDim2.new(5,0,5,0) | |
| 4242 | if curpart == nil then | |
| 4243 | lastgui.Adornee = workspace | |
| 4244 | lastgui.StudsOffsetWorldSpace = curpoint | |
| 4245 | else | |
| 4246 | lastgui.Adornee = curpart | |
| 4247 | end | |
| 4248 | local cross = Instance.new('ImageLabel',lastgui)
| |
| 4249 | cross.BackgroundTransparency = 1 | |
| 4250 | cross.Size = UDim2.new(1,0,1,0) | |
| 4251 | cross.Image = 'rbxassetid://316279304' | |
| 4252 | for i,v in pairs(zombies) do | |
| 4253 | if v:FindFirstChildOfClass('Humanoid') then
| |
| 4254 | v:FindFirstChildOfClass('Humanoid').WalkToPoint = curpoint
| |
| 4255 | end | |
| 4256 | end | |
| 4257 | else | |
| 4258 | for i,v in pairs(zombies) do | |
| 4259 | if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Head') then
| |
| 4260 | v:FindFirstChildOfClass('Humanoid').WalkToPoint = v.Head.Position
| |
| 4261 | end | |
| 4262 | end | |
| 4263 | end | |
| 4264 | end) | |
| 4265 | coru2() | |
| 4266 | wait() | |
| 4267 | end |