const script = { ClientPort: 0, MachineAddress: "", ServerPort: 0, PingUrl: "http://api.rowblx.xyz/ping", PingInterval: 120, UserName: "", SeleniumTestMode: false, UserId: 0, SuperSafeChat: false, CharacterAppearance: "", ClientTicket: "", GameId: "00000000-0000-0000-0000-000000000000", PlaceId: 0, MeasurementUrl: "", WaitingForCharacterGuid: "00000000-0000-0000-0000-000000000000", BaseUrl: "http://www.rowblx.xyz/", ChatStyle: "ClassicAndBubble", VendorId: 0, ScreenShotInfo: "", VideoInfo: 'GamesROBLOX, video, free game, online virtual world', CreatorId: 0, CreatorTypeEnum: "User", MembershipType: "", AccountAge: 365, CookieStoreFirstTimePlayKey: "rbx_evt_ftp", CookieStoreFiveMinutePlayKey: "rbx_evt_fmp", CookieStoreEnabled: true, IsRobloxPlace: true, GenerateTeleportJoin: false, IsUnknownOrUnder13: false, SessionId: "00000000-0000-0000-0000-000000000000|00000000-0000-0000-0000-000000000000|0|255.255.255.255|0|0000-00-00T00:00:00.0000000Z|0|null|null|null|null", DataCenterId: 0, UniverseId: 0, BrowserTrackerId: 0, UsePortraitMode: false, FollowUserId: 0, characterAppearanceId: 0 }; import sign from "./sign"; export default function (id, username, ip, port, membership) { let joinscript = script; joinscript.UserId = Number(id); joinscript.UserName = username; joinscript.MachineAddress = ip; joinscript.ServerPort = Number(port); joinscript.MembershipType = membership; joinscript.CharacterAppearance = `http://assetgame.rowblx.xyz/Asset/CharacterFetch.ashx?userId=${id}&placeId=1818`; return sign(JSON.stringify(joinscript)); }