My script's are 100% working and when I inserted another one it clearly doesn't work, but when I play solo it works fine, but when in a game server no thing works but the guis.
It sometimes work but, 10% chance of it. Is there anychance that I could make a script that loads them all together?
This is what I inserted, and boom it affected all the scripts? That were 100% working
player = script.Parent.Parent.Parent backpack = player.Backpack
function chooseClass(class) for i, v in pairs(class:GetChildren()) do if v:IsA("Tool") then v:clone().Parent = backpack elseif v:IsA("HopperBin") then v:clone().Parent = backpack end end
script.Parent.Main.Visible = false script.Parent.Title.Visible = false
end
function onHumanoidDied(humanoid, player) script.Parent.Main.Visible = true script.Parent.Title.Visible = true end
for i, v in pairs(script.Parent.Main:GetChildren()) do v.MouseButton1Up:connect(function () chooseClass(v) end) end