Hello again.
I have a script thats teleport player when touch.
This teleport player on touch, and when moved to place his data value loaded.
game:GetService("TeleportService"):Teleport(1265012521,game.Players[hit.Parent.Name],game.Players[hit.Parent.Name].leaderstats.Money.Value)
Of course its works, but how did i can send money and another stats too?
You'd need to throw everything into a table. This script puts all leaderstats into a table and teleports with that.
local TPData={} for i,v in pairs(game.Players[hit.Parent.Name].leaderstats:GetChildren()) do TPData[v.Name]=v.Value end game:GetService("TeleportService"):Teleport(1265012521,game.Players[hit.Parent.Name],TPData)