Advertisement
sawgamer1

Untitled

Jun 24th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.35 KB | None | 0 0
  1. --Created with PenguinAnonymous's compiler
  2. --PenguinAnonymous is not responsible for damages caused to your game
  3. --This plugin does not remove things
  4. --PenguinAnonymous 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
  8. --If you use this plugin to create your own, please give me credit
  9. --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
  10. --Errors:
  11. local runDummyScript = function(f,scri)
  12. local oldenv = getfenv(f)
  13. local newenv = setmetatable({}, {
  14. __index = function(_, k)
  15. if k:lower() == 'script' then
  16. return scri
  17. else
  18. return oldenv[k]
  19. end
  20. end
  21. })
  22. setfenv(f, newenv)
  23. ypcall(function() f() end)
  24. end
  25. cors = {}
  26. mas = Instance.new("Model",game:GetService("Lighting"))
  27. mas.Name = "CompiledModel"
  28. o1 = Instance.new("Model")
  29. o2 = Instance.new("Shirt")
  30. o3 = Instance.new("Hat")
  31. o4 = Instance.new("Part")
  32. o5 = Instance.new("Script")
  33. o6 = Instance.new("Sound")
  34. o7 = Instance.new("Sound")
  35. o8 = Instance.new("Sound")
  36. o9 = Instance.new("SpecialMesh")
  37. o10 = Instance.new("Part")
  38. o11 = Instance.new("Part")
  39. o12 = Instance.new("Part")
  40. o13 = Instance.new("Part")
  41. o14 = Instance.new("Sound")
  42. o15 = Instance.new("Sound")
  43. o16 = Instance.new("Sound")
  44. o17 = Instance.new("Sound")
  45. o18 = Instance.new("Sound")
  46. o19 = Instance.new("Sound")
  47. o20 = Instance.new("Sound")
  48. o21 = Instance.new("Part")
  49. o22 = Instance.new("PointLight")
  50. o23 = Instance.new("Sound")
  51. o24 = Instance.new("Part")
  52. o25 = Instance.new("Pants")
  53. o26 = Instance.new("Humanoid")
  54. o27 = Instance.new("Script")
  55. o1.Name = "Bigger head"
  56. o1.Parent = mas
  57. o2.Name = "Shirt"
  58. o2.Parent = o1
  59. o2.ShirtTemplate = "http://www.roblox.com/asset/?id=95741497"
  60. o3.Parent = o1
  61. o4.Parent = o3
  62. o4.Position = Vector3.new(-86.4795151, 5.09999418, 58.7800331)
  63. o4.Rotation = Vector3.new(0, -90, 0)
  64. o4.FormFactor = Enum.FormFactor.Custom
  65. o4.Size = Vector3.new(1.99999952, 0.600000024, 0.999999821)
  66. o4.CFrame = CFrame.new(-86.4795151, 5.09999418, 58.7800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  67. o4.BottomSurface = Enum.SurfaceType.Weld
  68. o4.Position = Vector3.new(-86.4795151, 5.09999418, 58.7800331)
  69. o5.Name = "ChickenSounds"
  70. o5.Parent = o4
  71. table.insert(cors,coroutine.create(function()
  72. wait()
  73. runDummyScript(function()
  74. -- LOL
  75.  
  76. function isWorn()
  77. return script.Parent.Parent.Parent:FindFirstChild("Humanoid") ~= nil
  78. end
  79.  
  80. while true do
  81.  
  82. wait(math.random(5,20))
  83.  
  84. if (isWorn()) then
  85.  
  86. local name = "Quack" .. math.random(1,3)
  87.  
  88. script.Parent:FindFirstChild(name):Play()
  89. end
  90.  
  91. end
  92. end,o5)
  93. end))
  94. o6.Name = "Quack3"
  95. o6.Parent = o4
  96. o6.Pitch = 0.5
  97. o6.SoundId = "http://www.roblox.com/asset/?id=94247848"
  98. o6.Volume = 1
  99. o7.Name = "Quack2"
  100. o7.Parent = o4
  101. o7.Pitch = 0.40000000596046
  102. o7.SoundId = "http://www.roblox.com/asset/?id=94247729"
  103. o7.Volume = 1
  104. o8.Name = "Quack1"
  105. o8.Parent = o4
  106. o8.Pitch = 0.40000000596046
  107. o8.SoundId = "http://www.roblox.com/asset/?id=94247611"
  108. o8.Volume = 1
  109. o9.Parent = o4
  110. o9.MeshId = "http://www.roblox.com/asset/?id=1047997"
  111. o9.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
  112. o9.TextureId = "http://www.roblox.com/asset/?id=1048208"
  113. o9.MeshType = Enum.MeshType.FileMesh
  114. o10.Name = "Left Arm"
  115. o10.Parent = o1
  116. o10.BrickColor = BrickColor.new("Really red")
  117. o10.Position = Vector3.new(-86.4795151, 3.00002193, 57.2800331)
  118. o10.Rotation = Vector3.new(0, -90, 0)
  119. o10.CanCollide = false
  120. o10.FormFactor = Enum.FormFactor.Symmetric
  121. o10.Size = Vector3.new(1, 2, 1)
  122. o10.CFrame = CFrame.new(-86.4795151, 3.00002193, 57.2800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  123. o10.BottomSurface = Enum.SurfaceType.Smooth
  124. o10.Color = Color3.new(1, 0, 0)
  125. o10.Position = Vector3.new(-86.4795151, 3.00002193, 57.2800331)
  126. o11.Name = "Left Leg"
  127. o11.Parent = o1
  128. o11.BrickColor = BrickColor.new("Really red")
  129. o11.Position = Vector3.new(-86.4795151, 1.00002503, 58.2800331)
  130. o11.Rotation = Vector3.new(0, -90, 0)
  131. o11.CanCollide = false
  132. o11.FormFactor = Enum.FormFactor.Symmetric
  133. o11.Size = Vector3.new(1, 2, 1)
  134. o11.CFrame = CFrame.new(-86.4795151, 1.00002503, 58.2800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  135. o11.BottomSurface = Enum.SurfaceType.Smooth
  136. o11.Color = Color3.new(1, 0, 0)
  137. o11.Position = Vector3.new(-86.4795151, 1.00002503, 58.2800331)
  138. o12.Name = "Right Leg"
  139. o12.Parent = o1
  140. o12.BrickColor = BrickColor.new("Really red")
  141. o12.Position = Vector3.new(-86.4795151, 1.00002503, 59.2800331)
  142. o12.Rotation = Vector3.new(0, -90, 0)
  143. o12.CanCollide = false
  144. o12.FormFactor = Enum.FormFactor.Symmetric
  145. o12.Size = Vector3.new(1, 2, 1)
  146. o12.CFrame = CFrame.new(-86.4795151, 1.00002503, 59.2800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  147. o12.BottomSurface = Enum.SurfaceType.Smooth
  148. o12.Color = Color3.new(1, 0, 0)
  149. o12.Position = Vector3.new(-86.4795151, 1.00002503, 59.2800331)
  150. o13.Name = "Head"
  151. o13.Parent = o1
  152. o13.BrickColor = BrickColor.new("Really red")
  153. o13.Transparency = 1
  154. o13.Position = Vector3.new(-86.4795151, 4.40004587, 58.7800331)
  155. o13.Rotation = Vector3.new(0, -90, 0)
  156. o13.FormFactor = Enum.FormFactor.Custom
  157. o13.Size = Vector3.new(2, 0.800000012, 1)
  158. o13.CFrame = CFrame.new(-86.4795151, 4.40004587, 58.7800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  159. o13.TopSurface = Enum.SurfaceType.Weld
  160. o13.Color = Color3.new(1, 0, 0)
  161. o13.Position = Vector3.new(-86.4795151, 4.40004587, 58.7800331)
  162. o14.Name = "alert1"
  163. o14.Parent = o13
  164. o15.Name = "alert2"
  165. o15.Parent = o13
  166. o16.Name = "chase1"
  167. o16.Parent = o13
  168. o17.Name = "chase2"
  169. o17.Parent = o13
  170. o18.Name = "idle1"
  171. o18.Parent = o13
  172. o19.Name = "idle2"
  173. o19.Parent = o13
  174. o20.Name = "idle3"
  175. o20.Parent = o13
  176. o21.Name = "Torso"
  177. o21.Parent = o1
  178. o21.BrickColor = BrickColor.new("Really red")
  179. o21.Position = Vector3.new(-86.4795151, 3.00002193, 58.7800331)
  180. o21.Rotation = Vector3.new(0, -90, 0)
  181. o21.FormFactor = Enum.FormFactor.Symmetric
  182. o21.Size = Vector3.new(2, 2, 1)
  183. o21.CFrame = CFrame.new(-86.4795151, 3.00002193, 58.7800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  184. o21.LeftSurface = Enum.SurfaceType.Weld
  185. o21.RightSurface = Enum.SurfaceType.Weld
  186. o21.Color = Color3.new(1, 0, 0)
  187. o21.Position = Vector3.new(-86.4795151, 3.00002193, 58.7800331)
  188. o22.Parent = o21
  189. o22.Color = Color3.new(1, 0, 0)
  190. o22.Brightness = 60
  191. o22.Range = 15
  192. o22.Shadows = true
  193. o23.Name = "Alert"
  194. o23.Parent = o21
  195. o23.SoundId = "http://www.roblox.com/asset/?id=94247611"
  196. o23.Volume = 1
  197. o24.Name = "Right Arm"
  198. o24.Parent = o1
  199. o24.BrickColor = BrickColor.new("Really red")
  200. o24.Position = Vector3.new(-86.4795151, 3.00002193, 60.2800331)
  201. o24.Rotation = Vector3.new(0, -90, 0)
  202. o24.CanCollide = false
  203. o24.FormFactor = Enum.FormFactor.Symmetric
  204. o24.Size = Vector3.new(1, 2, 1)
  205. o24.CFrame = CFrame.new(-86.4795151, 3.00002193, 60.2800331, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  206. o24.BottomSurface = Enum.SurfaceType.Smooth
  207. o24.Color = Color3.new(1, 0, 0)
  208. o24.Position = Vector3.new(-86.4795151, 3.00002193, 60.2800331)
  209. o25.Name = "Pants"
  210. o25.Parent = o1
  211. o25.PantsTemplate = "http://www.roblox.com/asset/?id=95755751"
  212. o26.Name = "Enemy"
  213. o26.Parent = o1
  214. o26.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  215. o26.RightLeg = o12
  216. o26.LeftLeg = o11
  217. o26.Torso = o21
  218. o26.WalkSpeed = 72
  219. o27.Name = "Follow"
  220. o27.Parent = o1
  221. table.insert(cors,coroutine.create(function()
  222. wait()
  223. runDummyScript(function()
  224. local larm = script.Parent:FindFirstChild("Left Arm")
  225. local rarm = script.Parent:FindFirstChild("Right Arm")
  226.  
  227. function findNearestTorso(pos)
  228. local list = game.Workspace:children()
  229. local torso = nil
  230. local dist = 50
  231. local temp = nil
  232. local human = nil
  233. local temp2 = nil
  234. for x = 1, #list do
  235. temp2 = list[x]
  236. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  237. temp = temp2:findFirstChild("Torso")
  238. human = temp2:findFirstChild("Humanoid")
  239. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  240. if (temp.Position - pos).magnitude < dist then
  241. torso = temp
  242. dist = (temp.Position - pos).magnitude
  243. end
  244. end
  245. end
  246. end
  247. return torso
  248. end
  249.  
  250. function Hit(hit)
  251. local human = hit.Parent:FindFirstChild("Humanoid")
  252. if human ~= nil then
  253. human.Health = human.Health -100
  254. end
  255. end
  256.  
  257. larm.Touched:connect(Hit)
  258. rarm.Touched:connect(Hit)
  259.  
  260. while true do
  261. wait(2)
  262. local target = findNearestTorso(script.Parent.Torso.Position)
  263. if target ~= nil then
  264. script.Parent.Torso.Alert:Play()
  265. wait(1)
  266. script.Parent.Enemy:MoveTo(target.Position, target)
  267. end
  268. end
  269.  
  270. end,o27)
  271. end))
  272. mas.Parent = workspace
  273. mas:MakeJoints()
  274. local mas1 = mas:GetChildren()
  275. for i=1,#mas1 do
  276. mas1[i].Parent = workspace
  277. ypcall(function() mas1[i]:MakeJoints() end)
  278. end
  279. mas:Destroy()
  280. for i=1,#cors do
  281. coroutine.resume(cors[i])
  282. end
  283.  
  284. game:GetService("Lighting").Ambient = Color3.new(0.498039, 0.498039, 0.498039)
  285. game:GetService("Lighting").Brightness = 5
  286. game:GetService("Lighting").ColorShift_Bottom = Color3.new(1, 1, 1)
  287. game:GetService("Lighting").ColorShift_Top = Color3.new(1, 1, 1)
  288. game:GetService("Lighting").GlobalShadows = true
  289. game:GetService("Lighting").OutdoorAmbient = Color3.new(0.631373, 0.631373, 0.631373)
  290. game:GetService("Lighting").Outlines = false
  291. game:GetService("Lighting").GeographicLatitude = 41.733299255371
  292. game:GetService("Lighting").TimeOfDay = "16:00:00"
  293. game:GetService("Lighting").FogColor = Color3.new(0, -7.50588, 0)
  294. game:GetService("Lighting").FogEnd = 1.0000000037683e+14
  295. game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement