I am creating a game called Formia (a platformer game)
I am adding a system where people can make their own levels, it goes into the “custom games” tab, and other people can independently play them by creating a new server. Simple, right? No. The first source I came around to is DevForums, and so I looked up how to transfer model from server to server. [It didn’t end up well] I don’t know if this has anything to do with TeleportService or MessagingService.
Yes basically use serialization. This works only for parts and decals. Type in serialization and grab the Module of roblozDev put a script as a parent, and then you can make a remoteevent that gets triggered and send player name so…
local Module= require(Script.Module)
Local remoteSaveModel = game:GetService(„ReplicatedStorage”).remoteSaveModel
remoteSaveModel.OnServerEvent:Connect(function(player)
Local saveModelModel = Instance.new(„Model”)
For i,v in pairs (player.Character:GetChildren()) do
If v.Class=„Part” then
Local vi = v:Clone()
vi.Parent= saveModelModel
end
end
Local encypteddata = Module.Encode(saveModelModel)
end)
Then you upload this one long string to database since u cant upload array when u join the new server you read the database and decode using same module and give directory and it will create the parts exactly How they was