I am making a script that when you press "f" the forcefield gets attached to you. When you press it again it will go away. Here is a script I am working on,
local script = script.Parent
game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
if string.lower(key) == "f" then
-- don't know what to put here
end
end)

2 comments
Please don't give an answer unless you can fully answer the question. I don't mean to be rude but it's not exactly helpful. :/
...Atleast I tried