local asset = game:GetService("AssetService") local function match(plr1,plr2) --plr1 and plr2 are strings local matchnum = 1337 --(a number from a datastore would be put here) local placeid = asset:CreatePlaceAsync("Siegecast Matchup Game #"..tostring(matchnum),211481450,plr1.." vs "..plr2) print(plr1.." vs "..plr2) --prints out "FutureWebsiteOwner vs GlueChomp" when tested (GlueChomp is an alt account i use for testing) end
The function successfully creates the place, but the description doesn't seem to show... Any ideas?
Try this.
local asset = game:GetService("AssetService") local function match(plr1,plr2) --plr1 and plr2 are strings local matchnum = 1337 --(a number from a datastore would be put here) local placeid = asset:CreatePlaceAsync("Siegecast Matchup Game #"..tostring(matchnum),211481450,(plr1.." vs "..plr2)) print(plr1.." vs "..plr2) --prints out "FutureWebsiteOwner vs GlueChomp" when tested (GlueChomp is an alt account i use for testing) end
I did (plr1.." vs "..plr2) in stead of plr1.." vs "..plr2 just in case lua got confused. I don't know if this helps any.