local terminal_part = script.Parent;
local run_terminal;
local count;
local win_count;
count = 0;
win_count = 1000;
function run_terminal(hit)
local is_plr = hit.Parent:findFirstChild'Humanoid';
local plr do
if(is_plr) then
plr = game.Players:getPlayerFromCharacter(hit.Parent);
end
end
while((plr.Character['Left Leg'].Position - terminal_part.Position).magnitude <= 1) do
-- should be pretty straight-forward from here
end
end |