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