Sending data to new servers (MessagingService)

local MessagingService = game:GetService("MessagingService")

MessagingService:SubscribeAsync("test", function(message)
	local MyPart ="Part")
	MyPart.Parent = workspace
	MyPart.Anchored = true
	MyPart.Position =, 5, 0)

I made a script which uses MessagingService to build a part in the workspace
What I want to happen is for the part to save to the game after it’s created in the function above. For example, whenever a new server is created, it will make a part and set the part’s position to (0, 5, 0)

Is there a service for this?

1 Like