How to fix the item when cloned the script inside it does not work Here is my code
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
local p = game.Players:GetPlayerFromCharacter(char)
game.ReplicatedStorage.Medkit:Clone().Parent = p.Backpack
end)
end)
Thank you

1 comment
Make sure "Medkit" is a tool and you have player object at the first place(in PlayerAdded event), you don't need to get the Player again from the Character.