SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Lol u idiot this is a server sided script xddddddd lols newbie hahahahaahahahhahahhahahahahaahah") end
| |
| 2 | - | local scriptversion = "4.538" |
| 2 | + | |
| 3 | print("Controls - 'T' Throw 'E' Stab -")
| |
| 4 | -- V2.953 Knife Edit | |
| 5 | - | -- V4.546 Knife Edit |
| 5 | + | |
| 6 | --Script made by Rufus14 | |
| 7 | --Edited by Lundo_Fett to not get u banned | |
| 8 | allowedblood = false | |
| 9 | NLS([[--By Rufus14 | |
| 10 | - | IsAdmin = false |
| 10 | + | |
| 11 | for i,v in pairs(game.ReplicatedStorage:GetChildren()) do | |
| 12 | if v.Name == "KnifeAttack" or v.Name == "KnifeBlood" then | |
| 13 | v:destroy() | |
| 14 | end | |
| 15 | end | |
| 16 | attackevent = game.ReplicatedStorage:WaitForChild("KnifeAttack")
| |
| 17 | bloodevent = game.ReplicatedStorage:WaitForChild("KnifeBlood")
| |
| 18 | attackname = "Stab" | |
| 19 | function attack() | |
| 20 | attackevent:FireServer(attackname, mouse.Hit.p) | |
| 21 | end | |
| 22 | mouse.Button1Down:connect(attack) | |
| 23 | can = false | |
| 24 | function message(what) | |
| 25 | -- Version: 2.82 | |
| 26 | -- Instances: | |
| 27 | - | -- Version: 3.183 |
| 27 | + | |
| 28 | local Frame = Instance.new("Frame")
| |
| 29 | local Label = Instance.new("TextLabel")
| |
| 30 | --Properties: | |
| 31 | KnifeGui.Name = "KnifeGui" | |
| 32 | KnifeGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
| |
| 33 | KnifeGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling | |
| 34 | ||
| 35 | Frame.Parent = KnifeGui | |
| 36 | Frame.BackgroundColor3 = Color3.new(0.478431, 0.478431, 0.478431) | |
| 37 | Frame.Position = UDim2.new(0.242313325, 0, 0, 0) | |
| 38 | Frame.Size = UDim2.new(0, 699, 0, 100) | |
| 39 | Frame.Style = Enum.FrameStyle.RobloxRound | |
| 40 | ||
| 41 | Label.Name = "Label" | |
| 42 | Label.Parent = Frame | |
| 43 | Label.TextScaled = true | |
| 44 | Label.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
| 45 | Label.Position = UDim2.new(0.026561385, 0, 0.0705899745, 0) | |
| 46 | Label.Size = UDim2.new(0, 647, 0, 73) | |
| 47 | Label.Font = Enum.Font.Code | |
| 48 | Label.TextColor3 = Color3.new(1, 1, 1) | |
| 49 | Label.TextSize = 40 | |
| 50 | Label.Text = what | |
| 51 | Frame.BackgroundTransparency = 1 | |
| 52 | Label.BackgroundTransparency = 1 | |
| 53 | Label.TextTransparency = 1 | |
| 54 | local sound =Instance.new("Sound", KnifeGui)
| |
| 55 | sound.SoundId = "rbxassetid://654933978" | |
| 56 | sound.Volume = 3 | |
| 57 | sound:Play() | |
| 58 | for i = 1,20 do | |
| 59 | Frame.BackgroundTransparency = Frame.BackgroundTransparency - 0.05 | |
| 60 | Label.BackgroundTransparency = Label.BackgroundTransparency - 0.05 | |
| 61 | Label.TextTransparency = Label.TextTransparency - 0.05 | |
| 62 | wait() | |
| 63 | end | |
| 64 | wait(3) | |
| 65 | for i = 1,20 do | |
| 66 | Frame.BackgroundTransparency = Frame.BackgroundTransparency + 0.05 | |
| 67 | Label.BackgroundTransparency = Label.BackgroundTransparency + 0.05 | |
| 68 | Label.TextTransparency = Label.TextTransparency + 0.05 | |
| 69 | wait() | |
| 70 | end | |
| 71 | KnifeGui:destroy() | |
| 72 | end | |
| 73 | -- Version: 2.82 | |
| 74 | -- Instances: | |
| 75 | local BloodColorGUI = Instance.new("ScreenGui")
| |
| 76 | local Frame = Instance.new("Frame")
| |
| 77 | - | function makesure(Value) |
| 77 | + | local TextLabel = Instance.new("TextLabel")
|
| 78 | - | if Value ~= true then |
| 78 | + | local Red = Instance.new("TextBox")
|
| 79 | - | Value = true |
| 79 | + | local TextLabel_2 = Instance.new("TextLabel")
|
| 80 | - | Value = true |
| 80 | + | local Green = Instance.new("TextBox")
|
| 81 | - | Value = true |
| 81 | + | local TextLabel_3 = Instance.new("TextLabel")
|
| 82 | - | Value = true |
| 82 | + | local Blue = Instance.new("TextBox")
|
| 83 | - | Value = true |
| 83 | + | local Accept = Instance.new("TextButton")
|
| 84 | - | Value = true |
| 84 | + | --Properties: |
| 85 | - | Value = true |
| 85 | + | BloodColorGUI.Name = "Blood Color GUI" |
| 86 | - | Value = true |
| 86 | + | BloodColorGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
|
| 87 | - | Value = true |
| 87 | + | BloodColorGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling |
| 88 | ||
| 89 | Frame.Parent = BloodColorGUI | |
| 90 | - | function creatorc() |
| 90 | + | Frame.BackgroundColor3 = Color3.new(1, 1, 1) |
| 91 | - | if owner.Character.Name == "Lundo_Fett" or "Rufus14" then |
| 91 | + | Frame.Position = UDim2.new(0.28623718, 0, 0.585774541, 0) |
| 92 | - | IsAdmin = true |
| 92 | + | Frame.Size = UDim2.new(0, 710, 0, 125) |
| 93 | - | print("Oh, it looks like your a creator of this script. Hi, "..owner.Character.Name..".")
|
| 93 | + | Frame.Style = Enum.FrameStyle.RobloxRound |
| 94 | - | makesure(IsAdmin) |
| 94 | + | |
| 95 | TextLabel.Parent = Frame | |
| 96 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 97 | TextLabel.BackgroundTransparency = 1 | |
| 98 | TextLabel.Position = UDim2.new(0.00415512454, 0, -0.00193751045, 0) | |
| 99 | TextLabel.Size = UDim2.new(0, 200, 0, 50) | |
| 100 | TextLabel.Font = Enum.Font.SourceSans | |
| 101 | TextLabel.Text = "Red" | |
| 102 | TextLabel.TextColor3 = Color3.new(1, 0, 0) | |
| 103 | TextLabel.TextScaled = true | |
| 104 | TextLabel.TextSize = 31 | |
| 105 | TextLabel.TextWrapped = true | |
| 106 | ||
| 107 | Red.Name = "Red" | |
| 108 | Red.Parent = TextLabel | |
| 109 | Red.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 110 | Red.BackgroundTransparency = 0.5 | |
| 111 | Red.Position = UDim2.new(0, 0, 1.12, 0) | |
| 112 | Red.Size = UDim2.new(0, 200, 0, 50) | |
| 113 | Red.Font = Enum.Font.SourceSans | |
| 114 | Red.Text = "200" | |
| 115 | Red.TextColor3 = Color3.new(0, 0, 0) | |
| 116 | Red.TextScaled = true | |
| 117 | Red.TextSize = 14 | |
| 118 | Red.TextWrapped = true | |
| 119 | ||
| 120 | TextLabel_2.Parent = Frame | |
| 121 | TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 122 | TextLabel_2.BackgroundTransparency = 1 | |
| 123 | TextLabel_2.Position = UDim2.new(0.350415528, 0, -0.00193751045, 0) | |
| 124 | TextLabel_2.Size = UDim2.new(0, 200, 0, 50) | |
| 125 | - | message("Yeet em!")
|
| 125 | + | TextLabel_2.Font = Enum.Font.SourceSans |
| 126 | TextLabel_2.Text = "Green" | |
| 127 | TextLabel_2.TextColor3 = Color3.new(0.164706, 1, 0.0392157) | |
| 128 | TextLabel_2.TextScaled = true | |
| 129 | TextLabel_2.TextSize = 31 | |
| 130 | - | message("Rufus14's Knife Edit v4.546, Edited by Lundo_Fett. (original idea of a knife: Trollonis)")
|
| 130 | + | TextLabel_2.TextWrapped = true |
| 131 | - | creatorc() |
| 131 | + | |
| 132 | Green.Name = "Green" | |
| 133 | Green.Parent = TextLabel_2 | |
| 134 | Green.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 135 | Green.BackgroundTransparency = 0.5 | |
| 136 | Green.Position = UDim2.new(0, 0, 1.12, 0) | |
| 137 | Green.Size = UDim2.new(0, 200, 0, 50) | |
| 138 | - | -- configurations test |
| 138 | + | Green.Font = Enum.Font.SourceSans |
| 139 | - | hitchat = false |
| 139 | + | Green.Text = "0" |
| 140 | - | -- end |
| 140 | + | Green.TextColor3 = Color3.new(0, 0, 0) |
| 141 | Green.TextScaled = true | |
| 142 | Green.TextSize = 14 | |
| 143 | Green.TextWrapped = true | |
| 144 | ||
| 145 | TextLabel_3.Parent = Frame | |
| 146 | TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 147 | TextLabel_3.BackgroundTransparency = 1 | |
| 148 | TextLabel_3.Position = UDim2.new(0.704986155, 0, -0.00193751045, 0) | |
| 149 | TextLabel_3.Size = UDim2.new(0, 200, 0, 50) | |
| 150 | - | runservice = game:GetService("RunService")
|
| 150 | + | TextLabel_3.Font = Enum.Font.SourceSans |
| 151 | - | owner.Chatted:connect(function(butwhathechatted) |
| 151 | + | TextLabel_3.Text = "Blue" |
| 152 | - | if owner.Character.Head:findFirstChild("chat") then
|
| 152 | + | TextLabel_3.TextColor3 = Color3.new(0.0509804, 0.0196078, 1) |
| 153 | - | owner.Character.Head:findFirstChild("chat"):destroy()
|
| 153 | + | TextLabel_3.TextScaled = true |
| 154 | TextLabel_3.TextSize = 31 | |
| 155 | - | local r = math.random(1,255) |
| 155 | + | TextLabel_3.TextWrapped = true |
| 156 | - | local g = math.random(1,255) |
| 156 | + | |
| 157 | - | local b = math.random(1,255) |
| 157 | + | Blue.Name = "Blue" |
| 158 | - | local billboard = Instance.new("BillboardGui", owner.Character.Head)
|
| 158 | + | Blue.Parent = TextLabel_3 |
| 159 | - | billboard.MaxDistance = 150 |
| 159 | + | Blue.BackgroundColor3 = Color3.new(1, 1, 1) |
| 160 | - | billboard.Adornee = owner.Character.Head |
| 160 | + | Blue.BackgroundTransparency = 0.5 |
| 161 | - | billboard.StudsOffset = Vector3.new(-1, 2.5, 0) |
| 161 | + | Blue.Position = UDim2.new(0, 0, 1.12, 0) |
| 162 | - | billboard.Size = UDim2.new(2,0,1,0) |
| 162 | + | Blue.Size = UDim2.new(0, 200, 0, 50) |
| 163 | - | billboard.Name = "chat" |
| 163 | + | Blue.Font = Enum.Font.SourceSans |
| 164 | - | local text = Instance.new("TextLabel", billboard)
|
| 164 | + | Blue.Text = "0" |
| 165 | - | text.BackgroundTransparency = 1 |
| 165 | + | Blue.TextColor3 = Color3.new(0, 0, 0) |
| 166 | - | text.TextStrokeTransparency = 0 |
| 166 | + | Blue.TextScaled = true |
| 167 | - | text.TextSize = 25 |
| 167 | + | Blue.TextSize = 14 |
| 168 | - | text.TextStrokeColor3 = Color3.fromRGB(r,g,b) |
| 168 | + | Blue.TextWrapped = true |
| 169 | - | text.Size = billboard.Size |
| 169 | + | |
| 170 | - | text.Font = "Code" |
| 170 | + | Accept.Name = "Accept" |
| 171 | - | text.TextColor3 = Color3.fromRGB(100,100,100) |
| 171 | + | Accept.Parent = Frame |
| 172 | - | text.Text = butwhathechatted |
| 172 | + | Accept.BackgroundColor3 = Color3.new(1, 1, 1) |
| 173 | - | coroutine.wrap(function() |
| 173 | + | Accept.BackgroundTransparency = 0.5 |
| 174 | - | wait(3) |
| 174 | + | Accept.Position = UDim2.new(0.349147528, 0, 1.16799998, 0) |
| 175 | - | for i = 1,50 do |
| 175 | + | Accept.Size = UDim2.new(0, 200, 0, 50) |
| 176 | - | billboard.StudsOffset = billboard.StudsOffset - Vector3.new(0,-0.01,0) |
| 176 | + | Accept.Font = Enum.Font.SourceSans |
| 177 | - | text.TextTransparency = text.TextTransparency + 0.02 |
| 177 | + | Accept.Text = "Accept" |
| 178 | - | text.TextStrokeTransparency = text.TextStrokeTransparency + 0.02 |
| 178 | + | Accept.TextColor3 = Color3.new(0, 0, 0) |
| 179 | - | runservice.Stepped:wait() |
| 179 | + | Accept.TextSize = 35 |
| 180 | Accept.TextWrapped = true | |
| 181 | - | billboard:destroy() |
| 181 | + | |
| 182 | - | end)() |
| 182 | + | |
| 183 | - | end) |
| 183 | + | |
| 184 | - | function chatgui(guichatbutwhatdolol,butwhathechatted,nothing) |
| 184 | + | |
| 185 | - | if guichatbutwhatdolol:findFirstChild("chat") then
|
| 185 | + | |
| 186 | - | guichatbutwhatdolol:findFirstChild("chat"):destroy()
|
| 186 | + | |
| 187 | attackname = "Play" | |
| 188 | - | local r = math.random(1,255) |
| 188 | + | |
| 189 | - | local g = math.random(1,255) |
| 189 | + | |
| 190 | - | local b = math.random(1,255) |
| 190 | + | |
| 191 | - | local billboard = Instance.new("BillboardGui", guichatbutwhatdolol)
|
| 191 | + | |
| 192 | - | billboard.MaxDistance = 150 |
| 192 | + | |
| 193 | - | billboard.Adornee = guichatbutwhatdolol |
| 193 | + | |
| 194 | - | billboard.StudsOffset = Vector3.new(-1, 2.5, 0) |
| 194 | + | |
| 195 | - | billboard.Size = UDim2.new(2,0,1,0) |
| 195 | + | |
| 196 | - | billboard.Name = "chat" |
| 196 | + | |
| 197 | - | local text = Instance.new("TextLabel", billboard)
|
| 197 | + | |
| 198 | - | text.BackgroundTransparency = 1 |
| 198 | + | |
| 199 | - | text.TextStrokeTransparency = 0 |
| 199 | + | |
| 200 | - | text.TextSize = 25 |
| 200 | + | |
| 201 | - | text.TextStrokeColor3 = Color3.fromRGB(r,g,b) |
| 201 | + | |
| 202 | - | text.Size = billboard.Size |
| 202 | + | |
| 203 | - | text.Font = "Code" |
| 203 | + | |
| 204 | - | text.TextColor3 = Color3.fromRGB(100,100,100) |
| 204 | + | |
| 205 | - | text.Text = butwhathechatted |
| 205 | + | |
| 206 | - | coroutine.wrap(function() |
| 206 | + | |
| 207 | - | wait(3) |
| 207 | + | |
| 208 | - | for i = 1,50 do |
| 208 | + | |
| 209 | - | billboard.StudsOffset = billboard.StudsOffset - Vector3.new(0,-0.01,0) |
| 209 | + | message("YEet them!")
|
| 210 | - | text.TextTransparency = text.TextTransparency + 0.02 |
| 210 | + | |
| 211 | - | text.TextStrokeTransparency = text.TextStrokeTransparency + 0.02 |
| 211 | + | |
| 212 | - | runservice.Stepped:wait() |
| 212 | + | if key == "f" then |
| 213 | if allowedblood == false then | |
| 214 | - | billboard:destroy() |
| 214 | + | allowedblood = true |
| 215 | - | end)() |
| 215 | + | else |
| 216 | allowedblood = false | |
| 217 | end | |
| 218 | end | |
| 219 | end | |
| 220 | mouse.KeyDown:connect(changemode) | |
| 221 | function accept() | |
| 222 | bloodevent:FireServer(tonumber(Red.Text),tonumber(Green.Text),tonumber(Blue.Text)) | |
| 223 | BloodColorGUI.Enabled = false | |
| 224 | local sound =Instance.new("Sound", BloodColorGUI)
| |
| 225 | sound.SoundId = "rbxassetid://654933978" | |
| 226 | sound.Volume = 3 | |
| 227 | sound:Play() | |
| 228 | game.Debris:AddItem(sound,1) | |
| 229 | end | |
| 230 | Accept.MouseButton1Click:connect(accept) | |
| 231 | BloodColorGUI.Enabled = false | |
| 232 | message("Rufus14's Knife Edit v2.953, Edited by Lundo_Fett. (original idea of a knife: Trollonis)")
| |
| 233 | message("NOTE TO MODS: This script has no blood Or 'Grab' Feture. Yw.")
| |
| 234 | message("Press 'T' To Throw And 'E' For Stab.")
| |
| 235 | message("Have Fun :) - Lundo_Fett")
| |
| 236 | can = true | |
| 237 | ]], owner.Character) | |
| 238 | wait(0.24) | |
| 239 | headlole = owner.Character:WaitForChild("Head")
| |
| 240 | --By Rufus14 | |
| 241 | function PrintText(Lol) | |
| 242 | print(Lol) | |
| 243 | end | |
| 244 | function zeer(tim3, thing) | |
| 245 | wait(tim3) | |
| 246 | thing.Enabled = false | |
| 247 | end | |
| 248 | function bloodparticle(zero,two,four) | |
| 249 | if allowedblood ~= false then | |
| 250 | ParticleEmitter0 = Instance.new("ParticleEmitter")
| |
| 251 | ParticleEmitter2 = Instance.new("ParticleEmitter")
| |
| 252 | ParticleEmitter4 = Instance.new("ParticleEmitter")
| |
| 253 | -- zero - 0.1, two - 0.3, and four - 0.1 | |
| 254 | ParticleEmitter0.Name = "Blood" | |
| 255 | ParticleEmitter0.Parent = knife | |
| 256 | ParticleEmitter0.Speed = NumberRange.new(5, 10) | |
| 257 | ParticleEmitter0.Rotation = NumberRange.new(-360, 360) | |
| 258 | ParticleEmitter0.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.423529, 0, 0)) | |
| 259 | ParticleEmitter0.LightEmission = 0.40000000596046 | |
| 260 | ParticleEmitter0.LightInfluence = 1 | |
| 261 | ParticleEmitter0.Texture = "rbxassetid://73547327" | |
| 262 | ParticleEmitter0.Transparency = NumberSequence.new(0.10000000149012,0.14375001192093,0.49374997615814,1) | |
| 263 | ParticleEmitter0.Size = NumberSequence.new(0,2.8749995231628) | |
| 264 | ParticleEmitter0.Acceleration = Vector3.new(0, -5, 0) | |
| 265 | ParticleEmitter0.EmissionDirection = Enum.NormalId.Front | |
| 266 | ParticleEmitter0.Lifetime = NumberRange.new(0.30000001192093, 0.5) | |
| 267 | ParticleEmitter0.Rate = 10000000 | |
| 268 | ParticleEmitter0.RotSpeed = NumberRange.new(-40, 270) | |
| 269 | ParticleEmitter0.SpreadAngle = Vector2.new(360, 360) | |
| 270 | ParticleEmitter0.VelocitySpread = 360 | |
| 271 | ParticleEmitter2.Name = "Blood2" | |
| 272 | ParticleEmitter2.Parent = Knife | |
| 273 | ParticleEmitter2.Speed = NumberRange.new(5, 14) | |
| 274 | ParticleEmitter2.Color = ColorSequence.new(Color3.new(0.45098, 0, 0),Color3.new(0.45098, 0, 0)) | |
| 275 | ParticleEmitter2.LightEmission = 0.20000000298023 | |
| 276 | ParticleEmitter2.LightInfluence = 1 | |
| 277 | ParticleEmitter2.Texture = "http://www.roblox.com/asset/?id=134531274" | |
| 278 | ParticleEmitter2.Transparency = NumberSequence.new(0.30000001192093,0.30000001192093) | |
| 279 | ParticleEmitter2.ZOffset = 1 | |
| 280 | ParticleEmitter2.Size = NumberSequence.new(0.12499988079071,0) | |
| 281 | ParticleEmitter2.Acceleration = Vector3.new(0, -20, 0) | |
| 282 | ParticleEmitter2.EmissionDirection = Enum.NormalId.Front | |
| 283 | ParticleEmitter2.Lifetime = NumberRange.new(0.5, 1.5) | |
| 284 | ParticleEmitter2.Rate = 100000 | |
| 285 | ParticleEmitter2.SpreadAngle = Vector2.new(360, 360) | |
| 286 | ParticleEmitter2.VelocitySpread = 360 | |
| 287 | ParticleEmitter4.Name = "Blood3" | |
| 288 | ParticleEmitter4.Parent = Knife | |
| 289 | ParticleEmitter4.Speed = NumberRange.new(3, 7) | |
| 290 | ParticleEmitter4.Rotation = NumberRange.new(-360, 360) | |
| 291 | ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.486275, 0, 0),Color3.new(0.258824, 0, 0)) | |
| 292 | ParticleEmitter4.LightEmission = 0.20000000298023 | |
| 293 | ParticleEmitter4.LightInfluence = 1 | |
| 294 | ParticleEmitter4.Texture = "rbxassetid://241779220" | |
| 295 | ParticleEmitter4.Transparency = NumberSequence.new(1,0.48750001192093,0.75625002384186,1) | |
| 296 | ParticleEmitter4.ZOffset = 0.5 | |
| 297 | ParticleEmitter4.Size = NumberSequence.new(0,2.8749995231628) | |
| 298 | ParticleEmitter4.Acceleration = Vector3.new(0, -5, 0) | |
| 299 | ParticleEmitter4.EmissionDirection = Enum.NormalId.Front | |
| 300 | ParticleEmitter4.Lifetime = NumberRange.new(0.40000000596046, 1) | |
| 301 | ParticleEmitter4.Rate = 3000 | |
| 302 | ParticleEmitter4.RotSpeed = NumberRange.new(-40, 270) | |
| 303 | ParticleEmitter4.SpreadAngle = Vector2.new(360, 360) | |
| 304 | ParticleEmitter4.VelocitySpread = 360 | |
| 305 | - | Knife.Material = Enum.Material.Metal |
| 305 | + | |
| 306 | ParticleEmitter2.Enabled = true | |
| 307 | ParticleEmitter4.Enabled = true | |
| 308 | zeer(zero, ParticleEmitter0) | |
| 309 | zeer(four, ParticleEmitter4) | |
| 310 | zeer(two, ParticleEmitter2) | |
| 311 | end | |
| 312 | end | |
| 313 | attackevent = Instance.new("RemoteEvent", game.ReplicatedStorage)
| |
| 314 | attackevent.Name = "KnifeAttack" | |
| 315 | bloodevent = Instance.new("RemoteEvent", game.ReplicatedStorage)
| |
| 316 | bloodevent.Name = "KnifeBlood" | |
| 317 | --Converted with ttyyuu12345's model to script plugin v4 | |
| 318 | function sandbox(var,func) | |
| 319 | local env = getfenv(func) | |
| 320 | local newenv = setmetatable({},{
| |
| 321 | __index = function(self,k) | |
| 322 | if k=="script" then | |
| 323 | return var | |
| 324 | else | |
| 325 | return env[k] | |
| 326 | end | |
| 327 | end, | |
| 328 | }) | |
| 329 | setfenv(func,newenv) | |
| 330 | return func | |
| 331 | end | |
| 332 | cors = {}
| |
| 333 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 334 | Knife = Instance.new("Part")
| |
| 335 | Knife.Name = "Knife" | |
| 336 | Knife.Parent = mas | |
| 337 | Knife.CFrame = CFrame.new(-5.13551855, 2.10106921, 85.3246002, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 338 | Knife.Position = Vector3.new(-5.13551855, 2.10106921, 85.3246002) | |
| 339 | Knife.Size = Vector3.new(0.149560004, 0.522157907, 2.20364952) | |
| 340 | Mesh = Instance.new("SpecialMesh")
| |
| 341 | Mesh.Parent = Knife | |
| 342 | Mesh.MeshId = "rbxassetid://2047774297" | |
| 343 | Mesh.TextureId = "rbxassetid://2047774362" | |
| 344 | Mesh.Scale = Vector3.new(0.35,0.35,0.35) | |
| 345 | for i,v in pairs(mas:GetChildren()) do | |
| 346 | v.Parent = game:GetService("Lighting")
| |
| 347 | pcall(function() v:MakeJoints() end) | |
| 348 | end | |
| 349 | mas:Destroy() | |
| 350 | for i,v in pairs(cors) do | |
| 351 | spawn(function() | |
| 352 | pcall(v) | |
| 353 | end) | |
| 354 | end | |
| 355 | Knife.Parent = owner.Character | |
| 356 | Knife:BreakJoints() | |
| 357 | Knife.CanCollide = false | |
| 358 | Knife.Name = "Bitch ass knife haha v3 reference again" | |
| 359 | local stabsound = Instance.new("Sound", Knife)
| |
| 360 | stabsound.SoundId = "http://www.roblox.com/asset/?id=16950449" | |
| 361 | stabsound.Volume = 2 | |
| 362 | stabsound.PlaybackSpeed = 1 | |
| 363 | local chokesound = Instance.new("Sound", Knife)
| |
| 364 | chokesound.SoundId = "rbxassetid://418658161" | |
| 365 | chokesound.Volume = 0.2 | |
| 366 | chokesound.TimePosition = 3 | |
| 367 | local throwsound = Instance.new("Sound", Knife)
| |
| 368 | throwsound.SoundId = "http://www.roblox.com/asset/?id=97095069" | |
| 369 | throwsound.Volume = 2 | |
| 370 | local slide = Instance.new("Sound", Knife)
| |
| 371 | slide.SoundId = "rbxassetid://2706199011" | |
| 372 | slide.Volume = 0.1 | |
| 373 | local epicterrariaswoosh = Instance.new("Sound", Knife)
| |
| 374 | epicterrariaswoosh.SoundId = "rbxassetid://596439421" | |
| 375 | epicterrariaswoosh.PlaybackSpeed = 0.8 | |
| 376 | local knifeweld = Instance.new("Weld", Knife)
| |
| 377 | knifeweld.Part0 = owner.Character["Right Arm"] | |
| 378 | knifeweld.Part1 = Knife | |
| 379 | knifeweld.C0 = CFrame.new(-0.0147867203, -0.89893651, -0.841812134, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1) | |
| 380 | local head = Instance.new("Weld", owner.Character.Torso)
| |
| 381 | head.Part0 = owner.Character.Torso | |
| 382 | head.Part1 = owner.Character.Head | |
| 383 | head.C0 = CFrame.new(0,1.5,0) | |
| 384 | head.Name = "HeadWeld" | |
| 385 | local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart)
| |
| 386 | humanoidrootpart.Part0 = owner.Character.HumanoidRootPart | |
| 387 | humanoidrootpart.Part1 = owner.Character.Torso | |
| 388 | humanoidrootpart.Name = "HumanoidRootPartWeld" | |
| 389 | canattack = true | |
| 390 | bloodcolor = Color3.fromRGB(200,0,0) | |
| 391 | function bloodcolorfunc(player, r,g,b) | |
| 392 | bloodcolor = Color3.fromRGB(r,g,b) | |
| 393 | end | |
| 394 | bloodevent.OnServerEvent:connect(bloodcolorfunc) | |
| 395 | function attack(player, attackname, mousecoordinate) | |
| 396 | if player == owner then | |
| 397 | if canattack then | |
| 398 | canattack = false | |
| 399 | if attackname == "Play" then | |
| 400 | local lol = Instance.new("Sound", Knife)
| |
| 401 | lol.SoundId = "rbxassetid://3216300010" | |
| 402 | lol.Volume = 2 | |
| 403 | lol:Play() | |
| 404 | lol.Looped = true | |
| 405 | canattack = true | |
| 406 | elseif attackname == "Throw" then | |
| 407 | headshot = false | |
| 408 | local rightarm = Instance.new("Weld", owner.Character.Torso)
| |
| 409 | rightarm.Part0 = owner.Character.Torso | |
| 410 | rightarm.Part1 = owner.Character["Right Arm"] | |
| 411 | rightarm.C0 = CFrame.new(1.5,0,0) | |
| 412 | rightarm.Name = "RightArmWeld" | |
| 413 | local leftarm = Instance.new("Weld", owner.Character.Torso)
| |
| 414 | leftarm.Part0 = owner.Character.Torso | |
| 415 | leftarm.Part1 = owner.Character["Left Arm"] | |
| 416 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
| 417 | leftarm.Name = "LeftArmWeld" | |
| 418 | epicterrariaswoosh:Play() | |
| 419 | for i = 0,1 , 0.05 do | |
| 420 | head.C0 = head.C0:lerp(CFrame.new(0, 1.5, 0, 0.342020065, 0, 0.939692557, 0, 1, 0, -0.939692557, 0, 0.342020065),i) | |
| 421 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.342020154, 0, -0.939692616, 0, 1, 0, 0.939692616, 0, 0.342020154),i) | |
| 422 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0.969846249, 0.171009064, 1, 0, 2.98023224e-08, 0, -0.939692438, 0.342020422, 0, -0.342020422, -0.939692497),i) | |
| 423 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.0301537514, -0.171010971, 1, -7.4505806e-09, 2.98023224e-08, 0, 0.939692557, -0.342020094, 0, 0.342020124, 0.939692616),i) | |
| 424 | game:GetService("RunService").Heartbeat:wait()
| |
| 425 | end | |
| 426 | throwsound:Play() | |
| 427 | Knife.Transparency = 1 | |
| 428 | local clonedknife = Instance.new("Part", workspace)
| |
| 429 | clonedknife.Size = Knife.Size | |
| 430 | clonedknife:BreakJoints() | |
| 431 | Sound0 = Instance.new("Sound")
| |
| 432 | Sound0.Parent = clonedknife | |
| 433 | Sound0.Looped = true | |
| 434 | Sound0.MaxDistance = 150 | |
| 435 | Sound0.EmitterSize = 5 | |
| 436 | Sound0.MinDistance = 5 | |
| 437 | Sound0.Pitch = 2.5339999198914 | |
| 438 | Sound0.PlaybackSpeed = 2.5339999198914 | |
| 439 | Sound0.SoundId = "rbxassetid://158475221" | |
| 440 | Sound0.Volume = 0.13400000333786 | |
| 441 | Sound0:Play() | |
| 442 | clonedknife.Name = "Bitch ass knife haha v3 reference again" | |
| 443 | clonedknife.CanCollide = false | |
| 444 | clonedknife.CFrame = Knife.CFrame * CFrame.new(-2.5,0,3) | |
| 445 | clonedknife.CFrame = CFrame.new(clonedknife.Position, mousecoordinate) | |
| 446 | clonedknife.CFrame = clonedknife.CFrame * CFrame.new(0.5,-1,-1.5) | |
| 447 | local mesh = Instance.new("SpecialMesh", clonedknife)
| |
| 448 | mesh.MeshId = "rbxassetid://2047774297" | |
| 449 | mesh.TextureId = "rbxassetid://2047774362" | |
| 450 | mesh.Scale = Vector3.new(0.35,0.35,0.35) | |
| 451 | Sound01 = Instance.new("Sound")
| |
| 452 | Sound01.Parent = clonedknife | |
| 453 | Sound01.Looped = true | |
| 454 | Sound01.MaxDistance = 150 | |
| 455 | Sound01.EmitterSize = 5 | |
| 456 | Sound01.MinDistance = 5 | |
| 457 | Sound01.Pitch = 2.5339999198914 | |
| 458 | Sound01.PlaybackSpeed = 2.5339999198914 | |
| 459 | Sound01.SoundId = "rbxassetid://158475221" | |
| 460 | Sound01.Volume = 0.13400000333786 | |
| 461 | Sound0:Destroy() | |
| 462 | ||
| 463 | local knifevelocity = Instance.new("BodyVelocity", clonedknife)
| |
| 464 | knifevelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 465 | knifevelocity.Velocity = clonedknife.CFrame.lookVector * 100 | |
| 466 | local flying = true | |
| 467 | - | chatgui(owigotstabaaaaAAAA, "ow what the heck ,man >:(", "White")
|
| 467 | + | |
| 468 | local function spin() | |
| 469 | while flying and game:GetService("RunService").Heartbeat:wait() do
| |
| 470 | clonedknife.CFrame = clonedknife.CFrame * CFrame.fromEulerAnglesXYZ(-0.2,0,0) | |
| 471 | end | |
| 472 | end | |
| 473 | spawn(spin) | |
| 474 | local function touched(part) | |
| 475 | Sound01:Play() | |
| 476 | Sound01 = Instance.new("Sound")
| |
| 477 | Sound01.Parent = clonedknife | |
| 478 | Sound01.Looped = true | |
| 479 | Sound01.MaxDistance = 150 | |
| 480 | Sound01.EmitterSize = 5 | |
| 481 | Sound01.MinDistance = 5 | |
| 482 | - | chatgui(headlole, "You just got yeeted on!!", "White") |
| 482 | + | |
| 483 | Sound01.PlaybackSpeed = 2.5339999198914 | |
| 484 | Sound01.SoundId = "rbxassetid://158475221" | |
| 485 | Sound01.Volume = 0.13400000333786 | |
| 486 | - | chatgui(headlole, "HAHA, GET NOOB", "White") |
| 486 | + | |
| 487 | if part.Name ~= "Bitch ass blood" and part.Name ~= "epic" and part.Parent ~= owner.Character and part.Name ~= "Bitch ass knife haha v3 reference again" and part.Name ~= "okyoucantouchnow" and part.Name ~= "LimbCollider" and part.Parent.ClassName ~= "Accessory" and part.Parent.ClassName ~= "Hat" and part.Parent.Parent.ClassName ~= "Accessory" then | |
| 488 | local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
| |
| 489 | if headlole ~= nil then | |
| 490 | - | chatgui(headlole, "Srry, man, your just noob.", "White") |
| 490 | + | |
| 491 | ||
| 492 | if dialogthrow == 1 then | |
| 493 | game.Chat:Chat(headlole, "You just got yeeted on!!!!!!!!!!!!!!!!11!11!!11!", "White") | |
| 494 | - | chatgui(headlole, "Get yeeted on.", "White") |
| 494 | + | |
| 495 | ||
| 496 | if dialogthrow == 2 then | |
| 497 | game.Chat:Chat(headlole, "HAHA, GET NOOB", "White") | |
| 498 | - | chatgui(headlole, "yeart lol", "White") |
| 498 | + | |
| 499 | ||
| 500 | if dialogthrow == 3 then | |
| 501 | game.Chat:Chat(headlole, "Srry, man, your just noob.", "White") | |
| 502 | - | chatgui(headlole, "Ha, take that!", "White") |
| 502 | + | |
| 503 | ||
| 504 | if dialogthrow == 4 then | |
| 505 | - | error("lol u nub xddddddddd haha!!")
|
| 505 | + | game.Chat:Chat(headlole, "Get yeeted on.", "White") |
| 506 | end | |
| 507 | ||
| 508 | if dialogthrow == 5 then | |
| 509 | game.Chat:Chat(headlole, "How did that feel? bad? Good, it should!", "White") | |
| 510 | end | |
| 511 | ||
| 512 | if dialogthrow == 6 then | |
| 513 | game.Chat:Chat(headlole, "Ha, take that!", "White") | |
| 514 | end | |
| 515 | else | |
| 516 | error("Wht tha, why the hell do you not have a head?????????")
| |
| 517 | - | if part.parent.Name == Rufus14 or Lundo_Fett then |
| 517 | + | |
| 518 | - | message("wait~ LOL, YOU JUST HIT ONE OF THE DEVS THAT MADE THIS SCRIPT WITH UR KNIFE. HAHAHHA, NICE MAN.")
|
| 518 | + | |
| 519 | headshot = true | |
| 520 | end | |
| 521 | local PainSound = Instance.new("Sound")
| |
| 522 | local owigotstabaaaaAAAA = part.Parent:FindFirstChild("Head")
| |
| 523 | if owigotstabaaaaAAAA then | |
| 524 | game.Chat:Chat(owigotstabaaaaAAAA, "aAAAAAAAAA- *Passes Out*", "White") | |
| 525 | ||
| 526 | PainSound.Parent = owigotstabaaaaAAAA | |
| 527 | PainSound.Looped = false | |
| 528 | PainSound.SoundId = "rbxassetid://597154815" | |
| 529 | PainSound.Volume = 0.94800001382828 | |
| 530 | PainSound.PlaybackSpeed = 1 | |
| 531 | PainSound.MaxDistance = 963 | |
| 532 | PainSound.EmitterSize = 5.342 | |
| 533 | PainSound:Play() | |
| 534 | end | |
| 535 | if humanoid then | |
| 536 | clonedknife:destroy() | |
| 537 | stabsound:Play() | |
| 538 | local bleed = Instance.new("Sound", part)
| |
| 539 | bleed.SoundId = "rbxassetid://4471648128" | |
| 540 | bleed.Volume = 0.3 | |
| 541 | bleed.PlaybackSpeed = 1.1 | |
| 542 | bleed.Parent = part | |
| 543 | bleed:Play() | |
| 544 | PrintText("Hit Guy With Your Knife, Nice.")
| |
| 545 | PrintText("Humanoid Hit - "..part.Parent.Name..", He Probably Is Wishing He Is Dead Right Now!")
| |
| 546 | victimshumanoid = humanoid | |
| 547 | wait(0.02) | |
| 548 | humanoid.PlatformStand = true | |
| 549 | if humanoid.Health > 300 or humanoid.MaxHealth > 300 then | |
| 550 | humanoid.MaxHealth = 100 | |
| 551 | humanoid.Health = 100 | |
| 552 | end | |
| 553 | if humanoid.Parent:findFirstChild("HumanoidRootPart") then
| |
| 554 | humanoid.Parent:findFirstChild("HumanoidRootPart"):destroy()
| |
| 555 | end | |
| 556 | if humanoid.Parent:findFirstChild("Torso") then
| |
| 557 | if victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder") then
| |
| 558 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 559 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 560 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Arm")
| |
| 561 | glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 562 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 563 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Arm"))
| |
| 564 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 565 | limbcollider.Shape = "Cylinder" | |
| 566 | limbcollider.Transparency = 1 | |
| 567 | limbcollider.Name = "LimbCollider" | |
| 568 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 569 | limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Arm")
| |
| 570 | limbcolliderweld.Part1 = limbcollider | |
| 571 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 572 | victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder"):destroy()
| |
| 573 | end | |
| 574 | if victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder") then
| |
| 575 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 576 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 577 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Arm")
| |
| 578 | glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 579 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 580 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Arm"))
| |
| 581 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 582 | limbcollider.Shape = "Cylinder" | |
| 583 | limbcollider.Name = "LimbCollider" | |
| 584 | limbcollider.Transparency = 1 | |
| 585 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 586 | limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Arm")
| |
| 587 | limbcolliderweld.Part1 = limbcollider | |
| 588 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 589 | victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder"):destroy()
| |
| 590 | end | |
| 591 | if victimshumanoid.Parent.Torso:findFirstChild("Left Hip") then
| |
| 592 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 593 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 594 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Leg")
| |
| 595 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 596 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 597 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Leg"))
| |
| 598 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 599 | limbcollider.Shape = "Cylinder" | |
| 600 | limbcollider.Name = "LimbCollider" | |
| 601 | limbcollider.Transparency = 1 | |
| 602 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 603 | limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Leg")
| |
| 604 | limbcolliderweld.Part1 = limbcollider | |
| 605 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 606 | victimshumanoid.Parent.Torso:findFirstChild("Left Hip"):destroy()
| |
| 607 | end | |
| 608 | if victimshumanoid.Parent.Torso:findFirstChild("Right Hip") then
| |
| 609 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 610 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 611 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Leg")
| |
| 612 | glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 613 | glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 614 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Leg"))
| |
| 615 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 616 | limbcollider.Shape = "Cylinder" | |
| 617 | limbcollider.Name = "LimbCollider" | |
| 618 | limbcollider.Transparency = 1 | |
| 619 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 620 | limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Leg")
| |
| 621 | limbcolliderweld.Part1 = limbcollider | |
| 622 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 623 | victimshumanoid.Parent.Torso:findFirstChild("Right Hip"):destroy()
| |
| 624 | end | |
| 625 | elseif humanoid.Parent:findFirstChild("UpperTorso") then
| |
| 626 | if victimshumanoid.Parent.UpperTorso:findFirstChild("NeckAttachment") then
| |
| 627 | victimshumanoid.Parent.Archivable = true | |
| 628 | local zombiecorpse = victimshumanoid.Parent | |
| 629 | for i,v in pairs(zombiecorpse:GetChildren()) do | |
| 630 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
| 631 | for q,w in pairs(v:GetChildren()) do | |
| 632 | if w.ClassName == "BodyPosition" or w.ClassName == "BodyVelocity" then | |
| 633 | w:destroy() | |
| 634 | end | |
| 635 | end | |
| 636 | end | |
| 637 | end | |
| 638 | local UpperTorso = zombiecorpse.UpperTorso | |
| 639 | local Humanoid = zombiecorpse:findFirstChildOfClass("Humanoid")
| |
| 640 | Humanoid.PlatformStand = true | |
| 641 | local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper) | |
| 642 | local connection = Instance.new('BallSocketConstraint', limb)
| |
| 643 | connection.LimitsEnabled = true | |
| 644 | connection.Attachment0 = attachementone | |
| 645 | connection.Attachment1 = attachmenttwo | |
| 646 | connection.TwistLimitsEnabled = true | |
| 647 | connection.TwistLowerAngle = twistlower | |
| 648 | connection.TwistUpperAngle = twistupper | |
| 649 | local limbcollider = Instance.new("Part", limb)
| |
| 650 | limbcollider.Size = Vector3.new(0.1,1,1) | |
| 651 | limbcollider.Shape = "Cylinder" | |
| 652 | limbcollider.Name = "LimbCollider" | |
| 653 | limbcollider.Transparency = 1 | |
| 654 | limbcollider:BreakJoints() | |
| 655 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 656 | limbcolliderweld.Part0 = limb | |
| 657 | limbcolliderweld.Part1 = limbcollider | |
| 658 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 659 | end | |
| 660 | local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper) | |
| 661 | local connection = Instance.new('HingeConstraint', limb)
| |
| 662 | connection.LimitsEnabled = true | |
| 663 | connection.Attachment0 = attachementone | |
| 664 | connection.Attachment1 = attachmenttwo | |
| 665 | connection.LimitsEnabled = true | |
| 666 | connection.LowerAngle = lower | |
| 667 | connection.UpperAngle = upper | |
| 668 | local limbcollider = Instance.new("Part", limb)
| |
| 669 | limbcollider.Size = Vector3.new(0.1,1,1) | |
| 670 | limbcollider.Shape = "Cylinder" | |
| 671 | limbcollider.Name = "LimbCollider" | |
| 672 | limbcollider.Transparency = 1 | |
| 673 | limbcollider:BreakJoints() | |
| 674 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 675 | limbcolliderweld.Part0 = limb | |
| 676 | limbcolliderweld.Part1 = limbcollider | |
| 677 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 678 | end | |
| 679 | local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
| |
| 680 | HeadAttachment.Position = Vector3.new(0, -0.5, 0) | |
| 681 | makehingeconnections(Humanoid.Parent.Head, HeadAttachment, UpperTorso.NeckAttachment, -50, 50) | |
| 682 | makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50) | |
| 683 | makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -50, 50) | |
| 684 | makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60) | |
| 685 | makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20) | |
| 686 | -- | |
| 687 | makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -50, 50) | |
| 688 | makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60) | |
| 689 | makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20) | |
| 690 | -- | |
| 691 | makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -360, 360) | |
| 692 | makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60) | |
| 693 | makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20) | |
| 694 | -- | |
| 695 | makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -360, 360) | |
| 696 | makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60) | |
| 697 | makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20) | |
| 698 | for i,v in pairs(Humanoid.Parent:GetChildren()) do | |
| 699 | if v.ClassName == "Accessory" then | |
| 700 | local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
| |
| 701 | if attachment1 then | |
| 702 | for q,w in pairs(Humanoid.Parent:GetChildren()) do | |
| 703 | if w.ClassName == "Part" then | |
| 704 | local attachment2 = w:findFirstChild(attachment1.Name) | |
| 705 | if attachment2 then | |
| 706 | local hinge = Instance.new("HingeConstraint", v.Handle)
| |
| 707 | hinge.Attachment0 = attachment1 | |
| 708 | hinge.Attachment1 = attachment2 | |
| 709 | hinge.LimitsEnabled = true | |
| 710 | hinge.LowerAngle = 0 | |
| 711 | hinge.UpperAngle = 0 | |
| 712 | end | |
| 713 | end | |
| 714 | end | |
| 715 | end | |
| 716 | end | |
| 717 | end | |
| 718 | for i,v in pairs(zombiecorpse:GetChildren()) do | |
| 719 | for q,w in pairs(v:GetChildren()) do | |
| 720 | if w.ClassName == "Motor6D" and w.Name ~= "Neck" then | |
| 721 | w:destroy() | |
| 722 | end | |
| 723 | end | |
| 724 | end | |
| 725 | local ragdoll = zombiecorpse | |
| 726 | if ragdoll:findFirstChild("HumanoidRootPart") then
| |
| 727 | ragdoll.HumanoidRootPart.Anchored = true | |
| 728 | - | if thehumanoid then |
| 728 | + | |
| 729 | - | chatgui(headlole, "Get ueeeted on nob!!", "White") |
| 729 | + | |
| 730 | end | |
| 731 | end | |
| 732 | local got = Instance.new("ObjectValue", owner.Character)
| |
| 733 | got.Value = humanoid.Parent | |
| 734 | - | if thehumanoid then |
| 734 | + | |
| 735 | - | chatgui(headlole, "Ded", "White") |
| 735 | + | |
| 736 | bloodparticle(0.1,0.3,0.1) | |
| 737 | local function bleed() | |
| 738 | local thehumanoid = owner.Character:findFirstChild("Gotem").Value:findFirstChildOfClass("Humanoid")
| |
| 739 | local thehead = owner.Character:findFirstChild("Gotem").Value:findFirstChild("Head")
| |
| 740 | - | if thehumanoid then |
| 740 | + | |
| 741 | - | chatgui(headlole, "Noob.", "White") |
| 741 | + | |
| 742 | thehumanoid.Health = thehumanoid.Health - 1.25 | |
| 743 | if headshot ~= false then | |
| 744 | thehumanoid.Health = thehumanoid.Health - 0.53 | |
| 745 | PrintText("Headshot Multiplier Damage Added, Dealt An Extra '0.53' Damage To "..part.Parent.Name..".")
| |
| 746 | - | if thehumanoid then |
| 746 | + | |
| 747 | - | chatgui(headlole, "Get thrown on then commit die.", "White") |
| 747 | + | |
| 748 | if thehumanoid.Health <= 0 then | |
| 749 | PainSound:Stop() | |
| 750 | PrintText(part.Parent.Name.." Has Died To You Killing Them!!!11!1!") | |
| 751 | break | |
| 752 | - | if thehumanoid then |
| 752 | + | |
| 753 | - | chatgui(headlole, "lol!", "White") |
| 753 | + | |
| 754 | local randomsize = math.random(1,3) | |
| 755 | if randomsize == 1 then | |
| 756 | blood.Size = Vector3.new(0.3,0.3,0.3) | |
| 757 | end | |
| 758 | - | if thehumanoid then |
| 758 | + | |
| 759 | - | chatgui(headlole, part.Parent.Name.." has been oofed, we did it.", "White") |
| 759 | + | |
| 760 | end | |
| 761 | if randomsize == 3 then | |
| 762 | blood.Size = Vector3.new(0.2,0.2,0.2) | |
| 763 | end | |
| 764 | blood.CustomPhysicalProperties = PhysicalProperties.new(0,0,0) | |
| 765 | blood.Elasticity = 0 | |
| 766 | blood.Shape = "Ball" | |
| 767 | blood.Color = bloodcolor | |
| 768 | blood.Transparency = 1 | |
| 769 | blood.Name = "Bitch ass blood" | |
| 770 | blood.CFrame = part.CFrame * CFrame.new(0,0.5,0) | |
| 771 | local velocity = Instance.new("BodyVelocity", blood)
| |
| 772 | velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 773 | velocity.Velocity = part.CFrame.lookVector * math.random(30,40) + Vector3.new(math.random(-15,15),math.random(-15,15),0) | |
| 774 | game.Debris:AddItem(velocity, 0.2) | |
| 775 | local function hit(part) | |
| 776 | if part.Name == "okyoucantouchnow" and part.Size.y < 10 then | |
| 777 | blood:destroy() | |
| 778 | part.Size = part.Size + Vector3.new(0,0.3,0.3) | |
| 779 | end | |
| 780 | if part.Name ~= "Bitch ass blood" and part.Name ~= "LimbCollider" and not part.Parent:findFirstChildOfClass("Humanoid") and part.Parent.ClassName ~= "Hat" and part.Parent.ClassName ~= "Accessory" and part.Parent.Parent.ClassName ~= "Accessory" and part.ClassName ~= "Accessory" then
| |
| 781 | wait(0.2) | |
| 782 | blood.Name = "okyoucantouchnow" | |
| 783 | blood.Anchored = true | |
| 784 | blood.CanCollide = false | |
| 785 | blood.Material = "Glass" | |
| 786 | blood.Shape = "Cylinder" | |
| 787 | blood.Size = Vector3.new(0.1,1.5,1.5) | |
| 788 | if part.Size.y < part.Size.z and part.Size.y < part.Size.x then | |
| 789 | local pos = blood.Position | |
| 790 | blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 791 | blood.Position = pos | |
| 792 | elseif part.Size.x < part.Size.y and part.Size.x < part.Size.z then | |
| 793 | local pos = blood.Position | |
| 794 | blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 795 | blood.Position = pos | |
| 796 | elseif part.Size.z < part.Size.y and part.Size.z < part.Size.x then | |
| 797 | local pos = blood.Position | |
| 798 | blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0) | |
| 799 | blood.Position = pos | |
| 800 | end | |
| 801 | wait(8) | |
| 802 | for i = 1,50 do | |
| 803 | blood.Transparency = 1 | |
| 804 | wait() | |
| 805 | end | |
| 806 | blood:destroy() | |
| 807 | end | |
| 808 | end | |
| 809 | blood.Touched:connect(hit) | |
| 810 | end | |
| 811 | if thehumanoid.Parent:findFirstChild("Torso") then
| |
| 812 | thehumanoid.Parent.Archivable = true | |
| 813 | for i,v in pairs(thehumanoid.Parent:GetChildren()) do | |
| 814 | if v.ClassName == "Accessory" then | |
| 815 | local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
| |
| 816 | if attachment1 then | |
| 817 | for q,w in pairs(thehumanoid.Parent:GetChildren()) do | |
| 818 | if w.ClassName == "Part" then | |
| 819 | local attachment2 = w:findFirstChild(attachment1.Name) | |
| 820 | if attachment2 then | |
| 821 | local hinge = Instance.new("HingeConstraint", v.Handle)
| |
| 822 | hinge.Attachment0 = attachment1 | |
| 823 | hinge.Attachment1 = attachment2 | |
| 824 | hinge.LimitsEnabled = true | |
| 825 | hinge.LowerAngle = 0 | |
| 826 | hinge.UpperAngle = 0 | |
| 827 | end | |
| 828 | end | |
| 829 | end | |
| 830 | end | |
| 831 | end | |
| 832 | end | |
| 833 | local rag = thehumanoid.Parent:Clone() | |
| 834 | rag:findFirstChildOfClass("Humanoid").Health = 0
| |
| 835 | rag:findFirstChildOfClass("Humanoid").PlatformStand = true
| |
| 836 | for i,v in pairs(thehumanoid.Parent:GetChildren()) do | |
| 837 | if v.ClassName == "Accessory" or v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Sound" then | |
| 838 | v:destroy() | |
| 839 | end | |
| 840 | end | |
| 841 | rag.Parent = workspace | |
| 842 | game.Debris:AddItem(rag, 15) | |
| 843 | game.Chat:Chat(rag.Head, "*dies due to blood loss And failure of consciousness while bleeding out*", "White") | |
| 844 | end | |
| 845 | end | |
| 846 | spawn(bleed) | |
| 847 | else | |
| 848 | knifevelocity:destroy() | |
| 849 | flying = false | |
| 850 | ||
| 851 | local impact =Instance.new("Sound", KnifeGui)
| |
| 852 | impact.SoundId = "rbxassetid://1921272182" | |
| 853 | impact.Volume = 1.342 | |
| 854 | - | chatgui(rag.Head, "*dies lol*", "White") |
| 854 | + | |
| 855 | impact:Play() | |
| 856 | clonedknife.Anchored = true | |
| 857 | ||
| 858 | clonedknife.CFrame = CFrame.new(clonedknife.Position, lookat) | |
| 859 | clonedknife.CFrame = clonedknife.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi,0) | |
| 860 | wait(5) | |
| 861 | for i = 1,100 do | |
| 862 | clonedknife.Transparency = clonedknife.Transparency + 0.01 | |
| 863 | game:GetService("RunService").Heartbeat:wait()
| |
| 864 | end | |
| 865 | clonedknife:destroy() | |
| 866 | end | |
| 867 | end | |
| 868 | end | |
| 869 | clonedknife.Touched:connect(touched) | |
| 870 | for i = 0,1 , 0.06 do | |
| 871 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49999976, 0, 0.98480773, 0, -0.173648059, 0, 0.999999881, 0, 0.173648059, 0, 0.98480773),i) | |
| 872 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.984807789, 0, 0.173648059, 0, 0.99999994, 0, -0.173648059, 0, 0.984807789),i) | |
| 873 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.50000191, 0.178606272, -0.383022308, 1, 1.49011612e-08, 7.4505806e-09, 0, 0.642787099, -0.766044557, 0, 0.766044796, 0.642787218),i) | |
| 874 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.54821205, 0.153163671, 0.281364441, 0.98480773, 0.111618884, 0.133022264, -0.163175866, 0.856848657, 0.489063889, -0.0593911856, -0.503340065, 0.86204493),i) | |
| 875 | game:GetService("RunService").Heartbeat:wait()
| |
| 876 | end | |
| 877 | for i = 0,1 , 0.04 do | |
| 878 | head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i) | |
| 879 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i) | |
| 880 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i) | |
| 881 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 882 | game:GetService("RunService").Heartbeat:wait()
| |
| 883 | end | |
| 884 | leftarm:destroy() | |
| 885 | rightarm:destroy() | |
| 886 | canattack = true | |
| 887 | local ball = Instance.new("Part", workspace)
| |
| 888 | ball.Size = Vector3.new(2,2,2) | |
| 889 | ball.Shape = "Ball" | |
| 890 | ball:BreakJoints() | |
| 891 | ball.CanCollide = false | |
| 892 | ball.Material = "Neon" | |
| 893 | ball.Anchored = true | |
| 894 | ball.Name = "epic" | |
| 895 | ball.CFrame = Knife.CFrame | |
| 896 | ball.BrickColor = BrickColor.new("Institutional white")
| |
| 897 | local cf = ball.CFrame | |
| 898 | Knife.Transparency = 0 | |
| 899 | for i = 1,50 do | |
| 900 | ball.Size = ball.Size + Vector3.new(0.05,0.05,0.05) | |
| 901 | ball.CFrame = cf | |
| 902 | ball.Transparency = ball.Transparency + 0.02 | |
| 903 | game:GetService("RunService").Heartbeat:wait()
| |
| 904 | end | |
| 905 | ball:destroy() | |
| 906 | elseif attackname == "b3g0n3" then | |
| 907 | local begonenoob = Instance.new("Sound", headlole)
| |
| 908 | begonenoob.SoundId = "rbxassetid://3663443635" | |
| 909 | - | local holyrespawn = math.random(1,7) |
| 909 | + | |
| 910 | - | local holyrespawn = math.random(1,7) |
| 910 | + | |
| 911 | - | holy = Instance.new("Sound")
|
| 911 | + | |
| 912 | - | holy.Parent = Knife |
| 912 | + | |
| 913 | - | holy.Volume = 5.565 |
| 913 | + | |
| 914 | - | holy.EmitterSize = 8 |
| 914 | + | |
| 915 | - | holy.SoundId = "rbxassetid://3932669033" |
| 915 | + | |
| 916 | - | holy.PlaybackSpeed = 1.015 |
| 916 | + | |
| 917 | - | holy.MaxDistance = 1456 |
| 917 | + | |
| 918 | leftarm.Part1 = owner.Character["Left Arm"] | |
| 919 | - | if holyrespawn == 1 then |
| 919 | + | |
| 920 | - | holy.SoundId = "rbxassetid://3932669033" |
| 920 | + | |
| 921 | - | holy:play() |
| 921 | + | |
| 922 | head.C0 = head.C0:lerp(CFrame.new(-3.81469727e-06, 1.49999905, 0, 0.342020214, 0, 0.939692497, 4.07453626e-09, 0.999999881, 0, -0.939692557, 3.7252903e-09, 0.342020214),i) | |
| 923 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.400000095, 0, 0.336824089, -0.0593911782, -0.939692616, 0.173648179, 0.98480773, 0, 0.925416529, -0.163175911, 0.342020154),i) | |
| 924 | - | if holyrespawn == 2 then |
| 924 | + | |
| 925 | - | holy.SoundId = "rbxassetid://3750937866" |
| 925 | + | |
| 926 | - | holy:play() |
| 926 | + | |
| 927 | end | |
| 928 | epicterrariaswoosh:Play() | |
| 929 | - | if holyrespawn == 3 then |
| 929 | + | |
| 930 | - | holy.SoundId = "rbxassetid://3750938101" |
| 930 | + | |
| 931 | - | holy:play() |
| 931 | + | |
| 932 | sensorbrick.Transparency = 1 | |
| 933 | sensorbrick:BreakJoints() | |
| 934 | - | if holyrespawn == 4 then |
| 934 | + | |
| 935 | - | holy.SoundId = "rbxassetid://3750937651" |
| 935 | + | |
| 936 | - | holy:play() |
| 936 | + | |
| 937 | local function stabbed(part) | |
| 938 | local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
| |
| 939 | - | if holyrespawn == 5 then |
| 939 | + | |
| 940 | - | holy.SoundId = "rbxassetid://3932668730" |
| 940 | + | |
| 941 | - | holy:play() |
| 941 | + | |
| 942 | local owigotstabaaaaAAAA = part.Parent:FindFirstChild("Head")
| |
| 943 | if owigotstabaaaaAAAA then | |
| 944 | - | if holyrespawn == 6 then |
| 944 | + | game.Chat:Chat(owigotstabaaaaAAAA, "*Visible Pain*", "White") |
| 945 | - | holy.SoundId = "rbxassetid://3750937431" |
| 945 | + | |
| 946 | - | holy:play() |
| 946 | + | |
| 947 | screamlol.EmitterSize = 7 | |
| 948 | - | if holyrespawn == 7 then |
| 948 | + | |
| 949 | - | holy.SoundId = "rbxassetid://3932669793" |
| 949 | + | |
| 950 | - | holy:play() |
| 950 | + | |
| 951 | screamlol.Volume = 5 | |
| 952 | local valuescreavaluescream = math.random(1,6) | |
| 953 | ||
| 954 | - | Knife.Transparency = 0 |
| 954 | + | |
| 955 | screamlol.SoundId = "rbxassetid://232921573" | |
| 956 | screamlol:play() | |
| 957 | end | |
| 958 | ||
| 959 | if valuescreavaluescream == 2 then | |
| 960 | screamlol.SoundId = "rbxassetid://166221318" | |
| 961 | screamlol:play() | |
| 962 | end | |
| 963 | ||
| 964 | if valuescreavaluescream == 3 then | |
| 965 | screamlol.SoundId = "rbxassetid://166221367" | |
| 966 | screamlol:play() | |
| 967 | end | |
| 968 | ||
| 969 | if valuescreavaluescream == 4 then | |
| 970 | screamlol.SoundId = "rbxassetid://166221367" | |
| 971 | screamlol:play() | |
| 972 | end | |
| 973 | ||
| 974 | if valuescreavaluescream == 5 then | |
| 975 | screamlol.SoundId = "rbxassetid://166221285" | |
| 976 | screamlol:play() | |
| 977 | end | |
| 978 | ||
| 979 | if valuescreavaluescream == 6 then | |
| 980 | screamlol.SoundId = "rbxassetid://232921590" | |
| 981 | screamlol:play() | |
| 982 | end | |
| 983 | PainSound.Parent = owigotstabaaaaAAAA | |
| 984 | PainSound.Looped = true | |
| 985 | - | whoshh = Instance.new("Sound")
|
| 985 | + | |
| 986 | - | whoshh.Parent = Knife |
| 986 | + | |
| 987 | - | whoshh.SoundId = "rbxassetid://2162237356" |
| 987 | + | |
| 988 | - | whoshh.Volume = 5 |
| 988 | + | |
| 989 | - | whoshh:Play() |
| 989 | + | |
| 990 | PainSound:Play() | |
| 991 | end | |
| 992 | sensorbrick:destroy() | |
| 993 | stabsound:Play() | |
| 994 | local bleed = Instance.new("Sound", part)
| |
| 995 | bleed.SoundId = "rbxassetid://244502094" | |
| 996 | bleed.Volume = 0.3 | |
| 997 | bleed.PlaybackSpeed = 1.1 | |
| 998 | bleed.Parent = part | |
| 999 | bleed:Play() | |
| 1000 | PrintText("LOL THAT IDIOT LET YOU HIT THEM HAHA")
| |
| 1001 | - | if humanoid == nil then |
| 1001 | + | |
| 1002 | - | PrintText("I don't blame you for missing, it's hard to hit things with this")
|
| 1002 | + | |
| 1003 | - | local missound = math.random(1,4) |
| 1003 | + | |
| 1004 | - | misslol = Instance.new("Sound")
|
| 1004 | + | |
| 1005 | - | misslol.Parent = Knife |
| 1005 | + | |
| 1006 | - | misslol.MaxDistance = 250 |
| 1006 | + | |
| 1007 | - | misslol.Volume = 1.446 |
| 1007 | + | |
| 1008 | - | misslol.PlaybackSpeed = 1.253 |
| 1008 | + | |
| 1009 | - | if missound == 1 then |
| 1009 | + | |
| 1010 | - | misslol.SoundId = "rbxassetid://4307044473" |
| 1010 | + | |
| 1011 | - | misslol:play() |
| 1011 | + | |
| 1012 | if humanoid.MaxHealth > 300 or humanoid.Health > 300 then | |
| 1013 | humanoid.MaxHealth = 100 | |
| 1014 | - | if missound == 2 then |
| 1014 | + | |
| 1015 | - | misslol.SoundId = "rbxassetid://4307044751" |
| 1015 | + | |
| 1016 | - | misslol:play() |
| 1016 | + | |
| 1017 | humanoid.Parent:findFirstChild("HumanoidRootPart"):destroy()
| |
| 1018 | end | |
| 1019 | - | if missound == 3 then |
| 1019 | + | |
| 1020 | - | misslol.SoundId = "rbxassetid://4307045008" |
| 1020 | + | |
| 1021 | - | misslol:play() |
| 1021 | + | |
| 1022 | ow.Part1 = humanoid.Parent:findFirstChild("Head")
| |
| 1023 | ow.C0 = CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0) | |
| 1024 | - | if missound == 4 then |
| 1024 | + | |
| 1025 | - | misslol.SoundId = "rbxassetid://4307045377" |
| 1025 | + | |
| 1026 | - | misslol:play() |
| 1026 | + | |
| 1027 | game.Debris:AddItem(ow,2) | |
| 1028 | end | |
| 1029 | victimshumanoid = humanoid | |
| 1030 | - | local yeetlolz = math.random(1,4) |
| 1030 | + | |
| 1031 | - | stablol = Instance.new("Sound")
|
| 1031 | + | |
| 1032 | - | stablol.Parent = Knife |
| 1032 | + | |
| 1033 | - | stablol.MaxDistance = 250 |
| 1033 | + | |
| 1034 | - | stablol.Volume = 1.446 |
| 1034 | + | |
| 1035 | - | stablol.PlaybackSpeed = 0.985 |
| 1035 | + | |
| 1036 | - | if yeetlolz == 1 then |
| 1036 | + | |
| 1037 | - | stablol.SoundId = "rbxassetid://4307102517" |
| 1037 | + | |
| 1038 | - | stablol:play() |
| 1038 | + | |
| 1039 | limbcollider.Shape = "Cylinder" | |
| 1040 | limbcollider.Transparency = 1 | |
| 1041 | - | if yeetlolz == 2 then |
| 1041 | + | |
| 1042 | - | stablol.SoundId = "rbxassetid://4307102878" |
| 1042 | + | |
| 1043 | - | stablol:play() |
| 1043 | + | |
| 1044 | limbcolliderweld.Part1 = limbcollider | |
| 1045 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 1046 | - | if yeetlolz == 3 then |
| 1046 | + | |
| 1047 | - | stablol.SoundId = "rbxassetid://4307103510" |
| 1047 | + | |
| 1048 | - | stablol:play() |
| 1048 | + | |
| 1049 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 1050 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 1051 | - | if yeetlolz == 4 then |
| 1051 | + | |
| 1052 | - | stablol.SoundId = "rbxassetid://4307103239" |
| 1052 | + | |
| 1053 | - | stablol:play() |
| 1053 | + | |
| 1054 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Arm"))
| |
| 1055 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 1056 | limbcollider.Shape = "Cylinder" | |
| 1057 | limbcollider.Name = "LimbCollider" | |
| 1058 | limbcollider.Transparency = 1 | |
| 1059 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 1060 | - | chatgui(owigotstabaaaaAAAA, "*ow wja ow eek my neck ono my neck and air aaa nnnooonno aaa*", "White") |
| 1060 | + | |
| 1061 | limbcolliderweld.Part1 = limbcollider | |
| 1062 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 1063 | victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder"):destroy()
| |
| 1064 | end | |
| 1065 | if victimshumanoid.Parent.Torso:findFirstChild("Left Hip") then
| |
| 1066 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 1067 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 1068 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Leg")
| |
| 1069 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 1070 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 1071 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Leg"))
| |
| 1072 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 1073 | limbcollider.Shape = "Cylinder" | |
| 1074 | limbcollider.Name = "LimbCollider" | |
| 1075 | limbcollider.Transparency = 1 | |
| 1076 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 1077 | limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Leg")
| |
| 1078 | limbcolliderweld.Part1 = limbcollider | |
| 1079 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 1080 | victimshumanoid.Parent.Torso:findFirstChild("Left Hip"):destroy()
| |
| 1081 | end | |
| 1082 | if victimshumanoid.Parent.Torso:findFirstChild("Right Hip") then
| |
| 1083 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 1084 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 1085 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Leg")
| |
| 1086 | glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 1087 | glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 1088 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Leg"))
| |
| 1089 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 1090 | limbcollider.Shape = "Cylinder" | |
| 1091 | limbcollider.Name = "LimbCollider" | |
| 1092 | limbcollider.Transparency = 1 | |
| 1093 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 1094 | limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Leg")
| |
| 1095 | limbcolliderweld.Part1 = limbcollider | |
| 1096 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 1097 | victimshumanoid.Parent.Torso:findFirstChild("Right Hip"):destroy()
| |
| 1098 | end | |
| 1099 | elseif humanoid.Parent:findFirstChild("UpperTorso") then
| |
| 1100 | if victimshumanoid.Parent.UpperTorso:findFirstChild("NeckAttachment") then
| |
| 1101 | victimshumanoid.Parent.Archivable = true | |
| 1102 | local zombiecorpse = victimshumanoid.Parent | |
| 1103 | for i,v in pairs(zombiecorpse:GetChildren()) do | |
| 1104 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
| 1105 | for q,w in pairs(v:GetChildren()) do | |
| 1106 | if w.ClassName == "BodyPosition" or w.ClassName == "BodyVelocity" then | |
| 1107 | w:destroy() | |
| 1108 | end | |
| 1109 | end | |
| 1110 | end | |
| 1111 | end | |
| 1112 | local UpperTorso = zombiecorpse.UpperTorso | |
| 1113 | local Humanoid = zombiecorpse:findFirstChildOfClass("Humanoid")
| |
| 1114 | - | sound04 = Instance.new("Sound")
|
| 1114 | + | |
| 1115 | - | sound05 = Instance.new("Sound")
|
| 1115 | + | |
| 1116 | - | sound06 = Instance.new("Sound")
|
| 1116 | + | |
| 1117 | - | sound156 = Instance.new("Sound")
|
| 1117 | + | |
| 1118 | - | sound04.Parent = owigotstabaaaaAAAA |
| 1118 | + | |
| 1119 | - | sound04.Pitch = 1.0199999809265 |
| 1119 | + | |
| 1120 | - | sound04.PlaybackSpeed = 1.0199999809265 |
| 1120 | + | |
| 1121 | - | sound04.SoundId = "rbxassetid://4459571224" |
| 1121 | + | |
| 1122 | - | sound04.Volume = 0.85299998521805 |
| 1122 | + | |
| 1123 | - | sound05.Parent = owigotstabaaaaAAAA |
| 1123 | + | |
| 1124 | - | sound05.Pitch = 3 |
| 1124 | + | |
| 1125 | - | sound05.PlaybackSpeed = 3 |
| 1125 | + | |
| 1126 | - | sound05.SoundId = "rbxassetid://4306991962" |
| 1126 | + | |
| 1127 | - | sound05.Volume = 0.63559997081757 |
| 1127 | + | |
| 1128 | - | sound05.Parent = owigotstabaaaaAAAA |
| 1128 | + | |
| 1129 | - | sound06.Pitch = 0.75 |
| 1129 | + | |
| 1130 | - | sound06.PlaybackSpeed = 0.75 |
| 1130 | + | |
| 1131 | - | sound06.SoundId = "rbxassetid://4459578169" |
| 1131 | + | |
| 1132 | - | sound06.Volume = 0.86729997396469 |
| 1132 | + | |
| 1133 | - | sound156.Parent = owigotstabaaaaAAAA |
| 1133 | + | |
| 1134 | - | sound156.SoundId = "rbxassetid://4307102517" |
| 1134 | + | |
| 1135 | - | sound156.Volume = 1.2519999742508 |
| 1135 | + | |
| 1136 | - | sound156:Play() |
| 1136 | + | |
| 1137 | - | sound06:Play() |
| 1137 | + | |
| 1138 | - | sound04:Play() |
| 1138 | + | |
| 1139 | - | sound05:Play() |
| 1139 | + | |
| 1140 | connection.LowerAngle = lower | |
| 1141 | connection.UpperAngle = upper | |
| 1142 | local limbcollider = Instance.new("Part", limb)
| |
| 1143 | - | if part.parent.Name == Rufus14 or Lundo_Fett then |
| 1143 | + | |
| 1144 | - | message("wait~ I TAKE THAT BACK, YOU JUST HIT A SCRIPTER FOR THIS EDIT OR THE OG CREATOR, LOL!!!11!!!!!1!!!!1!11!1")
|
| 1144 | + | |
| 1145 | limbcollider.Name = "LimbCollider" | |
| 1146 | limbcollider.Transparency = 1 | |
| 1147 | limbcollider:BreakJoints() | |
| 1148 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 1149 | limbcolliderweld.Part0 = limb | |
| 1150 | limbcolliderweld.Part1 = limbcollider | |
| 1151 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 1152 | end | |
| 1153 | local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
| |
| 1154 | HeadAttachment.Position = Vector3.new(0, -0.5, 0) | |
| 1155 | makehingeconnections(Humanoid.Parent.Head, HeadAttachment, UpperTorso.NeckAttachment, -50, 50) | |
| 1156 | makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50) | |
| 1157 | makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -50, 50) | |
| 1158 | makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60) | |
| 1159 | makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20) | |
| 1160 | -- | |
| 1161 | makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -50, 50) | |
| 1162 | makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60) | |
| 1163 | makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20) | |
| 1164 | -- | |
| 1165 | makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -360, 360) | |
| 1166 | makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60) | |
| 1167 | makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20) | |
| 1168 | -- | |
| 1169 | makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -360, 360) | |
| 1170 | makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60) | |
| 1171 | makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20) | |
| 1172 | for i,v in pairs(Humanoid.Parent:GetChildren()) do | |
| 1173 | if v.ClassName == "Accessory" then | |
| 1174 | local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
| |
| 1175 | if attachment1 then | |
| 1176 | for q,w in pairs(Humanoid.Parent:GetChildren()) do | |
| 1177 | if w.ClassName == "Part" then | |
| 1178 | local attachment2 = w:findFirstChild(attachment1.Name) | |
| 1179 | if attachment2 then | |
| 1180 | local hinge = Instance.new("HingeConstraint", v.Handle)
| |
| 1181 | hinge.Attachment0 = attachment1 | |
| 1182 | hinge.Attachment1 = attachment2 | |
| 1183 | hinge.LimitsEnabled = true | |
| 1184 | hinge.LowerAngle = 0 | |
| 1185 | hinge.UpperAngle = 0 | |
| 1186 | end | |
| 1187 | end | |
| 1188 | end | |
| 1189 | end | |
| 1190 | end | |
| 1191 | end | |
| 1192 | for i,v in pairs(zombiecorpse:GetChildren()) do | |
| 1193 | for q,w in pairs(v:GetChildren()) do | |
| 1194 | if w.ClassName == "Motor6D" and w.Name ~= "Neck" then | |
| 1195 | w:destroy() | |
| 1196 | end | |
| 1197 | end | |
| 1198 | end | |
| 1199 | local ragdoll = zombiecorpse | |
| 1200 | if ragdoll:findFirstChild("HumanoidRootPart") then
| |
| 1201 | ragdoll.HumanoidRootPart.Anchored = true | |
| 1202 | ragdoll.HumanoidRootPart.CanCollide = false | |
| 1203 | end | |
| 1204 | end | |
| 1205 | end | |
| 1206 | local got = Instance.new("ObjectValue", owner.Character)
| |
| 1207 | got.Value = humanoid.Parent | |
| 1208 | got.Name = "Gotem" | |
| 1209 | victimshumanoid = humanoid | |
| 1210 | local function bleed() | |
| 1211 | local thehumanoid = owner.Character:findFirstChild("Gotem").Value:findFirstChildOfClass("Humanoid")
| |
| 1212 | local thehead = owner.Character:findFirstChild("Gotem").Value:findFirstChild("Head")
| |
| 1213 | owner.Character.Gotem:destroy() | |
| 1214 | while wait(0.1) and victimshumanoid.Health > 0 and thehead do | |
| 1215 | thehumanoid.Health = thehumanoid.Health - 0.946 | |
| 1216 | PrintText("Dealt '0.946' Damage To "..part.Parent.Name.."!")
| |
| 1217 | if thehumanoid.Health <= 0 then | |
| 1218 | PrintText("GET NOOBED ON, "..part.Parent.Name.."!")
| |
| 1219 | thehumanoid.MaxHealth = 0 | |
| 1220 | thehumanoid.Health = 0 | |
| 1221 | diefromneck(owigotstabaaaaAAAA,PainSound) | |
| 1222 | break | |
| 1223 | end | |
| 1224 | local blood = Instance.new("Part", workspace)
| |
| 1225 | local randomsize = math.random(1,3) | |
| 1226 | if randomsize == 1 then | |
| 1227 | blood.Size = Vector3.new(0.3,0.3,0.3) | |
| 1228 | end | |
| 1229 | if randomsize == 2 then | |
| 1230 | blood.Size = Vector3.new(0.4,0.4,0.4) | |
| 1231 | end | |
| 1232 | if randomsize == 3 then | |
| 1233 | blood.Size = Vector3.new(0.2,0.2,0.2) | |
| 1234 | end | |
| 1235 | blood.CustomPhysicalProperties = PhysicalProperties.new(0,0,0) | |
| 1236 | blood.Elasticity = 0 | |
| 1237 | blood.Shape = "Ball" | |
| 1238 | blood.Color = bloodcolor | |
| 1239 | blood.Transparency = 1 | |
| 1240 | blood.Name = "Bitch ass blood" | |
| 1241 | blood.CFrame = thehead.CFrame * CFrame.new(0,0.5,0) | |
| 1242 | local velocity = Instance.new("BodyVelocity", blood)
| |
| 1243 | velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1244 | velocity.Velocity = Vector3.new(math.random(-15,15),math.random(30,40),0) | |
| 1245 | game.Debris:AddItem(velocity, 0.2) | |
| 1246 | local function hit(part) | |
| 1247 | if part.Name == "okyoucantouchnow" and part.Size.y < 10 then | |
| 1248 | blood:destroy() | |
| 1249 | part.Size = part.Size + Vector3.new(0,0.3,0.3) | |
| 1250 | end | |
| 1251 | if part.Name ~= "Bitch ass blood" and part.Name ~= "LimbCollider" and not part.Parent:findFirstChildOfClass("Humanoid") and part.Parent.ClassName ~= "Hat" and part.Parent.ClassName ~= "Accessory" and part.Parent.Parent.ClassName ~= "Accessory" and part.ClassName ~= "Accessory" then
| |
| 1252 | wait(0.2) | |
| 1253 | blood.Name = "okyoucantouchnow" | |
| 1254 | blood.Anchored = true | |
| 1255 | blood.CanCollide = false | |
| 1256 | blood.Material = "Glass" | |
| 1257 | blood.Shape = "Cylinder" | |
| 1258 | blood.Size = Vector3.new(0.1,1.5,1.5) | |
| 1259 | if part.Size.y < part.Size.z and part.Size.y < part.Size.x then | |
| 1260 | local pos = blood.Position | |
| 1261 | blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 1262 | blood.Position = pos | |
| 1263 | elseif part.Size.x < part.Size.y and part.Size.x < part.Size.z then | |
| 1264 | local pos = blood.Position | |
| 1265 | blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1266 | blood.Position = pos | |
| 1267 | elseif part.Size.z < part.Size.y and part.Size.z < part.Size.x then | |
| 1268 | local pos = blood.Position | |
| 1269 | blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0) | |
| 1270 | blood.Position = pos | |
| 1271 | end | |
| 1272 | wait(8) | |
| 1273 | for i = 1,50 do | |
| 1274 | blood.Transparency = 1 + 0.02 | |
| 1275 | wait() | |
| 1276 | end | |
| 1277 | blood:destroy() | |
| 1278 | end | |
| 1279 | end | |
| 1280 | blood.Touched:connect(hit) | |
| 1281 | end | |
| 1282 | if thehumanoid.Parent:findFirstChild("Torso") then
| |
| 1283 | thehumanoid.Parent.Archivable = true | |
| 1284 | for i,v in pairs(thehumanoid.Parent:GetChildren()) do | |
| 1285 | if v.ClassName == "Accessory" then | |
| 1286 | local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
| |
| 1287 | if attachment1 then | |
| 1288 | for q,w in pairs(thehumanoid.Parent:GetChildren()) do | |
| 1289 | if w.ClassName == "Part" then | |
| 1290 | local attachment2 = w:findFirstChild(attachment1.Name) | |
| 1291 | if attachment2 then | |
| 1292 | local hinge = Instance.new("HingeConstraint", v.Handle)
| |
| 1293 | hinge.Attachment0 = attachment1 | |
| 1294 | hinge.Attachment1 = attachment2 | |
| 1295 | hinge.LimitsEnabled = true | |
| 1296 | hinge.LowerAngle = 0 | |
| 1297 | hinge.UpperAngle = 0 | |
| 1298 | end | |
| 1299 | end | |
| 1300 | end | |
| 1301 | end | |
| 1302 | end | |
| 1303 | end | |
| 1304 | local rag = thehumanoid.Parent:Clone() | |
| 1305 | rag:findFirstChildOfClass("Humanoid").Health = 0
| |
| 1306 | rag:findFirstChildOfClass("Humanoid").PlatformStand = true
| |
| 1307 | for i,v in pairs(thehumanoid.Parent:GetChildren()) do | |
| 1308 | if v.ClassName == "Accessory" or v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Sound" then | |
| 1309 | v:destroy() | |
| 1310 | end | |
| 1311 | end | |
| 1312 | rag.Parent = workspace | |
| 1313 | game.Debris:AddItem(rag, 15) | |
| 1314 | game.Chat:Chat(rag.Head, "*dies due to blood loss, a stab wound through head, and loss of oxygen*", "White") | |
| 1315 | end | |
| 1316 | end | |
| 1317 | spawn(bleed) | |
| 1318 | ||
| 1319 | end | |
| 1320 | end | |
| 1321 | sensorbrick.Touched:connect(stabbed) | |
| 1322 | for i = 0,1 , 0.06 do | |
| 1323 | knifeweld.C0 = knifeweld.C0:lerp(CFrame.new(0.0111551285, -1.65374756, -0.208492279, 1, -3.96102529e-08, -9.57557234e-08, 1.01179282e-07, 0.173648685, 0.984807432, -2.23806182e-08, -0.98480767, 0.173648521),i) | |
| 1324 | head.C0 = head.C0:lerp(CFrame.new(-0.0868225098, 1.49240375, 0, 1.19248824e-08, -0.17364797, -0.984807789, 0, 0.98480767, -0.17364794, 1, 2.07073114e-09, 1.17437153e-08),i) | |
| 1325 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08),i) | |
| 1326 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.87100983, 0.969846249, 0, 1.19248824e-08, -0.342020363, 0.939692557, 8.74227553e-08, -0.939692378, -0.342020273, 1, 8.62290932e-08, 1.86946494e-08),i) | |
| 1327 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.57922745, 0.0944201946, 0, 0.98480773, 0.173648179, 0, -0.173648134, 0.984807551, 0, 0, 0, 1),i) | |
| 1328 | game:GetService("RunService").Heartbeat:wait()
| |
| 1329 | end | |
| 1330 | sensorbrick:destroy() | |
| 1331 | wait(2) | |
| 1332 | for i = 0,1 , 0.06 do | |
| 1333 | knifeweld.C0 = knifeweld.C0:lerp(CFrame.new(-0.0147867203, -0.89893651, -0.841812134, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i) | |
| 1334 | head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i) | |
| 1335 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i) | |
| 1336 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i) | |
| 1337 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 1338 | game:GetService("RunService").Heartbeat:wait()
| |
| 1339 | end | |
| 1340 | leftarm:destroy() | |
| 1341 | rightarm:destroy() | |
| 1342 | canattack = true | |
| 1343 | elseif attackname == "Stab" then | |
| 1344 | Soundslash = Instance.new("Sound")
| |
| 1345 | Soundslash.Name = "Hit" | |
| 1346 | Soundslash.Parent = Knife | |
| 1347 | Soundslash.Pitch = 1.25 | |
| 1348 | Soundslash.PlaybackSpeed = 1.25 | |
| 1349 | Soundslash.SoundId = "rbxasset://sounds/swordslash.wav" | |
| 1350 | Soundslash.Volume = 0.69999998807907 | |
| 1351 | Soundslash:Play() | |
| 1352 | local rightarm = Instance.new("Weld", owner.Character.Torso)
| |
| 1353 | rightarm.Part0 = owner.Character.Torso | |
| 1354 | rightarm.Part1 = owner.Character["Right Arm"] | |
| 1355 | rightarm.C0 = CFrame.new(1.5,0,0) | |
| 1356 | rightarm.Name = "RightArmWeld" | |
| 1357 | local leftarm = Instance.new("Weld", owner.Character.Torso)
| |
| 1358 | leftarm.Part0 = owner.Character.Torso | |
| 1359 | leftarm.Part1 = owner.Character["Left Arm"] | |
| 1360 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
| 1361 | leftarm.Name = "LeftArmWeld" | |
| 1362 | for i = 0,1 , 0.05 do | |
| 1363 | head.C0 = head.C0:lerp(CFrame.new(0, 1.5, 0, 0.499999851, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.499999851),i) | |
| 1364 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.499999881, 0, -0.866025448, 0, 1, 0, 0.866025448, 0, 0.499999881),i) | |
| 1365 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0.11697793, 0.321392059, 0.99999994, 0, 0, 0, 0.766044259, 0.642787695, 0, -0.642787695, 0.766044259),i) | |
| 1366 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.00759601593, -0.0868225098, 1, -7.4505806e-09, 2.08616257e-07, 4.09781897e-08, 0.98480773, -0.173647955, -2.38418579e-07, 0.173647955, 0.98480773),i) | |
| 1367 | game:GetService("RunService").Heartbeat:wait()
| |
| 1368 | end | |
| 1369 | local sensorbrick = Instance.new("Part", Knife)
| |
| 1370 | sensorbrick.Size = Knife.Size | |
| 1371 | sensorbrick.CanCollide = false | |
| 1372 | sensorbrick.Transparency = 1 | |
| 1373 | sensorbrick:BreakJoints() | |
| 1374 | local sensorweld = Instance.new("Weld", sensorbrick)
| |
| 1375 | sensorweld.Part0 = Knife | |
| 1376 | sensorweld.Part1 = sensorbrick | |
| 1377 | local function stabbed(part) | |
| 1378 | local PainSound = Instance.new("Sound")
| |
| 1379 | local screamlol = Instance.new("Sound")
| |
| 1380 | local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
| |
| 1381 | local owigotstabaaaaAAAA = part.Parent:FindFirstChild("Head")
| |
| 1382 | if headlole ~= nil and humanoid ~= nil then | |
| 1383 | local dialogstab = math.random(1,6) | |
| 1384 | ||
| 1385 | if dialogstab == 1 then | |
| 1386 | game.Chat:Chat(headlole, "How do ya like my knife entering your blood system?", "White") | |
| 1387 | end | |
| 1388 | ||
| 1389 | if dialogstab == 2 then | |
| 1390 | game.Chat:Chat(headlole, "HAHA, GET IMPALED IDIOT!", "White") | |
| 1391 | end | |
| 1392 | ||
| 1393 | if dialogstab == 3 then | |
| 1394 | game.Chat:Chat(headlole, "Srry, man, your just so noob i had to end u, srrs.", "White") | |
| 1395 | end | |
| 1396 | ||
| 1397 | if dialogstab == 4 then | |
| 1398 | game.Chat:Chat(headlole, "Get stabbebed on.", "White") | |
| 1399 | end | |
| 1400 | ||
| 1401 | if dialogstab == 5 then | |
| 1402 | game.Chat:Chat(headlole, "How did that feel? I'm guessing no because you're not answering me.", "White") | |
| 1403 | end | |
| 1404 | ||
| 1405 | if dialogstab == 6 then | |
| 1406 | game.Chat:Chat(headlole, "Oh, boy wouldn't wanna be that guy in this situation!", "White") | |
| 1407 | end | |
| 1408 | else | |
| 1409 | error("Wht tha, why the hell do you not have a head?????????")
| |
| 1410 | end | |
| 1411 | ||
| 1412 | if owigotstabaaaaAAAA then | |
| 1413 | game.Chat:Chat(owigotstabaaaaAAAA, "AAAAAAAAAAAAAAAAAAAAAAAAAAAA, *due to knife starts dying and falls to the ground in pain*", "White") | |
| 1414 | local soundIds = {346318730,232921573,166221367,169907033,166221285,166221285,167094166}
| |
| 1415 | ||
| 1416 | screamlol.Name = "Scremaaaa" | |
| 1417 | screamlol.Parent = owigotstabaaaaAAAA | |
| 1418 | screamlol.EmitterSize = 7 | |
| 1419 | screamlol.MaxDistance = 1536 | |
| 1420 | local valuescreavaluescream = math.random(1,6) | |
| 1421 | ||
| 1422 | if valuescreavaluescream == 1 then | |
| 1423 | screamlol.SoundId = "rbxassetid://232921573" | |
| 1424 | screamlol:play() | |
| 1425 | end | |
| 1426 | ||
| 1427 | if valuescreavaluescream == 2 then | |
| 1428 | screamlol.SoundId = "rbxassetid://166221318" | |
| 1429 | screamlol:play() | |
| 1430 | end | |
| 1431 | ||
| 1432 | if valuescreavaluescream == 3 then | |
| 1433 | screamlol.SoundId = "rbxassetid://166221367" | |
| 1434 | screamlol:play() | |
| 1435 | end | |
| 1436 | ||
| 1437 | if valuescreavaluescream == 4 then | |
| 1438 | screamlol.SoundId = "rbxassetid://166221367" | |
| 1439 | screamlol:play() | |
| 1440 | end | |
| 1441 | ||
| 1442 | if valuescreavaluescream == 5 then | |
| 1443 | screamlol.SoundId = "rbxassetid://166221285" | |
| 1444 | screamlol:play() | |
| 1445 | end | |
| 1446 | ||
| 1447 | if valuescreavaluescream == 6 then | |
| 1448 | screamlol.SoundId = "rbxassetid://232921590" | |
| 1449 | screamlol:play() | |
| 1450 | end | |
| 1451 | screamlol.Volume = 2.3250000476837 | |
| 1452 | PainSound.Parent = owigotstabaaaaAAAA | |
| 1453 | PainSound.Looped = true | |
| 1454 | PainSound.SoundId = "rbxassetid://2730451211" | |
| 1455 | PainSound.Volume = 0.94800001382828 | |
| 1456 | PainSound.PlaybackSpeed = 1 | |
| 1457 | PainSound.MaxDistance = 963 | |
| 1458 | - | chatgui(rag.Head, "*dies cutely*", "White") |
| 1458 | + | |
| 1459 | screamlol:Play() | |
| 1460 | PainSound:Play() | |
| 1461 | end | |
| 1462 | if humanoid then | |
| 1463 | sensorbrick:destroy() | |
| 1464 | stabsound:Play() | |
| 1465 | local bleed = Instance.new("Sound", part)
| |
| 1466 | bleed.SoundId = "rbxassetid://244502094" | |
| 1467 | PrintText("Nice, You Just Impaled That Guy With Your Knife!")
| |
| 1468 | PrintText("Humanoid Hit - "..part.Parent.Name..", Nice.")
| |
| 1469 | bleed.Volume = 0.3 | |
| 1470 | bleed.PlaybackSpeed = 1.1 | |
| 1471 | bleed.Parent = part | |
| 1472 | bleed:Play() | |
| 1473 | humanoid.Name = "Caught lmao" | |
| 1474 | if humanoid.MaxHealth > 300 or humanoid.Health > 300 then | |
| 1475 | humanoid.MaxHealth = 100 | |
| 1476 | humanoid.Health = 100 | |
| 1477 | end | |
| 1478 | humanoid.PlatformStand = true | |
| 1479 | wait(0.01) | |
| 1480 | humanoid.PlatformStand = true | |
| 1481 | humanoid.PlatformStand = true | |
| 1482 | if humanoid.Parent:findFirstChild("HumanoidRootPart") then
| |
| 1483 | humanoid.Parent:findFirstChild("HumanoidRootPart"):destroy()
| |
| 1484 | end | |
| 1485 | victimshumanoid = humanoid | |
| 1486 | if humanoid.Parent:findFirstChild("Torso") then
| |
| 1487 | if victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder") then
| |
| 1488 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 1489 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 1490 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Arm")
| |
| 1491 | glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 1492 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 1493 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Arm"))
| |
| 1494 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 1495 | limbcollider.Shape = "Cylinder" | |
| 1496 | limbcollider.Transparency = 1 | |
| 1497 | limbcollider.Name = "LimbCollider" | |
| 1498 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 1499 | limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Arm")
| |
| 1500 | limbcolliderweld.Part1 = limbcollider | |
| 1501 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 1502 | victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder"):destroy()
| |
| 1503 | end | |
| 1504 | if victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder") then
| |
| 1505 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 1506 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 1507 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Arm")
| |
| 1508 | glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1509 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1510 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Arm"))
| |
| 1511 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 1512 | limbcollider.Shape = "Cylinder" | |
| 1513 | limbcollider.Name = "LimbCollider" | |
| 1514 | limbcollider.Transparency = 1 | |
| 1515 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 1516 | limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Arm")
| |
| 1517 | limbcolliderweld.Part1 = limbcollider | |
| 1518 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 1519 | victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder"):destroy()
| |
| 1520 | end | |
| 1521 | if victimshumanoid.Parent.Torso:findFirstChild("Left Hip") then
| |
| 1522 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 1523 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 1524 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Leg")
| |
| 1525 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 1526 | - | if humanoid == nil then |
| 1526 | + | |
| 1527 | - | PrintText("u missed lol")
|
| 1527 | + | |
| 1528 | - | local missound = math.random(1,4) |
| 1528 | + | |
| 1529 | - | misslol = Instance.new("Sound")
|
| 1529 | + | |
| 1530 | - | misslol.Parent = Knife |
| 1530 | + | |
| 1531 | - | misslol.MaxDistance = 250 |
| 1531 | + | |
| 1532 | - | misslol.Volume = 1.446 |
| 1532 | + | |
| 1533 | - | misslol.PlaybackSpeed = 1.253 |
| 1533 | + | |
| 1534 | - | if missound == 1 then |
| 1534 | + | |
| 1535 | - | misslol.SoundId = "rbxassetid://4307044473" |
| 1535 | + | |
| 1536 | - | misslol:play() |
| 1536 | + | |
| 1537 | end | |
| 1538 | if victimshumanoid.Parent.Torso:findFirstChild("Right Hip") then
| |
| 1539 | - | if missound == 2 then |
| 1539 | + | |
| 1540 | - | misslol.SoundId = "rbxassetid://4307044751" |
| 1540 | + | |
| 1541 | - | misslol:play() |
| 1541 | + | |
| 1542 | glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 1543 | glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 1544 | - | if missound == 3 then |
| 1544 | + | |
| 1545 | - | misslol.SoundId = "rbxassetid://4307045008" |
| 1545 | + | |
| 1546 | - | misslol:play() |
| 1546 | + | |
| 1547 | limbcollider.Name = "LimbCollider" | |
| 1548 | limbcollider.Transparency = 1 | |
| 1549 | - | if missound == 4 then |
| 1549 | + | |
| 1550 | - | misslol.SoundId = "rbxassetid://4307045377" |
| 1550 | + | |
| 1551 | - | misslol:play() |
| 1551 | + | |
| 1552 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 1553 | victimshumanoid.Parent.Torso:findFirstChild("Right Hip"):destroy()
| |
| 1554 | end | |
| 1555 | elseif humanoid.Parent:findFirstChild("UpperTorso") then
| |
| 1556 | if victimshumanoid.Parent.UpperTorso:findFirstChild("NeckAttachment") then
| |
| 1557 | victimshumanoid.Parent.Archivable = true | |
| 1558 | - | chatgui(headlole, "How do ya like my pointy metal pole hitting you?", "White") |
| 1558 | + | |
| 1559 | for i,v in pairs(zombiecorpse:GetChildren()) do | |
| 1560 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
| 1561 | for q,w in pairs(v:GetChildren()) do | |
| 1562 | - | chatgui(headlole, "dont mind me, just casually putting my knife into "..part.Parent.Name.."!", "White") |
| 1562 | + | |
| 1563 | w:destroy() | |
| 1564 | end | |
| 1565 | end | |
| 1566 | - | chatgui(headlole, "Srry, man, your just so noob i had to end u, srrs.", "White") |
| 1566 | + | |
| 1567 | end | |
| 1568 | local UpperTorso = zombiecorpse.UpperTorso | |
| 1569 | local Humanoid = zombiecorpse:findFirstChildOfClass("Humanoid")
| |
| 1570 | - | chatgui(headlole, "Get noob on.", "White") |
| 1570 | + | |
| 1571 | local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper) | |
| 1572 | local connection = Instance.new('BallSocketConstraint', limb)
| |
| 1573 | connection.LimitsEnabled = true | |
| 1574 | - | chatgui(headlole, "yeart lole.", "White") |
| 1574 | + | |
| 1575 | connection.Attachment1 = attachmenttwo | |
| 1576 | connection.TwistLimitsEnabled = true | |
| 1577 | connection.TwistLowerAngle = twistlower | |
| 1578 | - | chatgui(headlole, "Oh boy, wouldn't wanna be that guy in this situation right now, lol!", "White") |
| 1578 | + | |
| 1579 | local limbcollider = Instance.new("Part", limb)
| |
| 1580 | limbcollider.Size = Vector3.new(0.1,1,1) | |
| 1581 | - | error("idiot")
|
| 1581 | + | |
| 1582 | limbcollider.Name = "LimbCollider" | |
| 1583 | limbcollider.Transparency = 1 | |
| 1584 | limbcollider:BreakJoints() | |
| 1585 | - | chatgui(owigotstabaaaaAAAA, "AAAAAAAAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!!", "White") |
| 1585 | + | |
| 1586 | limbcolliderweld.Part0 = limb | |
| 1587 | limbcolliderweld.Part1 = limbcollider | |
| 1588 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 1589 | end | |
| 1590 | local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper) | |
| 1591 | local connection = Instance.new('HingeConstraint', limb)
| |
| 1592 | connection.LimitsEnabled = true | |
| 1593 | connection.Attachment0 = attachementone | |
| 1594 | connection.Attachment1 = attachmenttwo | |
| 1595 | connection.LimitsEnabled = true | |
| 1596 | connection.LowerAngle = lower | |
| 1597 | connection.UpperAngle = upper | |
| 1598 | local limbcollider = Instance.new("Part", limb)
| |
| 1599 | limbcollider.Size = Vector3.new(0.1,1,1) | |
| 1600 | limbcollider.Shape = "Cylinder" | |
| 1601 | limbcollider.Name = "LimbCollider" | |
| 1602 | limbcollider.Transparency = 1 | |
| 1603 | limbcollider:BreakJoints() | |
| 1604 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 1605 | limbcolliderweld.Part0 = limb | |
| 1606 | limbcolliderweld.Part1 = limbcollider | |
| 1607 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 1608 | end | |
| 1609 | local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
| |
| 1610 | HeadAttachment.Position = Vector3.new(0, -0.5, 0) | |
| 1611 | makehingeconnections(Humanoid.Parent.Head, HeadAttachment, UpperTorso.NeckAttachment, -50, 50) | |
| 1612 | makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50) | |
| 1613 | makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -50, 50) | |
| 1614 | makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60) | |
| 1615 | makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20) | |
| 1616 | -- | |
| 1617 | makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -50, 50) | |
| 1618 | makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60) | |
| 1619 | makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20) | |
| 1620 | -- | |
| 1621 | makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -360, 360) | |
| 1622 | makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60) | |
| 1623 | makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20) | |
| 1624 | -- | |
| 1625 | makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -360, 360) | |
| 1626 | makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60) | |
| 1627 | makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20) | |
| 1628 | for i,v in pairs(Humanoid.Parent:GetChildren()) do | |
| 1629 | if v.ClassName == "Accessory" then | |
| 1630 | local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
| |
| 1631 | if attachment1 then | |
| 1632 | for q,w in pairs(Humanoid.Parent:GetChildren()) do | |
| 1633 | if w.ClassName == "Part" then | |
| 1634 | local attachment2 = w:findFirstChild(attachment1.Name) | |
| 1635 | if attachment2 then | |
| 1636 | - | local yeetlolz = math.random(1,4) |
| 1636 | + | |
| 1637 | - | stablol = Instance.new("Sound")
|
| 1637 | + | |
| 1638 | - | stablol.Parent = Knife |
| 1638 | + | |
| 1639 | - | stablol.MaxDistance = 250 |
| 1639 | + | |
| 1640 | - | stablol.Volume = 1.446 |
| 1640 | + | |
| 1641 | - | stablol.PlaybackSpeed = 0.985 |
| 1641 | + | |
| 1642 | - | if yeetlolz == 1 then |
| 1642 | + | |
| 1643 | - | stablol.SoundId = "rbxassetid://4307102517" |
| 1643 | + | |
| 1644 | - | stablol:play() |
| 1644 | + | |
| 1645 | end | |
| 1646 | end | |
| 1647 | - | if yeetlolz == 2 then |
| 1647 | + | |
| 1648 | - | stablol.SoundId = "rbxassetid://4307102878" |
| 1648 | + | |
| 1649 | - | stablol:play() |
| 1649 | + | |
| 1650 | if w.ClassName == "Motor6D" and w.Name ~= "Neck" then | |
| 1651 | w:destroy() | |
| 1652 | - | if yeetlolz == 3 then |
| 1652 | + | |
| 1653 | - | stablol.SoundId = "rbxassetid://4307103510" |
| 1653 | + | |
| 1654 | - | stablol:play() |
| 1654 | + | |
| 1655 | local ragdoll = zombiecorpse | |
| 1656 | if ragdoll:findFirstChild("HumanoidRootPart") then
| |
| 1657 | - | if yeetlolz == 4 then |
| 1657 | + | |
| 1658 | - | stablol.SoundId = "rbxassetid://4307103239" |
| 1658 | + | |
| 1659 | - | stablol:play() |
| 1659 | + | |
| 1660 | end | |
| 1661 | end | |
| 1662 | local got = Instance.new("ObjectValue", owner.Character)
| |
| 1663 | got.Value = humanoid.Parent | |
| 1664 | got.Name = "Gotem" | |
| 1665 | victimshumanoid = humanoid | |
| 1666 | - | if part.parent.Name == Rufus14 or Lundo_Fett then |
| 1666 | + | |
| 1667 | - | message("wait~ LOL, YOU JUST IMPALED A DEV THAT MADE THIS SCRIPT WITH YOUR KNIFE. HAHAHHA, NICE MAN, THAT'S EPIC!.")
|
| 1667 | + | |
| 1668 | end | |
| 1669 | local function bleed() | |
| 1670 | local thehumanoid = owner.Character:findFirstChild("Gotem").Value:findFirstChildOfClass("Humanoid")
| |
| 1671 | local thehead = owner.Character:findFirstChild("Gotem").Value:findFirstChild("Head")
| |
| 1672 | owner.Character.Gotem:destroy() | |
| 1673 | while wait(0.1) and victimshumanoid.Health > 0 and thehead do | |
| 1674 | thehumanoid.Health = thehumanoid.Health - 0.43 | |
| 1675 | PrintText("Dealt '0.43' Damage To Victim!")
| |
| 1676 | if thehumanoid.Health <= 0 then | |
| 1677 | thehumanoid.MaxHealth = 0 | |
| 1678 | thehumanoid.Health = 0 | |
| 1679 | diefromstab(PainSound) | |
| 1680 | game.Chat:Chat(owigotstabaaaaAAAA, "*dies due to blood loss And failure to do anything except be in pain and be on the ground lol*", "White") | |
| 1681 | PrintText(part.Parent.Name.." Has Bled Out Due To You Impaling Them With Your Knife, Epic!!!") | |
| 1682 | ||
| 1683 | PainSound:Stop() | |
| 1684 | break | |
| 1685 | end | |
| 1686 | local blood = Instance.new("Part", workspace)
| |
| 1687 | local randomsize = math.random(1,3) | |
| 1688 | if randomsize == 1 then | |
| 1689 | blood.Size = Vector3.new(0.3,0.3,0.3) | |
| 1690 | end | |
| 1691 | if randomsize == 2 then | |
| 1692 | blood.Size = Vector3.new(0.4,0.4,0.4) | |
| 1693 | end | |
| 1694 | if randomsize == 3 then | |
| 1695 | blood.Size = Vector3.new(0.2,0.2,0.2) | |
| 1696 | end | |
| 1697 | blood.CustomPhysicalProperties = PhysicalProperties.new(0,0,0) | |
| 1698 | blood.Elasticity = 0 | |
| 1699 | blood.Shape = "Ball" | |
| 1700 | blood.Color = bloodcolor | |
| 1701 | blood.Transparency = 1 | |
| 1702 | blood.Name = "Bitch ass blood" | |
| 1703 | blood.CFrame = part.CFrame * CFrame.new(0,-1.5,0.3) | |
| 1704 | local velocity = Instance.new("BodyVelocity", blood)
| |
| 1705 | velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1706 | velocity.Velocity = part.CFrame.lookVector * -math.random(30,40) + Vector3.new(math.random(-15,15),math.random(-15,15),0) | |
| 1707 | game.Debris:AddItem(velocity, 0.2) | |
| 1708 | local function hit(part) | |
| 1709 | if part.Name == "okyoucantouchnow" and part.Size.y < 10 then | |
| 1710 | blood:destroy() | |
| 1711 | part.Size = part.Size + Vector3.new(0,0.3,0.3) | |
| 1712 | end | |
| 1713 | if part.Name ~= "Bitch ass blood" and part.Name ~= "LimbCollider" and not part.Parent:findFirstChildOfClass("Humanoid") and part.Parent.ClassName ~= "Hat" and part.Parent.ClassName ~= "Accessory" and part.Parent.Parent.ClassName ~= "Accessory" and part.ClassName ~= "Accessory" then
| |
| 1714 | wait(0.2) | |
| 1715 | blood.Name = "okyoucantouchnow" | |
| 1716 | blood.Anchored = true | |
| 1717 | blood.CanCollide = false | |
| 1718 | blood.Material = "Glass" | |
| 1719 | blood.Shape = "Cylinder" | |
| 1720 | blood.Size = Vector3.new(0.1,1.5,1.5) | |
| 1721 | if part.Size.y < part.Size.z and part.Size.y < part.Size.x then | |
| 1722 | local pos = blood.Position | |
| 1723 | blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 1724 | blood.Position = pos | |
| 1725 | elseif part.Size.x < part.Size.y and part.Size.x < part.Size.z then | |
| 1726 | local pos = blood.Position | |
| 1727 | blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1728 | blood.Position = pos | |
| 1729 | elseif part.Size.z < part.Size.y and part.Size.z < part.Size.x then | |
| 1730 | local pos = blood.Position | |
| 1731 | blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0) | |
| 1732 | blood.Position = pos | |
| 1733 | end | |
| 1734 | wait(8) | |
| 1735 | for i = 1,50 do | |
| 1736 | blood.Transparency = 1 + 0.02 | |
| 1737 | wait() | |
| 1738 | end | |
| 1739 | blood:destroy() | |
| 1740 | end | |
| 1741 | end | |
| 1742 | blood.Touched:connect(hit) | |
| 1743 | end | |
| 1744 | if thehumanoid.Parent:findFirstChild("Torso") then
| |
| 1745 | thehumanoid.Parent.Archivable = true | |
| 1746 | for i,v in pairs(thehumanoid.Parent:GetChildren()) do | |
| 1747 | if v.ClassName == "Accessory" then | |
| 1748 | local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
| |
| 1749 | if attachment1 then | |
| 1750 | for q,w in pairs(thehumanoid.Parent:GetChildren()) do | |
| 1751 | if w.ClassName == "Part" then | |
| 1752 | local attachment2 = w:findFirstChild(attachment1.Name) | |
| 1753 | if attachment2 then | |
| 1754 | local hinge = Instance.new("HingeConstraint", v.Handle)
| |
| 1755 | hinge.Attachment0 = attachment1 | |
| 1756 | hinge.Attachment1 = attachment2 | |
| 1757 | hinge.LimitsEnabled = true | |
| 1758 | hinge.LowerAngle = 0 | |
| 1759 | hinge.UpperAngle = 0 | |
| 1760 | end | |
| 1761 | end | |
| 1762 | end | |
| 1763 | end | |
| 1764 | end | |
| 1765 | end | |
| 1766 | local rag = thehumanoid.Parent:Clone() | |
| 1767 | rag:findFirstChildOfClass("Humanoid").Health = 0
| |
| 1768 | rag:findFirstChildOfClass("Humanoid").PlatformStand = true
| |
| 1769 | for i,v in pairs(thehumanoid.Parent:GetChildren()) do | |
| 1770 | if v.ClassName == "Accessory" or v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Sound" then | |
| 1771 | v:destroy() | |
| 1772 | end | |
| 1773 | end | |
| 1774 | rag.Parent = workspace | |
| 1775 | game.Debris:AddItem(rag, 15) | |
| 1776 | game.Chat:Chat(rag.Head, "*dies due to blood loss And failure to do anything except be in pain and be on the ground lol*", "White") | |
| 1777 | end | |
| 1778 | end | |
| 1779 | spawn(bleed) | |
| 1780 | end | |
| 1781 | end | |
| 1782 | sensorbrick.Touched:connect(stabbed) | |
| 1783 | epicterrariaswoosh:Play() | |
| 1784 | for i = 0,1 , 0.05 do | |
| 1785 | head.C0 = head.C0:lerp(CFrame.new(0, 1.5, 0, 0.866025567, 0, -0.499999613, 0, 1, 0, 0.499999613, 0, 0.866025567),i) | |
| 1786 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.866025448, 0, 0.499999881, 0, 1, 0, -0.499999881, 0, 0.866025448),i) | |
| 1787 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.64153862, 0.121687889, -0.584392548, 0.938770175, -0.34430477, 0.0128265321, 0.223452091, 0.580076039, -0.783314049, 0.262258351, 0.738218009, 0.621493936),i) | |
| 1788 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.0669875145, 0.25, 1, -1.49011612e-07, 2.08616257e-07, 4.09781897e-08, 0.86602515, 0.500000298, -2.38418579e-07, -0.500000298, 0.866025209),i) | |
| 1789 | game:GetService("RunService").Heartbeat:wait()
| |
| 1790 | end | |
| 1791 | sensorbrick:destroy() | |
| 1792 | for i = 0,1 , 0.05 do | |
| 1793 | head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i) | |
| 1794 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i) | |
| 1795 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i) | |
| 1796 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 1797 | game:GetService("RunService").Heartbeat:wait()
| |
| 1798 | end | |
| 1799 | rightarm:destroy() | |
| 1800 | leftarm:destroy() | |
| 1801 | canattack = true | |
| 1802 | canattack = true | |
| 1803 | elseif attackname == "Grab" then | |
| 1804 | local grabbed = false | |
| 1805 | rightarm = Instance.new("Weld", owner.Character.Torso)
| |
| 1806 | rightarm.Part0 = owner.Character.Torso | |
| 1807 | rightarm.Part1 = owner.Character["Right Arm"] | |
| 1808 | rightarm.C0 = CFrame.new(1.5,0,0) | |
| 1809 | rightarm.Name = "RightArmWeld" | |
| 1810 | leftarm = Instance.new("Weld", owner.Character.Torso)
| |
| 1811 | leftarm.Part0 = owner.Character.Torso | |
| 1812 | leftarm.Part1 = owner.Character["Left Arm"] | |
| 1813 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
| 1814 | leftarm.Name = "LeftArmWeld" | |
| 1815 | for i = 0,1 , 0.05 do | |
| 1816 | knifeweld.C0 = knifeweld.C0:lerp(CFrame.new(-0.0147862434, -0.898936272, -0.841812134, -0.996194959, 0.08715415, 0, -0.0871540606, -0.996194839, 0, 0, 0, 1),i) | |
| 1817 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.68301249, 0.316987276, 0, 0.866025448, -0.499999911, 0, 0.499999881, 0.866025388, 0, 0, 0, 1),i) | |
| 1818 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.68301249, 0.316987276, 0, 0.866025329, 0.500000119, 0, -0.50000006, 0.866025269, 1.77635684e-15, 0, 0, 1),i) | |
| 1819 | game:GetService("RunService").Heartbeat:wait()
| |
| 1820 | end | |
| 1821 | local sensorbrick = Instance.new("Part", Knife)
| |
| 1822 | sensorbrick.Size = Knife.Size | |
| 1823 | sensorbrick.CanCollide = false | |
| 1824 | sensorbrick.Transparency = 1 | |
| 1825 | sensorbrick:BreakJoints() | |
| 1826 | local sensorweld = Instance.new("Weld", sensorbrick)
| |
| 1827 | sensorweld.Part0 = Knife | |
| 1828 | sensorweld.Part1 = sensorbrick | |
| 1829 | local function gotem(part) | |
| 1830 | local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
| |
| 1831 | isr15 = false | |
| 1832 | local humrootyes = false | |
| 1833 | if humanoid then | |
| 1834 | grabbed = true | |
| 1835 | humanoid.Name = "Caught lmao" | |
| 1836 | humanoid.PlatformStand = true | |
| 1837 | if humanoid.MaxHealth > 300 or humanoid.Health > 300 then | |
| 1838 | humanoid.MaxHealth = 100 | |
| 1839 | humanoid.Health = 100 | |
| 1840 | end | |
| 1841 | if humanoid.Parent:findFirstChild("HumanoidRootPart") then
| |
| 1842 | humanoid.Parent:findFirstChild("HumanoidRootPart"):destroy()
| |
| 1843 | end | |
| 1844 | sensorbrick:destroy() | |
| 1845 | if humanoid.Parent:findFirstChild("Torso") then
| |
| 1846 | isr15 = false | |
| 1847 | elseif humanoid.Parent:findFirstChild("UpperTorso") then
| |
| 1848 | isr15 = true | |
| 1849 | end | |
| 1850 | local got = Instance.new("ObjectValue", owner.Character)
| |
| 1851 | got.Value = humanoid.Parent | |
| 1852 | got.Name = "Gotem" | |
| 1853 | victimshumanoid = humanoid | |
| 1854 | if isr15 then | |
| 1855 | victimweld = Instance.new("Weld", owner.Character.Torso)
| |
| 1856 | victimweld.Part0 = owner.Character.Torso | |
| 1857 | victimweld.Part1 = humanoid.Parent:findFirstChild("UpperTorso")
| |
| 1858 | victimweld.C0 = CFrame.new(-0.331410885, 0.105233192, -0.84903717, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,0.1,0) | |
| 1859 | else | |
| 1860 | victimweld = Instance.new("Weld", owner.Character.Torso)
| |
| 1861 | victimweld.Part0 = owner.Character.Torso | |
| 1862 | victimweld.Part1 = humanoid.Parent:findFirstChild("Torso")
| |
| 1863 | victimweld.C0 = CFrame.new(-0.331410885, 0.105233192, -0.84903717, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,-0.2,0) | |
| 1864 | end | |
| 1865 | end | |
| 1866 | end | |
| 1867 | sensorbrick.Touched:connect(gotem) | |
| 1868 | for i = 0,1 , 0.05 do | |
| 1869 | knifeweld.C0 = knifeweld.C0:lerp(CFrame.new(-0.0147862434, -0.898936272, -0.841812134, -0.996194959, 0.08715415, 0, -0.0871540606, -0.996194839, 0, 0, 0, 1),i) | |
| 1870 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.20000029, 1.1545198, -0.541671753, -4.95052781e-08, -7.56642393e-08, 0.999999881, 0.996194541, 0.0871555433, -7.33473655e-08, -0.0871557295, 0.996194601, -3.99016855e-08),i) | |
| 1871 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.48883009, 0.500000238, -0.903129578, 0.984807909, -0.173648104, 1.32450051e-08, -1.58932529e-08, -1.08499073e-07, -1, 0.173648104, 0.984807849, -1.08824921e-07),i) | |
| 1872 | game:GetService("RunService").Heartbeat:wait()
| |
| 1873 | end | |
| 1874 | sensorbrick:destroy() | |
| 1875 | if not grabbed then | |
| 1876 | wait(0.5) | |
| 1877 | for i = 0,1 , 0.05 do | |
| 1878 | knifeweld.C0 = knifeweld.C0:lerp(CFrame.new(-0.0147867203, -0.89893651, -0.841812134, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i) | |
| 1879 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i) | |
| 1880 | - | chatgui(owigotstabaaaaAAAA, "*ow oof my blood eek it lowered to half so im dead xd lol sksksksksk*", "White") |
| 1880 | + | |
| 1881 | game:GetService("RunService").Heartbeat:wait()
| |
| 1882 | - | local dialogstabdead = math.random(1,6) |
| 1882 | + | |
| 1883 | rightarm:destroy() | |
| 1884 | - | if dialogstabdead == 1 then |
| 1884 | + | |
| 1885 | - | if thehumanoid then |
| 1885 | + | |
| 1886 | - | chatgui(headlole, "Pethetic, at least the other people i attacked TRIED to survive.", "White") |
| 1886 | + | |
| 1887 | local deb = Instance.new("ObjectValue", owner.Character)
| |
| 1888 | deb.Name = "debounceorwhat" | |
| 1889 | game.Debris:AddItem(deb, 0.1) | |
| 1890 | - | if dialogstabdead == 2 then |
| 1890 | + | |
| 1891 | - | if thehumanoid then |
| 1891 | + | |
| 1892 | - | chatgui(headlole, "Well, you're now dead.", "White") |
| 1892 | + | |
| 1893 | local atta = Instance.new("ObjectValue", owner.Character)
| |
| 1894 | atta.Name = "reallyattacking" | |
| 1895 | for i = 0,1 , 0.05 do | |
| 1896 | - | if dialogstabdead == 3 then |
| 1896 | + | |
| 1897 | - | if thehumanoid then |
| 1897 | + | |
| 1898 | - | chatgui(headlole, "say hi to half of your blood leaving your body!", "White") |
| 1898 | + | |
| 1899 | slide:Play() | |
| 1900 | for i = 0,0.9 , 0.05 do | |
| 1901 | if owner.Character:findFirstChild("Gotem") then
| |
| 1902 | - | if dialogstabdead == 4 then |
| 1902 | + | |
| 1903 | - | if thehumanoid then |
| 1903 | + | |
| 1904 | - | chatgui(headlole, "Sorry for the slow death,"..part.Parent.Name.."!", "White") |
| 1904 | + | |
| 1905 | owner.Character:findFirstChild("Gotem").Value.Head.Neck.C0 = owner.Character:findFirstChild("Gotem").Value.Head.Neck.C0 * CFrame.fromEulerAnglesXYZ(0.015,0,0)
| |
| 1906 | end | |
| 1907 | end | |
| 1908 | - | if dialogstabdead == 5 then |
| 1908 | + | |
| 1909 | - | if thehumanoid then |
| 1909 | + | |
| 1910 | - | chatgui(headlole, "yetg..", "White") |
| 1910 | + | |
| 1911 | owner.Character:findFirstChild("Gotem").Value.Torso.Neck.C0 = owner.Character:findFirstChild("Gotem").Value.Torso.Neck.C0 * CFrame.fromEulerAnglesXYZ(-0.015,0,0)
| |
| 1912 | end | |
| 1913 | end | |
| 1914 | - | if dialogstabdead == 6 then |
| 1914 | + | |
| 1915 | - | if thehumanoid then |
| 1915 | + | |
| 1916 | - | chatgui(headlole, "Oh, you've bled out, darn.", "White") |
| 1916 | + | |
| 1917 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.21583223, 1.3414166, -0.553192139, 0.866025507, -0.492403954, 0.0868241563, -0.25, -0.57681787, -0.777676642, 0.433012813, 0.651781797, -0.622639954),i) | |
| 1918 | game:GetService("RunService").Heartbeat:wait()
| |
| 1919 | end | |
| 1920 | wait(0.5) | |
| 1921 | local bleed = Instance.new("Sound", knife)
| |
| 1922 | bleed.SoundId = "rbxassetid://244502094" | |
| 1923 | bleed.Volume = 0.3 | |
| 1924 | bleed.PlaybackSpeed = 1.1 | |
| 1925 | bleed.Parent = part | |
| 1926 | bleed:Play() | |
| 1927 | stabsound:Play() | |
| 1928 | chokesound:Play() | |
| 1929 | chokesound.TimePosition = 3 | |
| 1930 | local function bleed() | |
| 1931 | local thehumanoid = owner.Character:findFirstChild("Gotem").Value:findFirstChildOfClass("Humanoid")
| |
| 1932 | local thehead = owner.Character:findFirstChild("Gotem").Value:findFirstChild("Head")
| |
| 1933 | owner.Character.Gotem:destroy() | |
| 1934 | while wait(0.1) and victimshumanoid.Health > 0 and thehead do | |
| 1935 | thehumanoid.Health = thehumanoid.Health - 0.43 | |
| 1936 | PrintText("Dealt '0.43' Damage To Victim!")
| |
| 1937 | if victimshumanoid.Health <= 0 then | |
| 1938 | break | |
| 1939 | end | |
| 1940 | local blood = Instance.new("Part", workspace)
| |
| 1941 | local randomsize = math.random(1,3) | |
| 1942 | if randomsize == 1 then | |
| 1943 | blood.Size = Vector3.new(0.3,0.3,0.3) | |
| 1944 | end | |
| 1945 | if randomsize == 2 then | |
| 1946 | blood.Size = Vector3.new(0.4,0.4,0.4) | |
| 1947 | end | |
| 1948 | if randomsize == 3 then | |
| 1949 | blood.Size = Vector3.new(0.2,0.2,0.2) | |
| 1950 | end | |
| 1951 | blood.CustomPhysicalProperties = PhysicalProperties.new(0,0,0) | |
| 1952 | blood.Elasticity = 0 | |
| 1953 | blood.Shape = "Ball" | |
| 1954 | blood.Color = bloodcolor | |
| 1955 | blood.Transparency = 1 | |
| 1956 | blood.Name = "Bitch ass blood" | |
| 1957 | blood.CFrame = thehead.CFrame * CFrame.new(0,0,-0.3) | |
| 1958 | local velocity = Instance.new("BodyVelocity", blood)
| |
| 1959 | velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1960 | velocity.Velocity = thehead.CFrame.lookVector * math.random(30,40) + Vector3.new(math.random(-15,15),math.random(-15,15),0) | |
| 1961 | game.Debris:AddItem(velocity, 0.2) | |
| 1962 | local function hit(part) | |
| 1963 | if part.Name == "okyoucantouchnow" and part.Size.y < 10 then | |
| 1964 | blood:destroy() | |
| 1965 | part.Size = part.Size + Vector3.new(0,0.3,0.3) | |
| 1966 | end | |
| 1967 | if part.Name ~= "Bitch ass blood" and part.Name ~= "LimbCollider" and not part.Parent:findFirstChildOfClass("Humanoid") and part.Parent.ClassName ~= "Hat" and part.Parent.ClassName ~= "Accessory" and part.Parent.Parent.ClassName ~= "Accessory" and part.ClassName ~= "Accessory" then
| |
| 1968 | wait(0.2) | |
| 1969 | blood.Name = "okyoucantouchnow" | |
| 1970 | blood.Anchored = true | |
| 1971 | blood.CanCollide = false | |
| 1972 | blood.Material = "Glass" | |
| 1973 | blood.Shape = "Cylinder" | |
| 1974 | blood.Size = Vector3.new(0.1,1.5,1.5) | |
| 1975 | if part.Size.y < part.Size.z and part.Size.y < part.Size.x then | |
| 1976 | local pos = blood.Position | |
| 1977 | blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 1978 | blood.Position = pos | |
| 1979 | elseif part.Size.x < part.Size.y and part.Size.x < part.Size.z then | |
| 1980 | local pos = blood.Position | |
| 1981 | blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1982 | blood.Position = pos | |
| 1983 | elseif part.Size.z < part.Size.y and part.Size.z < part.Size.x then | |
| 1984 | local pos = blood.Position | |
| 1985 | blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0) | |
| 1986 | blood.Position = pos | |
| 1987 | end | |
| 1988 | wait(8) | |
| 1989 | for i = 1,50 do | |
| 1990 | blood.Transparency = 1 + 0.02 | |
| 1991 | wait() | |
| 1992 | end | |
| 1993 | blood:destroy() | |
| 1994 | end | |
| 1995 | end | |
| 1996 | blood.Touched:connect(hit) | |
| 1997 | end | |
| 1998 | if thehumanoid.Parent:findFirstChild("Torso") then
| |
| 1999 | thehumanoid.Parent.Archivable = true | |
| 2000 | for i,v in pairs(thehumanoid.Parent:GetChildren()) do | |
| 2001 | if v.ClassName == "Accessory" then | |
| 2002 | local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
| |
| 2003 | if attachment1 then | |
| 2004 | for q,w in pairs(thehumanoid.Parent:GetChildren()) do | |
| 2005 | if w.ClassName == "Part" then | |
| 2006 | local attachment2 = w:findFirstChild(attachment1.Name) | |
| 2007 | if attachment2 then | |
| 2008 | local hinge = Instance.new("HingeConstraint", v.Handle)
| |
| 2009 | hinge.Attachment0 = attachment1 | |
| 2010 | hinge.Attachment1 = attachment2 | |
| 2011 | hinge.LimitsEnabled = true | |
| 2012 | hinge.LowerAngle = 0 | |
| 2013 | - | chatgui(rag.Head, "*dies due to blood loss And failure to do anything except be in pain and be on the ground lol*", "White") |
| 2013 | + | |
| 2014 | end | |
| 2015 | end | |
| 2016 | end | |
| 2017 | end | |
| 2018 | end | |
| 2019 | end | |
| 2020 | local rag = thehumanoid.Parent:Clone() | |
| 2021 | rag:findFirstChildOfClass("Humanoid").Health = 0
| |
| 2022 | rag:findFirstChildOfClass("Humanoid").PlatformStand = true
| |
| 2023 | for i,v in pairs(thehumanoid.Parent:GetChildren()) do | |
| 2024 | if v.ClassName == "Accessory" or v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Sound" then | |
| 2025 | v:destroy() | |
| 2026 | end | |
| 2027 | end | |
| 2028 | rag.Parent = workspace | |
| 2029 | game.Debris:AddItem(rag, 15) | |
| 2030 | end | |
| 2031 | end | |
| 2032 | spawn(bleed) | |
| 2033 | if victimshumanoid.Parent ~= nil then | |
| 2034 | if victimshumanoid.Parent.Parent ~= nil then | |
| 2035 | if isr15 then | |
| 2036 | if victimshumanoid.Parent.UpperTorso:findFirstChild("NeckAttachment") then
| |
| 2037 | victimshumanoid.Parent.Archivable = true | |
| 2038 | local zombiecorpse = victimshumanoid.Parent | |
| 2039 | for i,v in pairs(zombiecorpse:GetChildren()) do | |
| 2040 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
| 2041 | for q,w in pairs(v:GetChildren()) do | |
| 2042 | if w.ClassName == "BodyPosition" or w.ClassName == "BodyVelocity" then | |
| 2043 | w:destroy() | |
| 2044 | end | |
| 2045 | end | |
| 2046 | end | |
| 2047 | end | |
| 2048 | local UpperTorso = zombiecorpse.UpperTorso | |
| 2049 | local Humanoid = zombiecorpse:findFirstChildOfClass("Humanoid")
| |
| 2050 | Humanoid.PlatformStand = true | |
| 2051 | local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper) | |
| 2052 | local connection = Instance.new('BallSocketConstraint', limb)
| |
| 2053 | connection.LimitsEnabled = true | |
| 2054 | connection.Attachment0 = attachementone | |
| 2055 | connection.Attachment1 = attachmenttwo | |
| 2056 | connection.TwistLimitsEnabled = true | |
| 2057 | connection.TwistLowerAngle = twistlower | |
| 2058 | connection.TwistUpperAngle = twistupper | |
| 2059 | local limbcollider = Instance.new("Part", limb)
| |
| 2060 | limbcollider.Size = Vector3.new(0.1,1,1) | |
| 2061 | limbcollider.Shape = "Cylinder" | |
| 2062 | limbcollider.Name = "LimbCollider" | |
| 2063 | limbcollider.Transparency = 1 | |
| 2064 | limbcollider:BreakJoints() | |
| 2065 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 2066 | limbcolliderweld.Part0 = limb | |
| 2067 | limbcolliderweld.Part1 = limbcollider | |
| 2068 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 2069 | end | |
| 2070 | local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper) | |
| 2071 | local connection = Instance.new('HingeConstraint', limb)
| |
| 2072 | connection.LimitsEnabled = true | |
| 2073 | connection.Attachment0 = attachementone | |
| 2074 | connection.Attachment1 = attachmenttwo | |
| 2075 | connection.LimitsEnabled = true | |
| 2076 | connection.LowerAngle = lower | |
| 2077 | connection.UpperAngle = upper | |
| 2078 | local limbcollider = Instance.new("Part", limb)
| |
| 2079 | limbcollider.Size = Vector3.new(0.1,1,1) | |
| 2080 | limbcollider.Shape = "Cylinder" | |
| 2081 | limbcollider.Name = "LimbCollider" | |
| 2082 | limbcollider.Transparency = 1 | |
| 2083 | limbcollider:BreakJoints() | |
| 2084 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 2085 | limbcolliderweld.Part0 = limb | |
| 2086 | limbcolliderweld.Part1 = limbcollider | |
| 2087 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 2088 | end | |
| 2089 | local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
| |
| 2090 | HeadAttachment.Position = Vector3.new(0, -0.5, 0) | |
| 2091 | makehingeconnections(Humanoid.Parent.Head, HeadAttachment, UpperTorso.NeckAttachment, -50, 50) | |
| 2092 | makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50) | |
| 2093 | makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -50, 50) | |
| 2094 | makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60) | |
| 2095 | makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20) | |
| 2096 | -- | |
| 2097 | makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -50, 50) | |
| 2098 | makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60) | |
| 2099 | makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20) | |
| 2100 | -- | |
| 2101 | makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -360, 360) | |
| 2102 | makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60) | |
| 2103 | makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20) | |
| 2104 | -- | |
| 2105 | makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -360, 360) | |
| 2106 | makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60) | |
| 2107 | makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20) | |
| 2108 | for i,v in pairs(Humanoid.Parent:GetChildren()) do | |
| 2109 | if v.ClassName == "Accessory" then | |
| 2110 | local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
| |
| 2111 | if attachment1 then | |
| 2112 | for q,w in pairs(Humanoid.Parent:GetChildren()) do | |
| 2113 | if w.ClassName == "Part" then | |
| 2114 | local attachment2 = w:findFirstChild(attachment1.Name) | |
| 2115 | if attachment2 then | |
| 2116 | local hinge = Instance.new("HingeConstraint", v.Handle)
| |
| 2117 | hinge.Attachment0 = attachment1 | |
| 2118 | hinge.Attachment1 = attachment2 | |
| 2119 | hinge.LimitsEnabled = true | |
| 2120 | hinge.LowerAngle = 0 | |
| 2121 | hinge.UpperAngle = 0 | |
| 2122 | end | |
| 2123 | end | |
| 2124 | end | |
| 2125 | end | |
| 2126 | end | |
| 2127 | end | |
| 2128 | for i,v in pairs(zombiecorpse:GetChildren()) do | |
| 2129 | for q,w in pairs(v:GetChildren()) do | |
| 2130 | if w.ClassName == "Motor6D" and w.Name ~= "Neck" then | |
| 2131 | w:destroy() | |
| 2132 | end | |
| 2133 | end | |
| 2134 | end | |
| 2135 | local ragdoll = zombiecorpse | |
| 2136 | if ragdoll:findFirstChild("HumanoidRootPart") then
| |
| 2137 | ragdoll.HumanoidRootPart.Anchored = true | |
| 2138 | ragdoll.HumanoidRootPart.CanCollide = false | |
| 2139 | end | |
| 2140 | end | |
| 2141 | else | |
| 2142 | if victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder") then
| |
| 2143 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 2144 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 2145 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Arm")
| |
| 2146 | glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2147 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2148 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Arm"))
| |
| 2149 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 2150 | limbcollider.Shape = "Cylinder" | |
| 2151 | limbcollider.Transparency = 1 | |
| 2152 | limbcollider.Name = "LimbCollider" | |
| 2153 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 2154 | limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Arm")
| |
| 2155 | limbcolliderweld.Part1 = limbcollider | |
| 2156 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 2157 | victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder"):destroy()
| |
| 2158 | end | |
| 2159 | if victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder") then
| |
| 2160 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 2161 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 2162 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Arm")
| |
| 2163 | glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2164 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2165 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Arm"))
| |
| 2166 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 2167 | limbcollider.Shape = "Cylinder" | |
| 2168 | limbcollider.Name = "LimbCollider" | |
| 2169 | limbcollider.Transparency = 1 | |
| 2170 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 2171 | limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Arm")
| |
| 2172 | limbcolliderweld.Part1 = limbcollider | |
| 2173 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 2174 | victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder"):destroy()
| |
| 2175 | end | |
| 2176 | if victimshumanoid.Parent.Torso:findFirstChild("Left Hip") then
| |
| 2177 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 2178 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 2179 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Leg")
| |
| 2180 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2181 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2182 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Leg"))
| |
| 2183 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 2184 | limbcollider.Shape = "Cylinder" | |
| 2185 | limbcollider.Name = "LimbCollider" | |
| 2186 | limbcollider.Transparency = 1 | |
| 2187 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 2188 | limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Leg")
| |
| 2189 | limbcolliderweld.Part1 = limbcollider | |
| 2190 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 2191 | victimshumanoid.Parent.Torso:findFirstChild("Left Hip"):destroy()
| |
| 2192 | end | |
| 2193 | if victimshumanoid.Parent.Torso:findFirstChild("Right Hip") then
| |
| 2194 | local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
| |
| 2195 | glue.Part0 = victimshumanoid.Parent.Torso | |
| 2196 | glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Leg")
| |
| 2197 | glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2198 | glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2199 | local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Leg"))
| |
| 2200 | limbcollider.Size = Vector3.new(1,1.4,1) | |
| 2201 | limbcollider.Shape = "Cylinder" | |
| 2202 | limbcollider.Name = "LimbCollider" | |
| 2203 | limbcollider.Transparency = 1 | |
| 2204 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 2205 | limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Leg")
| |
| 2206 | limbcolliderweld.Part1 = limbcollider | |
| 2207 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 2208 | victimshumanoid.Parent.Torso:findFirstChild("Right Hip"):destroy()
| |
| 2209 | end | |
| 2210 | end | |
| 2211 | end | |
| 2212 | end | |
| 2213 | for i = 0,1 , 0.05 do | |
| 2214 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.43301249, 0.999999762, -0.25, -2.76167526e-07, -0.866025388, 0.49999994, 0.999999881, -2.38418565e-07, 1.05300217e-07, 8.05285971e-09, 0.49999994, 0.866025329),i) | |
| 2215 | game:GetService("RunService").Heartbeat:wait()
| |
| 2216 | end | |
| 2217 | wait(0.5) | |
| 2218 | for i = 0,1 , 0.05 do | |
| 2219 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i) | |
| 2220 | game:GetService("RunService").Heartbeat:wait()
| |
| 2221 | end | |
| 2222 | rightarm:destroy() | |
| 2223 | wait(0.5) | |
| 2224 | victimweld:destroy() | |
| 2225 | if victimshumanoid.Parent ~= nil then | |
| 2226 | if victimshumanoid.Parent.Parent ~= nil then | |
| 2227 | if victimshumanoid.Parent:findFirstChild("Head") then
| |
| 2228 | local vel = Instance.new("BodyVelocity", victimshumanoid.Parent.Head)
| |
| 2229 | vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 2230 | vel.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * math.random(20,30) + Vector3.new(0,15,0) | |
| 2231 | game.Debris:AddItem(vel, 0.2) | |
| 2232 | end | |
| 2233 | end | |
| 2234 | end | |
| 2235 | epicterrariaswoosh:Play() | |
| 2236 | for i = 0,1 , 0.08 do | |
| 2237 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.766044438, 0, -0.642787635, 0, 1, 0, 0.642787635, 0, 0.766044438),i) | |
| 2238 | head.C0 = head.C0:lerp(CFrame.new(0, 1.50000024, 0, 0.766044438, 0, 0.642787635, 0, 1, 0, -0.642787635, 0, 0.766044438),i) | |
| 2239 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.68301201, 0.5, -0.183013916, 0.866025507, 0.5, -3.66506363e-08, -1.35102539e-07, 9.68575407e-08, -0.99999994, -0.50000006, 0.866025448, 1.34606495e-07),i) | |
| 2240 | game:GetService("RunService").Heartbeat:wait()
| |
| 2241 | end | |
| 2242 | wait(0.5) | |
| 2243 | for i = 0,1 , 0.04 do | |
| 2244 | knifeweld.C0 = knifeweld.C0:lerp(CFrame.new(-0.0147867203, -0.89893651, -0.841812134, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i) | |
| 2245 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i) | |
| 2246 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i) | |
| 2247 | head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i) | |
| 2248 | game:GetService("RunService").Heartbeat:wait()
| |
| 2249 | end | |
| 2250 | atta:destroy() | |
| 2251 | leftarm:destroy() | |
| 2252 | canattack = true | |
| 2253 | end | |
| 2254 | end | |
| 2255 | end | |
| 2256 | -- r/FamilyFriendlyKnife | |
| 2257 | attackevent.OnServerEvent:connect(attack) |