Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

Scripts works 100% but too many scripts makes the scripts not work?

Asked by 9 years ago

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

0
Can you atleast post your code? woodengop 1134 — 9y
0
What code all the scripts? MatkovicIV 0 — 9y
0
Please place the code properly inside the code block. woodengop 1134 — 9y
0
Please explain exactly what you are trying to do. unmiss 337 — 9y

Answer this question