A pickup system lets players pick up different kinds of objects.
Add a Part and rename it PickupPart.
Add a Script and rename it PickupPartScript
In this script, when the Humanoid touches the part, it will disappear and reappear.
local pickup = script.Parentlocal db = truepickup.Touched:Connect(function(hit)local char = hit.Parent -- any parts making contactlocal hum = char:FindFirstChild("Humanoid")if db and hum thendb = falsepickup.Transparency = 1 -- this makes the part disappearpickup.CanCollide = false -- turn off can collide with partprint("collided")wait(2)print("stopped waiting")pickup.Transparency = 0 -- this makes the part reappearpickup.CanCollide = true -- turn on collide with partdb = trueendend)