R

equip all tools in worksp

public
rrixh Apr 09, 2024 Never 98
Clone
Plaintext workspaxeTools_lulaslollipop.jar 20 lines (20 loc) | 641 Bytes
1
--[[
2
WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
3
]]
4
local chr = game.Players.LocalPlayer.Character
5
local root = chr.HumanoidRootPart
6
local hummy = chr:FindFirstChildOfClass"Humanoid"
7
local oldpos = root.CFrame
8
for i, v in next, workspace:GetDescendants() do
9
if v:IsA"Tool" then
10
if v:FindFirstChild("Handle") then --u need a handle for the equipment to work
11
if hummy.Parent:FindFirstChildOfClass("Tool") then
12
hummy:UnequipTools()
13
end
14
wait(0.015) --fix unequiptools lag or smth
15
root.CFrame = v.Handle.CFrame
16
wait(0.017)
17
end
18
end
19
end
20
root.CFrame = oldpos