mouse = game.Players.LocalPlayer:GetMouse()
while wait() do
Target = mouse.Target
if Target.Lootable.Value == true then
print "Lootable"
elseif Target.Lootable == nil then end
end
Output: "Lootable is not a valid member" Lootable is a BoolValue
How do I get it to work?

1 comment
It said Lootable not valid member due to it didn't find it on first target so the script got disconnected (A.K.A Kinda like disabled) So you have to make sure it is found before you continue rest of script.