my script keeps turning up with an error saying argument 1 missing or nil? any help?
SS
game.ReplicatedStorage.Events:FindFirstChild("CharSel").OnServerEvent:Connect(function(player,name)
local skin = game.ReplicatedStorage.Skins:WaitForChild(name) ---- error
local desc = skin:WaitForChild(skin.Name)
print("character selected")
player.Character:FindFirstChild("Humanoid"):ApplyDescription(desc)
end)
LS
player:FindFirstChild("stats"):FindFirstChild("CharSel"):GetPropertyChangedSignal("Value"):Connect(function()
local name = player:FindFirstChild("stats"):FindFirstChild("CharSel").Value
game.ReplicatedStorage.Events.CharSel:FireServer(function(name)
end)
end)