Hello, I am trying to make a script that inserts a item, and then attaches it to to the player, I don’t know much about this, but here is what I have so far.
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(Character)
test = game:GetService("InsertService"):LoadAsset(259423003)
test.Parent = Character
end)
end)
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(Character)
local test = game:GetService("InsertService"):LoadAsset(259423003)
test.Parent = Character
for _, object in pairs(test:GetChildren()) do
object.Parent = Character
end
wait(0.1)
test:Destroy()
end)
end)