so i made a script right here
function onTouched(hit) --when the brick is touched activate--
H = hit.Parent:FindFirstChild("Humanoid") --see if the thing that touched the brick is a humanoid--
if H ~= nil then --if it has a humanoid--
script.Parent.BillboardGui.Enabled = true --remove it--
wait(.001) --wait a few milliseconds(to prevent lag)--
end --end the process--
end --end the process(if u know how to script you will know why i have 2 ends)--
script.Parent.touched:connect(onTouched) --make sure it works--
but i cant figure out how to make the billboard gui to disable itself after the humanoid that was currently on it walks out of the brick, can someone help me

2 comments
it doesn't work, the Billboard GUI doesn't show.
I heard touch ended in not always relaible