You can save the backpack if you create a table called Backpack
then loop through the player’s real backpack to fetch the names of the tools, then add it to the table and save it. Make sure to handle all the other changes as well such as removing. Then to load when the player rejoins loop through the Backpack
table and find the tool in your game according to the name and clone it and parent it to the real Backpack.
does anyone know how I could make a float rather than an int
Use a number value instead of an integer value
but how would would I make it that
as in the code extended text
can somebody help please extend extend extend extend
just do
local float = 0.4324323424
if you desperately want to put it in a value object, convert it to a string and use a StringValue
. I don’t recommend it though.
also, I recommend not spamming on the post, utilize the Roblox documentation and past forum answers.
This module uses automatically converts your values, so you don’t need to worry about that. As @shr2mp said, you can use any number, it’s not restricted to whole numbers; it should work fine with ‘floats’.
I am making a new game with minigames but I am wondering how can I make it save across the places of it as in
Universe name: “Minigame”
Places: “Home”, “Spleef”
how can I have a leaderstat in home and when I go to spleef it also saves and loads
It should work anyway, AFAIK datastores are linked to the universe and not the place.
Hi, sorry to revive this topic, I remember this and it was amazing, I am wondering about the rbxm files github page no longer exists, I really want people to be able to use this and that is why I am informing you