I'm not sure if i'm doing correctly but I made lots of errors here, I would need help on how to fix this for my game.
script.Parent.Touched:connect(function()
script.Parent.BillboardGui.Enabled = true
Mouse.KeyDown:connect(function(key)
if (key == "e") then
script.Parent.BillboardGui.TextBox.Text = "Here's help."
wait(5)
script.Parent.BillboardGui.TextBox.Text = "Press |E| for help"
end
end)
while
script.Parent.TouchEnded:connect(function()
script.Parent.BillboardGui.Enabled = false
end
end)
I can't make it work somehow.

1 comment
Rn from line 3, I am hearing, If u click the mouse then if the mouse clicked is e then so and so, so exactly idk whats happening around line 3