Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created with PenguinAnonymous's compiler
- --PenguinAnonymous is not responsible for damages caused to your game
- --This plugin does not remove things
- --PenguinAnonymous cannot be held resonsible for manual deletion for the purpose of testing
- --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
- --Thank you for using my plugin and enjoy :)
- --It is free to use
- --If you use this plugin to create your own, please give me credit
- --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
- --Errors: Animator,Camera
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Model")
- o2 = Instance.new("Model")
- o3 = Instance.new("Part")
- o4 = Instance.new("SpecialMesh")
- o5 = Instance.new("Sound")
- o6 = Instance.new("Sound")
- o7 = Instance.new("Sound")
- o8 = Instance.new("Sound")
- o9 = Instance.new("Part")
- o10 = Instance.new("Motor6D")
- o11 = Instance.new("Part")
- o12 = Instance.new("Part")
- o13 = Instance.new("Part")
- o14 = Instance.new("Part")
- o15 = Instance.new("Humanoid")
- o16 = Instance.new("Model")
- o18 = Instance.new("Part")
- o19 = Instance.new("Decal")
- o20 = Instance.new("Motor6D")
- o21 = Instance.new("Motor6D")
- o22 = Instance.new("Motor6D")
- o23 = Instance.new("Motor6D")
- o24 = Instance.new("Motor6D")
- o26 = Instance.new("Shirt")
- o27 = Instance.new("CharacterMesh")
- o28 = Instance.new("CharacterMesh")
- o29 = Instance.new("Pants")
- o30 = Instance.new("Animation")
- o31 = Instance.new("CharacterMesh")
- o32 = Instance.new("CharacterMesh")
- o33 = Instance.new("CharacterMesh")
- o34 = Instance.new("Script")
- o35 = Instance.new("Animation")
- o36 = Instance.new("BodyColors")
- o37 = Instance.new("Sound")
- o1.Name = "SCP-106"
- o1.Parent = mas
- o2.Name = "SCP-106"
- o2.Parent = o1
- o3.Name = "Head"
- o3.Parent = o2
- o3.BrickColor = BrickColor.new("Cool yellow")
- o3.Position = Vector3.new(-44.951519, 4.50009727, -215.595367)
- o3.Rotation = Vector3.new(0, -0.610000014, -0.00999999978)
- o3.Elasticity = 0
- o3.FormFactor = Enum.FormFactor.Symmetric
- o3.Friction = 2
- o3.Size = Vector3.new(2, 1, 1)
- o3.CFrame = CFrame.new(-44.951519, 4.50009727, -215.595367, 0.999948144, 9.36979632e-05, -0.0107305422, -9.3640796e-05, 1, 5.84661711e-06, 0.0107301846, -4.8415186e-06, 0.999945283)
- o3.TopSurface = Enum.SurfaceType.Smooth
- o3.Color = Color3.new(0.992157, 0.917647, 0.552941)
- o3.Position = Vector3.new(-44.951519, 4.50009727, -215.595367)
- o4.Parent = o3
- o4.MeshId = "http://www.roblox.com/asset/?id=17392637"
- o4.TextureId = "http://www.roblox.com/asset/?id=188606054"
- o4.MeshType = Enum.MeshType.FileMesh
- o5.Name = "Oldman5"
- o5.Parent = o3
- o5.SoundId = "http://www.roblox.com/asset/?id=188610577"
- o5.Volume = 1
- o5.Looped = true
- o6.Name = "3"
- o6.Parent = o3
- o6.SoundId = "rbxassetid://188614177"
- o6.Volume = 1
- o7.Name = "1"
- o7.Parent = o3
- o7.SoundId = "rbxassetid://188614070"
- o7.Volume = 1
- o8.Name = "2"
- o8.Parent = o3
- o8.SoundId = "rbxassetid://188614117"
- o8.Volume = 1
- o9.Name = "HumanoidRootPart"
- o9.Parent = o2
- o9.BrickColor = BrickColor.new("Bright blue")
- o9.Transparency = 1
- o9.Position = Vector3.new(-44.9516602, 3.00009704, -215.595367)
- o9.Rotation = Vector3.new(0, -0.610000014, -0.00999999978)
- o9.Elasticity = 0
- o9.FormFactor = Enum.FormFactor.Symmetric
- o9.Friction = 2
- o9.Size = Vector3.new(2, 2, 1)
- o9.CFrame = CFrame.new(-44.9516602, 3.00009704, -215.595367, 0.999948144, 9.36979632e-05, -0.0107305422, -9.3640796e-05, 1, 5.84661711e-06, 0.0107301846, -4.8415186e-06, 0.999945283)
- o9.BottomSurface = Enum.SurfaceType.Smooth
- o9.TopSurface = Enum.SurfaceType.Smooth
- o9.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- o9.Position = Vector3.new(-44.9516602, 3.00009704, -215.595367)
- o10.Name = "RootJoint"
- o10.Parent = o9
- o10.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o10.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o10.Part0 = o9
- o10.Part1 = o18
- o10.MaxVelocity = 0.10000000149012
- o11.Name = "Right Leg"
- o11.Parent = o2
- o11.BrickColor = BrickColor.new("Bright blue")
- o11.Position = Vector3.new(-44.4518738, 1.00005031, -215.589996)
- o11.Rotation = Vector3.new(0, -0.610000014, -0.00999999978)
- o11.Elasticity = 0
- o11.FormFactor = Enum.FormFactor.Symmetric
- o11.Friction = 2
- o11.Size = Vector3.new(1, 2, 1)
- o11.CFrame = CFrame.new(-44.4518738, 1.00005031, -215.589996, 0.999948144, 9.36979632e-05, -0.0107305422, -9.3640796e-05, 1, 5.84661711e-06, 0.0107301846, -4.8415186e-06, 0.999945283)
- o11.BottomSurface = Enum.SurfaceType.Smooth
- o11.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- o11.Position = Vector3.new(-44.4518738, 1.00005031, -215.589996)
- o12.Name = "Left Leg"
- o12.Parent = o2
- o12.BrickColor = BrickColor.new("Bright blue")
- o12.Position = Vector3.new(-45.4518204, 1.00014389, -215.600723)
- o12.Rotation = Vector3.new(0, -0.610000014, -0.00999999978)
- o12.Elasticity = 0
- o12.FormFactor = Enum.FormFactor.Symmetric
- o12.Friction = 2
- o12.Size = Vector3.new(1, 2, 1)
- o12.CFrame = CFrame.new(-45.4518204, 1.00014389, -215.600723, 0.999948144, 9.36979632e-05, -0.0107305422, -9.3640796e-05, 1, 5.84661711e-06, 0.0107301846, -4.8415186e-06, 0.999945283)
- o12.BottomSurface = Enum.SurfaceType.Smooth
- o12.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- o12.Position = Vector3.new(-45.4518204, 1.00014389, -215.600723)
- o13.Name = "Right Arm"
- o13.Parent = o2
- o13.BrickColor = BrickColor.new("Cool yellow")
- o13.Position = Vector3.new(-43.4517365, 2.99995661, -215.579269)
- o13.Rotation = Vector3.new(0, -0.610000014, -0.00999999978)
- o13.Elasticity = 0
- o13.FormFactor = Enum.FormFactor.Symmetric
- o13.Friction = 2
- o13.Size = Vector3.new(1, 2, 1)
- o13.CFrame = CFrame.new(-43.4517365, 2.99995661, -215.579269, 0.999948144, 9.36979632e-05, -0.0107305422, -9.3640796e-05, 1, 5.84661711e-06, 0.0107301846, -4.8415186e-06, 0.999945283)
- o13.Color = Color3.new(0.992157, 0.917647, 0.552941)
- o13.Position = Vector3.new(-43.4517365, 2.99995661, -215.579269)
- o14.Name = "Left Arm"
- o14.Parent = o2
- o14.BrickColor = BrickColor.new("Cool yellow")
- o14.Position = Vector3.new(-46.4515839, 3.00023746, -215.611465)
- o14.Rotation = Vector3.new(0, -0.610000014, -0.00999999978)
- o14.Elasticity = 0
- o14.FormFactor = Enum.FormFactor.Symmetric
- o14.Friction = 2
- o14.Size = Vector3.new(1, 2, 1)
- o14.CFrame = CFrame.new(-46.4515839, 3.00023746, -215.611465, 0.999948144, 9.36979632e-05, -0.0107305422, -9.3640796e-05, 1, 5.84661711e-06, 0.0107301846, -4.8415186e-06, 0.999945283)
- o14.Color = Color3.new(0.992157, 0.917647, 0.552941)
- o14.Position = Vector3.new(-46.4515839, 3.00023746, -215.611465)
- o15.Parent = o2
- o15.HealthDisplayDistance = 0
- o15.NameDisplayDistance = 0
- o15.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
- o15.RightLeg = o11
- o15.LeftLeg = o12
- o15.Torso = o9
- o15.Health = inf
- o15.MaxHealth = inf
- o15.WalkSpeed = 7
- o16.Name = "Status"
- o16.Parent = o15
- o18.Name = "Torso"
- o18.Parent = o2
- o18.BrickColor = BrickColor.new("Dark green")
- o18.Position = Vector3.new(-44.9516602, 3.00009704, -215.595367)
- o18.Rotation = Vector3.new(0, -0.610000014, -0.00999999978)
- o18.Anchored = true
- o18.Elasticity = 0
- o18.FormFactor = Enum.FormFactor.Symmetric
- o18.Friction = 2
- o18.Size = Vector3.new(2, 2, 1)
- o18.CFrame = CFrame.new(-44.9516602, 3.00009704, -215.595367, 0.999948144, 9.36979632e-05, -0.0107305422, -9.3640796e-05, 1, 5.84661711e-06, 0.0107301846, -4.8415186e-06, 0.999945283)
- o18.LeftSurface = Enum.SurfaceType.Weld
- o18.RightSurface = Enum.SurfaceType.Weld
- o18.Color = Color3.new(0.156863, 0.498039, 0.278431)
- o18.Position = Vector3.new(-44.9516602, 3.00009704, -215.595367)
- o19.Name = "roblox"
- o19.Parent = o18
- o19.Texture = "http://www.roblox.com/asset/?id=47730520"
- o20.Name = "Neck"
- o20.Parent = o18
- o20.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o20.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o20.Part0 = o18
- o20.Part1 = o3
- o20.MaxVelocity = 0.10000000149012
- o21.Name = "Left Hip"
- o21.Parent = o18
- o21.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o21.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o21.Part0 = o18
- o21.Part1 = o12
- o21.MaxVelocity = 0.10000000149012
- o22.Name = "Right Hip"
- o22.Parent = o18
- o22.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o22.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o22.Part0 = o18
- o22.Part1 = o11
- o22.MaxVelocity = 0.10000000149012
- o23.Name = "Left Shoulder"
- o23.Parent = o18
- o23.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o23.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o23.Part0 = o18
- o23.Part1 = o14
- o23.MaxVelocity = 0.10000000149012
- o24.Name = "Right Shoulder"
- o24.Parent = o18
- o24.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o24.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o24.Part0 = o18
- o24.Part1 = o13
- o24.MaxVelocity = 0.10000000149012
- o26.Name = "Shirt"
- o26.Parent = o2
- o26.ShirtTemplate = "rbxassetid://188608369"
- o27.Name = "Roblox 2.0 Right Leg"
- o27.Parent = o2
- o27.MeshId = 27111882
- o27.BodyPart = Enum.BodyPart.RightLeg
- o28.Name = "Roblox 2.0 torso"
- o28.Parent = o2
- o28.MeshId = 27111894
- o28.BodyPart = Enum.BodyPart.Torso
- o29.Name = "Pants"
- o29.Parent = o2
- o29.PantsTemplate = "rbxassetid://188607890"
- o30.Name = "NeckSnapAnim"
- o30.Parent = o2
- o30.AnimationId = "http://www.roblox.com/asset/?id=188615324"
- o31.Name = "Roblox 2.0 Left Arm"
- o31.Parent = o2
- o31.MeshId = 27111419
- o31.BodyPart = Enum.BodyPart.LeftArm
- o32.Name = "Roblox 2.0 Left Leg"
- o32.Parent = o2
- o32.MeshId = 27111857
- o32.BodyPart = Enum.BodyPart.LeftLeg
- o33.Name = "Roblox 2.0 Right Arm"
- o33.Parent = o2
- o33.MeshId = 27111864
- o33.BodyPart = Enum.BodyPart.RightArm
- o34.Name = "SCP106Main"
- o34.Parent = o2
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- --[[ By: Brutez ]]--
- local SCP106MainScript = script;
- local SCP106 = SCP106MainScript.Parent;
- local Head = SCP106:FindFirstChild("Head");
- local HumanoidRootPart = SCP106:FindFirstChild("HumanoidRootPart");
- local LeftArm = SCP106:FindFirstChild("Left Arm");
- local LeftLeg = SCP106:FindFirstChild("Left Leg");
- local RightArm = SCP106:FindFirstChild("Right Arm");
- local RightLeg = SCP106:FindFirstChild("Right Leg");
- local Torso = SCP106:FindFirstChild("Torso");
- local SCP106Humanoid = SCP106:FindFirstChild("Humanoid");
- local SCP106WalkAnimation = SCP106Humanoid:LoadAnimation(SCP106.WalkAnim);
- repeat Wait(0) until SCP106Humanoid ~= nil
- repeat SCP106Humanoid:TakeDamage(10) SCP106Humanoid.Health = SCP106Humanoid.MaxHealth Wait(0) until SCP106Humanoid.Health == SCP106Humanoid.MaxHealth
- local SpawnForceField = Instance.new("ForceField")
- SpawnForceField.Name = "SpawnForceField"
- SpawnForceField.Parent = SCP106
- function FollowTarget(TargetHumanoid, TargetTorso)
- if not TargetHumanoid or not TargetHumanoid.Parent or TargetHumanoid.Health == 0 or not TargetTorso or not TargetTorso.Parent then
- return
- end
- local SCP106RadiusXAxis = math.random(-2,2)
- local SCP106RadiusYAxis = math.random(-2,2)
- local SCP106RadiusZAxis = math.random(-2,2)
- Torso.CFrame = (Torso.CFrame + Torso.CFrame.lookVector * (SCP106Humanoid.WalkSpeed/30))
- Torso.CFrame = CFrame.new(Torso.Position, TargetTorso.Position)
- SCP106Humanoid:MoveTo(TargetTorso.Position+Vector3.new(SCP106RadiusXAxis,SCP106RadiusYAxis,SCP106RadiusZAxis), TargetTorso)
- end
- function CloseAttack(TargetHumanoid, TargetTorso)
- if not TargetHumanoid or not TargetHumanoid.Parent or TargetHumanoid.Health == 0 or not TargetTorso or not TargetTorso.Parent then
- return
- end
- local NeckSnapAnim = SCP106Humanoid:LoadAnimation(SCP106.NeckSnapAnim);
- NeckSnapAnim:Play()
- Wait(0.2)
- if TargetTorso~=nil and(Torso.Position-TargetTorso.Position).magnitude<=10 then
- local SelectedAttackList = {"NeckSnap1", "NeckSnap2", "NeckSnap3"};
- local SelectedAttackSound = Head[math.random(1, #SelectedAttackList)];
- SelectedAttackSound:Play()
- TargetTorso.Parent.Humanoid:TakeDamage(99999e99999)
- end
- Wait(0.3)
- end
- function FindTarget()
- local ClosestCharacter
- local ClosestHumanoid = nil
- local ClosestTorso = nil
- local ClosestTorsoDistance = 99999e99999
- for TargetCount, TargetModel in pairs(Game.Workspace:GetChildren()) do
- if TargetModel:IsA("Model") and (TargetModel ~= SCP106) and (TargetModel.Name ~= SCP106.Name) and (TargetModel.Name ~= "SCP-173") and (TargetModel.Name ~= "SCP-432-1") and (TargetModel.Name ~= "SCP-049") and (TargetModel.Name ~= "SCP-096") then
- if TargetModel:FindFirstChild("Humanoid")~=nil then
- local humanoid = TargetModel:FindFirstChild("Humanoid")
- local torso = TargetModel:FindFirstChild("Torso")
- if torso ~= nil then
- local TorsoDistance = (torso.Position - Torso.Position).magnitude
- if humanoid and humanoid.Health > 0 and torso and TorsoDistance <= ClosestTorsoDistance then
- ClosestCharacter = TargetModel
- ClosestHumanoid = humanoid
- ClosestTorso = torso
- ClosestTorsoDistance = TorsoDistance
- end
- end
- end
- end
- end
- return ClosestCharacter, ClosestHumanoid, ClosestTorso
- end
- function FindTarget2()
- local ClosestCharacter
- local ClosestHumanoid = nil
- local ClosestTorso = nil
- local ClosestTorsoDistance = 7
- for TargetCount, TargetModel in pairs(Game.Workspace:GetChildren()) do
- if TargetModel:IsA("Model") and (TargetModel ~= SCP106) and (TargetModel.Name ~= SCP106.Name) and (TargetModel.Name ~= "SCP-173") and (TargetModel.Name ~= "SCP-432-1") and (TargetModel.Name ~= "SCP-049") and (TargetModel.Name ~= "SCP-096") then
- if TargetModel:FindFirstChild("Humanoid")~=nil then
- local humanoid = TargetModel:FindFirstChild("Humanoid")
- local torso = TargetModel:FindFirstChild("Torso")
- if torso ~= nil then
- local TorsoDistance = (torso.Position - Torso.Position).magnitude
- if humanoid and humanoid.Health > 0 and torso and TorsoDistance <= ClosestTorsoDistance then
- ClosestCharacter = TargetModel
- ClosestHumanoid = humanoid
- ClosestTorso = torso
- ClosestTorsoDistance = TorsoDistance
- end
- end
- end
- end
- end
- return ClosestCharacter, ClosestHumanoid, ClosestTorso
- end
- Wait(5)
- for DavidHealthCheck = 1,5 do
- SCP106Humanoid.Health = SCP106Humanoid.MaxHealth
- Wait(0)
- end
- SCP106WalkAnimation:Play()
- Torso.Anchored = true
- SpawnForceField:Destroy()
- Head["Oldman5"]:Play()
- if SCP106Humanoid.Health > 0 then
- SCP106["BumpInTheNight"]:Play()
- end
- coroutine.resume(coroutine.create(function()
- while Wait(0) do
- if SCP106Humanoid.Health == 0 or SCP106Humanoid.Health < 0 then
- Torso.Anchored = false
- SCP106["BumpInTheNight"]:Stop()
- SCP106Humanoid.WalkSpeed = 0
- Wait(5)
- SCP106:Destroy()
- end
- if SCP106Humanoid.AutoRotate==false then
- SCP106Humanoid.AutoRotate=true
- end
- if SCP106Humanoid.Jump==true then
- SCP106Humanoid.Jump=false
- end
- if SCP106Humanoid.PlatformStand==true then
- SCP106Humanoid.PlatformStand=false
- end
- if SCP106Humanoid.Sit==true then
- SCP106Humanoid.Sit=false
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- while Wait(0) do
- if SCP106Humanoid.Health ~= 0 or SCP106Humanoid.Health > 0 then
- local character, humanoid, torso = FindTarget()
- if character and character.Parent and humanoid and humanoid.Parent and torso and torso.Parent then
- FollowTarget(humanoid, torso)
- end
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- while Wait(0) do
- if SCP106Humanoid.Health ~= 0 or SCP106Humanoid.Health > 0 then
- local character, humanoid, torso = FindTarget2()
- if character and character.Parent and humanoid and humanoid.Parent and torso and torso.Parent then
- CloseAttack(humanoid, torso)
- end
- end
- end
- end))
- --[[ By: Brutez ]]--
- end,o34)
- end))
- o35.Name = "WalkAnim"
- o35.Parent = o2
- o35.AnimationId = "http://www.roblox.com/asset/?id=188613229"
- o36.Parent = o2
- o36.HeadColor = BrickColor.new("Sand red")
- o36.LeftArmColor = BrickColor.new("Medium red")
- o36.LeftLegColor = BrickColor.new("Medium red")
- o36.RightArmColor = BrickColor.new("Medium red")
- o36.RightLegColor = BrickColor.new("Medium red")
- o36.TorsoColor = BrickColor.new("Sand red")
- o37.Name = "BumpInTheNight"
- o37.Parent = o2
- o37.SoundId = "http://www.roblox.com/asset/?id=188610812"
- o37.Volume = 1
- o37.Looped = true
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = script
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement