you know you can’t do this in roblox? not only its breaking the rules but also didn’t include all other important headers that are listed when you do network recording. but just don’t do this at all tho
I think you need to provide a x-csrf-token header along with the cookie. I usually find them with my cookie data in the developer console (using Chrome). Or attached to a request payload (again, on Chrome you can view the network tab to see outgoing and incoming HTTP requests).
Keep in mind though that this token isn’t long lasting and expires quite frequently so you’d need to find a way to get the new token if this program you’re making is long lasting.
What I would say with this is watch how you use this, depending on what it is could go against Roblox’s TOS. The topic I shared raises some valid concerns.