CarlosMXJoin Date: 2011-04-30 Post Count: 791 |
So after reading through the wiki about Dynamic Place Creation, I'm attempting to make a save gui button that saves the state of the game created from the template.(http://wiki.roblox.com/index.php?title=Dynamic_place_creation_and_saving#SavePlaceAsync.28.29)
Is this the correct way?
local player = script.Parent.Parent.Parent.Parent.Parent
function onButtonClicked()
game:GetService("AssetService"):SavePlaceAsync(player)
end
script.Parent.MouseButton1Down:connect(onButtonClicked) |