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