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