Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Motor6D2 = Instance.new("Motor6D")
- Part3 = Instance.new("Part")
- BodyForce4 = Instance.new("BodyForce")
- Motor6D5 = Instance.new("Motor6D")
- Part6 = Instance.new("Part")
- Part7 = Instance.new("Part")
- Weld8 = Instance.new("Weld")
- Weld9 = Instance.new("Weld")
- Weld10 = Instance.new("Weld")
- Weld11 = Instance.new("Weld")
- Part12 = Instance.new("Part")
- Part13 = Instance.new("Part")
- Part14 = Instance.new("Part")
- SpecialMesh15 = Instance.new("SpecialMesh")
- Humanoid16 = Instance.new("Humanoid")
- Script17 = Instance.new("Script")
- Model0.Name = "Pet Creeper"
- Model0.Parent = mas
- Part1.Name = "HumanoidRootPart"
- Part1.Parent = Model0
- 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)
- Part1.Orientation = Vector3.new(0, -90, 0)
- Part1.Position = Vector3.new(-68.2913208, 2.99998069, -73.851944)
- Part1.Rotation = Vector3.new(0, -90, 0)
- Part1.Color = Color3.new(0.356863, 0.603922, 0.298039)
- Part1.Transparency = 1
- Part1.Size = Vector3.new(2, 2, 1)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Shamrock")
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Shamrock")
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.formFactor = Enum.FormFactor.Symmetric
- Motor6D2.Name = "Root Hip"
- Motor6D2.Parent = Part1
- Motor6D2.MaxVelocity = 0.10000000149012
- Motor6D2.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D2.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D2.Part0 = Part1
- Motor6D2.Part1 = Part3
- Motor6D2.part1 = Part3
- Part3.Name = "Torso"
- Part3.Parent = Model0
- 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)
- Part3.Orientation = Vector3.new(0, -90, 0)
- Part3.Position = Vector3.new(-68.2913208, 2.99998069, -73.851944)
- Part3.Rotation = Vector3.new(0, -90, 0)
- Part3.Color = Color3.new(0.356863, 0.603922, 0.298039)
- Part3.Size = Vector3.new(2, 2, 1)
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.BrickColor = BrickColor.new("Shamrock")
- Part3.Material = Enum.Material.SmoothPlastic
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.brickColor = BrickColor.new("Shamrock")
- Part3.FormFactor = Enum.FormFactor.Symmetric
- Part3.formFactor = Enum.FormFactor.Symmetric
- BodyForce4.Name = "RepulsionForce"
- BodyForce4.Parent = Part3
- BodyForce4.Force = Vector3.new(0, 0, 0)
- BodyForce4.force = Vector3.new(0, 0, 0)
- Motor6D5.Name = "Neck"
- Motor6D5.Parent = Part3
- Motor6D5.MaxVelocity = 0.10000000149012
- Motor6D5.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D5.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D5.Part0 = Part3
- Motor6D5.Part1 = Part14
- Motor6D5.part1 = Part14
- Part6.Name = "Left Leg"
- Part6.Parent = Model0
- 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)
- Part6.Orientation = Vector3.new(0, -90, 0)
- Part6.Position = Vector3.new(-68.7913208, 1.00002968, -74.351944)
- Part6.Rotation = Vector3.new(0, -90, 0)
- Part6.Color = Color3.new(0.356863, 0.603922, 0.298039)
- Part6.Size = Vector3.new(1, 2, 1)
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.BrickColor = BrickColor.new("Shamrock")
- Part6.CanCollide = false
- Part6.Material = Enum.Material.SmoothPlastic
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.brickColor = BrickColor.new("Shamrock")
- Part6.FormFactor = Enum.FormFactor.Symmetric
- Part6.formFactor = Enum.FormFactor.Symmetric
- Part7.Name = "Right Leg"
- Part7.Parent = Model0
- 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)
- Part7.Orientation = Vector3.new(0, -90, 0)
- Part7.Position = Vector3.new(-68.7913208, 1.00002968, -73.351944)
- Part7.Rotation = Vector3.new(0, -90, 0)
- Part7.Color = Color3.new(0.356863, 0.603922, 0.298039)
- Part7.Size = Vector3.new(1, 2, 1)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.BrickColor = BrickColor.new("Shamrock")
- Part7.CanCollide = false
- Part7.Material = Enum.Material.SmoothPlastic
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.brickColor = BrickColor.new("Shamrock")
- Part7.FormFactor = Enum.FormFactor.Symmetric
- Part7.formFactor = Enum.FormFactor.Symmetric
- Weld8.Name = "BTWeld"
- Weld8.Parent = Part7
- Weld8.C1 = CFrame.new(1, 0, 0, 1, -5.67979792e-29, 0, 5.67979852e-29, 1, -5.04879285e-29, 0, 5.04879285e-29, 1)
- Weld8.Part0 = Part7
- Weld8.Part1 = Part6
- Weld8.part1 = Part6
- Weld9.Name = "BTWeld"
- Weld9.Parent = Part7
- 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)
- Weld9.Part0 = Part7
- Weld9.Part1 = Part1
- Weld9.part1 = Part1
- Weld10.Name = "BTWeld"
- Weld10.Parent = Part7
- 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)
- Weld10.Part0 = Part7
- Weld10.Part1 = Part13
- Weld10.part1 = Part13
- Weld11.Name = "BTWeld"
- Weld11.Parent = Part7
- 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)
- Weld11.Part0 = Part7
- Weld11.Part1 = Part12
- Weld11.part1 = Part12
- Part12.Name = "Left Arm"
- Part12.Parent = Model0
- 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)
- Part12.Orientation = Vector3.new(0, -90, 0)
- Part12.Position = Vector3.new(-67.7913208, 0.999980688, -74.351944)
- Part12.Rotation = Vector3.new(0, -90, 0)
- Part12.Color = Color3.new(0.356863, 0.603922, 0.298039)
- Part12.Size = Vector3.new(1, 2, 1)
- Part12.BottomSurface = Enum.SurfaceType.Smooth
- Part12.BrickColor = BrickColor.new("Shamrock")
- Part12.CanCollide = false
- Part12.Material = Enum.Material.SmoothPlastic
- Part12.TopSurface = Enum.SurfaceType.Smooth
- Part12.brickColor = BrickColor.new("Shamrock")
- Part12.FormFactor = Enum.FormFactor.Symmetric
- Part12.formFactor = Enum.FormFactor.Symmetric
- Part13.Name = "Right Arm"
- Part13.Parent = Model0
- 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)
- Part13.Orientation = Vector3.new(0, -90, 0)
- Part13.Position = Vector3.new(-67.7913208, 0.999980688, -73.351944)
- Part13.Rotation = Vector3.new(0, -90, 0)
- Part13.Color = Color3.new(0.356863, 0.603922, 0.298039)
- Part13.Size = Vector3.new(1, 2, 1)
- Part13.BottomSurface = Enum.SurfaceType.Smooth
- Part13.BrickColor = BrickColor.new("Shamrock")
- Part13.CanCollide = false
- Part13.Material = Enum.Material.SmoothPlastic
- Part13.TopSurface = Enum.SurfaceType.Smooth
- Part13.brickColor = BrickColor.new("Shamrock")
- Part13.FormFactor = Enum.FormFactor.Symmetric
- Part13.formFactor = Enum.FormFactor.Symmetric
- Part14.Name = "Head"
- Part14.Parent = Model0
- 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)
- Part14.Orientation = Vector3.new(0, -90, 0)
- Part14.Position = Vector3.new(-68.2913208, 4.49996853, -73.851944)
- Part14.Rotation = Vector3.new(0, -90, 0)
- Part14.Color = Color3.new(0.356863, 0.603922, 0.298039)
- Part14.Size = Vector3.new(2, 1, 1)
- Part14.BottomSurface = Enum.SurfaceType.Smooth
- Part14.BrickColor = BrickColor.new("Shamrock")
- Part14.Material = Enum.Material.SmoothPlastic
- Part14.TopSurface = Enum.SurfaceType.Smooth
- Part14.brickColor = BrickColor.new("Shamrock")
- Part14.FormFactor = Enum.FormFactor.Symmetric
- Part14.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh15.Parent = Part14
- SpecialMesh15.Scale = Vector3.new(1.25, 1.25, 1.25)
- Humanoid16.Parent = Model0
- Humanoid16.Health = 100
- Humanoid16.LeftLeg = Part6
- Humanoid16.MaxHealth = 100
- Humanoid16.RightLeg = Part7
- Humanoid16.Torso = Part1
- Humanoid16.WalkSpeed = 16
- Humanoid16.maxHealth = 0
- Script17.Name = "Respawn"
- Script17.Parent = Model0
- table.insert(cors,sandbox(Script17,function()
- name="Humanoid"
- robo=script.Parent:clone()
- while true do
- wait()
- if script.Parent.Humanoid.Health<1 then
- robot=robo:clone()
- robot.Parent=script.Parent.Parent
- robot:makeJoints()
- script.Parent:remove()
- end
- end
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- Model0.Torso.CFrame = game:GetService("Players"):FindFirstChild(owner.Name).Character.HumanoidRootPart.CFrame
- while true do
- wait()
- Humanoid16.WalkToPoint = game:GetService("Players"):FindFirstChild(owner.Name).Character.HumanoidRootPart.Position
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement