Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = owner
- plr.Character["Body Colors"]:Destroy()
- wait(0.1)
- local m = Instance.new("Model", plr.Character)
- m.Name = owner.Character.Name
- local h = plr.Character.Head:Clone()
- h:BreakJoints()
- h.Anchored = true
- h.Parent = m
- h.CanCollide = false
- h.Position = plr.Character.Head.Position
- h.Position = h.Position + Vector3.new(0, 10, 0)
- local t = plr.Character.Torso:Clone()
- t:BreakJoints()
- t.Parent = m
- t.Anchored = true
- t.CanCollide = false
- t.Position = plr.Character.Torso.Position
- t.Position = t.Position + Vector3.new(0, 10, 0)
- local idk = Instance.new("Weld", t)
- idk.Name = "Tailx"
- local ra = plr.Character["Right Arm"]:Clone()
- ra:BreakJoints()
- ra.Parent = m
- ra.Anchored = true
- ra.Position = plr.Character["Right Arm"].Position
- ra.Position = ra.Position + Vector3.new(0, 10, 0)
- local la = plr.Character["Left Arm"]:Clone()
- la:BreakJoints()
- la.Parent = m
- la.Anchored = true
- la.Position = plr.Character["Left Arm"].Position
- la.Position = la.Position + Vector3.new(0, 10, 0)
- local rl = plr.Character["Right Leg"]:Clone()
- rl:BreakJoints()
- rl.Parent = m
- rl.Anchored = true
- rl.Position = plr.Character["Right Leg"].Position
- rl.Position = rl.Position + Vector3.new(0, 10, 0)
- local ll = plr.Character["Left Leg"]:Clone()
- ll:BreakJoints()
- ll.Parent = m
- ll.Anchored = true
- ll.Position = plr.Character["Left Leg"].Position
- ll.Position = ll.Position + Vector3.new(0, 10, 0)
- local hrp = plr.Character.HumanoidRootPart:Clone()
- hrp:BreakJoints()
- hrp.Parent = m
- hrp.Anchored = true
- hrp.Position = plr.Character.HumanoidRootPart.Position
- hrp.Position = hrp.Position + Vector3.new(0, 10, 0)
- local animat = plr.Character.Humanoid.Animator:Clone()
- for i,v in pairs(m:GetChildren()) do
- v:BreakJoints()
- end
- local root = owner.Character.HumanoidRootPart.RootJoint:Clone()
- root.Part0 = hrp
- root.Part1 = t
- root.Parent = hrp
- local neck = owner.Character.Torso.Neck:Clone()
- neck.Part0 = t
- neck.Part1 = h
- neck.Parent = t
- local rs = owner.Character.Torso["Right Shoulder"]:Clone()
- rs.Part0 = t
- rs.Part1 = ra
- rs.Parent = t
- local ls = owner.Character.Torso["Left Shoulder"]:Clone()
- ls.Part0 = t
- ls.Part1 = la
- ls.Parent = t
- local lh = owner.Character.Torso["Left Hip"]:Clone()
- lh.Part0 = t
- lh.Part1 = ll
- lh.Parent = t
- local rh = owner.Character.Torso["Right Hip"]:Clone()
- rh.Part0 = t
- rh.Part1 = rl
- rh.Parent = t
- wait(0.000000000000001)
- local h = Instance.new("Humanoid", m)
- h.MaxHealth = 0
- h.Health = 0
- for i,v in pairs(owner.Character:GetChildren()) do
- if v.ClassName == "CharacterMesh" or v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
- local c = v:Clone()
- c.Parent = m
- end
- end
- wait(0.1)
- owner.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=15199999"
- for i,v in pairs(m:GetChildren()) do
- if v.ClassName == "Part" then
- v.Anchored = false
- end
- end
- for i,v in pairs(owner.Character:GetChildren()) do
- if v.ClassName == "CharacterMesh" then
- v:Destroy()
- end
- if v.ClassName == "Shirt" then
- v:Destroy()
- end
- if v.ClassName == "Part" then
- if v.Name == "Head" or v.Name == "Right Arm" or v.Name == "Left Arm" then
- v.BrickColor = BrickColor.new("Br. yellowish green")
- end
- if v.Name == "Head" then
- v.Transparency = 1
- end
- if v.Name == "Torso" or v.Name == "Right Leg" or v.Name == "Left Leg" then
- v.BrickColor = BrickColor.new("New Yeller")
- end
- end
- if v.ClassName == "Pants" then
- v:Destroy()
- end
- if v.ClassName == "ShirtGraphic" then
- v:Destroy()
- end
- if v.ClassName == "Accessory" then
- v:Destroy()
- end
- if v.ClassName == "Hat" then
- v:Destroy()
- end
- end
- local fake = Instance.new("Model", owner.Character)
- fake.Name = "Default Dummy"
- 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()
- local newhead = Instance.new("Part", fake)
- newhead.Size = owner.Character.Head.Size
- newhead.Name = "Head"
- newhead.BrickColor = BrickColor.new("Br. yellowish green")
- local mesh = owner.Character.Head.Mesh:Clone()
- mesh.Parent = newhead
- local hum = Instance.new("Humanoid", fake)
- hum.MaxHealth = 0
- local w = Instance.new("Weld", newhead)
- w.Part0 = owner.Character.Head
- w.Part1 = newhead
- 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