Does anyone have a code can spam 5x0.4x5 bricks on a persons feet? Like I know there will be a for loop but i dont know how to take input from the keyboard to have it on a switch. Maybe the letter ` would work but I also dont know how to toggle it. I also dont know how to resize them when spawning and also dont know how to tp them to a persons feet.

local k = false

insert code that switches k between true and false when ` pressed

for k = true do
instance.new("Part",workspace)
wait(0.1)
end