Attributes safety question

Hello, i want to ask this: “Is character attributes are safe from exploiters”. For example, i want to make armor value attribute, i tried doing this:

	Player.CharacterAdded:Connect(function (Character)
		-------- Atributes Set

-- it is server script stored in ServerScriptService
		Character:SetAttribute("InInventory", false)
		Character:SetAttribute("CurrentStamina", 100)
		
		Character:SetAttribute("IsArmored", false)
		Character:SetAttribute("ArmorValue", 100)
	end)
end)

Is it enough to keep it safe from exploiters?

exploiters can and will change attributes since they’re all client side, but since you’re storing this on the server anything a client changes will not replicate, so yes, the attributes are safe on the server. network ownership doesn’t come into effect here.

1 Like

there is no point in doing a stampede on the server, I will say more: this is a terribly bad practice.

Can you explain why its bad practice and is there any other methods?

1 Like