Hello developers!
I am working on a perk shop GUI, and I want all of the items in the shop to contain: Description, Price, and Rarity.
However, I was wondering if exploiters can change the module in a way that the server will see.
Which means that if I make a Module script like this:
local module = {
["Speed"] = {
["Description"] = "Make yourself faster",
["Price"] = 500,
["Rarity"] = "Common"
}
}
return module
Because I am cloning a template for every perk, and want to get the price from both the server and the client (basically just store it in one place and use in 2).
If the client changes the Price to 0, will the server think it’s 0 (client change) or 500 (original)?
TL;DR: If the client changes the content of a ReplicatedStorage ModuleScript, will the server see it as it was written or as the client module (The edited module)?
Thanks