A new exploit has recently appeared that allows players to weld bald players to limbs on their body. This can be problematic especially on games like the new metaverse event because it allows people to control other characters.
I have made a solution that prevents exploiters from taking over players with no hats on.
local h = Instance.new(“Accessory”)
local handle = Instance.new(“Part”,h)
handle.Size = Vector3.new(1,1,1)
handle.Name = “Handle”
local mesh = Instance.new(“SpecialMesh”,handle)
mesh.MeshId = “http://roblox.com/asset/?id=83293901”
mesh.TextureId = “http://roblox.com/asset/?id=83284747”
game:GetService(“Workspace”).DescendantAdded:Connect(function(part)
if part:IsA(“Model”) and game:GetService(“Players”):GetPlayerFromCharacter(part) then
wait(1)
if not part:FindFirstChildWhichIsA(“Accoutrement”) then
h:Clone().Parent = part
end
end
end)