depends :/
anyway...
LocalScript: --NOTE: FilteringEnabled must be false!
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
local hold = false
mouse.KeyDown:connect(function(key)
if key:lower() == 'e' then --Just popped into my head, use watever Letter Key u want!
hold = true
--ur Code to Opening/UnColliding the Door
repeat wait() until not hold
--ur Code to Close/Collide the Door
end
end)
mouse.KeyUp:connect(function(key)
if key:lower() == 'e' then --same letter goes here as above!
hold = false
end
end)
Tested this Type of Method while trying to make my Multi-Joint Dummy to Walk! so this should Work!
"My Life is going Good... but..." |