i noticed that if i remove humanoid:UnequipTools() then it will save
As i was wondering Now here is what you can do get a Character Removed event in Your script and do the
there
You can then later just save it in main function
Have you activated the HTTPS Service in Studio? You can try in-game (not studio) if this can help.
This doesnāt use HttpService, so HttpEnabled is not relevant.
Using :UnequipTools() is not required and the reason why it errors is because your character is already removed by the time PlayerRemoving fires.
@megatank58 using CharacterRemoved can be hazardous as it fires every time you die. Never do this for anything involving anything but in game death.
This is datastore, and datastore need the https service to be activted.
Nvm, go to: HomeĀ»GameSettingsĀ»Options and enable āEnable Studio Access to API Servicesā
You might want to use pcall() so it finishes the code properly.
I know I havenāt recommended it here and i have also started itās back effects