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:
- 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("Shirt")
- o3 = Instance.new("Hat")
- o4 = Instance.new("Part")
- o5 = Instance.new("Script")
- o6 = Instance.new("Sound")
- o7 = Instance.new("Sound")
- o8 = Instance.new("Sound")
- o9 = Instance.new("SpecialMesh")
- o10 = Instance.new("Part")
- o11 = Instance.new("Part")
- o12 = Instance.new("Part")
- o13 = Instance.new("Part")
- o14 = Instance.new("Sound")
- o15 = Instance.new("Sound")
- o16 = Instance.new("Sound")
- o17 = Instance.new("Sound")
- o18 = Instance.new("Sound")
- o19 = Instance.new("Sound")
- o20 = Instance.new("Sound")
- o21 = Instance.new("Part")
- o22 = Instance.new("PointLight")
- o23 = Instance.new("Sound")
- o24 = Instance.new("Part")
- o25 = Instance.new("Pants")
- o26 = Instance.new("Humanoid")
- o27 = Instance.new("Script")
- o1.Name = "Bigger head"
- o1.Parent = mas
- o2.Name = "Shirt"
- o2.Parent = o1
- o2.ShirtTemplate = "http://www.roblox.com/asset/?id=95741497"
- o3.Parent = o1
- o4.Parent = o3
- o4.Position = Vector3.new(-86.4795151, 5.09999418, 58.7800331)
- o4.Rotation = Vector3.new(0, -90, 0)
- o4.FormFactor = Enum.FormFactor.Custom
- o4.Size = Vector3.new(1.99999952, 0.600000024, 0.999999821)
- o4.CFrame = CFrame.new(-86.4795151, 5.09999418, 58.7800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o4.BottomSurface = Enum.SurfaceType.Weld
- o4.Position = Vector3.new(-86.4795151, 5.09999418, 58.7800331)
- o5.Name = "ChickenSounds"
- o5.Parent = o4
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- -- LOL
- function isWorn()
- return script.Parent.Parent.Parent:FindFirstChild("Humanoid") ~= nil
- end
- while true do
- wait(math.random(5,20))
- if (isWorn()) then
- local name = "Quack" .. math.random(1,3)
- script.Parent:FindFirstChild(name):Play()
- end
- end
- end,o5)
- end))
- o6.Name = "Quack3"
- o6.Parent = o4
- o6.Pitch = 0.5
- o6.SoundId = "http://www.roblox.com/asset/?id=94247848"
- o6.Volume = 1
- o7.Name = "Quack2"
- o7.Parent = o4
- o7.Pitch = 0.40000000596046
- o7.SoundId = "http://www.roblox.com/asset/?id=94247729"
- o7.Volume = 1
- o8.Name = "Quack1"
- o8.Parent = o4
- o8.Pitch = 0.40000000596046
- o8.SoundId = "http://www.roblox.com/asset/?id=94247611"
- o8.Volume = 1
- o9.Parent = o4
- o9.MeshId = "http://www.roblox.com/asset/?id=1047997"
- o9.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
- o9.TextureId = "http://www.roblox.com/asset/?id=1048208"
- o9.MeshType = Enum.MeshType.FileMesh
- o10.Name = "Left Arm"
- o10.Parent = o1
- o10.BrickColor = BrickColor.new("Really red")
- o10.Position = Vector3.new(-86.4795151, 3.00002193, 57.2800331)
- o10.Rotation = Vector3.new(0, -90, 0)
- o10.CanCollide = false
- o10.FormFactor = Enum.FormFactor.Symmetric
- o10.Size = Vector3.new(1, 2, 1)
- o10.CFrame = CFrame.new(-86.4795151, 3.00002193, 57.2800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o10.BottomSurface = Enum.SurfaceType.Smooth
- o10.Color = Color3.new(1, 0, 0)
- o10.Position = Vector3.new(-86.4795151, 3.00002193, 57.2800331)
- o11.Name = "Left Leg"
- o11.Parent = o1
- o11.BrickColor = BrickColor.new("Really red")
- o11.Position = Vector3.new(-86.4795151, 1.00002503, 58.2800331)
- o11.Rotation = Vector3.new(0, -90, 0)
- o11.CanCollide = false
- o11.FormFactor = Enum.FormFactor.Symmetric
- o11.Size = Vector3.new(1, 2, 1)
- o11.CFrame = CFrame.new(-86.4795151, 1.00002503, 58.2800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o11.BottomSurface = Enum.SurfaceType.Smooth
- o11.Color = Color3.new(1, 0, 0)
- o11.Position = Vector3.new(-86.4795151, 1.00002503, 58.2800331)
- o12.Name = "Right Leg"
- o12.Parent = o1
- o12.BrickColor = BrickColor.new("Really red")
- o12.Position = Vector3.new(-86.4795151, 1.00002503, 59.2800331)
- o12.Rotation = Vector3.new(0, -90, 0)
- o12.CanCollide = false
- o12.FormFactor = Enum.FormFactor.Symmetric
- o12.Size = Vector3.new(1, 2, 1)
- o12.CFrame = CFrame.new(-86.4795151, 1.00002503, 59.2800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o12.BottomSurface = Enum.SurfaceType.Smooth
- o12.Color = Color3.new(1, 0, 0)
- o12.Position = Vector3.new(-86.4795151, 1.00002503, 59.2800331)
- o13.Name = "Head"
- o13.Parent = o1
- o13.BrickColor = BrickColor.new("Really red")
- o13.Transparency = 1
- o13.Position = Vector3.new(-86.4795151, 4.40004587, 58.7800331)
- o13.Rotation = Vector3.new(0, -90, 0)
- o13.FormFactor = Enum.FormFactor.Custom
- o13.Size = Vector3.new(2, 0.800000012, 1)
- o13.CFrame = CFrame.new(-86.4795151, 4.40004587, 58.7800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o13.TopSurface = Enum.SurfaceType.Weld
- o13.Color = Color3.new(1, 0, 0)
- o13.Position = Vector3.new(-86.4795151, 4.40004587, 58.7800331)
- o14.Name = "alert1"
- o14.Parent = o13
- o15.Name = "alert2"
- o15.Parent = o13
- o16.Name = "chase1"
- o16.Parent = o13
- o17.Name = "chase2"
- o17.Parent = o13
- o18.Name = "idle1"
- o18.Parent = o13
- o19.Name = "idle2"
- o19.Parent = o13
- o20.Name = "idle3"
- o20.Parent = o13
- o21.Name = "Torso"
- o21.Parent = o1
- o21.BrickColor = BrickColor.new("Really red")
- o21.Position = Vector3.new(-86.4795151, 3.00002193, 58.7800331)
- o21.Rotation = Vector3.new(0, -90, 0)
- o21.FormFactor = Enum.FormFactor.Symmetric
- o21.Size = Vector3.new(2, 2, 1)
- o21.CFrame = CFrame.new(-86.4795151, 3.00002193, 58.7800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o21.LeftSurface = Enum.SurfaceType.Weld
- o21.RightSurface = Enum.SurfaceType.Weld
- o21.Color = Color3.new(1, 0, 0)
- o21.Position = Vector3.new(-86.4795151, 3.00002193, 58.7800331)
- o22.Parent = o21
- o22.Color = Color3.new(1, 0, 0)
- o22.Brightness = 60
- o22.Range = 15
- o22.Shadows = true
- o23.Name = "Alert"
- o23.Parent = o21
- o23.SoundId = "http://www.roblox.com/asset/?id=94247611"
- o23.Volume = 1
- o24.Name = "Right Arm"
- o24.Parent = o1
- o24.BrickColor = BrickColor.new("Really red")
- o24.Position = Vector3.new(-86.4795151, 3.00002193, 60.2800331)
- o24.Rotation = Vector3.new(0, -90, 0)
- o24.CanCollide = false
- o24.FormFactor = Enum.FormFactor.Symmetric
- o24.Size = Vector3.new(1, 2, 1)
- o24.CFrame = CFrame.new(-86.4795151, 3.00002193, 60.2800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o24.BottomSurface = Enum.SurfaceType.Smooth
- o24.Color = Color3.new(1, 0, 0)
- o24.Position = Vector3.new(-86.4795151, 3.00002193, 60.2800331)
- o25.Name = "Pants"
- o25.Parent = o1
- o25.PantsTemplate = "http://www.roblox.com/asset/?id=95755751"
- o26.Name = "Enemy"
- o26.Parent = o1
- o26.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- o26.RightLeg = o12
- o26.LeftLeg = o11
- o26.Torso = o21
- o26.WalkSpeed = 72
- o27.Name = "Follow"
- o27.Parent = o1
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- local larm = script.Parent:FindFirstChild("Left Arm")
- local rarm = script.Parent:FindFirstChild("Right Arm")
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 50
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= script.Parent) then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- function Hit(hit)
- local human = hit.Parent:FindFirstChild("Humanoid")
- if human ~= nil then
- human.Health = human.Health -100
- end
- end
- larm.Touched:connect(Hit)
- rarm.Touched:connect(Hit)
- while true do
- wait(2)
- local target = findNearestTorso(script.Parent.Torso.Position)
- if target ~= nil then
- script.Parent.Torso.Alert:Play()
- wait(1)
- script.Parent.Enemy:MoveTo(target.Position, target)
- end
- end
- end,o27)
- end))
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- game:GetService("Lighting").Ambient = Color3.new(0.498039, 0.498039, 0.498039)
- game:GetService("Lighting").Brightness = 5
- game:GetService("Lighting").ColorShift_Bottom = Color3.new(1, 1, 1)
- game:GetService("Lighting").ColorShift_Top = Color3.new(1, 1, 1)
- game:GetService("Lighting").GlobalShadows = true
- game:GetService("Lighting").OutdoorAmbient = Color3.new(0.631373, 0.631373, 0.631373)
- game:GetService("Lighting").Outlines = false
- game:GetService("Lighting").GeographicLatitude = 41.733299255371
- game:GetService("Lighting").TimeOfDay = "16:00:00"
- game:GetService("Lighting").FogColor = Color3.new(0, -7.50588, 0)
- game:GetService("Lighting").FogEnd = 1.0000000037683e+14
- game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement