Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local boy = Instance.new("Model", workspace)
- boy.Name = "Baby"
- local oof = Instance.new("Model", boy)
- oof.Name = " "
- local head = Instance.new("Part", oof)
- local torso = Instance.new("Part", oof)
- local mash = Instance.new("SpecialMesh", head)
- mash.MeshType = "Head"
- mash.Scale = Vector3.new(1, 1, 1)
- local newmash = Instance.new("SpecialMesh", torso)
- newmash.Scale = Vector3.new(1.2, 1.5, 1.2)
- local nek = Instance.new("Snap", torso)
- nek.Name = "Neck"
- local face = Instance.new("Decal", head)
- face.Name = "face"
- head.Anchored = true
- torso.Anchored = true
- torso.Position = Vector3.new(61.211, 0.588, 8.669)
- torso.Size = Vector3.new(1, 1, 1)
- torso.Orientation = Vector3.new(0, -127.33, 0)
- head.Orientation = Vector3.new(0, -127.33, 0)
- head.Size = Vector3.new(2, 1, 1)
- head.Position = Vector3.new(61.211, 1.588, 8.669)
- head.BrickColor = BrickColor.new("Light orange")
- torso.BrickColor = BrickColor.new("White")
- local pickup = Instance.new("Part", boy)
- pickup.Name = "Pickup Infant Button"
- debounce=false
- function onTouched(hit)
- if hit.Parent ~= nil then
- if (hit.Parent:findFirstChild("Humanoid") == nil) then return end
- if (hit.Parent:findFirstChild("IsaMorph") ~= nil) then return end
- local human = hit.Parent:findFirstChild("Humanoid")
- local player = game.Players:GetPlayerFromCharacter(hit.Parent)
- local char = human.Parent
- if (human ~= nil) and debounce == false then
- debounce = true
- if char:findFirstChild("Infant") == nil then
- local mesh = char.Head:findFirstChild("Mesh")
- mesh.Scale = Vector3.new(1, 1, 1)
- local torso = char.Torso
- torso.Transparency = 1
- torso.CanCollide = false
- if char:findFirstChild("FakeTorso") ~= nil then
- char:findFirstChild("FakeTorso"):remove()
- end
- local body = Instance.new("Part")
- body.BrickColor = BrickColor.new(1)
- body.Parent = char
- body.Position = torso.Position
- body.Name = "FakeTorso"
- body.formFactor = "Symmetric"
- body.Size = Vector3.new(1,1,1)
- local w1 = Instance.new("Weld")
- w1.Parent = torso
- w1.Part0 = w1.Parent
- w1.Part1 = body
- w1.C1 = CFrame.new(0, 0.25, 0)
- local w2 = Instance.new("Weld")
- w2.Parent = torso
- w2.Part0 = w1.Parent
- w2.Part1 = char.Head
- w2.C1 = CFrame.new(0, -0.8, 0)
- local bodymesh = Instance.new("SpecialMesh")
- bodymesh.Scale = Vector3.new(1.2, 1.5, 1.2)
- bodymesh.Parent = body
- local rightarm = char:findFirstChild("Right Arm")
- if rightarm ~= nil then
- rightarm:remove()
- end
- local rightleg = char:findFirstChild("Right Leg")
- if rightleg~= nil then
- rightleg:remove()
- end
- local leftarm =char:findFirstChild("Left Arm")
- if leftarm~= nil then
- leftarm:remove()
- end
- local leftleg = char:findFirstChild("Left Leg")
- if leftleg ~= nil then
- leftleg:remove()
- end
- local marker = Instance.new("StringValue")
- marker.Parent = char
- marker.Name = "IsaMorph"
- characterparts = char:getChildren()
- for i=1,#characterparts do
- if characterparts[i].className == "Part" then
- characterparts[i].Locked = false
- end
- if characterparts[i].className == "Hat" then
- characterparts[i].Handle.Locked = false
- end
- end
- end
- end
- debounce = false
- end
- print ("scriptcomplete")
- end
- pickup.Touched:connect(onTouched)
- pickup.Anchored = true
- pickup.BrickColor = BrickColor.new("Dark green")
- pickup.Size = Vector3.new(2, 0.4, 2)
- pickup.TopSurface = "SmoothNoOutlines"
- pickup.BottomSurface = "SmoothNoOutlines"
- pickup.LeftSurface = "SmoothNoOutlines"
- pickup.RightSurface = "SmoothNoOutlines"
- pickup.FrontSurface = "SmoothNoOutlines"
- pickup.BackSurface = "SmoothNoOutlines"
- pickup.Position = Vector3.new(64.104, 0.2, 9.171)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement