Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Argument 1 missing or nil. when creating a place, why?

I enter this command into my command-bar in STUDIO:

newPlaceId = game:GetService('AssetService'):CreatePlaceAsync(Test1, 299399612, Test)

I get an error:

20:06:24.600 - Argument 1 missing or nil
20:06:24.601 - Script 'newPlaceId = game:GetService('AssetService'):CreatePlaceAsync(Test1, 299399612, Test)', Line 1
20:06:24.601 - Stack End

How is this possible? I thought I have all the arguments already? Someone help or advice me please?

1 answer

First argument for CreatePlaceAsync should be String. Test1 should be 'Test1'.

This discussion is preserved as it was. New answers, comments, and votes are closed.