Can exploiters edit values in a Tool?

I’m making a small model of an MP5 and inside of it I have a script that stores its value. For example:

local magAmmo = 30 -- Ammo in magazine
local availableAmmo = 100 -- Ammo in inventory

Can an exploiter change these values and potentially have unlimited ammo?

If the script it is stored in is a server script, then no they can’t.

I’m going to add on what the other guy said, exploiters can only change Client Sided scripts NOT server sided scripts, so if you were to store the magAmmo variable in a server sided service exploiters will not be able to change it (unless they literally hack into the roblox servers). This is why you almost never trust the client.

@DarkDanny04 @bringbacktrollface
image

Is the “WeaponInfo” script a Server-sided script?

Yes. The WeaponInfo script is server sided. Camera is client side. To repeat what others have said, the client cannot change the server script, but they can change the client script since that does run on the client.

1 Like