I am using the CreatePlaceAsync() method. Everything is working except for setting the description of the place.
script.Parent.MouseButton1Click:connect(function() local serv = Game:GetService("AssetService") local n = script.Parent.Parent.Title local d = script.Parent.Parent.Desc local p = serv:CreatePlaceAsync(n.Text,178021862,d.Text) game:GetService("DataStoreService"):GetDataStore("VersionCrap"):SetAsync("V",p) wait() script.Parent.Parent.Visible = false end)
does anybody have any idea why this isn't working?
I don't know what CreatePlaceAsync() does but here's my idea.
script.Parent.MouseButton1Click:connect(function() local serv = Game:GetService("AssetService") local n = script.Parent.Parent.Title local d = script.Parent.Parent.Desc local p = serv:CreatePlaceAsync(n.Text .."178021862".. d.Text) -- Connected the number as a string? game:GetService("DataStoreService"):GetDataStore("VersionCrap"):SetAsync("V",p) wait() script.Parent.Parent.Visible = false end)