EasyValueModule - Server Side & Client Side easy changing and getting of values

Module: https://create.roblox.com/marketplace/asset/15887194791/EasyValueModule%3Fkeyword=&pageNumber=&pagePosition=

*Please make sure you put it inside of ReplicatedStorage if you want it to work for both client and server. Put it in ServerScriptService if you only want the server using it.

Information:

I made this module because I never liked going to the player's leaderstats and changing the values for their data. It would always take more lines than needed, and if I ever had a folder that I didn't know the name of, I would have to go search and find the name of it. With this module, simply type in the name of the statistic, the general location of where it is located, and the value you want to set it to. Easy as that!

How to use:

Functions:

  • Module.SetValue(Object, StatName, Value)
  • Module.AddValue(Object, StatName, Value)
  • Module.SubtractValue(Object, StatName, Value)
  • Module.GetValue(Object, StatName)

You can either set the value, add to the value, subtract from the value, or finally, get the value.


Uses:

This can be used to set leaderstats or other data, and it can also be used to change values inside parts, or any service that is accessible on server or client, which ever one you are calling the functions with.

I would mainly use it to change values inside ReplicatedStorage, and leaderstats.



If you have any questions just reply. I am still working on this so I'm still adding more.
3 Likes

Combine this with a type marshaller and jargon is no more.

1 Like