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