The code is meant to make it so that that all the parts in Workspace Called "Part" get saved whenever you press z on your keybord.
Player = game.Players.LocalPlayer mouse = Player:GetMouse() mouse.KeyDown:connect(function(key) if key == "z" then local c = game.Workspace:GetChildren() for i = 1, #c do if (c[i].Name == "Part") then c[i]:SavePlace(Enum.SaveFilter.SaveAll) end end end end)
Thank you
From my understanding, You cannot use :SavePlace() in local scripts?