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

2 comments

0

nothing is supposed to happen... you just ended at the findfirstchild on line 6

0

Woops forgot a part XD, still not working