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

Auto Equipter | Script Not Working?

Asked by 8 years ago

Idea Loop to find a tool within a folder named Weapon, and if it finds a tool, clone it into the players character.
Problem Nothing Happens :/
Code

toolBin = script.Parent.Parent.Weapon
plr = game.Players.LocalPlayer
char = plr.Character
while true do
if toolBin:findFirstChild("M4-(30)") then
    toolBin:findFirstChild("M4-(30)").Parent = char
end
wait()
end

Any Ideas?
Thanks :D

0
nothing is supposed to happen... you just ended at the findfirstchild on line 6 HungryJaffer 1246 — 8y
0
Woops forgot a part XD, still not working pluginfactory 463 — 8y

Answer this question