Advertisement
HenloMyDude

creeper

Aug 21st, 2019
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.34 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. Motor6D2 = Instance.new("Motor6D")
  22. Part3 = Instance.new("Part")
  23. BodyForce4 = Instance.new("BodyForce")
  24. Motor6D5 = Instance.new("Motor6D")
  25. Part6 = Instance.new("Part")
  26. Part7 = Instance.new("Part")
  27. Weld8 = Instance.new("Weld")
  28. Weld9 = Instance.new("Weld")
  29. Weld10 = Instance.new("Weld")
  30. Weld11 = Instance.new("Weld")
  31. Part12 = Instance.new("Part")
  32. Part13 = Instance.new("Part")
  33. Part14 = Instance.new("Part")
  34. SpecialMesh15 = Instance.new("SpecialMesh")
  35. Humanoid16 = Instance.new("Humanoid")
  36. Script17 = Instance.new("Script")
  37. Model0.Name = "Pet Creeper"
  38. Model0.Parent = mas
  39. Part1.Name = "HumanoidRootPart"
  40. Part1.Parent = Model0
  41. Part1.CFrame = CFrame.new(-68.2913208, 2.99998069, -73.851944, 4.49369422e-21, 7.01608598e-23, -1, -8.6405519e-23, 0.999991894, 7.01614782e-23, 1, 8.64048753e-23, 4.49369422e-21)
  42. Part1.Orientation = Vector3.new(0, -90, 0)
  43. Part1.Position = Vector3.new(-68.2913208, 2.99998069, -73.851944)
  44. Part1.Rotation = Vector3.new(0, -90, 0)
  45. Part1.Color = Color3.new(0.356863, 0.603922, 0.298039)
  46. Part1.Transparency = 1
  47. Part1.Size = Vector3.new(2, 2, 1)
  48. Part1.BottomSurface = Enum.SurfaceType.Smooth
  49. Part1.BrickColor = BrickColor.new("Shamrock")
  50. Part1.Material = Enum.Material.SmoothPlastic
  51. Part1.TopSurface = Enum.SurfaceType.Smooth
  52. Part1.brickColor = BrickColor.new("Shamrock")
  53. Part1.FormFactor = Enum.FormFactor.Symmetric
  54. Part1.formFactor = Enum.FormFactor.Symmetric
  55. Motor6D2.Name = "Root Hip"
  56. Motor6D2.Parent = Part1
  57. Motor6D2.MaxVelocity = 0.10000000149012
  58. Motor6D2.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  59. Motor6D2.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  60. Motor6D2.Part0 = Part1
  61. Motor6D2.Part1 = Part3
  62. Motor6D2.part1 = Part3
  63. Part3.Name = "Torso"
  64. Part3.Parent = Model0
  65. Part3.CFrame = CFrame.new(-68.2913208, 2.99998069, -73.851944, 4.49369422e-21, 7.01608598e-23, -1, -8.6405519e-23, 0.999991894, 7.01614782e-23, 1, 8.64048753e-23, 4.49369422e-21)
  66. Part3.Orientation = Vector3.new(0, -90, 0)
  67. Part3.Position = Vector3.new(-68.2913208, 2.99998069, -73.851944)
  68. Part3.Rotation = Vector3.new(0, -90, 0)
  69. Part3.Color = Color3.new(0.356863, 0.603922, 0.298039)
  70. Part3.Size = Vector3.new(2, 2, 1)
  71. Part3.BottomSurface = Enum.SurfaceType.Smooth
  72. Part3.BrickColor = BrickColor.new("Shamrock")
  73. Part3.Material = Enum.Material.SmoothPlastic
  74. Part3.TopSurface = Enum.SurfaceType.Smooth
  75. Part3.brickColor = BrickColor.new("Shamrock")
  76. Part3.FormFactor = Enum.FormFactor.Symmetric
  77. Part3.formFactor = Enum.FormFactor.Symmetric
  78. BodyForce4.Name = "RepulsionForce"
  79. BodyForce4.Parent = Part3
  80. BodyForce4.Force = Vector3.new(0, 0, 0)
  81. BodyForce4.force = Vector3.new(0, 0, 0)
  82. Motor6D5.Name = "Neck"
  83. Motor6D5.Parent = Part3
  84. Motor6D5.MaxVelocity = 0.10000000149012
  85. Motor6D5.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  86. Motor6D5.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  87. Motor6D5.Part0 = Part3
  88. Motor6D5.Part1 = Part14
  89. Motor6D5.part1 = Part14
  90. Part6.Name = "Left Leg"
  91. Part6.Parent = Model0
  92. Part6.CFrame = CFrame.new(-68.7913208, 1.00002968, -74.351944, 4.49369422e-21, 7.01608598e-23, -1, -8.6405519e-23, 0.999991894, 7.01614782e-23, 1, 8.64048753e-23, 4.49369422e-21)
  93. Part6.Orientation = Vector3.new(0, -90, 0)
  94. Part6.Position = Vector3.new(-68.7913208, 1.00002968, -74.351944)
  95. Part6.Rotation = Vector3.new(0, -90, 0)
  96. Part6.Color = Color3.new(0.356863, 0.603922, 0.298039)
  97. Part6.Size = Vector3.new(1, 2, 1)
  98. Part6.BottomSurface = Enum.SurfaceType.Smooth
  99. Part6.BrickColor = BrickColor.new("Shamrock")
  100. Part6.CanCollide = false
  101. Part6.Material = Enum.Material.SmoothPlastic
  102. Part6.TopSurface = Enum.SurfaceType.Smooth
  103. Part6.brickColor = BrickColor.new("Shamrock")
  104. Part6.FormFactor = Enum.FormFactor.Symmetric
  105. Part6.formFactor = Enum.FormFactor.Symmetric
  106. Part7.Name = "Right Leg"
  107. Part7.Parent = Model0
  108. Part7.CFrame = CFrame.new(-68.7913208, 1.00002968, -73.351944, 4.49369422e-21, 7.01608093e-23, -1, -8.64054622e-23, 0.999991894, 7.01614277e-23, 1, 8.64048185e-23, 4.49369422e-21)
  109. Part7.Orientation = Vector3.new(0, -90, 0)
  110. Part7.Position = Vector3.new(-68.7913208, 1.00002968, -73.351944)
  111. Part7.Rotation = Vector3.new(0, -90, 0)
  112. Part7.Color = Color3.new(0.356863, 0.603922, 0.298039)
  113. Part7.Size = Vector3.new(1, 2, 1)
  114. Part7.BottomSurface = Enum.SurfaceType.Smooth
  115. Part7.BrickColor = BrickColor.new("Shamrock")
  116. Part7.CanCollide = false
  117. Part7.Material = Enum.Material.SmoothPlastic
  118. Part7.TopSurface = Enum.SurfaceType.Smooth
  119. Part7.brickColor = BrickColor.new("Shamrock")
  120. Part7.FormFactor = Enum.FormFactor.Symmetric
  121. Part7.formFactor = Enum.FormFactor.Symmetric
  122. Weld8.Name = "BTWeld"
  123. Weld8.Parent = Part7
  124. Weld8.C1 = CFrame.new(1, 0, 0, 1, -5.67979792e-29, 0, 5.67979852e-29, 1, -5.04879285e-29, 0, 5.04879285e-29, 1)
  125. Weld8.Part0 = Part7
  126. Weld8.Part1 = Part6
  127. Weld8.part1 = Part6
  128. Weld9.Name = "BTWeld"
  129. Weld9.Parent = Part7
  130. Weld9.C1 = CFrame.new(0.5, -1.99996722, 0.5, 1, -5.67979852e-29, 0, 5.67979852e-29, 1, -5.04879165e-29, 0, 5.04879225e-29, 1)
  131. Weld9.Part0 = Part7
  132. Weld9.Part1 = Part1
  133. Weld9.part1 = Part1
  134. Weld10.Name = "BTWeld"
  135. Weld10.Parent = Part7
  136. Weld10.C1 = CFrame.new(0, 4.8995018e-05, 1, 1, -1.1359597e-28, 0, 1.1359597e-28, 1, -1.00975845e-28, 0, 1.00975845e-28, 1)
  137. Weld10.Part0 = Part7
  138. Weld10.Part1 = Part13
  139. Weld10.part1 = Part13
  140. Weld11.Name = "BTWeld"
  141. Weld11.Parent = Part7
  142. Weld11.C1 = CFrame.new(1, 4.8995018e-05, 1, 1, -1.1359597e-28, 0, 1.1359597e-28, 1, -1.00975845e-28, 0, 1.00975845e-28, 1)
  143. Weld11.Part0 = Part7
  144. Weld11.Part1 = Part12
  145. Weld11.part1 = Part12
  146. Part12.Name = "Left Arm"
  147. Part12.Parent = Model0
  148. Part12.CFrame = CFrame.new(-67.7913208, 0.999980688, -74.351944, 4.49369422e-21, 7.01609103e-23, -1, -8.64055758e-23, 0.999991894, 7.01615287e-23, 1, 8.64049321e-23, 4.49369422e-21)
  149. Part12.Orientation = Vector3.new(0, -90, 0)
  150. Part12.Position = Vector3.new(-67.7913208, 0.999980688, -74.351944)
  151. Part12.Rotation = Vector3.new(0, -90, 0)
  152. Part12.Color = Color3.new(0.356863, 0.603922, 0.298039)
  153. Part12.Size = Vector3.new(1, 2, 1)
  154. Part12.BottomSurface = Enum.SurfaceType.Smooth
  155. Part12.BrickColor = BrickColor.new("Shamrock")
  156. Part12.CanCollide = false
  157. Part12.Material = Enum.Material.SmoothPlastic
  158. Part12.TopSurface = Enum.SurfaceType.Smooth
  159. Part12.brickColor = BrickColor.new("Shamrock")
  160. Part12.FormFactor = Enum.FormFactor.Symmetric
  161. Part12.formFactor = Enum.FormFactor.Symmetric
  162. Part13.Name = "Right Arm"
  163. Part13.Parent = Model0
  164. Part13.CFrame = CFrame.new(-67.7913208, 0.999980688, -73.351944, 4.49369422e-21, 7.01609103e-23, -1, -8.64055758e-23, 0.999991894, 7.01615287e-23, 1, 8.64049321e-23, 4.49369422e-21)
  165. Part13.Orientation = Vector3.new(0, -90, 0)
  166. Part13.Position = Vector3.new(-67.7913208, 0.999980688, -73.351944)
  167. Part13.Rotation = Vector3.new(0, -90, 0)
  168. Part13.Color = Color3.new(0.356863, 0.603922, 0.298039)
  169. Part13.Size = Vector3.new(1, 2, 1)
  170. Part13.BottomSurface = Enum.SurfaceType.Smooth
  171. Part13.BrickColor = BrickColor.new("Shamrock")
  172. Part13.CanCollide = false
  173. Part13.Material = Enum.Material.SmoothPlastic
  174. Part13.TopSurface = Enum.SurfaceType.Smooth
  175. Part13.brickColor = BrickColor.new("Shamrock")
  176. Part13.FormFactor = Enum.FormFactor.Symmetric
  177. Part13.formFactor = Enum.FormFactor.Symmetric
  178. Part14.Name = "Head"
  179. Part14.Parent = Model0
  180. Part14.CFrame = CFrame.new(-68.2913208, 4.49996853, -73.851944, 4.49369422e-21, 7.01608598e-23, -1, -8.6405519e-23, 0.999991894, 7.01614782e-23, 1, 8.64048753e-23, 4.49369422e-21)
  181. Part14.Orientation = Vector3.new(0, -90, 0)
  182. Part14.Position = Vector3.new(-68.2913208, 4.49996853, -73.851944)
  183. Part14.Rotation = Vector3.new(0, -90, 0)
  184. Part14.Color = Color3.new(0.356863, 0.603922, 0.298039)
  185. Part14.Size = Vector3.new(2, 1, 1)
  186. Part14.BottomSurface = Enum.SurfaceType.Smooth
  187. Part14.BrickColor = BrickColor.new("Shamrock")
  188. Part14.Material = Enum.Material.SmoothPlastic
  189. Part14.TopSurface = Enum.SurfaceType.Smooth
  190. Part14.brickColor = BrickColor.new("Shamrock")
  191. Part14.FormFactor = Enum.FormFactor.Symmetric
  192. Part14.formFactor = Enum.FormFactor.Symmetric
  193. SpecialMesh15.Parent = Part14
  194. SpecialMesh15.Scale = Vector3.new(1.25, 1.25, 1.25)
  195. Humanoid16.Parent = Model0
  196. Humanoid16.Health = 100
  197. Humanoid16.LeftLeg = Part6
  198. Humanoid16.MaxHealth = 100
  199. Humanoid16.RightLeg = Part7
  200. Humanoid16.Torso = Part1
  201. Humanoid16.WalkSpeed = 16
  202. Humanoid16.maxHealth = 0
  203. Script17.Name = "Respawn"
  204. Script17.Parent = Model0
  205. table.insert(cors,sandbox(Script17,function()
  206. name="Humanoid"
  207.  
  208.  
  209.  
  210. robo=script.Parent:clone()
  211.  
  212.  
  213.  
  214. while true do
  215.  
  216. wait()
  217.  
  218. if script.Parent.Humanoid.Health<1 then
  219.  
  220. robot=robo:clone()
  221.  
  222. robot.Parent=script.Parent.Parent
  223.  
  224. robot:makeJoints()
  225.  
  226. script.Parent:remove()
  227.  
  228. end
  229.  
  230. end
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239. end))
  240. for i,v in pairs(mas:GetChildren()) do
  241. v.Parent = script
  242. pcall(function() v:MakeJoints() end)
  243. end
  244. mas:Destroy()
  245. for i,v in pairs(cors) do
  246. spawn(function()
  247. pcall(v)
  248. end)
  249. end
  250.  
  251. Model0.Torso.CFrame = game:GetService("Players"):FindFirstChild(owner.Name).Character.HumanoidRootPart.CFrame
  252. while true do
  253. wait()
  254. Humanoid16.WalkToPoint = game:GetService("Players"):FindFirstChild(owner.Name).Character.HumanoidRootPart.Position
  255. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement