diff --git a/defs.d.lua b/defs.d.lua index ae79436..4cb156c 100644 --- a/defs.d.lua +++ b/defs.d.lua @@ -8851,10 +8851,10 @@ declare class DataModel extends ServiceProvider function GetObjectsAsync(self, url: Content): { Instance } function GetObjectsList(self, urls: { any }): { any } function GetPlaySessionId(self): string - function HttpGet(self, url: string, httpRequestType: EnumHttpRequestType?): string - function HttpGetAsync(self, url: string, httpRequestType: EnumHttpRequestType?): string - function HttpPost(self, url: string, data: string, contentType: string?, httpRequestType: EnumHttpRequestType?): string - function HttpPostAsync(self, url: string, data: string, contentType: string?, httpRequestType: EnumHttpRequestType?): string + function HttpGet(self, url: string, synchronous: boolean, httpRequestType: EnumHttpRequestType?, doNotAllowDiabolicalMode: boolean?): string + function HttpGetAsync(self, url: string, synchronous: boolean, httpRequestType: EnumHttpRequestType?, doNotAllowDiabolicalMode: boolean?): string + function HttpPost(self, url: string, data: string, synchronous: boolean, contentType: string?, httpRequestType: EnumHttpRequestType?, doNotAllowDiabolicalMode: boolean?): string + function HttpPostAsync(self, url: string, data: string, synchronous: boolean, contentType: string?, httpRequestType: EnumHttpRequestType?, doNotAllowDiabolicalMode: boolean?): string function InsertObjectsAndJoinIfLegacyAsync(self, url: Content): { Instance } function IsContentLoaded(self): boolean function IsLoaded(self): boolean diff --git a/luau/renderAvatar.luau b/luau/renderAvatar.luau index 0baeb3d..0257ae2 100644 --- a/luau/renderAvatar.luau +++ b/luau/renderAvatar.luau @@ -32,9 +32,8 @@ game:HttpPost( .. "&RenderJobID=" .. game.JobId, '{"Status": 1}', - synchronous, - "text/plain", - true + true, + "text/plain" ) local player = game:GetService("Players"):CreateLocalPlayer(0) diff --git a/luau/renderClothing.luau b/luau/renderClothing.luau index 0baeb3d..a187277 100644 --- a/luau/renderClothing.luau +++ b/luau/renderClothing.luau @@ -32,7 +32,7 @@ game:HttpPost( .. "&RenderJobID=" .. game.JobId, '{"Status": 1}', - synchronous, + true, "text/plain", true ) @@ -70,8 +70,7 @@ while true do .. game.JobId, result, true, - "text/plain", - true + "text/plain" ) end) if not ok then