Other ways of using loadstring?

Hello! I have a leaderstats saving system but I have multiple places in my game which means I will have to copy the leaderstats system into every place everytime I update it. My plan was to put my code on a website then loadstring it but that means exploiters will hack into my game easier. Any alternatives?

Sorry for my bad english

You can use the engines MessagingService to send information from each server / place in the same experience.

You can use this to send the leaderstats into each place in real time without having to use an external website api.

Wouldn’t that need loadstring to run the given code?

Use this

You can publish leaderstat data and when the servers in each place that need to update the leaderstat data can run a function there with the data provided from the message.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.