Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = owner
- wait(0.1)
- local m = Instance.new("Model", game.Workspace)
- m.Name = "Mediakiller7 the best friend"
- local h = Instance.new("Part",m)
- h.Name = "Head"
- local me = plr.Character.Head.Mesh:Clone()
- me.Parent = h
- local facee = plr.Character.Head.face:Clone()
- facee.Parent = h
- h.Size = plr.Character.Head.Size
- h:BreakJoints()
- h.CanCollide = false
- h.Position = plr.Character.Head.Position
- h.Position = h.Position + Vector3.new(0, 10, 0)
- h.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- local t = Instance.new("Part",m)
- t.Name = "Torso"
- t.Size = plr.Character.Torso.Size
- t:BreakJoints()
- t.CanCollide = false
- t.Position = plr.Character.Torso.Position
- t.Position = t.Position + Vector3.new(0, 10, 0)
- local decal = Instance.new("ShirtGraphic",m)
- decal.Graphic = "http://www.roblox.com/asset/?id=1926146296"
- local ra = Instance.new("Part",m)
- ra.Name = "Right Arm"
- ra.Size = plr.Character["Right Arm"].Size
- ra:BreakJoints()
- ra.Position = plr.Character["Right Arm"].Position
- ra.Position = ra.Position + Vector3.new(0, 10, 0)
- local la = Instance.new("Part",m)
- la.Name = "Left Arm"
- la.Size = plr.Character["Left Arm"].Size
- la:BreakJoints()
- la.Position = plr.Character["Left Arm"].Position
- la.Position = la.Position + Vector3.new(0, 10, 0)
- local ll = Instance.new("Part",m)
- ll.Name = "Left Leg"
- ll.Size = plr.Character["Left Leg"].Size
- ll:BreakJoints()
- ll.Position = plr.Character["Left Leg"].Position
- ll.Position = ll.Position + Vector3.new(0, 10, 0)
- local rl = Instance.new("Part",m)
- rl.Name = "Right Leg"
- rl.Size = plr.Character["Right Leg"].Size
- rl:BreakJoints()
- rl.Position = plr.Character["Right Leg"].Position
- rl.Position = rl.Position + Vector3.new(0, 10, 0)
- for i,v in pairs(m:GetChildren()) do
- if not(v.ClassName == "Accessory" or v.ClassName == "ShirtGraphic" or v.ClassName == "Humanoid" or v.ClassName == "Pants" or v.ClassName == "Shirt") then
- v:BreakJoints()
- end
- end
- local neck = Instance.new("Motor6D")
- neck.Name = "Neck"
- neck.Part0 = t
- neck.Part1 = h
- neck.Parent = t
- neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- neck.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- local rs = Instance.new("Motor6D")
- rs.Name = "Right Shoulder"
- rs.Part0 = t
- rs.Part1 = ra
- rs.Parent = t
- rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- local ls = Instance.new("Motor6D")
- ls.Name = "Left Shoulder"
- ls.Part0 = t
- ls.Part1 = la
- ls.Parent = t
- ls.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- ls.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local lh = Instance.new("Motor6D")
- lh.Name = "Left Hip"
- lh.Part0 = t
- lh.Part1 = ll
- lh.Parent = t
- lh.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- lh.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local rh = Instance.new("Motor6D")
- rh.Name = "Right Hip"
- rh.Part0 = t
- rh.Part1 = rl
- rh.Parent = t
- rh.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- rh.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- local hair = Instance.new("Accessory")
- hair.AttachmentPos = Vector3.new(0, 0.34, 0.25)
- local ha = Instance.new("Part",hair)
- ha.Name = "Handle"
- ha.Size = Vector3.new(1.6, 0.8, 1.6)
- local me = Instance.new("SpecialMesh", ha)
- me.MeshId = "rbxassetid://2309337895"
- me.TextureId = "rbxassetid://2309338779"
- me.Scale = Vector3.new(1.2, 1.2, 1.2)
- me.VertexColor = Vector3.new(1, 1, 1)
- local hair1 = Instance.new("Accessory")
- hair1.AttachmentPos = Vector3.new(0, 1.25, 0)
- local ha1 = Instance.new("Part",hair1)
- ha1.Name = "Handle"
- ha1.Size = Vector3.new(1.25, 1.15, 1.24)
- local me1 = Instance.new("SpecialMesh", ha1)
- me1.MeshId = "rbxassetid://2470748058"
- me1.TextureId = "rbxassetid://2470749333"
- me1.Scale = Vector3.new(1.1, 1, 1)
- me1.Offset = Vector3.new(0, 0.9, 0.1)
- me1.VertexColor = Vector3.new(1, 1, 1)
- local hair2 = Instance.new("Accessory")
- hair2.AttachmentPos = Vector3.new(0, 0.34, 0.25)
- local ha2 = Instance.new("Part",hair2)
- ha2.Name = "Handle"
- ha2.Size = Vector3.new(1.6, 0.8, 1.6)
- local me2 = Instance.new("SpecialMesh", ha2)
- me2.MeshId = "rbxassetid://2470774144"
- me2.TextureId = "rbxassetid://2470762534"
- me2.Scale = Vector3.new(1.4, 1.4, 1.4)
- me2.Offset = Vector3.new(0, 0.03, -0.38)
- me2.VertexColor = Vector3.new(1, 1, 1)
- --ahhh
- local hair3 = Instance.new("Accessory")
- hair3.AttachmentPos = Vector3.new(0, 0.34, 0.25)
- local ha3 = Instance.new("Part",hair3)
- ha3.Name = "Handle"
- ha3.Size = Vector3.new(1.6, 0.8, 1.6)
- local me3 = Instance.new("SpecialMesh", ha3)
- me3.MeshId = "rbxassetid://1829321807"
- me3.TextureId = "rbxassetid://1829322369"
- me3.Scale = Vector3.new(1.1, 1.1, 1.1)
- me3.Offset = Vector3.new(0, 0, 0)
- me3.VertexColor = Vector3.new(1, 1, 1)
- local sh = Instance.new("Shirt",m)
- sh.ShirtTemplate = ""
- sh.Name = "Shirt"
- local sh2 = Instance.new("Pants",m)
- sh2.PantsTemplate = ""
- sh2.Name = "Pants"
- wait(0.000000000000001)
- local hu = Instance.new("Humanoid", m)
- hu.MaxHealth = 100
- hu.Health = 100
- hu.WalkSpeed = 13
- h.BrickColor = BrickColor.new("Bright yellow")
- ra.BrickColor = BrickColor.new("Bright yellow")
- la.BrickColor = BrickColor.new("Bright yellow")
- t.BrickColor = BrickColor.new("Bright blue")
- rl.BrickColor = BrickColor.new("Br. yellowish green")
- ll.BrickColor = BrickColor.new("Br. yellowish green")
- local animation = Instance.new("Animation", script)
- animation.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- local hum = m:WaitForChild("Humanoid")
- local anim = hum:LoadAnimation(script:FindFirstChildOfClass("Animation"))
- anim.Looped = true
- anim:Play()
- hair.Parent = m
- local CurrentPart = nil
- local MaxInc = 30
- function onTouched(hit)
- if hit.Parent == nil then
- return
- end
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if humanoid == nil then
- CurrentPart = hit
- end
- end
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then
- return child
- end
- while true do
- print(childName)
- child = parent.ChildAdded:wait()
- if child.Name==childName then
- return child
- end
- end
- end
- local Figure = m
- local Humanoid = waitForChild(Figure, "Humanoid")
- local Torso = waitForChild(Figure, "Torso")
- local Left = waitForChild(Figure, "Left Leg")
- local Right = waitForChild(Figure, "Right Leg")
- Humanoid.Jump = true
- Left.Touched:connect(onTouched)
- Right.Touched:connect(onTouched)
- while true do
- wait(0.5)
- if CurrentPart ~= nil then
- if math.random(5, 7) == 1 then
- Humanoid.Jump = true
- end
- Humanoid:MoveTo(Torso.Position + Vector3.new(math.random(-MaxInc, MaxInc), 0, math.random(-MaxInc, MaxInc)), CurrentPart)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement