Does anyone know how to make a tool saving system with profile service?

im trying to make a tool saving system but my game uses profile service and i want the tools to save with the profile service. does anyone know how to make it do so?? TY

Give your tools unique names or IDs, then save those names/IDs, and when loading you can just give those tools back.

yes i mean like how do i make the script to save it?? strings dont save in profile service and i dont even know how to make the script of it

What do you mean strings don’t save?
I won’t write entire scripts for you, you’ll need to learn the basics of Luau and how to interact with the datamodel.

i am very good at scripting and have been on roblox studio for years its just that i am new to profile service, havent rlly used it much

i tried saving strings and they didnt save; i cant find any vids about that to help me

Please show your code.

Also I would suggest using ProfileStore instead, as it’s the successor of ProfileService. Read the documentation if you haven’t already.

I think you meant ProfileStore, which is the newer version of ProfileService.

The topic already includes a built-in example, which I’ve used in several of my games. It also has a tutorial if you want to dive deeper!

ProfileStore Overview, Leaderstats, and Data Interface

yeah i think i use the profile store script and it works well! only problem is that i definitely do not know how to make it save the tools

i could show the code later

It has a template in the example code. Let’s say you have Bloxy Cola in your inventory, you can write a part for your player where you store a table, add the string "bloxy_cola", and give it back to the player when they join the game again.

The example is really helpful.

Do note that :AddUserId() does not automatically make it GDPR compliant, Roblox doesn’t remove the data for you.

The tutorial shows how to do it, it’s important to watch it.

oh tysm! i saw this code before but i didnt exactly know how the Items variable worked as much, but i get it now TY!!

1 Like