Advertisement
ttyyuu12345

Giant penguin

Jul 27th, 2016
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.14 KB | None | 0 0
  1. --Created with ttyyuu12345's compiler
  2. --ttyyuu12345 is not responsible for damages caused to your game
  3. --This plugin does not remove things
  4. --ttyyuu12345 cannot be held resonsible for manual deletion for the purpose of testing
  5. --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
  6. --Thank you for using my plugin and enjoy :)
  7. --It is free to use, however I do accept donations
  8. --Errors:
  9. Create = function(itemClass,tabl)
  10. local item = Instance.new(itemClass)
  11. for i,v in pairs(tabl) do
  12. local a,b = ypcall(function() return item[i] end)
  13. if a then
  14. item[i] = tabl[i]
  15. end
  16. end
  17. return item
  18. end
  19. function runDummyScript(f,scri)
  20. local oldenv = getfenv(f)
  21. local newenv = setmetatable({}, {
  22. __index = function(_, k)
  23. if k:lower() == 'script' then
  24. return scri
  25. else
  26. return oldenv[k]
  27. end
  28. end
  29. })
  30. setfenv(f, newenv)
  31. ypcall(function() f() end)
  32. end
  33. cors = {}
  34. mas = Instance.new("Model",game:GetService("Lighting"))
  35. mas.Name = "CompiledModel"
  36. o1 = Create("Model",{
  37. ["Name"] = "Giant penguin",
  38. ["Parent"] = mas,
  39. })
  40. o2 = Create("Part",{
  41. ["Name"] = "Head",
  42. ["Parent"] = o1,
  43. ["BrickColor"] = BrickColor.new("Bright yellow"),
  44. ["Position"] = Vector3.new(64, 36.0000076, 55),
  45. ["Rotation"] = Vector3.new(0, 90, 0),
  46. ["Anchored"] = true,
  47. ["CFrame"] = CFrame.new(64, 36.0000076, 55, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  48. ["FormFactor"] = Enum.FormFactor.Symmetric,
  49. ["Size"] = Vector3.new(16, 8, 8),
  50. ["TopSurface"] = Enum.SurfaceType.Smooth,
  51. ["Color"] = Color3.new(0.960784, 0.803922, 0.188235),
  52. })
  53. o3 = Create("SpecialMesh",{
  54. ["Name"] = "peg",
  55. ["Parent"] = o2,
  56. ["MeshId"] = "http://www.roblox.com/asset/?id=15853464",
  57. ["Scale"] = Vector3.new(8, 8, 8),
  58. ["TextureId"] = "http://www.roblox.com/asset/?id=15853349",
  59. ["MeshType"] = Enum.MeshType.FileMesh,
  60. })
  61. o4 = Create("Part",{
  62. ["Name"] = "Left Arm",
  63. ["Parent"] = o1,
  64. ["BrickColor"] = BrickColor.new("Bright yellow"),
  65. ["Position"] = Vector3.new(64, 24.0000095, 67),
  66. ["Rotation"] = Vector3.new(0, 90, 0),
  67. ["Anchored"] = true,
  68. ["CFrame"] = CFrame.new(64, 24.0000095, 67, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  69. ["FormFactor"] = Enum.FormFactor.Symmetric,
  70. ["Size"] = Vector3.new(8, 16, 8),
  71. ["Color"] = Color3.new(0.960784, 0.803922, 0.188235),
  72. })
  73. o5 = Create("Part",{
  74. ["Name"] = "Left Leg",
  75. ["Parent"] = o1,
  76. ["BrickColor"] = BrickColor.new("Dark orange"),
  77. ["Position"] = Vector3.new(64, 8.00000954, 59),
  78. ["Rotation"] = Vector3.new(0, 90, 0),
  79. ["Anchored"] = true,
  80. ["CFrame"] = CFrame.new(64, 8.00000954, 59, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  81. ["FormFactor"] = Enum.FormFactor.Symmetric,
  82. ["Size"] = Vector3.new(8, 16, 8),
  83. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  84. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  85. })
  86. o6 = Create("Part",{
  87. ["Name"] = "Right Arm",
  88. ["Parent"] = o1,
  89. ["BrickColor"] = BrickColor.new("Bright yellow"),
  90. ["Position"] = Vector3.new(64, 24.0000095, 43),
  91. ["Rotation"] = Vector3.new(0, 90, 0),
  92. ["Anchored"] = true,
  93. ["CFrame"] = CFrame.new(64, 24.0000095, 43, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  94. ["FormFactor"] = Enum.FormFactor.Symmetric,
  95. ["Size"] = Vector3.new(8, 16, 8),
  96. ["Color"] = Color3.new(0.960784, 0.803922, 0.188235),
  97. })
  98. o7 = Create("Part",{
  99. ["Name"] = "Right Leg",
  100. ["Parent"] = o1,
  101. ["BrickColor"] = BrickColor.new("Dark orange"),
  102. ["Position"] = Vector3.new(64, 8.00000954, 51),
  103. ["Rotation"] = Vector3.new(0, 90, 0),
  104. ["Anchored"] = true,
  105. ["CFrame"] = CFrame.new(64, 8.00000954, 51, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  106. ["FormFactor"] = Enum.FormFactor.Symmetric,
  107. ["Size"] = Vector3.new(8, 16, 8),
  108. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  109. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  110. })
  111. o8 = Create("Part",{
  112. ["Name"] = "Torso",
  113. ["Parent"] = o1,
  114. ["BrickColor"] = BrickColor.new("Dark orange"),
  115. ["Position"] = Vector3.new(64, 24.0000095, 55),
  116. ["Rotation"] = Vector3.new(0, 90, 0),
  117. ["Anchored"] = true,
  118. ["CFrame"] = CFrame.new(64, 24.0000095, 55, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  119. ["FormFactor"] = Enum.FormFactor.Symmetric,
  120. ["Size"] = Vector3.new(16, 16, 8),
  121. ["LeftSurface"] = Enum.SurfaceType.Weld,
  122. ["RightSurface"] = Enum.SurfaceType.Weld,
  123. ["Color"] = Color3.new(0.627451, 0.372549, 0.207843),
  124. })
  125. o9 = Create("Motor6D",{
  126. ["Name"] = "Right Shoulder",
  127. ["Parent"] = o8,
  128. ["DesiredAngle"] = -0.52984535694122,
  129. ["MaxVelocity"] = 0.15000000596046,
  130. })
  131. o10 = Create("Motor6D",{
  132. ["Name"] = "Left Shoulder",
  133. ["Parent"] = o8,
  134. ["DesiredAngle"] = -0.52984535694122,
  135. ["MaxVelocity"] = 0.15000000596046,
  136. })
  137. o11 = Create("Motor6D",{
  138. ["Name"] = "Right Hip",
  139. ["Parent"] = o8,
  140. ["DesiredAngle"] = 0.52984535694122,
  141. ["MaxVelocity"] = 0.10000000149012,
  142. })
  143. o12 = Create("Motor6D",{
  144. ["Name"] = "Left Hip",
  145. ["Parent"] = o8,
  146. ["DesiredAngle"] = 0.52984535694122,
  147. ["MaxVelocity"] = 0.10000000149012,
  148. })
  149. o13 = Create("Humanoid",{
  150. ["Parent"] = o1,
  151. ["NameOcclusion"] = Enum.NameOcclusion.NoOcclusion,
  152. ["RightLeg"] = o7,
  153. ["LeftLeg"] = o5,
  154. ["Torso"] = o8,
  155. })
  156. o14 = Create("CharacterMesh",{
  157. ["Name"] = "Penguin Left Arm",
  158. ["Parent"] = o1,
  159. ["MeshId"] = 46344860,
  160. ["BaseTextureId"] = 46345362,
  161. ["BodyPart"] = Enum.BodyPart.LeftArm,
  162. ["OverlayTextureId"] = 46345222,
  163. })
  164. o15 = Create("CharacterMesh",{
  165. ["Name"] = "Penguin Left Leg",
  166. ["Parent"] = o1,
  167. ["MeshId"] = 46344898,
  168. ["BaseTextureId"] = 46345362,
  169. ["BodyPart"] = Enum.BodyPart.LeftLeg,
  170. ["OverlayTextureId"] = 46345222,
  171. })
  172. o16 = Create("CharacterMesh",{
  173. ["Name"] = "Penguin Right Arm",
  174. ["Parent"] = o1,
  175. ["MeshId"] = 46345037,
  176. ["BaseTextureId"] = 46345362,
  177. ["BodyPart"] = Enum.BodyPart.RightArm,
  178. ["OverlayTextureId"] = 46345222,
  179. })
  180. o17 = Create("CharacterMesh",{
  181. ["Name"] = "Penguin Right Leg",
  182. ["Parent"] = o1,
  183. ["MeshId"] = 46344972,
  184. ["BaseTextureId"] = 46345362,
  185. ["BodyPart"] = Enum.BodyPart.RightLeg,
  186. ["OverlayTextureId"] = 46345222,
  187. })
  188. o18 = Create("CharacterMesh",{
  189. ["Name"] = "Penguin Torso",
  190. ["Parent"] = o1,
  191. ["MeshId"] = 46345096,
  192. ["BaseTextureId"] = 46345362,
  193. ["BodyPart"] = Enum.BodyPart.Torso,
  194. ["OverlayTextureId"] = 46345222,
  195. })
  196. mas.Parent = workspace
  197. mas:MakeJoints()
  198. local mas1 = mas:GetChildren()
  199. for i=1,#mas1 do
  200.     mas1[i].Parent = workspace
  201.     ypcall(function() mas1[i]:MakeJoints() end)
  202. end
  203. mas:Destroy()
  204. for i=1,#cors do
  205. coroutine.resume(cors[i])
  206. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement