I have pop up working for an egg saying “e” that works when you are 20 studs near
but i wanna make the button work when you press e on your keyboard. it doesnt work
local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(input)
if (input.KeyCode == Enum.KeyCode.E) and (sp.Parent.CurrentDistance <= 20) then
print("works")
end
end)