so im making this so when u have a certain thing it puts a stringValue in ur player it works but the thing is since its a while true do it duplicates ive tried many ways but it sometimes doesnt work or doesnt even insert
code:
game.Players.PlayerAdded:Connect(function(player)
while true do
wait(3)
local newValue = Instance.new("StringValue")
newValue.Name = "nameHere"
newValue.Parent = player.Backpack
end
end)
Thanks!

2 comments
Thanks! maybe i just didnt mess with events much!
Well