The GUI will only pop up if the item the mouse hovers over is at the bottom of the 'items' table. Script:
local plr = game.Players.LocalPlayer
repeat wait() until plr.Character
local char = plr.Character
local mouse = plr:GetMouse()
local items = {
"cup",
"metal scraps",
"bottlecap",
}
while wait() do
if mouse.Target ~= nil then
for _,v in pairs(items) do
if mouse.Target.Name:lower() == v then
script.Parent.Visible = true
script.Parent.Text = "[ Press 'E' to pick up "..mouse.Target.Name.." ]"
else
script.Parent.Visible = false
end
end
end
end
It will work if my mouse hovers over an item named "Bottlecap", but if I hover over an item named "Metal Scraps", it won't. Help?

5 comments
Unfortunately, that didn't work... also, I don't think this would be practical because you would have to add a number to every item I add into my game.
Still need help...
I am at school, when I get home I can.
I see! U have just strings in the table. You need to parent them or find the parent. I hope you know what I mean.
This doesn't work at all, and there's little reason to believe it would.