So, I'm trying to make a script where it saves a user's creation using saveplace api. However when I test the game out. I get an error: Game:SavePlace can only be called from a server script, aborting save function.

Here's the script that I'm currently using

game.Close:connect(function()
	game:GetService('AssetService'):SavePlaceAsync()
end)

I also put the script in the ServerScriptService

1 comment