ModuleForRBLX

Untitled

Feb 24th, 2019
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. --[[
  2. Cyclically's FE Tool Duplicate Tools V4
  3. After executing the script, please wait until you are able to move your character again.
  4. https://v3rmillion.net/member.php?action=profile&uid=785986
  5. ]]
  6.  
  7. local toolamount = 100 -- Amount of tools you want to get
  8.  
  9. -- 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
  10.  
  11. local LocalPlayer = game:GetService("Players").LocalPlayer
  12. local runservice = game:GetService("RunService")
  13. LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  14. local currentamount = #LocalPlayer.Backpack:GetChildren()
  15. LocalPlayer.Character.Archivable = true
  16. local tempchar = LocalPlayer.Character:Clone()
  17. local lastchar = nil
  18. tempchar.Parent = workspace
  19. local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  20. local renderstepped = runservice.RenderStepped:Connect(function()
  21. workspace.CurrentCamera.CameraSubject = tempchar:FindFirstChild("Humanoid")
  22. for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
  23. if tool:IsA("Tool") then
  24. tool.Parent = LocalPlayer
  25. end
  26. end
  27. LocalPlayer.Character:ClearAllChildren()
  28. local char = Instance.new("Model", workspace)
  29. Instance.new("Humanoid", char)
  30. LocalPlayer.Character = char
  31. if lastchar ~= nil then
  32. lastchar:Destroy()
  33. end
  34. repeat runservice.RenderStepped:Wait() until LocalPlayer.Character ~= nil
  35. lastchar = char
  36. end)
  37. repeat runservice.RenderStepped:Wait() until #LocalPlayer:GetChildren() - 3 - currentamount >= toolamount
  38. renderstepped:Disconnect()
  39. repeat runservice.RenderStepped:Wait() until LocalPlayer.Character:FindFirstChild("HumanoidRootPart") ~= nil
  40. lastchar:Destroy()
  41. for _, tool in pairs(LocalPlayer:GetChildren()) do
  42. if tool:IsA("Tool") then
  43. tool.Parent = LocalPlayer.Backpack
  44. end
  45. end
  46. LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  47. tempchar:Destroy()
Add Comment
Please, Sign In to add comment