Kod
anoya kopyala
Read more
Kod:
local DataStoreService = game:GetService("DataStoreService")
local clothingDataStore = DataStoreService:GetDataStore("ClothingDataStore")
game.Players.PlayerAdded:Connect(function(player)
local userId = player.UserId
local success, data = pcall(function()
return clothingDataStore:GetAsync(userId)
end)
if success and data then
if data.pants then
local pants = Instance.new("Pants", player.Character)
pants.PantsTemplate = data.pants...
Read more
