Created
February 19, 2020 12:11
-
-
Save DinosaurXxX/bbb5c491002b6bff28b1b68b1f26f826 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --[[ | |
| Cyclically's FE Tool Duplicate Tools V4 | |
| After executing the script, please wait until you are able to move your character again. | |
| https://v3rmillion.net/member.php?action=profile&uid=785986 | |
| ]] | |
| local toolamount = 100 -- Amount of tools you want to get | |
| -- Don't edit script unless you know what you're doing. If you wanna add this into a script, please give credits and message me on discord that you added it in a script at Cyclically#4905 | |
| local LocalPlayer = game:GetService("Players").LocalPlayer | |
| local runservice = game:GetService("RunService") | |
| LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools() | |
| local currentamount = #LocalPlayer.Backpack:GetChildren() | |
| LocalPlayer.Character.Archivable = true | |
| local tempchar = LocalPlayer.Character:Clone() | |
| local lastchar = nil | |
| tempchar.Parent = workspace | |
| local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame | |
| local renderstepped = runservice.RenderStepped:Connect(function() | |
| workspace.CurrentCamera.CameraSubject = tempchar:FindFirstChild("Humanoid") | |
| for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do | |
| if tool:IsA("Tool") then | |
| tool.Parent = LocalPlayer | |
| end | |
| end | |
| LocalPlayer.Character:ClearAllChildren() | |
| local char = Instance.new("Model", workspace) | |
| Instance.new("Humanoid", char) | |
| LocalPlayer.Character = char | |
| if lastchar ~= nil then | |
| lastchar:Destroy() | |
| end | |
| repeat runservice.RenderStepped:Wait() until LocalPlayer.Character ~= nil | |
| lastchar = char | |
| end) | |
| repeat runservice.RenderStepped:Wait() until #LocalPlayer:GetChildren() - 3 - currentamount >= toolamount | |
| renderstepped:Disconnect() | |
| repeat runservice.RenderStepped:Wait() until LocalPlayer.Character:FindFirstChild("HumanoidRootPart") ~= nil | |
| lastchar:Destroy() | |
| for _, tool in pairs(LocalPlayer:GetChildren()) do | |
| if tool:IsA("Tool") then | |
| tool.Parent = LocalPlayer.Backpack | |
| end | |
| end | |
| LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos | |
| tempchar:Destroy() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment