i created a game like minecraft factions but i forgot this, exploiters can break every ore with this code
for i,v in pairs(game.Workspace.Blocks.Lapis:GetChildren()) do
if v:IsA("Part") then
local args = {
[1] = {
[1] = "BlockDestroy",
[2] = v,
[3] = 10000,
[4] = 10
}
}
game.ReplicatedStorage.SRE:FireServer(unpack(args))
end
end
i scripted something but you can use this script anyway
i dont know how to fix this, if you know can you help me?