Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mouse = game.Players.LocalPlayer:GetMouse()
- local delaytime = 0.5 -- delay until next clone
- function copy(player)
- local char = player.Character
- for i,v in pairs(char:GetChildren()) do
- if v:IsA("Part") then
- local clone = v:clone()
- clone.Parent = game.Workspace
- clone.Anchored = true
- clone.CanCollide = false
- clone.Name = "ClonePart"
- for a,b in pairs(clone:GetChildren()) do
- if b:IsA("Motor6D") or b:IsA("Weld") then
- b:destroy()
- else
- end
- end
- elseif v:IsA("Hat") then
- local handle = v.Handle
- local cln = handle:clone()
- cln.Parent = game.Workspace
- cln.Anchored = true
- cln.CanCollide = false
- cln.Name = "ClonePart"
- end
- end
- end
- function keyd(key)
- if key == "r" then
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v.Name == "ClonePart" and v:IsA("Part") then
- v:destroy()
- end
- end
- end
- end
- mouse.KeyDown:connect(keyd)
- while wait(delaytime) do
- copy(game.Players.LocalPlayer)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement