Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- anti tool script
- local workspaceC = workspace:GetDescendants()
- for _,v in pairs(workspaceC ) do
- if v:IsA("Tool") and v.Parent~=owner.Character then
- v:Destroy()
- end
- end
- workspace.DescendantAdded:Connect(function(tool)
- if tool:IsA("Tool") and tool.Parent~=owner.Character then
- tool:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement