Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created with ttyyuu12345's compiler
- --ttyyuu12345 is not responsible for damages caused to your game
- --This plugin does not remove things
- --ttyyuu12345 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, however I do accept donations
- --Errors:
- Create = function(itemClass,tabl)
- local item = Instance.new(itemClass)
- for i,v in pairs(tabl) do
- local a,b = ypcall(function() return item[i] end)
- if a then
- item[i] = tabl[i]
- end
- end
- return item
- end
- function runDummyScript(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 = Create("Model",{
- ["Name"] = "Giant penguin",
- ["Parent"] = mas,
- })
- o2 = Create("Part",{
- ["Name"] = "Head",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Bright yellow"),
- ["Position"] = Vector3.new(64, 36.0000076, 55),
- ["Rotation"] = Vector3.new(0, 90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(64, 36.0000076, 55, 0, 0, 1, 0, 1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(16, 8, 8),
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- ["Color"] = Color3.new(0.960784, 0.803922, 0.188235),
- })
- o3 = Create("SpecialMesh",{
- ["Name"] = "peg",
- ["Parent"] = o2,
- ["MeshId"] = "http://www.roblox.com/asset/?id=15853464",
- ["Scale"] = Vector3.new(8, 8, 8),
- ["TextureId"] = "http://www.roblox.com/asset/?id=15853349",
- ["MeshType"] = Enum.MeshType.FileMesh,
- })
- o4 = Create("Part",{
- ["Name"] = "Left Arm",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Bright yellow"),
- ["Position"] = Vector3.new(64, 24.0000095, 67),
- ["Rotation"] = Vector3.new(0, 90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(64, 24.0000095, 67, 0, 0, 1, 0, 1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(8, 16, 8),
- ["Color"] = Color3.new(0.960784, 0.803922, 0.188235),
- })
- o5 = Create("Part",{
- ["Name"] = "Left Leg",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Dark orange"),
- ["Position"] = Vector3.new(64, 8.00000954, 59),
- ["Rotation"] = Vector3.new(0, 90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(64, 8.00000954, 59, 0, 0, 1, 0, 1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(8, 16, 8),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
- })
- o6 = Create("Part",{
- ["Name"] = "Right Arm",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Bright yellow"),
- ["Position"] = Vector3.new(64, 24.0000095, 43),
- ["Rotation"] = Vector3.new(0, 90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(64, 24.0000095, 43, 0, 0, 1, 0, 1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(8, 16, 8),
- ["Color"] = Color3.new(0.960784, 0.803922, 0.188235),
- })
- o7 = Create("Part",{
- ["Name"] = "Right Leg",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Dark orange"),
- ["Position"] = Vector3.new(64, 8.00000954, 51),
- ["Rotation"] = Vector3.new(0, 90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(64, 8.00000954, 51, 0, 0, 1, 0, 1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(8, 16, 8),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
- })
- o8 = Create("Part",{
- ["Name"] = "Torso",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Dark orange"),
- ["Position"] = Vector3.new(64, 24.0000095, 55),
- ["Rotation"] = Vector3.new(0, 90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(64, 24.0000095, 55, 0, 0, 1, 0, 1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(16, 16, 8),
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
- })
- o9 = Create("Motor6D",{
- ["Name"] = "Right Shoulder",
- ["Parent"] = o8,
- ["DesiredAngle"] = -0.52984535694122,
- ["MaxVelocity"] = 0.15000000596046,
- })
- o10 = Create("Motor6D",{
- ["Name"] = "Left Shoulder",
- ["Parent"] = o8,
- ["DesiredAngle"] = -0.52984535694122,
- ["MaxVelocity"] = 0.15000000596046,
- })
- o11 = Create("Motor6D",{
- ["Name"] = "Right Hip",
- ["Parent"] = o8,
- ["DesiredAngle"] = 0.52984535694122,
- ["MaxVelocity"] = 0.10000000149012,
- })
- o12 = Create("Motor6D",{
- ["Name"] = "Left Hip",
- ["Parent"] = o8,
- ["DesiredAngle"] = 0.52984535694122,
- ["MaxVelocity"] = 0.10000000149012,
- })
- o13 = Create("Humanoid",{
- ["Parent"] = o1,
- ["NameOcclusion"] = Enum.NameOcclusion.NoOcclusion,
- ["RightLeg"] = o7,
- ["LeftLeg"] = o5,
- ["Torso"] = o8,
- })
- o14 = Create("CharacterMesh",{
- ["Name"] = "Penguin Left Arm",
- ["Parent"] = o1,
- ["MeshId"] = 46344860,
- ["BaseTextureId"] = 46345362,
- ["BodyPart"] = Enum.BodyPart.LeftArm,
- ["OverlayTextureId"] = 46345222,
- })
- o15 = Create("CharacterMesh",{
- ["Name"] = "Penguin Left Leg",
- ["Parent"] = o1,
- ["MeshId"] = 46344898,
- ["BaseTextureId"] = 46345362,
- ["BodyPart"] = Enum.BodyPart.LeftLeg,
- ["OverlayTextureId"] = 46345222,
- })
- o16 = Create("CharacterMesh",{
- ["Name"] = "Penguin Right Arm",
- ["Parent"] = o1,
- ["MeshId"] = 46345037,
- ["BaseTextureId"] = 46345362,
- ["BodyPart"] = Enum.BodyPart.RightArm,
- ["OverlayTextureId"] = 46345222,
- })
- o17 = Create("CharacterMesh",{
- ["Name"] = "Penguin Right Leg",
- ["Parent"] = o1,
- ["MeshId"] = 46344972,
- ["BaseTextureId"] = 46345362,
- ["BodyPart"] = Enum.BodyPart.RightLeg,
- ["OverlayTextureId"] = 46345222,
- })
- o18 = Create("CharacterMesh",{
- ["Name"] = "Penguin Torso",
- ["Parent"] = o1,
- ["MeshId"] = 46345096,
- ["BaseTextureId"] = 46345362,
- ["BodyPart"] = Enum.BodyPart.Torso,
- ["OverlayTextureId"] = 46345222,
- })
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement