Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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()
- for i, v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if v:IsA("Tool") then
- v.GripPos = Vector3.new(math.random(18, 93), math.random(-40, 40), 0)
- end
- end
- wait()
- for i, v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if v:IsA("Tool") then
- v.Parent = game.Players.LocalPlayer.Character
- end
- end
- wait()
- for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:IsA("Tool") then
- v.Parent = game.Workspace.Terrain
- end
- end
- local oh1 = CFrame.new(-20.5, 3.9000001, 53.5)
- local oh2 = game:GetService("Players")
- local oh3 = oh2.LocalPlayer.Character.HumanoidRootPart
- oh3.CFrame = oh1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement