Hello Roblox,
So i have a code that searches every ProximityPrompt, this goes perfect but i want to make a code which searches if KeyboardKeyCode == F.
This is my current code:
for _, object in ipairs(workspace:GetDescendants()) do
if object:IsA("ProximityPrompt") then
if object.Parent:FindFirstChild("Humanoid") then
if object.KeyboardKeyCode == F then
print("works x")
end
end
end
end
~Maini