So i am making a game and it changes the players Package but i can't get it to work, here is the script .. any help will be nice!
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Char)
--wait(1)
local Leaderstats = Player:WaitForChild("leaderstats")
local Level = Leaderstats:WaitForChild("Level")
if Level.Value > 1 then
local FindSuitLvl = game.ReplicatedStorage.Suits:FindFirstChild("Level" .. Level.Value)
if FindSuitLvl then
end
else 9
for i,v in pairs(game.ReplicatedStorage.Suits.StarterSuit:GetChildren()) do
if v:IsA("CharacterMesh") then
local MeshC = v:Clone()
MeshC.Parent = Char
end
end
end
end)
end)

2 comments
Did you make the Suits?
Not there packages