game.Players.PlayerAdded:Connect(function(plr) game.Workspace.too.Touched:Connect(function(hit) local fld = Instance.new("Folder") fld.Parent = plr.StarterGear local st = plr:FindFirstChild("StringValue") if not st then local newSt = Instance.new("StringValue") newSt.Name = newSt.ClassName newSt.Parent = plr.StarterGear.Folder end end) end)
Make a debounce.
local Debounce = true game.Players.PlayerAdded:Connect(function(plr) game.Workspace.too.Touched:Connect(function(hit) if Debounce then Debounce = not Debounce local fld = Instance.new("Folder") fld.Parent = plr.StarterGear local st = plr:FindFirstChild("StringValue") if not st then local newSt = Instance.new("StringValue") newSt.Name = newSt.ClassName newSt.Parent = plr.StarterGear.Folder end end end) end)