I am trying to make a area where it gives you the item when your in it and takes it when your not and it don't work pls help. Aso i am getting the error on the first code of " 17:55:17.115 - Workspace.Part.Script1:3: attempt to index nil with 'Backpack'"
while true do
script.Parent.Touched:Connect(function()
game.ServerStorage.BuildingHammer:MoveTo(Vector3.new(game.Players.LocalPlayer.Backpack))
end)
wait(1)
end
And
while true do
script.Parent.TouchEnded:Connect(function()
game.Players.LocalPlayer.Backpack.BuildingHammer:Moveto(game.ServerStorage)
end)
wait(1)
end

2 comments
thank you so much
np