
9.6k Views
Free
Description
This script generates random data such as name, age, gender, city, and country, and encodes it into JSON format using HttpService:JSONEncode(data). Then, it sends the JSON data to the server via the SayMessageRequest event located in ReplicatedStorage, targeting all players ("All"). Therefore, the last two lines, print("Data sent to server:") and print(json), display the JSON data that has been sent to the server.
Comments
0